Rate this page del.icio.us  Digg slashdot StumbleUpon

Tips and tricks: Can I use a non-admin user account on my APC power supply for Red Hat Cluster Suite fencing?

by the editorial team

No, the fence_apc script requires that the admin user (typically called apc) be used for fencing. Regular users have a different menu interface than the admin user and the fencing agent is incompatible with this interface.

To avoid exposing the admin password in the cluster configuration file, a password script can be used. This script needs execute permissions for root only preventing others from reading or executing it. The script can be as simple as:

#!/bin/bash
echo "mypassword"

Once it is in place, use system-config-cluster or Conga to edit the fence device properties. There is an option to specify a password script instead of the clear text password.

Red Hat’s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to Red Hat Knowledgebase is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.

Leave a reply