Inventors:
Robert F. Bartfai - West Shokan NY
John Divirgilio - Middletown NY
John W. Doxtader - Hurley NY
Peter J. LeVangia - Kingston NY
Laura J. Merritt - Wappingers Falls NY
Nicholas P. Rash - Poughkeepsie NY
Kevin J. Reilly - Kingston NY
Assignee:
International Business Machines Corporation - Armonk NY
International Classification:
G06F 1100
G06F 1122
Abstract:
An apparatus for synchronizing operator commands with a failover process in a distributed system having a control workstation and a plurality of nodes. One of the nodes of the distributed system is designated a primary node and one of the nodes is designated a backup node. The backup node includes a backup daemon for performing a failover process if the primary node fails such that the backup node becomes the primary node. Shell scripts send a command string to be synchronized with the operation of the backup daemon from the control workstation to the backup node. The backup daemon is then checked to determine if the backup daemon is sleeping, and, in the event the backup daemon is sleeping, commands derived from the command string are enqueued in a work queue for processing by the backup daemon. The backup daemon is then awakened such that the derived commands in the work queue are processed. In the event that the backup daemon is busy, commands derived from the command string are failed, thereby synchronizing the derived commands with the processing of the backup daemon.