Monitoring HP RAID Controllers in VMware

hp_proliantdl370g6 (1)

This article describes howto monitor HP Smart Array P410i through VMware, the server is HP ProLiant DL370 G6

We have to check our raid controller card model via VMware cli interface

~ # esxcfg-scsidevs -l | egrep -i 'display name|vendor'
Display Name: HP Serial Attached SCSI Disk (naa.600508b1001c842ab113318efbffeec6)
Vendor: HP Model: LOGICAL VOLUME Revis: 3.52
Display Name: HP Serial Attached SCSI Disk (naa.600508b1001ccfffd201e84a4d6706ac)
Vendor: HP Model: LOGICAL VOLUME Revis: 3.52
~ #

We need the following packages

hpsa-500-5.0.0-offline_bundle-933277.zip

hp-esxi5.5uX-bundle-1.5-27.zip

Go to official HP web site and download them

hpsa-500-5.0.0-offline_bundle-933277.zip

hp-esxi5.5uX-bundle-1.5-27.zip

Copy packages with scp

scp hp-esxi5.5uX-bundle-1.5-27.zip [email protected]:/vmfs/volumes/machines/ISO
scp hpsa-500-5.0.0-offline_bundle-933277.zip [email protected]:/vmfs/volumes/machines/ISO

Installation process

/vmfs/volumes/50112862-5388dcd2-a5a8-d48564610bc1/ISO # esxcli software vib install -d "/vmfs/volumes/machines/ISO/hpsa-500-5.0.0-offline_bundle-933277.zip"
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: Hewlett-Packard_bootbank_scsi-hpsa_5.0.0-40OEM.500.0.0.472560
VIBs Removed: VMware_bootbank_scsi-hpsa_5.5.0-44vmw.550.0.0.1331820
VIBs Skipped:

~ # esxcli software vib install -d "/vmfs/volumes/machines/ISO/hp-esxi5.5uX-bundle-1.5-27.zip"
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: Hewlett-Packard_bootbank_char-hpcru_5.5.4.1-1OEM.550.0.0.1198610, Hewlett-Packard_bootbank_char-hpilo_550.9.0.0.9-1OEM.550.0.0.1198611, Hewlett-Packard_bootbank_hp-ams_550.9.4.0-29.1198611, Hewlett-Packard_bootbank_hp-smx-provider_550.03.03.20.2-1198611
VIBs Removed:
VIBs Skipped:

~ # esxcli software vib list
Name Version Vendor Acceptance Level Install Date
----------------------------- ------------------------------------ --------------- ---------------- ------------
char-hpcru 5.5.4.1-1OEM.550.0.0.1198610 Hewlett-Packard PartnerSupported 2013-11-08
char-hpilo 550.9.0.0.9-1OEM.550.0.0.1198611 Hewlett-Packard PartnerSupported 2013-11-08
hp-ams 550.9.4.0-29.1198611 Hewlett-Packard PartnerSupported 2013-11-08
hp-smx-provider 550.03.03.20.2-1198611 Hewlett-Packard VMwareAccepted 2013-11-08
scsi-hpsa 5.0.0-40OEM.500.0.0.472560 Hewlett-Packard VMwareCertified 2013-11-08

I will remove a hotspare disk,VMware notified about that

HPSmartArray P410i-remove

Your server is running PHP version 5.1.6 but WordPress 3.7.1 requires at least 5.2.4.

The latest version of wordpress 3.7.1 requires at least php version 5.2.4

[root@localhost ~]# rpm -qa | grep php
php-cli-5.1.6-40.el5_9
php-5.1.6-40.el5_9
php-common-5.1.6-40.el5_9
php-mysql-5.1.6-40.el5_9
php-gd-5.1.6-40.el5_9
php-pdo-5.1.6-40.el5_9

[root@localhost ~]# yum erase php*
Loaded plugins: fastestmirror, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.1.6-40.el5_9 set to be erased
---> Package php-cli.i386 0:5.1.6-40.el5_9 set to be erased
---> Package php-common.i386 0:5.1.6-40.el5_9 set to be erased
---> Package php-gd.i386 0:5.1.6-40.el5_9 set to be erased
---> Package php-mysql.i386 0:5.1.6-40.el5_9 set to be erased
---> Package php-pdo.i386 0:5.1.6-40.el5_9 set to be erased
--> Finished Dependency Resolution
.........................
.........................

Now, we have to install php 5.3

[root@localhost ~]# yum install php53 php53-gd php53-mysql
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.telepoint.bg
* extras: mirror.telepoint.bg
* updates: mirror.telepoint.bg
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53.i386 0:5.3.3-21.el5 set to be updated
--> Processing Dependency: php53-cli = 5.3.3-21.el5 for package: php53
--> Processing Dependency: php53-common = 5.3.3-21.el5 for package: php53
---> Package php53-gd.i386 0:5.3.3-21.el5 set to be updated
---> Package php53-mysql.i386 0:5.3.3-21.el5 set to be updated
--> Processing Dependency: php53-pdo for package: php53-mysql
--> Running transaction check
---> Package php53-cli.i386 0:5.3.3-21.el5 set to be updated
---> Package php53-common.i386 0:5.3.3-21.el5 set to be updated
---> Package php53-pdo.i386 0:5.3.3-21.el5 set to be updated
--> Finished Dependency Resolution

root@localhost ~]# lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.10 (Final)
Release: 5.10
Codename: Final

Vmware esxi : Could not find a trusted signer

During the installation of vSphere Installation Bundle (VIB) package I received the following error

esxcli software vib install -d "/vmfs/volumes/machines/megaraid_sas.zip"
[InstallationError]
('VMware_bootbank_scsi-megaraid-sas_6.601.55.00-1vmw.500.0.0.472560', 'Could not find a trusted signer.')
vibs = VMware_bootbank_scsi-megaraid-sas_6.601.55.00-1vmw.500.0.0.472560
Please refer to the log file for more details.

this is a result of following package which is not from trusted vendor, it’s from a third-party, we have to add “–no-sig-check”
option to proceed with the installation

esxcli software vib install -d "/vmfs/volumes/machines/megaraid_sas.zip" --no-sig-check
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: VMware_bootbank_scsi-megaraid-sas_6.601.55.00-1vmw.500.0.0.472560
VIBs Removed: VMware_bootbank_scsi-megaraid-sas_6.600.60.00.1vmw-1vmw.500.0.0.472560
VIBs Skipped:

install openvpn client in Mac OS X 10.7.5 via macports

sudo port install openvpn2
sudo port install tuntaposx

or you can download tuntaposx package manually from here

let’s check it after installation

bash-3.2# ls /dev/tap*
/dev/tap0 /dev/tap10 /dev/tap12 /dev/tap14 /dev/tap2 /dev/tap4 /dev/tap6 /dev/tap8
/dev/tap1 /dev/tap11 /dev/tap13 /dev/tap15 /dev/tap3 /dev/tap5 /dev/tap7 /dev/tap9
bash-3.2# ls /dev/tun*
/dev/tun0 /dev/tun10 /dev/tun12 /dev/tun14 /dev/tun2 /dev/tun4 /dev/tun6 /dev/tun8
/dev/tun1 /dev/tun11 /dev/tun13 /dev/tun15 /dev/tun3 /dev/tun5 /dev/tun7 /dev/tun9

TunTAP creates virtual interfaces using the supplied kernel extensions.Configure it to startup at boot.
launchctl load -w /Library/LaunchDaemons/org.macports.tuntaposx.plist
If you don’t have tuntaposx installed, it is possible to get the following error when you try and make vpn connection:
Cannot allocate TUN/TAP dev dynamically
Exiting due to fatal error

Now, run the vpn client
sudo openvpn2 router-udp-1197-client.ovpn