CLEAR PRIMARY Command

Use

Clears (closes) the primary Operations Sentinel server's connection. You can use this when the connection is hung or communication with the primary server is lost. If a secondary server is connected, it is promoted to primary server and the status change is reported to that server.

Format

mix#AX CLEAR PRIMARY

Responses

<<ASPO>> PRIMARY [TEST] SERVER IS NOT CONNECTED. CLEAR IGNORED

or, if there is a primary server:

<<ASPO>> PRIMARY [TEST] SERVER DISCONNECTED BY OPERATOR.
hhmmssPRIMARY_[TEST_]SPO SERVER DISCONNECTED BY OPERATOR

and, if there is a secondary server:

<<ASPO>> SECONDARY [TEST] SPO SERVER PROMOTED TO PRIMARY.
<<ASPO>> PRIMARY [TEST] SPO SERVER IS NOW: name PORT port-id.
hhmmss SECONDARY_[TEST_]SPO SERVER PROMOTED TO PRIMARY
hhmmss PRIMARY_[TEST_]SPO SERVER IS NOW: name PORT port-id