Cluster Fail-over Procedure and Recovery
When the system is operating normally the servers should be running the following applications.
SQL Anywhere Signal Processing
The system tray should show these icons
They may not be exactly as you see them, but you should have both icons unless your Spa application is running on another server, and or your system tray may be ‘HIDING’ them under the UP arrow to the left of this image.
The backup transaction window will look the image below.
When the system is operating in this configuration, automatic failover would occur in the following order.
All active Cluster modules will show a message indicating a disconnect from the server has occurred and will wait the user defined Timeout in seconds before attempting to locate and connect to another SQL Anywhere Sybase Server. The Secondary #1 Server will wait 5 seconds then attempt to scan all servers in the Cluster for an active Server. Since no server service is currently running, Secondary #1 will assume it should be the Active server. It will start the SQL Anywhere server service and then start SPA.
During this process, the dispatcher workstations will receive a customizable message that the database server is not available, and they will begin scanning for a new server to become active and take over that role. As soon as one of the other cluster servers takes over the active role, the dispatcher workstations will be presented with the login dialog to connect to the new server and return to the processing in the same manner as before.
Once SPA is running, it will reconnect to the receivers through the connection with the Device Master devices.
All remaining cluster modules will reconnect to the newly activated server on Secondary #1 and continue their backup and monitoring functions.
This process can be followed when maintenance is required on the primary server or if there is a need to switch between servers.
All active Cluster modules will show a message indicating a disconnect from the server has occurred and will wait the user defined Timeout in seconds before attempting to locate and connect to another SQL Anywhere Sybase Server. The Secondary #1 Server will wait 5 seconds then attempt to scan all servers in the Cluster for an active Server. Since no server service is currently running, Secondary #1 will assume it should be the Active server. It will start the SQL Anywhere server service and then start SPA.
During this process, the dispatcher workstations will receive a customizable message that the database server is not available, and they will begin scanning for a new server to become active and take over that role. As soon as one of the other cluster servers takes over the active role, the dispatcher workstations will be presented with the login dialog to connect to the new server and return to the processing in the same manner as before.
Once SPA is running, it will reconnect to the receivers via TCP/IP or serial connection.
All remaining cluster modules will reconnect to the newly activated server on Secondary #1 and continue their backup and monitoring functions.
At this point any maintenance can be done to the primary server before placing it back in service.
To recover the system back to normal operating conditions, follow these steps.