Edition 2
1801 Varsity Drive
Raleigh, NC 27606-2072 USA
Phone: +1 919 754 3700
Phone: 888 733 4281
Fax: +1 919 754 3701
| Software | Description |
|---|---|
|
RHEL5
|
refers to Red Hat Enterprise Linux 5 and higher
|
|
GFS
|
refers to GFS for Red Hat Enterprise Linux 5 and higher
|
Bugzilla component: Documentation-cluster Book identifier: Configuration_Example-Fence-Devices(EN)-5 (2010-12-23T15:35)
Mono-spaced Bold
To see the contents of the filemy_next_bestselling_novelin your current working directory, enter thecat my_next_bestselling_novelcommand at the shell prompt and press Enter to execute the command.
Press Enter to execute the command.Press Ctrl+Alt+F2 to switch to the first virtual terminal. Press Ctrl+Alt+F1 to return to your X-Windows session.
mono-spaced bold. For example:
File-related classes includefilesystemfor file systems,filefor files, anddirfor directories. Each class has its own associated set of permissions.
Choose → → from the main menu bar to launch Mouse Preferences. In the Buttons tab, click the Left-handed mouse check box and click to switch the primary mouse button from the left to the right (making the mouse suitable for use in the left hand).To insert a special character into a gedit file, choose → → from the main menu bar. Next, choose → from the Character Map menu bar, type the name of the character in the Search field and click . The character you sought will be highlighted in the Character Table. Double-click this highlighted character to place it in the Text to copy field and then click the button. Now switch back to your document and choose → from the gedit menu bar.
Mono-spaced Bold Italic or Proportional Bold Italic
To connect to a remote machine using ssh, typesshat a shell prompt. If the remote machine isusername@domain.nameexample.comand your username on that machine is john, typessh john@example.com.Themount -o remountcommand remounts the named file system. For example, to remount thefile-system/homefile system, the command ismount -o remount /home.To see the version of a currently installed package, use therpm -qcommand. It will return a result as follows:package.package-version-release
Publican is a DocBook publishing system.
mono-spaced roman and presented thus:
books Desktop documentation drafts mss photos stuff svn books_tests Desktop1 downloads images notes scripts svgs
mono-spaced roman but add syntax highlighting as follows:
package org.jboss.book.jca.ex1; import javax.naming.InitialContext; public class ExClient { public static void main(String args[]) throws Exception { InitialContext iniCtx = new InitialContext(); Object ref = iniCtx.lookup("EchoBean"); EchoHome home = (EchoHome) ref; Echo echo = home.create(); System.out.println("Created Echo"); System.out.println("Echo.echo('Hello') = " + echo.echo("Hello")); } }

| Component | Name | Comment |
|---|---|---|
| cluster | apcclust | three-node cluster |
| cluster node | clusternode1.example.com | node in cluster apcclust configured with APC switch to administer power supply |
| cluster node | clusternode2.example.com | node in cluster apcclust configured with APC switch to administer power supply |
| cluster node | clusternode3.example.com | node in cluster apcclust configured with APC switch to administer power supply |
| IP address | 10.15.86.96 | IP address for the APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| login | apclogin | login value for the APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| password | apcpword | password for the APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| port | 1 | port number on APC switch that clusternode1.example.com connects to |
| port | 2 | port number on APC switch that clusternode2.example.com connects to |
| port | 3 | port number on APC switch that clusternode3.example.com connects to |
apcclust. Then the procedure configures that switch as the fencing device for clusternode1.example.com, clusternode2.example.com, and clusternode1.example.com.
clusternode1.example.com.
| Fence Device Component | Value | Description |
|---|---|---|
| Fencing Type | APC Power Switch | type of fencing device to configure |
| Name | apcfence | name of the APC fencing device |
| IP address | 10.15.86.96 | IP address of the 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 APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| password | apcpword | password for the APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
apcclust.
| Fence Agent Component | Value | Description |
|---|---|---|
| fence device | apcfence | name of the APC fence device you defined as a shared device |
| port | 1 | port number on the APC switch for node1.example.com |
| port | 2 | port number on the APC switch for node2.example.com |
| port | 3 | port number on the APC switch for node3.example.com |
apcfence fence device that you previously defined as a shared fence device.
apcclust. This example uses the same APC switch for each cluster node. The APC fence device will first be configured as a shared fence device. After configuring the APC switch as a shared fence device, the device will be added as a fence device for each node in the cluster.
apcclust displayed, along with the nodes that make up the cluster. Click on apcclust to select the cluster.
apcclust (below the menu on the left side of the screen), click . Clicking causes the display of any shared fence devices previously configured for a cluster and causes the display of menu items for fence device configuration: and .

apcfence.
10.15.86.96.
apclogin.
apcpword.
clusternode1.example.com
apcclust (below the menu), click . Clicking causes the display of the status of each node in apcclust.
clusternode1.example.com, click . This displays the configuration screen for node clusternode1.example.com.
Main Fencing Method display, click . This causes a dropdown menu to display.
apcfence as a shared fence device. This is shown in Figure 2.3, “Adding an Existing Fence Device to a Node”.

1. Do not enter any value for .
clusternode1.example.com in cluster apcclust.
apcfence as the fencing device for clusternode1.example.com, use the same procedure to configure apcfence as the fencing device for clusternode2.example.com, specifying Port 2 for clusternode2.example.com, as in the following procedure:
clusternode1.example.com in cluster apcclust, the other nodes in apcclust are displayed below the menu item below the menu item on the left side of the screen. Click to display the status screen for .
Main Fencing Method display, click . This causes a dropdown manu to display.
clusternode1.example.com, the fence device should display as one of the menu options on the dropdown menu, under . Select . This causes a fence device configuration menu to display with the , , , , values already configured, as defined when you configured apcfence as a shared fence device.
2. Do not enter any value for .
apcfence as the main fencing method for clusternode3.example.com, specifying 3 as the Port number.
cluster.conf file appeared as follows.
<?xml version="1.0"?>
<cluster alias="apcclust" config_version="12" name="apcclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
cluster.conf file appears as follows.
<?xml version="1.0"?>
<cluster alias="apcclust" config_version="19" name="apcclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="apcfence" port="1"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="apcfence" port="2"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="apcfence" port="3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_apc" ipaddr="10.15.86.96" login="apclogin" name="apcfence" passwd="apcpword"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
fence_node to fence a node manually. The fence_node program reads the fencing settings from the cluster.conf file for the given node and then runs the configured fencing agent against the node.
apcclust, execute the following commands and check whether the nodes have been fenced.
#/sbin/fence_node clusternode1.example.com#/sbin/fence_node clusternode2.example.com#/sbin/fence_node clusternode3.example.com
| Component | Name | Comment |
|---|---|---|
| cluster | ipmiclust | three-node cluster |
| cluster node | clusternode1.example.com | node in cluster ipmiclust configured with IPMI management board and two power supplies |
| IP address | 10.15.86.96 | IP address for IPMI management board for clusternode1.example.com |
| login | ipmilogin | login name for IPMI management board for clusternode1.example.com |
| password | ipmipword | password IPMI management board for clusternode1.example.com |
| cluster node | clusternode2.example.com | node in cluster ipmiclust configured with IPMI management board and two power supplies |
| IP address | 10.15.86.97 | IP address for IPMI management board for clusternode2.example.com |
| login | ipmilogin | login name for IPMI management board for clusternode2.example.com |
| password | ipmipword | password for IPMI management board for clusternode2.example.com |
| cluster node | clusternode3.example.com | node in cluster ipmiclust configured with IPMI management board and two power supplies |
| IP address | 10.15.86.98 | IP address for IPMI management board for clusternode3.example.com |
| login | ipmilogin | login name for IPMI management board for clusternode3.example.com |
| password | ipmipword | password for IPMI management board for clusternode3.example.com |
ipmiclust.
clusternode1.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | ipmifence1 | name of the IPMI fencing device |
| IP address | 10.15.86.96 | IP address of the IPMI management board to configure as a fence device for clusternode1.example.com |
| IPMI login | ipmilogin | login identity for the IPMI management board for clusternode1.example.com |
| password | ipmipword | password for the IPMI management board for clusternode1.example.com |
| authentication type | password | authentication type for the IPMI management board for clusternode1.example.com |
clusternode2.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | ipmifence2 | name of the IPMI fencing device |
| IP address | 10.15.86.97 | IP address of the IPMI management board to configure as a fence device for clusternode2.example.com |
| IPMI login | ipmilogin | login identity for the IPMI management board for clusternode2.example.com |
| password | ipmipword | password for the IPMI management board for clusternode2.example.com |
| authentication type | password | authentication type for the IPMI management board for clusternode2.example.com |
clusternode3.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | ipmifence3 | name of the IPMI fencing device |
| IP address | 10.15.86.98 | IP address of the IPMI management board to configure as a fence device for clusternode3.example.com |
| IPMI login | ipmilogin | login identity for the IPMI management board for clusternode3.example.com |
| password | ipmipword | password for the IPMI management board for clusternode3.example.com |
| authentication type | password | authentication type for the IPMI management board for clusternode3.example.com |
ipmiclust. Each node of ipmiclust is managed by its own IPMI management board.
clusternode1.example.com using Conga:
ipmiclust displayed, along with the nodes that make up the cluster. Click on . This displays the configuration screen for node clusternode1.example.com.
Main Fencing Method display, click . This causes a dropdown manu to display.

ipmifence1.
10.15.86.96.
ipmilogin.
ipmipword.
password. This field specifies the IPMI authentication type. Possible values for this field are none, password, md2, or md5.
clusternode1.example.com in cluster ipmiclust.
clusternode1.example.com, use the following procedure to configure an IPMI fence device for clusternode2.example.com.
clusternode1.example.com, a menu appears on the left of the screen for cluster ipmiclust. Select the node clusternode2.example.com. The configuration page for clusternode2.example.com appears, with no fence device configured.
Main Fencing Method display, click . This causes a dropdown manu to display.
ipmifence2.
10.15.86.97.
ipmilogin.
ipmipword.
password. This field specifies the IPMI authentication type. Possible values for this field are none, password, md2, or md5.
clusternode1.example.com in cluster ipmiclust.
ipmifence2 as the fencing device for clusternode2.example.com, select node clusternode3.example.com from the menu on the left side of the page and configure an IPMI fence device for that node using the same procedure as you did to configure the fence devices for clusternode2.example.com and clusternode3.example.com. For clusternode3.example.com , use ipmifence3 as the name of the fencing method and 10.15.86.98 as the IP address. Otherwise, use the same values for the fence device parameters.
cluster.conf file appeared as follows.
<?xml version="1.0"?>
<cluster alias="ipmiclust" config_version="12" name="ipmiclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1"/>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
cluster.conf file appears as follows.
<?xml version="1.0"?>
<cluster alias="ipmiclust" config_version="27" name="ipmiclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="ipmifence1"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="ipmifence2"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="ipmifence3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.96" login="ipmilogin" name="ipmifence1" passwd="ipmipword" />
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.97" login="ipmilogin" name="ipmifence2" passwd="ipmipword" />
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.98" login="ipmilogin" name="ipmifence3" passwd="ipmipword" />
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
fence_node to fence a node manually. The fence_node program reads the fencing settings from the cluster.conf file for the given node and then runs the configured fencing agent against the node.
ipmiclust, execute the following commands and check whether the nodes have been fenced.
#/sbin/fence_node clusternode1.example.com#/sbin/fence_node clusternode2.example.com#/sbin/fence_node clusternode3.example.com

| Component | Name | Comment |
|---|---|---|
| cluster | hpiloclust | three-node cluster |
| cluster node | clusternode1.example.com | node in cluster hpiloclust configured with HP iLO management board and two power supplies |
| hostname | hpilohost1 | host name for HP iLO management board for clusternode1.example.com |
| login | hpilologin | login name for HP iLO management board for clusternode1.example.com |
| password | hpilopword | password HP iLO management board for clusternode1.example.com |
| cluster node | clusternode2.example.com | node in cluster hpiloclust configured with HP iLO management board and two power supplies |
| hostname | hpilohost2 | hostname for HP iLO management board for clusternode2.example.com |
| login | hpilologin | login name for HP iLO management board for clusternode2.example.com |
| password | hpilopword | password for HP iLO management board for clusternode2.example.com |
| cluster node | clusternode3.example.com | node in cluster hpiloclust configured with HP iLO management board and two power supplies |
| hostname | hpilohost3 | host name for HP iLO management board for clusternode3.example.com |
| login | hpilologin | login name for HP iLO management board for clusternode3.example.com |
| password | hpilopword | password for HP iLO management board for clusternode3.example.com |
hpiloclust.
clusternode1.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | hpilofence1 | name of the HP iLO fencing device |
| hostname | hpilohost1 | host name of the HP iLO management board to configure as a fence device for clusternode1.example.com |
| HP iLO login | hpilologin | login identity for the HP iLO management board for clusternode1.example.com |
| password | hpilopword | password for the HP iLO management board for clusternode1.example.com |
clusternode2.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | hpilofence2 | name of the HP iLO fencing device |
| hostname | hpilohost2 | host name of the HP iLO management board to configure as a fence device for clusternode2.example.com |
| HP iLO login | hpilologin | login identity for the HP iLO management board for clusternode2.example.com |
| password | hpilopword | password for the HP iLO management board for clusternode2.example.com |
clusternode3.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | hpilofence3 | name of the HP iLO fencing device |
| hostname | hpilohost3 | IP address of the HP iLO management board to configure as a fence device for clusternode3.example.com |
| HP iLO login | hpilologin | login identity for the HP iLO management board for clusternode3.example.com |
| password | hpilopword | password for the HP iLO management board for clusternode3.example.com |
hpiloclust. Each node of hpiloclust is managed by its own HP iLO management board.
clusternode1.example.com using Conga:
hpiloclust displayed, along with the nodes that make up the cluster. Click on . This displays the configuration screen for node clusternode1.example.com.
Main Fencing Method display, click . This causes a dropdown manu to display.

hpilofence1.
hpilohost1.
hpilologin.
hpilopword.
clusternode1.example.com in cluster hpiloclust.
clusternode1.example.com, use the following procedure to configure an HP iLO fence device for clusternode2.example.com.
clusternode1.example.com, a menu appears on the left of the screen for cluster hpiloclust. Select the node clusternode2.example.com. The configuration page for clusternode2.example.com appears, with no fence device configured.
Main Fencing Method display, click . This causes a dropdown manu to display.
hpilofence2.
hpilohost2.
hpilologin.
hpilopword.
clusternode1.example.com in cluster hpiloclust.
hpilofence2 as the fencing device for clusternode2.example.com, select node clusternode3.example.com from the menu on the left side of the page and configure an HP iLO fence device for that node using the same procedure as you did to configure the fence devices for clusternode2.example.com and clusternode3.example.com. For clusternode3.example.com , use hpilofence3 as the name of the fencing method and hpilohost3 as the host name. Otherwise, use the same values for the fence device parameters.
cluster.conf file appeared as follows.
<?xml version="1.0"?>
<cluster alias="hpiloclust" config_version="12" name="hpiloclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1"/>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
cluster.conf file appears as follows.
<?xml version="1.0"?>
<cluster alias="backupclust" config_version="26" name="backupclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="doc-10.lab.msp.redhat.com" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="hpilofence1"/>
</method>
</fence>
</clusternode>
<clusternode name="doc-11.lab.msp.redhat.com" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="hpilofence2"/>
</method>
</fence>
</clusternode>
<clusternode name="doc-12.lab.msp.redhat.com" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="hpilofence3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_ilo" hostname="hpilohost1" login="hpilologin" name="hpilofence1" passwd="hpilopword"/>
<fencedevice agent="fence_ilo" hostname="hpilohost2" login="hpilologin" name="hpilofence2" passwd="hpilologin"/>
<fencedevice agent="fence_ilo" hostname="hpilohost3" login="hpilologin" name="hpilofence3" passwd="hpilopword"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
fence_node to fence a node manually. The fence_node program reads the fencing settings from the cluster.conf file for the given node and then runs the configured fencing agent against the node.
hpiloclust, execute the following commands and check whether the nodes have been fenced.
#/sbin/fence_node clusternode1.example.com#/sbin/fence_node clusternode2.example.com#/sbin/fence_node clusternode3.example.com

| Component | Name | Comment |
|---|---|---|
| cluster | apcclust | three-node cluster |
| cluster node | clusternode1.example.com | node in cluster apcclust configured with 2 APC switches to administer power supply |
| cluster node | clusternode2.example.com | node in cluster apcclust configured with 2 APC switches to administer power supply |
| cluster node | clusternode3.example.com | node in cluster apcclust configured with 2 APC switches to administer power supply |
| IP address | 10.15.86.96 | IP address for the first APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com. This switch runs on its own UPS. |
| IP address | 10.15.86.97 | IP address for the second APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com. This switch runs on its own UPS. |
| Component | Name | Comment |
|---|---|---|
| login | apclogin | login value for both of the the APC switches that control the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| password | apcpword | password for both the APC switches that control the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| port | 1 | port number on both of the APC switches that clusternode1.example.com connects to |
| port | 2 | port number on both of the APC switches that clusternode2.example.com connects to |
| port | 3 | port number on both of the APC switches that clusternode3.example.com connects to |
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.
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 |
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 |
pwr01 or pwr02 fence device that you previously defined as a shared fence device.
apcclust, configured as a single fence method to ensure that the fencing is successful. This example uses the same APC switches for each cluster node. The APC switches will first be configured as shared fence devices. After configuring the APC switches as shared fence devices, the devices will be added as fence device for each node in the cluster.
pwr01 using Conga, perform the following procedure:
apcclust displayed, along with the nodes that make up the cluster. Click on apcclust to select the cluster.
apcclust (below the menu on the left side of the screen), click . Clicking causes the display of any shared fence devices previously configured for a cluster and causes the display of menu items for fence device configuration: and .

pwr01.
10.15.86.96.
apclogin.
apcpword.
pwr02, perform the following procedure:
pwr01, click from the detailed menu for the cluster apcclust (below the menu on the left side of the screen). This displays the Add a Sharable Fence Device page.
pwr02.
10.15.86.97.
apclogin.
apcpword.
pwr01, as the first fence device for node clusternode1.example.com.
apcclust (below the menu), click . Clicking causes the display of the status of each node in apcclust.
clusternode1.example.com, click . This displays the configuration screen for node clusternode1.example.com.
Main Fencing Method display, click . This causes a dropdown menu to display.
pwr01 as a shared fence device. (The value does not display, but you may not alter it.) This is shown in Figure 5.3, “Adding Fence Device pwr01 to a Node”.

1. Do not enter any value for .
pwr02 as the second fence device of the main fencing method for node clusternode1.example.com.
pwr01 that you have entered, click . This displays the dropdown menu again.
pwr02 as a shared fence device. This is shown in Figure 5.4, “Adding Fence Device pwr02 to a Node”.

1. Do not enter any value for .
clusternode1.example.com in cluster apcclust.
pwr01 and pwr02 as the fencing devices for clusternode1.example.com, use the same procedure to configure these same devices as the fencing devices for clusternode2.example.com, specifying Port 2 on each switch for clusternode2.example.com:
clusternode1.example.com in cluster apcclust, the other nodes in apcclust are displayed below the menu item below the menu item on the left side of the screen. Click to display the status screen for .
Main Fencing Method display, click . This causes a dropdown manu to display.
clusternode1.example.com, the fence device should display as one of the menu options on the dropdown menu, under . Select . This causes a fence device configuration menu to display with the , , , , values already configured, as defined when you configured pwr01 as a shared fence device.
2. Do not enter any value for .
pwr01 as a shared fence device.
2. Do not enter any value for .
pwr01 and pwr02 as the main fencing method for clusternode3.example.com, this time specifying 3 as the Port number for both devices.
cluster.conf file appeared as follows.
<?xml version="1.0"?>
<cluster alias="apcclust" config_version="34" name="apcclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
cluster.conf file appears as follows.
<?xml version="1.0"?>
<cluster alias="apcclust" config_version="40" name="apcclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="pwr01" option="off" port="1"/>
<device name="pwr02" option="off" port="1"/>
<device name="pwr01" option="on" port="1"/>
<device name="pwr02" option="on" port="1"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="pwr01" option="off" port="2"/>
<device name="pwr02" option="off" port="2"/>
<device name="pwr01" option="on" port="2"/>
<device name="pwr02" option="on" port="2"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="pwr01" option="off" port="3"/>
<device name="pwr02" option="off" port="3"/>
<device name="pwr01" option="on" port="3"/>
<device name="pwr02" option="on" port="3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_apc" ipaddr="10.15.86.96" login="apclogin" name="pwr01" passwd="apcpword"/>
<fencedevice agent="fence_apc" ipaddr="10.15.86.97" login="apclogin" name="pwr02" passwd="apcpword"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
fence_node to fence a node manually. The fence_node program reads the fencing settings from the cluster.conf file for the given node and then runs the configured fencing agent against the node.
apcclust, execute the following commands and check whether the nodes have been fenced.
#/sbin/fence_node clusternode1.example.com#/sbin/fence_node clusternode2.example.com#/sbin/fence_node clusternode3.example.com

| Component | Name | Comment |
|---|---|---|
| cluster | backupclust | three-node cluster |
| cluster node | clusternode1.example.com | node in cluster backupclust configured with 2 APC switches, an IPMI management board, and 2 power supplies |
| cluster node | clusternode2.example.com | node in cluster backupclust configured with 2 APC switches, an IPMI management board, and 2 power supplies |
| cluster node | clusternode3.example.com | node in cluster backupclust configured with 2 APC switches, an IPMI management board, and 2 power supplies |
| IP address | 10.15.86.96 | IP address for the first APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com. This switch runs on its own UPS. |
| IP address | 10.15.86.97 | IP address for the second APC switch that controls the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com. This switch runs on its own UPS. |
| IP address | 10.15.86.50 | IP address for IPMI management board for clusternode1.example.com |
| IP address | 10.15.86.51 | IP address for IPMI management board for clusternode2.example.com |
| IP address | 10.15.86.52 | IP address for IPMI management board for clusternode3.example.com |
| Component | Name | Comment |
|---|---|---|
| login | apclogin | login value for both of the the APC switches that control the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| password | apcpword | password for both the APC switches that control the power for for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| port | 1 | port number on both of the APC switches that clusternode1.example.com connects to |
| port | 2 | port number on both of the APC switches that clusternode2.example.com connects to |
| port | 3 | port number on both of the APC switches that clusternode3.example.com connects to |
| Component | Name | Comment |
|---|---|---|
| login | ipmilogin | login name for IPMI management board for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
| password | ipmipword | password IPMI management board for clusternode1.example.com, clusternode2.example.com, and clusternode3.example.com |
backupclust.
clusternode1.example.com, using the two APC switches for the main fencing method for the node and using its IPMI management board as the backup fencing method for the node.
clusternode2.example.com, using the two APC switches for the main fencing method for the node and using its IPMI management board as the backup fencing method for the node.
clusternode3.example.com, using the two APC switches for the main fencing method for the node and using its IPMI management board as the backup fencing method for the node.
backupclust.
| 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 |
clusternode1.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| fence device | pwr01 | name of the first APC fence device you defined as a shared device |
| port | 1 | port number on the first APC switch for node1.example.com |
| fence device | pwr02 | name of the second APC fence device you defined as a shared device |
| port | 1 | port number on the second APC switch for clusternode1.example.com |
| Name | ipmifence1 | name of the IPMI fencing device for clusternode1.example.com |
| IP address | 10.15.86.50 | IP address of the IPMI management board for clusternode1.example.com |
| IPMI login | ipmilogin | login identity for the IPMI management board for clusternode1.example.com |
| password | ipmipword | password for the IPMI management board for clusternode1.example.com |
| authentication type | password | authentication type for the IPMI management board for clusternode1.example.com |
clusternode2.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| fence device | pwr01 | name of the first APC fence device you defined as a shared device |
| port | 2 | port number on the first APC switch for node2.example.com |
| fence device | pwr02 | name of the second APC fence device you defined as a shared device |
| port | 2 | port number on the second APC switch for clusternode2.example.com |
| Name | ipmifence2 | name of the IPMI fencing device for clusternode2.example.com |
| IP address | 10.15.86.51 | IP address of the IPMI management board for clusternode2.example.com |
| IPMI login | ipmilogin | login identity for the IPMI management board for clusternode2.example.com |
| password | ipmipword | password for the IPMI management board for clusternode2.example.com |
| authentication type | password | authentication type for the IPMI management board for clusternode2.example.com |
clusternode3.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| fence device | pwr01 | name of the first APC fence device you defined as a shared device |
| port | 3 | port number on the first APC switch for node3.example.com |
| fence device | pwr02 | name of the second APC fence device you defined as a shared device |
| port | 3 | port number on the second APC switch for clusternode3.example.com |
| Name | ipmifence3 | name of the IPMI fencing device for clusternode3.example.com |
| IP address | 10.15.86.52 | IP address of the IPMI management board for clusternode3.example.com |
| IPMI login | ipmilogin | login identity for the IPMI management board for clusternode3.example.com |
| password | ipmipword | password for the IPMI management board for clusternode3.example.com |
| authentication type | password | authentication type for the IPMI management board for clusternode3.example.com |
backupclust, configured as a single main fence method to ensure that the fencing is successful. This procedure also configures an IPMI management board as a backup fence device for each node of cluster backupclust.
pwr01, as the first fence device for node clusternode1.example.com.
backupclust (below the menu), click . Clicking causes the display of the status of each node in backupclust.
clusternode1.example.com, click . This displays the configuration screen for node clusternode1.example.com.
Main Fencing Method display, click . This causes a dropdown menu to display.
pwr01 as a shared fence device. (The value does not display, but you may not alter it.) This is shown in Figure 6.3, “Adding Fence Device pwr01 to a Node”.

1. Do not enter any value for .
pwr02 as the second fence device of the main fencing method for node clusternode1.example.com.
pwr01 that you have entered, click . This displays the dropdown menu again.
pwr02 as a shared fence device. This is shown in Figure 6.4, “Adding Fence Device pwr02 to a Node”.

1. Do not enter any value for .
clusternode2.example.com in cluster backupclust.
clusternode1.example.com and updating the main fence properties, use the following procedure to configure the IPMI management board for node clusternode1.example.com as the backup fencing method for that node:
Backup Fencing Method display, click . This causes a dropdown manu to display.

ipmifence1.
10.15.86.50.
ipmilogin.
ipmipword.
password. This field specifies the IPMI authentication type. Possible values for this field are none, password, md2, or md5.
clusternode1.example.com, you can update the backup fence properties using the following procedure.
clusternode1.example.com in cluster backupclust.
clusternode1.example.com, use the same procedure to configure the fencing methods for clusternode2.example.com and clusternode3.example.com.
backupclust (below the menu on the left side of the screen) click on , which should be displayed below -> . This displays the configuration screen for node clusternode2.example.com.
Main Fencing Method display, click . This causes a dropdown menu to display.
pwr01 as a shared fence device. (The value does not display, but you may not alter it.)
2. Do not enter any value for .
pwr02 as the second fence device of the main fencing method for node clusternode1.example.com.
pwr01 that you have entered, click . This displays the dropdown menu again.
pwr02 as a shared fence device.
2. Do not enter any value for .
clusternode1.example.com in cluster backupclust.
clusternode2.example.com and updating the main fence properties, use the following procedure to configure the IPMI management board for node clusternode2.example.com as the backup fencing method for that node:
Backup Fencing Method display, click . This causes a dropdown manu to display.
ipmifence1.
10.15.86.51.
ipmilogin.
ipmipword.
password. This field specifies the IPMI authentication type. Possible values for this field are none, password, md2, or md5.
clusternode2.example.com, you can update the backup fence properties using the following procedure.
clusternode2.example.com in cluster backupclust.
clusternode3.example.com, use the same procedure as you did for configuring the fencing methods for clusternode2.example.com. In this case, however, use 3 as the port number for both of the APC switches that you are using for the main fencing method. For the backup fencing method, use ipmifence3 as the name of the fence type and use an IP address of 10.15.86.52. The other components should be the same, as summarized in Table 6.7, “Fence Agent Components to Specify for clusternode3.example.com”.
cluster.conf file appeared as follows.
<?xml version="1.0"?>
<cluster alias="backupclust" config_version="34" name="backupclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
cluster.conf file appears as follows.
<?xml version="1.0"?>
<cluster alias="backupclust" config_version="10" name="backupclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="pwr01" option="off" port="1"/>
<device name="pwr02" option="off" port="1"/>
<device name="pwr01" option="on" port="1"/>
<device name="pwr02" option="on" port="1"/>
</method>
<method name="2">
<device name="ipmifence1"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="pwr01" option="off" port="2"/>
<device name="pwr02" option="off" port="2"/>
<device name="pwr01" option="on" port="2"/>
<device name="pwr02" option="on" port="2"/>
</method>
<method name="2">
<device name="ipmifence2"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="pwr01" option="off" port="3"/>
<device name="pwr02" option="off" port="3"/>
<device name="pwr01" option="on" port="3"/>
<device name="pwr02" option="on" port="3"/>
</method>
<method name="2">
<device name="ipmifence3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_apc" ipaddr="10.15.86.96" login="apclogin" name="pwr01" passwd="apcpword"/>
<fencedevice agent="fence_apc" ipaddr="10.15.86.97" login="apclogin" name="pwr02" passwd="apcpword"/>
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.50" login="ipmilogin" name="ipmifence1" passwd="ipmipword"/>
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.51" login="ipmilogin" name="ipmifence2" passwd="ipmipword"/>
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.52" login="ipmilogin" name="ipmifence3" passwd="ipmipword"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
#/sbin/fence_node clusternode1.example.com#/sbin/fence_node clusternode2.example.com#/sbin/fence_node clusternode3.example.com
fence_node command from being able to access the switches. Then run the fence_node command on each node in the cluster to see whether the IPMI switch takes over and fences the node.
fence_scsi agent. The fence_scsi agent provides a method to revoke access to shared storage devices, provided that the storage support SCSI persistent reservations.
fence_scsi agent will remove the failed node's key from all devices, thus preventing it from being able to write to those devices.
sg3_utils package must be installed on your cluster nodes. This package provides the tools needed by the various scripts to manage SCSI persistent reservations.
fence_scsi on the LUN where qdiskd resides; it must be a raw LUN or raw partition of a LUN.

| Component | Name | Comment |
|---|---|---|
| cluster | scsiclust | three-node cluster |
| cluster node | clusternode1.example.com |
node in cluster scsiclust with sg3_utils package installed
|
| cluster node | clusternode2.example.com |
node in cluster scsiclust with sg3_utils package installed
|
| cluster node | clusternode3.example.com |
node in cluster scsiclust with sg3_utils package installed
|
scsiclust.
clusternode1.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | scsifence | name of the SCSI fencing device |
| Node name | node1 | name of node to be fenced |
clusternode2.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | scsifence | name of the SCSI fencing device |
| Node name | node2 | name of node to be fenced |
clusternode3.example.com.
| Fence Agent Component | Value | Description |
|---|---|---|
| Name | scsifence | name of the SCSI fencing device |
| Node name | node3 | name of node to be fenced |
scsiclust.
clusternode1.example.com using Conga:
scsiclust displayed, along with the nodes that make up the cluster. Click on . This displays the configuration screen for node clusternode1.example.com.
Main Fencing Method display, click . This causes a dropdown menu to display.
scsifence.
node1.
clusternode1.example.com in cluster scsiclust.
clusternode1.example.com, use the following procedure to configure a SCSI fence device for clusternode2.example.com.
clusternode1.example.com, a menu appears on the left of the screen for cluster scsiclust. Select the node clusternode2.example.com. The configuration page for clusternode2.example.com appears, with no fence device configured.
Main Fencing Method display, click . This causes a dropdown manu to display.
clusternode1.example.com. Select this existing device, which displays a fence device configuration menu.
node2.
clusternode2.example.com in cluster scsiclust.
scsifence as the fencing device for clusternode2.example.com, select node clusternode3.example.com from the menu on the left side of the page and configure a SCSI fence device for that node using the same procedure as you did to configure the fence devices for clusternode2.example.com. For clusternode3.example.com , use the existing fence method scsifence as the name of the fencing method and node3 as the host name.
cluster.conf file appeared as follows.
<?xml version="1.0"?>
<cluster alias="scsiclust" config_version="12" name="scsiclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence/>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1"/>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
cluster.conf file appears as follows.
<?xml version="1.0"?>
<cluster alias="scsiclust" config_version="19" name="scsiclust">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="clusternode1.example.com" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="scsifence" node="node1"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode2.example.com" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="scsifence" node="node2"/>
</method>
</fence>
</clusternode>
<clusternode name="clusternode3.example.com" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="scsifence" node="node3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_scsi" name="scsifence"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
cluster.conf has been set up on all of the nodes in the system, you can perform the following procedure to verify that all of the requirements have been met for SCSI fencing and that the configuration is successful.
cman_tool status command.
clvmd daemon is running; you can check this with the service clvmd status command.
scsi_reserve service has been turned on by executing the chkconfig scsi_reserve on command.
[root@tng3-1 ~]# pvcreate /dev/sda1 /dev/sdb1 /dev/sdc1
[root@tng3-1 ~]# vgcreate new_vol_group /dev/sda1 /dev/sdb1 /dev/sdc1
[root@tng3-1 ~]# lvcreate -L2G -n new_logical_volume new_vol_group
[root@tng3-1 ~]# gfs_mkfs -plock_nolock -j 1 /dev/new_vol_group/new_logical_volume
[root@tng3-1 ~]# mount /dev/new_vol_group/new_logical_volume /mntscsi_reserve init script on all nodes, and then check to see whether this worked.
[root@clusternode1 ~]#service scsi_reserve start[root@clusternode1 ~]#service scsi_reserve status[root@clusternode2 ~]#service scsi_reserve start[root@clusternode2 ~]#service scsi_reserve status[root@clusternode3 ~]#service scsi_reserve start[root@clusternode3 ~]#service scsi_reserve status
#/sbin/fence_node clusternode1.example.com#/sbin/fence_node clusternode2.example.com#/sbin/fence_node clusternode3.example.com
fence_node command, as described at the end of each of the fencing configuration procedures. The fence_node performs I/O fencing on a single node by reading the fencing settings from the cluster.conf file for the given node and then running the configured fencing agent against the node. For example, the following command fences node clusternode1.example.com:
# /sbin/fence_node clusternode1.example.comfence_node command is unsuccessful, you may have made an error in defining the fence device configuration. To determine whether the fencing agent itself is able to talk to the fencing device, you can execute the I/O fencing command for your fence device directly from the command line. As a first step, you can execute the with the -o status option specified. For example, if you are using an APC switch as a fencing agent, you can execute a command such as the following:
# /sbin/fence_apc -a (ipaddress) -l (login) ... -o status -v
# /sbin/fence_ilo -a myilo -l login -p passwd -o off -vpost_join_delay setting in your cluster.conf file. This delay is basically a grace period to give the node more time to join the cluster.
fence_daemon entry in the cluster configuration file shows a post_join_delay setting that has been increased to 600.
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="600">
fenced daemon is not running, it will not be fenced. It will cause problems if the fenced daemon is killed or exits while the node is using GFS. If the fenced daemon exits, it should be restarted.
clustat(8) command. This command runs a utility that displays the status of the cluster. It shows membership information, quorum view, and the state of all configured user services.
clustat(8) command.
[root@clusternode4 ~]# clustat
Cluster Status for nfsclust @ Wed Dec 3 12:37:22 2008
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
clusternode5.example.com 1 Online, rgmanager
clusternode4.example.com 2 Online, Local, rgmanager
clusternode3.example.com 3 Online, rgmanager
clusternode2.example.com 4 Online, rgmanager
clusternode1.example.com 5 Online, rgmanager
Service Name Owner (Last) State
------- --- ----- ------ -----
service:nfssvc clusternode2.example.com starting
clusternode4 is the local node since it is the host from which the command was run. If rgmanager did not appear in the Status category, it could indicate that cluster services are not running on the node.
group_tool(8) command. This command provides information that you may find helpful in debugging your system. The following example shows the output of the group_tool(8) command.
[root@clusternode1 ~]# group_tool
type level name id state
fence 0 default 00010005 none
[1 2 3 4 5]
dlm 1 clvmd 00020005 none
[1 2 3 4 5]
dlm 1 rgmanager 00030005 none
[3 4 5]
dlm 1 mygfs 007f0005 none
[5]
gfs 2 mygfs 007e0005 none
[5]
none. The numbers in the brackets are the node ID numbers of the cluster nodes in the group. The clustat shows which node IDs are associated with which nodes. If you do not see a node number in the group, it is not a member of that group. For example, if a node ID is not in dlm/rgmanager group, it is not using the rgmanager dlm lock space (and probably is not running rgmanager).
cman_tool nodes -f command This command provides information about the cluster nodes that you may want to look at. The following example shows the output of the cman_tool nodes -f command.
[root@clusternode1 ~]# cman_tool nodes -f
Node Sts Inc Joined Name
1 M 752 2008-10-27 11:17:15 clusternode5.example.com
2 M 752 2008-10-27 11:17:15 clusternode4.example.com
3 M 760 2008-12-03 11:28:44 clusternode3.example.com
4 M 756 2008-12-03 11:28:26 clusternode2.example.com
5 M 744 2008-10-27 11:17:15 clusternode1.example.com
Sts heading indicates the status of a node. A status of M indicates the node is a member of the cluster. A status of X indicates that the node is dead. The Inc heading indicating the incarnation number of a node, which is for debugging purposes only.
cluster.conf is identical in each node of the cluster. If you configure your system with Conga, as in the example provided in this document, these files should be identical, but one of the files may have accidentally been deleted or altered.
gfs_fsck command. The GFS withdraw function is less severe than a kernel panic, which would cause another node to fence the node.
-o errors=panic option specified. When this option is specified, any errors that would normally cause the system to withdraw cause the system to panic instead. This stops the node's cluster communications, which causes the node to be fenced.
| Revision History | ||||||
|---|---|---|---|---|---|---|
| Revision 5.6-1 | Thu Dec 10 2010 | |||||
| ||||||
| Revision 2.0 | Mon Mar 15 2010 | |||||
| ||||||
| Revision 1.0 | Thu Jun 17 2009 | |||||
| ||||||