Consolidated notifications to NFS clients
AssigneeInternational Business Machines Corporation
InventorsAdekunle Bello, Radhika Chirra, Aruna Yedavilli
Life of this patent
Estimating the term…
Abstract
A computer implemented method, system and apparatus for rebooting a host having a plurality of network interfaces. A server reboots the host by stopping an NFS server process on the host. The server sends at least one consolidated notification to a plurality of clients identified in a consolidated notification table, wherein the consolidated notification comprises at least two addresses of network interfaces of the host. The server determines that an acknowledgement is received from each of the plurality of clients. The server halts resending of consolidated notifications, responsive to determining that an acknowledgement is received from the each of the plurality of clients.
Claims18
A computer implemented method for rebooting a host having a plurality of network interfaces, the computer implemented method comprising:
- rebooting the host by stopping an NFS server process on the host;
- the host sending at least one consolidated notification to a plurality of clients identified in a consolidated notification table, wherein the consolidated notification comprises at least two addresses of network interfaces of the host;
- determining that an acknowledgement is received from each of the plurality of clients, wherein determining that an acknowledgement is received further comprises:
- determining a timeout has expired, wherein the timeout corresponds to a sent time of a lost consolidated notification;
- resetting the timeout;
- resending the lost consolidated notification, and
- determining whether a file lock matches a hostname of the host in the consolidated notification;
- and responsive to a determination that the file lock matches the hostname, taking remedial action to avoid data loss relating to pending operations on a file, wherein the file corresponds to the file lock;
- and
- responsive to determining that the acknowledgement is received from the each of the plurality of clients, halting resending of consolidated notifications.
A computer program product for rebooting a host having a plurality of network interfaces, the computer program product comprising:
- a computer readable tangible storage device having computer readable program code embodied therewith, the computer program product comprising:
- computer readable program code configured to reboot the host by stopping an NFS server process on the host;
- computer readable program code configured to send at least one consolidated notification to a plurality of clients identified in a consolidated notification table, wherein the consolidated notification comprises at least two addresses of network interfaces of the host;
- computer readable program code configured to determine that an acknowledgement is received from each of the plurality of clients, wherein computer readable program code configured to determine that an acknowledgement is received from each of the plurality of clients comprises:
- computer readable program code configured to determine a timeout has expired, wherein the timeout corresponds to a sent time of a lost consolidated notification;
- computer readable program code configured to reset the timeout;
- computer readable program code configured to resend the lost consolidated notification;
- computer readable program code configured to determine whether a file lock matches a hostname of the host in the consolidated notification;
- and
- in response, take remedial action to avoid data loss relating to pending operations on a file, wherein the file corresponds to the file lock;
- and
- computer readable program code configured to halt resending of consolidated notifications, responsive to determining that the acknowledgement is received from the each of the plurality of clients.
A data processing system comprising:
- a bus;
- a storage device connected to the bus, wherein computer usable program code is located in the storage device;
- a communication unit connected to the bus;
- and
- a processing unit connected to the bus, wherein the processing unit executes the computer usable program code for rebooting a host having a plurality of network interfaces, the processing unit further executes the computer usable program code to reboot the host by stopping an NFS server process on the host;
- send at least one consolidated notification to a plurality of clients identified in a consolidated notification table, wherein the consolidated notification comprises at least two addresses of network interfaces of the host;
- determine that an acknowledgement is received from each of the plurality of clients, wherein in executing computer usable program code to determine that an acknowledgement is received from each of the plurality of clients the processing unit executes computer usable program code to determine a timeout has expired, wherein the timeout corresponds to a sent time of a lost consolidated notification;
- reset the timeout;
- resend the lost consolidated notification;
- determine whether a file lock matches a hostname of the host in the consolidated notification;
- and in response, take remedial action to avoid data loss relating to pending operations on a file, wherein the file corresponds to the file lock;
- and halt resending of consolidated notifications, responsive to determining that the acknowledgement is received from the each of the plurality of clients.
Dependencies are inferred from the claim text.