hp-lefthand

HP LeftHand 12 MPIO for ESXi 5.5

One of the new features of HP LeftHand 12.0 is the Multipathing Extension Module for VMWare, which reduces latency and improves performance. With this extension and configuring VMWare with Dynamic Discovery and the VIP (Virtual IP address) of the LeftHand, it discovers all the nodes and creates a link to every node.

With the extension installed and working, in LeftHand administration where before you could see only the paths to the VIP for every LUN now you can see at least a link for every node and duplicated in case of the VIP because it handles data and control.

The extension is now available for ESXi 5.0, 5.1 and 5.5, and can be downloaded from here: HP StoreVirtual Storage: LeftHand OS 12.0

To install the extension into a host with ESXi 5.x you need:

  1. Place host into maintenance mode.
  2. Enable SSH (it is always recommended not to leave it always enabled).
  3. With WinSCP or any other application that supports SCP copy the VIB file to a storage, if you are going to update multiple hosts it is recommended to copy to a shared storage so it is accessible from all hosts (e.g. /vmfs/volumes/xxx).
  4. With Putty or any other SSH client connect to the ESXi host and update with the following command:

    This is an example of a successfully completed installation
  5. No reboot is required but before exiting maintenance mode, reconfigure the Path Policy for all LeftHand’s LUNs with the new Path Policy HP_PSP_LH.

    HP_PSP_LH_Path_Policy

    HP_PSP_LH Path Policy

  6. Verify all the LeftHand’s LUNs are OK and then exit maintenance mode.

This is a very manual process and only useful for a LAB or very reduced environment, but if you have to update multiple LUNs for every host it is better to use PowerCLI.

The following script changes the Path Policy on all LeftHand datastores of an ESXi host, please be careful and test in a Lab before applying into production.

[wpfilebase tag=file id=8 /]

Serial Port

Remove serial and parallel ports with PowerCLI

Removing unnecessary hardware from virtual machines is always a good practice and it usually we found that creating new VMs we left hardware like serial and parallel ports configured.

With the functions from the file you can remove serial and parallel ports from a VM, recommended to perform with powered off VMs. It can be added to a recursive scripts and remove cluster wide or even Datacenter wide all serial and parallel ports from the virtual machines.

As all PowerCLI scripts it requires a connection to a vCenter.

[wpfilebase tag=file id=7 /]

PowerCLI

Bulk change NTP on all ESXi with PowerCLI

Changing the NTP data in one host is a pretty easy task but change it across multiple hosts is a repetitive task than can be scripted with PowerCLI.

The script adds a NTP server on all ESXi hosts connected to the vCenter server you previously connected with “Connect-ViServer” and then restarts the NTP service so the changes are applied.

 

[wpfilebase tag=file id=6 /]