execute ha
ha
This topic includes the following commands:
- execute ha disconnect
- execute ha failover set
- execute ha failover status
- execute ha failover unset
- execute ha manage
- execute ha synchronize
execute ha disconnect
Disconnect from HA cluster.
execute ha disconnect <string>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<string> |
Serial number. |
string |
|
execute ha failover set
Set the given virtual cluster as slave and trigger failover. Argument optional; if argument omitted, all virtual clusters are affected.
execute ha failover set [integer]
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
[integer] |
Virtual cluster ID. Optional; if not given, all virtual clusters are affected. |
string |
|
execute ha failover status
Display whether the given virtual cluster has been set as slave for failover. Argument optional; if no argument given, display statuses of all virtual clusters.
execute ha failover status [integer]
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
[integer] |
Virtual cluster ID. Optional; if not given, all virtual clusters are affected. |
string |
|
execute ha failover unset
If the given virtual cluster has been set as slave before, unset it so HA will use normal criteria to decide the master. May trigger a failover. Argument optional; if argument not given, all virtual clusters are affected.
execute ha failover unset [integer]
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
[integer] |
Virtual cluster ID. Optional; if not given, all virtual clusters are affected. |
string |
|
execute ha manage
HA cluster index.
execute ha manage <string>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<string> |
HA cluster index. |
string |
|
execute ha synchronize
HA synchronize commands.
execute ha synchronize <string>
|
Parameter |
Description |
Type |
Size |
|---|---|---|---|
|
<string> |
File type. |
string |
|