Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To enable VMware Fencing, the VMware Perl SDK is required. Please download the VMware Perl SDK directly from VMware, or directly from this Wikithe links below, and install it on both your HA Nodes. (You may need to create a VMware account to download the file, if downloading from VMware.)

After you have installed the SDK, you can test the installation by running the command 'fence_vmware_helper'.  If it asks you for a username, you have successfully installed it!

Code Block
yum -y install openssl-devel
wget 'http://wiki.freepbx.org/download/attachments/19497718/VMware-vSphere-Perl-SDK-6.0.0-2503617.x86_64.tar.gz'
tar zxvf VMware-vSphere-Perl-SDK-6.0.0-2503617.x86_64.tar.gz
cd vmware-vsphere-cli-distrib
./vmware-install.pl

You should read and accept the licence agreement, and then accept the default for all questions.

...

This is usually caused by an SSL Naming issue, and can be triggered when the hostname the VMware server responds with doesn't match the requested hostname. The easiest solution is to edit the files /usr/share/perl5/VMware/VICommon.pm and /usr/lib/vmware-vcli/VMware/share/VMware/VICommon.pm and insert the following line as the second line:

Code Block
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;

Note you must add that on both nodes.

Name

Size

Creator

Creation Date

Comment

ZIP Archive

View file
nameVMware-vSphere-Perl-SDK-6.0.0-2503617.i386.tar.gz

54.64 MB

Rob Thomas

11 Jun, 2015 02:51

32 Bit

ZIP Archive

View file
nameVMware-vSphere-Perl-SDK-6.0.0-2503617.x86_64.tar.gz

52.05 MB

Rob Thomas

11 Jun, 2015 02:46

64 Bit

ZIP Archive

View file
nameVMware-vSphere-Perl-SDK-5.5.0-1384587.x86_64.gz

25.61 MB

Rob Thomas

09 Dec, 2013 22:55

64 Bit

ZIP Archive

View file
nameVMware-vSphere-Perl-SDK-5.5.0-1384587.i386.gz

26.16 MB

Rob Thomas

09 Dec, 2013 23:37

32 Bit