The fencing script "fence_vmware_soap" is very slow on fencing a clustered vm node
Environment
- Red Hat Enterprise Linux Server 5.7 (with the High Availability Add on)
- Red Hat Enterprise Linux Server 6.1 (with the High Availability Add on)
Issue
- The fencing script
fence_vmware_soap
is very slow on fencing a clustered vm node. fence_vmware_soap
takes too long when trying to fence or get status of other node in vmware guest cluster setup.
Resolution
- The following errata includes a patch for resolving the slow fencing process of
fence_vmware_soap
:- RHEL 5.8.z: RHBA-2012:1348-1
- RHEL 5.9 : RHBA-2013-0076
- RHEL 6.3.z: RHBA-2012-1439-1
- RHEL 6.4 : RHBA-2013-0286
Root Cause
- The
fence_vmware_soap
script requested unnecessary data fromvSphere
thus slowing the fencing process.
Diagnostic Steps
- Use the
time
tool to measure the fencing time for a system and notice the highuser
time because it ispython
processing thevSphere
server list and status.
$ time fence_vmware_soap -z -l <user> -p <password> -a <host> -o status -n <system> -v
Status: ON
real 4m23.936s
user 4m14.208s
sys 0m0.508s
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments