vmware tools upgrade without reboot

Get-VM <virutal machine>
Get-VM test-08R2-1 | update-tools -noreboot

002

Advertisements

ESXi host cannot initiate vMotion or enable services

It hit some errors in my ESXi environment one month ago, there are 2 x ESXi 5.1 host (HP DL380 Gen8) in one Cluster Group. I discovered that the ESXi host cannot enable service, cannot login in ESX shell and cannot connect to all virtual machine by VM console. I cannot find any root cause and resolution in VMware KB. Finally I reboot both ESX hosts then resume the service. After one month, VMware released one KB which is related to this issue on Nov, the issue related to HP AMS version. It issue is very serious error, I am highly recommended to upgrade HP AMS if the ESX host is running on HP Servers.

This issue occurs with ESXi hosts running on HP hardware with these versions of AMS:
  • hp-ams 500.9.6.0-12.434156
  • hp-ams-550.9.6.0-12.1198610
  • hp-ams 500.10.0.0-18.434156
  • hp-ams-550.10.0.0-18.1198610

Resolution:

This is a known issue affecting ESXi 5.x.To resolve the issue, upgrade to AMS version 10.0.1.

For ESXi 5.0 and 5.1, see HP Agentless Management Service Offline Bundle for VMware ESXi 5.0 and vSphere 5.1.

For ESXi 5.5, see HP Agentless Management Service Offline Bundle for VMware vSphere 5.5.

To work around this issue, remove the package on all hosts running on one of the preceding AMS versions.
To remove the package on all hosts running on these AMS versions:
  1. Log in to the host using SSH. For more information, see Using ESXi Shell in ESXi 5.x (2004746).
  2. Run this command to stop the HP service (does not persist on reboot):/etc/init.d/hp-ams.sh stop 
  3.  Run this command to remove the VIB:esxcli software vib remove -n hp-ams
  4. Reboot the host.

Reference:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2085618

Preparing one VMware book.

By packt publishing’s invitation, I’m preparing one book which is related VMware with Storage. This book will be released after July 2015. I spent much of time for preparing that book. During this period, I don’t often update the post in my blog. I reply your email if everyone has any problem or discussion.

Collect the info of ESX Server’s Resource Pool

Export the report of ESX’s Resource Pool easily by using VMware PowerCLI,  detail as below,

Get-Cluster –Name <Cluster Name> | Get-ResourcePool | Export-CSV –Path c:\VMs.csv –UseCulture -NoTypeInformation

01

Get-ResourcePool –location (Get-Cluster –Name <cluster name>) | Select-Object –Property Name,Parent | Export-CSV –Path c:\VMs.csv –UseCulture -NoTypeInformation

02

Get-VM | Select-Object –Property Name,Notes,VMhost,Guest,ResourcePool,Folder | Export-CSV –Path c:\VMs.csv –UseCulture -NoTypeInformation

03

Create a free website or blog at WordPress.com.

Up ↑