LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 10-12-2010, 02:54 AM   #1
smartgupta
Member
 
Registered: Sep 2008
Posts: 81

Rep: Reputation: 15
Unable to shutdown guest & host in vMA


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...
 
Old 11-03-2010, 03:07 PM   #2
nikwax
LQ Newbie
 
Registered: May 2009
Posts: 25

Rep: Reputation: 0
Quote:
Originally Posted by smartgupta View Post
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...
The link you referenced is for ESXi 3.5 - there is a link though for a different script for ESXi 4:
http://communities.vmware.com/docs/DOC-11623

You might want to try that one out instead.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Host OS unable to connect to Guest OS (virtual machines) in VMware vikas027 Linux - Virtualization and Cloud 18 08-16-2012 08:15 AM
Unable to copy paste between guest and host OS titan12345 Linux - Virtualization and Cloud 20 10-14-2010 04:21 PM
Sun VirtualBox: Guest is Unable to Connect to Host By Hostname Cottonwoody Linux - Virtualization and Cloud 5 11-13-2009 11:31 AM
Unable to connect Virtualbox XP Guest to MySQL on Ubuntu Host pabs111 Linux - Newbie 3 06-05-2009 02:28 PM
vmware - Win2K-host & slackware-guest kud0ze Linux - General 0 01-25-2002 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration