How to find uuid for adding vmware_fence_soap fence device in RHEL 6 cluster ?

We know that fencing device is crucial component in cluster configuration. If you have configured the cluster on VMware environment which many people now a days used to do, then we can add vmware_fence_soap as fencing device. Its power fencing device.

To add vmware_fence_soap as the fencing device we need to know about the UUID of Redhat linux. We are having two methods to find it.

Method 1 : In this we are fetching the information from ESXi. It will give the UUID of linux machine hosted on it.

We have to use the root login credentials of ESXi to fetch the information and IP is ESXi mgmt IP.

[root@Node1 ~]# fence_vmware_soap -z -l root -p root123 -a 192.168.111.130 -o list
Red-Linux-1,564df4f7-0807-7c22-097f-fb93ed8a935e
Red-Linux-2,564d80d1-08a5-15a9-c3f1-ebc8e7677b3c
Red-Linux-3,42132ed4-a929-c17a-ce5a-6a61e0df1b8a

Note : Here UUID is in lower case which is the mandatory condition to add the UUID while configuring fencing device.

Method 2 :  By logging into each node of cluster and issuing below command.

[root@Node1 ~]# dmidecode | grep -i uuid
UUID: 564DF4F7-0807-7C22-097F-FB93ED8A935E

This UUID is in upper case we can convert it into lower case to use into fencing device configuration.

Conversion to lower case can be done with below command.

[root@Node1 ~]# dmidecode | grep -i uuid | tr A-Z a-z

Hope that information helps you guys while configuring fencing device in cluster configuration 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s