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:
  1. As an administrator of luci Select the cluster tab. This displays the Choose a cluster to administer screen.
  2. 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 on apcclust to select the cluster.
  3. At the detailed menu for the cluster apcclust (below the clusters menu on the left side of the screen), click Shared Fence Devices. Clicking Shared Fence Devices causes the display of any shared fence devices previously configured for a cluster and causes the display of menu items for fence device configuration: Add a Fence Device and Configure a Fence Device.
  4. Click Add a Fence Device. Clicking Add a Fence Device causes the Add a Sharable Fence Device page to be displayed.
  5. At the Add a Sharable Fence Device page, click the drop-down box under Fencing Type and select APC Power Switch. 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”.
    Adding a Sharable Fence Device

    Figure 6.2. Adding a Sharable Fence Device

  6. For Name, enter pwr01.
  7. For IP Address, enter 10.15.86.96.
  8. For Login, enter apclogin.
  9. For Password, enter apcpword.
  10. For Password Script, leave blank.
  11. Click Add this shared fence device.
    Clicking Add this shared fence device causes 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 Configure a Fence Device.
To configure the second APC switch as a shared fence device named pwr02, perform the following procedure:
  1. After configuring the first APC switch as shared fence device pwr01, click Add a Fence Device from the detailed menu for the cluster apcclust (below the clusters menu on the left side of the screen). This displays the Add a Sharable Fence Device page.
  2. At the Add a Sharable Fence Device page, click the drop-down box under Fencing Type and select APC Power Switch. This causes Conga to display the components of an APC Power Switch fencing type.
  3. For Name, enter pwr02.
  4. For IP Address, enter 10.15.86.97.
  5. For Login, enter apclogin.
  6. For Password, enter apcpword.
  7. For Password Script, leave blank.
  8. Click Add this shared fence device.
    Clicking Add this shared fence device causes 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 Configure a Fence Device.
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.
  1. At the detailed menu for the cluster apcclust (below the clusters menu), click Nodes. Clicking Nodes causes the display of the status of each node in apcclust.
  2. At the bottom of the display for node clusternode1.example.com, click Manage Fencing for this Node. This displays the configuration screen for node clusternode1.example.com.
  3. At the Main Fencing Method display, click Add a fence device to this level. This causes a dropdown menu to display.
  4. From the dropdown menu, the pwr01 and pwr02 fence devices you have already created should display as one of the menu options under Use an Existing Fence Device. Select pwr01 (APC Power Device). This causes a fence device configuration menu to display with the Name, IP Address, Login,Password, and Password Script values already configured, as defined when you configured pwr01 as a shared fence device. (The Password value does not display, but you may not alter it.) This is shown in Figure 6.3, “Adding Fence Device pwr01 to a Node”.
    Adding Fence Device pwr01 to a Node

    Figure 6.3. Adding Fence Device pwr01 to a Node

  5. For Port, enter 1. Do not enter any value for Switch.
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.
  1. Beneath the configuration information for pwr01 that you have entered, click Add a fence device to this level. This displays the dropdown menu again.
  2. From the dropdown menu, select pwr02 (APC Power Device). This causes a fence device configuration menu to display with the Name, IP Address, Login,Password, and Password Script 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”.
    Adding Fence Device pwr02 to a Node

    Figure 6.4. Adding Fence Device pwr02 to a Node

  3. For Port, enter 1. Do not enter any value for Switch.
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.
  1. Click Update main fence properties. This causes a confirmation screen to be displayed.
  2. On the confirmation screen, Click OK. A progress page is displayed after which the display returns to the status page for clusternode1.example.com in cluster apcclust.
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:
  1. On the status page for clusternode1.example.com in cluster apcclust, the other nodes in apcclust are displayed below the Configure menu item below the Nodes menu item on the left side of the screen. Click clusternode2.example.com to display the status screen for clusternode2.example.com.
  2. At the Main Fencing Method display, click Add a fence device to this level. This causes a dropdown manu to display.
  3. As for clusternode1.example.com, the fence device pwr01 should display as one of the menu options on the dropdown menu, under Use an Existing Fence Device. Select pwr01 (APC Power Device). This causes a fence device configuration menu to display with the Name, IP Address, Login, Password, Password Script values already configured, as defined when you configured pwr01 as a shared fence device.
  4. For Port, enter 2. Do not enter any value for Switch.
  5. Before clicking on Update main fence properties, click on Add a fence device to this level to add the fence device pwr02.
  6. Select pwr02 (APC Power Device) from the Use an Existing Fence Device display of the dropdown menu. This causes a fence device configuration menu to display with the Name, IP Address, Login, Password, Password Script values already configured, as defined when you configured pwr01 as a shared fence device.
  7. For Port, enter 2. Do not enter any value for Switch.
  8. To configure both of the fence devices, Click Update main fence properties.
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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.