此内容没有您所选择的语言版本。
2.3.6. Removing Fence Methods and Fence Instances
To remove a fence method from your cluster configuration, execute the following command:
ccs -h host --rmmethod method node
For example, to remove a fence method that you have named
APC
that you have configured for node01.example.com
from the cluster configuration file on cluster node node01.example.com
, execute the following command:
ccs -h node01.example.com --rmmethod APC node01.example.com
To remove all fence instances of a fence device from a fence method, execute the following command:
ccs -h host --rmfenceinst fencedevicename node method
For example, to remove all instances of the fence device named
apc1
from the method named APC-dual
configured for node01.example.com
from the cluster configuration file on cluster node node01.example.com
, execute the following command:
ccs -h node01.example.com --rmfenceinst apc1 node01.example.com APC-dual