6.3. Dual Power Fencing Configuration Procedure
This section provides the procedure for adding two APC fence devices to each node of cluster
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.
To configure the first APC switch as a shared fence device named
pwr01
using Conga, perform the following procedure:
- As an administrator of luci Select the cluster tab. This displays the Choose a cluster to administer screen.
- From the Choose a cluster to administer screen, you should see the previously configured cluster
apcclust
displayed, along with the nodes that make up the cluster. Click onapcclust
to select the cluster. - At the detailed menu for 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 . - Click Add a Sharable Fence Device page to be displayed.. Clicking causes the
- At the Add a Sharable Fence Device page, click the drop-down box under and select . This causes Conga to display the components of an APC Power Switch fencing type, as shown in Figure 6.2, “Adding a Sharable Fence Device”.
Figure 6.2. Adding a Sharable Fence Device
- For, enter
pwr01
. - For, enter
10.15.86.96
. - For, enter
apclogin
. - For, enter
apcpword
. - For, leave blank.
- Click.Clickingcauses a progress page to be displayed temporarily. After the fence device has been added, the detailed cluster properties menu is updated with the fence device under .
To configure the second APC switch as a shared fence device named
pwr02
, perform the following procedure:
- After configuring the first APC switch as shared fence device
pwr01
, click from the detailed menu for the clusterapcclust
(below the menu on the left side of the screen). This displays the Add a Sharable Fence Device page. - At the Add a Sharable Fence Device page, click the drop-down box under and select . This causes Conga to display the components of an APC Power Switch fencing type.
- For, enter
pwr02
. - For, enter
10.15.86.97
. - For, enter
apclogin
. - For, enter
apcpword
. - For, leave blank.
- Click.Clickingcauses a progress page to be displayed temporarily. After the fence device has been added, the detailed cluster properties menu is updated with the fence device under .
After configuring the APC switches as shared fence devices, use the following procedure to configure the first APC switch,
pwr01
, as the first fence device for node clusternode1.example.com
.
- At the detailed menu for the cluster
apcclust
(below the menu), click . Clicking causes the display of the status of each node inapcclust
. - At the bottom of the display for node
clusternode1.example.com
, click . This displays the configuration screen for nodeclusternode1.example.com
. - At the
Main Fencing Method
display, click . This causes a dropdown menu to display. - From the dropdown menu, theand fence devices you have already created should display as one of the menu options under . Select . This causes a fence device configuration menu to display with the , , , , and values already configured, as defined when you configured
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”.Figure 6.3. Adding Fence Device pwr01 to a Node
- For, enter
1
. Do not enter any value for .
Before updating the main fence properties for this node, use the following procedure to add
pwr02
as the second fence device of the main fencing method for node clusternode1.example.com
.
- Beneath the configuration information for
pwr01
that you have entered, click . This displays the dropdown menu again. - From the dropdown menu, select. This causes a fence device configuration menu to display with the , , , , and values already configured, as defined when you configured
pwr02
as a shared fence device. This is shown in Figure 6.4, “Adding Fence Device pwr02 to a Node”.Figure 6.4. Adding Fence Device pwr02 to a Node
- For, enter
1
. Do not enter any value for .
After entering the configuration information for both power sources to use as fence devices, you can update the main fence properties using the following procedure.
- Click. This causes a confirmation screen to be displayed.
- On the confirmation screen, Click. A progress page is displayed after which the display returns to the status page for
clusternode1.example.com
in clusterapcclust
.
After configuring
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
:
- On the status page for
clusternode1.example.com
in clusterapcclust
, the other nodes inapcclust
are displayed below the menu item below the menu item on the left side of the screen. Click to display the status screen for . - At the
Main Fencing Method
display, click . This causes a dropdown manu to display. - As for
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 configuredpwr01
as a shared fence device. - For, enter
2
. Do not enter any value for . - Before clicking on, click on to add the fence device .
- Selectfrom the display of the dropdown menu. 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. - For, enter
2
. Do not enter any value for . - To configure both of the fence devices, Click.
Similarly, configure
pwr01
and pwr02
as the main fencing method for clusternode3.example.com
, this time specifying 3
as the Port number for both devices.