3.3. APC Fence Device Configuration Procedure


This section provides the procedure for adding an APC fence device to each node of cluster 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.
To configure an APC switch as a shared fence device 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 3.2, “Adding a Sharable Fence Device”.
    Adding a Sharable Fence Device

    Figure 3.2. Adding a Sharable Fence Device

  6. For Name, enter apcfence.
  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.
After configuring the APC switch as a shared fence device, use the following procedure to configure the APC switch as the 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 apcfence fence device you have already created should display as one of the menu options under Use an Existing Fence Device. Select apcfence (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 apcfence as a shared fence device. This is shown in Figure 3.3, “Adding an Existing Fence Device to a Node”.
    Adding an Existing Fence Device to a Node

    Figure 3.3. Adding an Existing Fence Device to a Node

  5. For Port, enter 1. Do not enter any value for Switch.
  6. Click Update main fence properties. This causes a confirmation screen to be displayed.
  7. 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 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:
  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 apcfence fence device should display as one of the menu options on the dropdown menu, under Use an Existing Fence Device. Select apcfence (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 apcfence as a shared fence device.
  4. For Port, enter 2. Do not enter any value for Switch.
  5. Click Update main fence properties.
Similarly, configure apcfence as the main fencing method for clusternode3.example.com, specifying 3 as the Port number.
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.