How to use the encrypted password for fence devices in the cluster configuration file?

Solution Verified - Updated -

Issue

  • When the passwd_script option is used in /etc/cluster/cluster.conf file to specify the password for fence devices, or visible in the output of pcs cluster cib it is required to use a custom script which will contain the actual password, is it possible to use encrypted password for fence devices?

Environment

Red Hat Enterprise Linux Server 5 (with the High Availability Add on)
Red Hat Enterprise Linux Server 6 (with the High Availability Add on)
Red Hat Enterprise Linux Server 7 (with the High Availability Add on)
Red Hat Enterprise Linux Server 8 (with the High Availability Add on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content