6.2. Fence Device Components to Configure
This procedure configures two APC switches as fence devices that will be used for each node in cluster
apcclust
. Then the procedure configures both of those switches as part of one fencing method for clusternode1.example.com
, clusternode2.example.com
, and clusternode1.example.com
.
Table 6.3, “Fence Device Components to Configure for APC Fence Device” summarizes the components of the APC fence devices that this procedure configures for cluster node
clusternode1.example.com
.
Fence Device Component | Value | Description |
---|---|---|
Fencing Type | APC Power Switch | type of fencing device to configure for each APC switch |
Name | pwr01 | name of the first APC fencing device for node1.example.com, node2.example.com, and node3.example.com |
IP address | 10.15.86.96 | IP address of the first APC switch to configure as a fence device for node1.example.com, node2.example.com, and node3.example.com |
Name | pwr02 | name of the second APC fencing device for node1.example.com, node2.example.com, and node3.example.com |
IP address | 10.15.86.97 | IP address of the second APC switch to configure as a fence device for node1.example.com, node2.example.com, and node3.example.com |
login | apclogin | login value for the each of the APC switches that control the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
password | apcpword | password for each of the APC switches that control the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
Table 6.4, “Fence Agent Components to Specify for Each Node in apcclust ” summarizes the components of each of the APC fence devices that you must specify for the cluster nodes in
apcclust
.
Fence Agent Component | Value | Description |
---|---|---|
fence device | pwr01 | name of the first APC fence device you defined as a shared device |
fence device | pwr02 | name of the second APC fence device you defined as a shared device |
port | 1 | port number on each of the APC switches for node1.example.com |
port | 2 | port number on each of the APC switches for node2.example.com |
port | 3 | port number on each of the APC switches for node3.example.com |
The remainder of the fence device components that you configure for each fence device for each node appear automatically when you specify that you will be configuring the
pwr01
or pwr02
fence device that you previously defined as a shared fence device.