1. 11 failover
这部分只提供一个接口用来手工删除failover
1.11.1 deletefailoverforce(commitid)
功能:具体参见手工删除failover功能说明 参数:
commitid:对应 commitid
返回值:0表示成功 非0表示失败
实例:
[root@wendang207 gcinstall]# gcadmin showfailover
+===============================================================
---------------- + | ||
| GCLUSTER | FAILOVER |
+===============================================================
============+
+----- | ----- +----- | -+------- | ---- +------ | ---- +--- | --+ | ||
------ +------ | -- +-- | ------ +---- | ---+-- |
-+
| commit | id | database | table | | scn | | type | | |
create time | | state | | original node | | takeover node | | takeover |
number | | ||||
+------- | -------- +-------- | ------------- +------------- | -+----------- +-- | -------- + |
---------- +---------- | 一―—+-------------------------------------- | ------- +------- | --------- +------------ |
-+
| 20 | | test | | t | | 38 | | dml | |
20170726021009 | | 2 | | 192.168.6.229 | | | 0.0.0.0 | |
>>> gcware.deletefailoverforce(20)
0
[root@wendang207 gcinstall]# gcadmin showfailover
gcadmin showfailover: no gcluster failover information no 说明已经清除干净了