snmp Call “HostServiceSystem.Start” for object “serviceSystem” on ESXi “” failed.

During the snmp daemon enabling in vmware esxi 5.5.0 the following error appears.

We have to enable snmp service in /etc/vmware/snmp.xml , log through in ssh and

~ # vi /etc/vmware/snmp.xml

this is the default content

<config><snmpSettings><enable>false</enable><communities></communities><targets></targets></snmpSettings></config>

change

<enable>false</enable>

to

<enable>true</enable>

also we can add and snmp community

<communities>public</communities>

restart all the services

/sbin/services.sh restart

 

 

 

 

 

 

 

 

Monitoring LSI SMC1078 RAID Controller in VMware ESXi 5.5.0

Log in through ssh service and take a look of a raid controller model

~ # esxcfg-scsidevs -l | egrep -i 'display name|vendor'
Display Name: Local LSILOGIC Enclosure Svc Dev (mpx.vmhba2:C0:T2:L0)
Vendor: LSILOGIC Model: SASX36 A.0 Revis: 9
Display Name: Local USB CD-ROM (mpx.vmhba32:C0:T0:L0)
Vendor: AMI Model: Virtual CDROM Revis: 1.00
Display Name: Local USB Direct-Access (mpx.vmhba32:C0:T0:L1)
Vendor: AMI Model: Virtual Floppy Revis: 1.00
Display Name: Local LSI Disk (naa.6003048004319400196ff10f1cd9e340)
Vendor: LSI Model: SMC1078 Revis: 1.40
Display Name: Local LSI Disk (naa.6003048004319400196ff17d2365327d)
Vendor: LSI Model: SMC1078 Revis: 1.40
Display Name: Local LSI Disk (naa.60030480043194001a1cfe07181f1b2b)
Vendor: LSI Model: SMC1078 Revis: 1.40
~ #

We need to download VMware SMIS Provider, go to LSI web site and download it.
Other useful tool is MegaClI, go to the same link and download MegaCLI 5.5 P1 .Copy files to remote server.

scp vmware-esx-provider-lsiprovider.vib [email protected]:/vmfs/volumes/machines/ISO

scp vmware-esx-MegaCli-8.07.07.vib [email protected]:/vmfs/volumes/machines/ISO

Installation process

esxcli software vib install --no-sig-check -v /vmfs/volumes/machines/ISO/vmware-esx-provider-lsiprovider.vib
esxcli software vib install --no-sig-check -v /vmfs/volumes/machines/ISO/vmware-esx-MegaCli-8.07.07.vib

Shutdown all virtual machines and reboot the esxi host, it will need about 30 minutes to update the storage information and the hard drives will appear in the healt status.
LSI SMC1078

Some MegaCLI useful commands

cd /opt/lsi/MegaCLI #
Controller information

./MegaCli -AdpAllInfo -aALL
./MegaCli -CfgDsply -aALL

Enclosure information

./MegaCli -EncInfo -aALL

Virtual drive information

./MegaCli -LDInfo -Lall -aALL

Physical drive information

./MegaCli -PDList -aALL

check raid for errors

./MegaCli -LDInfo -Lall -aALL -NoLog | egrep -i "fail|degrad|error"

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

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: