Hi All,
I installed ESXi 4 and then vma on esix.Now I am trying to shutdown all the guest OS and then host server(ESXi) through vMA.I am using the script ghettoUPSHostShutdown.pl(check the link
http://communities.vmware.com/docs/DOC-11902.)
but when I am trying to run this script,I am getting following errors--
Quote:
vi-admin@localhos $ ./ghettoUPSHostShutdown.pl --host_operation dryrun --vm_operation shutdown --loglevel debug --ups_vm vMA --timeout 5
|
Quote:
======= DRYRUN MODE ENABLED ghettoUPSHostShutdown.pl =======
info: UPS_MONITORING: vMA
info: VM_OPERATION: shutdown
info: HOST_OPERATION: dryrun
info: HOST_LIST: AUTOMATIC
info: ==========================================
info: Found host: "IP ADDRESS OF ESXi HOST HERE"
debug: Main: Login by vi-fastpass to: IP ADDRESS OF ESXi HOST HERE
info: Begin shutdown operation on VMs ...
info: Shutting down Ubuntu via VMware Tools...
info: shutting down vSphere Management Assistant via VMware Tools...
info: shutdown operation complete!
debug: Main: Disconnect from: IP ADDRESS OF ESXi HOST HERE
info: verifying all VMs are either suspended or powered of - TIMEOUT set to: 5min
debug: Login by vi-fastpass to : IP ADDRESS OF ESXi HOST HERE
info: Host: IP ADDRESS OF ESXi HOST HERE has 2/5 VMs still powered on!
info: Verification stage completed !
info: Putting host into "dryrun mode "
use of uninitialized value in string ne at ./ghettoUPSHostShutdown.pl line 247.
info: "IP ADDRESS OF ESXi HOST HERE"is now shutting down.
info: finally putting UPS Monitoring VM host into "dryrun mode"
use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.8/VMware/VIFPLib.pm line 355.
login_by_fastpass:hostname cannot be empty at /usr/lib/perl5/site_perl/5.8.8/VMware/VIFPLib.pm line 355.
|
Please help me how can I resolve it.
Thanks in advance...