Description
|
Illustration
|
---|---|
When the servers cannot connect to each other, Server #1 switches to PRIMARY UNCERTAIN state and Server #2 to SECONDARY ALONE state.
|
|
Because the watchdog cannot connect to Server #2, the watchdog concludes that Server #2 is not available and switches Server #1 to PRIMARY ALONE state by using the command:
ADMIN COMMAND 'hsb set primary alone';
Note If the transaction log on Server #1 fills up before the network connection is fixed, you might have to switch Server #1 to STANDALONE state.
|
|
The administrator fixes the network connections.
If the transaction log on Server #1 has not filled up, the watchdog instructs Server #1 to connect to Server #2 by using the command:
ADMIN COMMAND 'hsb connect';
Server #2 reads the transaction log from Server #1.
Note If you switched Server #1 to STANDALONE state, you must copy the database from Server #1 to Server #2 before you reconnect the servers, see Synchronizing primary and secondary servers for details.
|