Unable to stop comments and vMA host

Hi all

I installed ESXi 4 then vma on esix. Now I am trying to stop all the guest operating system and then host through vM.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 get following error-

VI-admin@localhos $./ghettoUPSHostShutdown.pl--host_operation stop - stop - ups_vm MAS vm_operation - timeout 5

= GhettoUPSHostShutdown.pl START =.

Info: UPS_MONITORING: vMA

Info: VM_OPERATION: stop

Info: HOST_OPERATION: stop

Info: HOST_LIST: AUTOMATIC

info: ==========================================

Info: found host: "IP ADDRESS OF ESXi HOST HERE.

Debug: Hand: Login by vi-fastpass at: IP ADDRESS OF ESXi HOST HERE

Info: start the stop on the VMS operation...

Info: hard power off power Fedora12, no Vmware tools on...

Info: unable to hard power off of the Fedora12!

Info: closure of vSphere Management Assistant!

Info: cannot stop vSphere Management Assistant!

Info: shutdown complete operation!

Debug: Hand: Disconnect: IP ADDRESS OF ESXi HOST HERE

Info: check all virtual machines are either suspended or powered-DELAY set on: 5 min

Debug: Login by vi-fastpass at: IP ADDRESS OF ESXi HOST HERE

Info: host: IP ADDRESS OF ESXi HOST HERE has 2/5 VMs still lit!

News: County: 1 - sleeping for 60secs...

Debug: Login by vi-fastpass at: IP ADDRESS OF ESXi HOST HERE

Info: host: IP ADDRESS OF ESXi HOST HERE has 2/5 VMs still lit!

Info: Count: 2 - sleeping for 60secs...

Debug: Login by vi-fastpass at: IP ADDRESS OF ESXi HOST HERE

Info: host: IP ADDRESS OF ESXi HOST HERE has 2/5 VMs still lit!

News: County: 3 - sleeping for 60secs...

Debug: Login by vi-fastpass at: IP ADDRESS OF ESXi HOST HERE

Info: host: IP ADDRESS OF ESXi HOST HERE has 2/5 VMs still lit!

Info: Count: 4 - bed for 60secs...

Info: host: completed verification step!

Info: put the hosts in "stop" mode

use of uninitialized value in string on line 236 de./ghettoUPSHostShutdown.pl.

Info: ERROR:

SOAP fault:

Error string: error. RestrictedVersion.summary

Lack of details: RestrictedVersionFault

Info: IP ADDRESS OF ESXi HOST HERE is now closed!

Info: finally put UPS tracking VM host int o in "stop" mode

Use of uninitialized value chain eq /usr/lib/perl5/site_perl/5.8.8/VMware/VIFPLib.pm line 355.

login_by_fastpass: host name can not be empty in line /usr/lib/perl5/site_perl/5.8.8/VMware/VIFPLib.pm 355.

Help, please...

At this vMA 4.0 or 4.1 of vMA and you use ESX(I) 4.0 or 4.1? The script currently supports 4.0 only as it some major changes that currently breaks the script. Also the error tells me too that he is unable to identify targets for the table vi-fastpass... can you also run the following command and provides the output:

vifp listservers

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at: http://www.virtuallyghetto.com/

Twitter: @lamw

repository scripts vGhetto

Introduction to the vMA (tips/tricks)

Getting started with vSphere SDK for Perl

VMware Code Central - Scripts/code samples for developers and administrators

VMware developer community

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • Relationship between memory of comments and the host memory usage

    Hello

    I noticed today that the memory usage of my cluster rose close to 90% in all of the blades. I checked and found that a number of virtual machines is everyone using over 3 GB of memory host. When I went in the performance monitor for each of these virtual machines, they used only a maximum of 400 MB.

    How the memory usage of comments relate to the host memory usage, and how I can reduce the amount of memory used host so I do not have a performance hit through the cluster?

    Running ESX 3.0.2, VC 2.0.2 Dell Poweredge servers with 2 processors 1.86 GHz quad core and 24 GB of RAM.

    See you soon

    Graeme

    You can learn more about memory usage http://www.vmware.com/pdf/esx3_memory.pdf and resource management guide http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_resource_mgmt.pdf

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

  • THE "Windows Explorer has stopped working" and "Windows host process (Rundll32) has stopped working" messages, can't do ANYTHING!

    I looked for answers to this problem, and while some deal with similar aspects, none were completely relevant. Step by step, is what happened:

    I downloaded Haali Matroska Splitter since the first result in Google, open the zipper and it ran, if I even got that far. Since that time I have been see two posts above, constantly. I turned the computer on and it persists as soon as it started. I can't access 'msconfig', or other programs that could help because apparently everything works through Windows Explorer. I'm currently looking 29 Admail without loading boxes "restart Windows" on the laptop in question, while writing this to another. Please help, as I am a complete no-hoper to a compliacted question. I would be grateful you're not assuming that I know anything about technique and describing all the solutions in a progressive manner. Thanks a lot people.

    I used a system restore and everything seems OK. Wish I had known that earlier would have saved a lot of headaches.

  • I am unable to stop the hosts of loading process, because it takes a lot of memory

    I am unable to stop the hosts of loading process, because it takes a lot of memory

    Hello

    Some processes have to load, however, you can use these tools to check those and look for ones that
    can use a lot of memory after loading in the Manager of tasks - processes tab - CTRL + SHIFT + ESC
    Check the CPU column.

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes without doing anything - then right click on the task - bar
    The task manager - take a look at stored by - Services - process - it is a quick reference (if you have
    a small box in the lower-left - show for all users can check only).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG and then display a list of the people here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out what are the files, registry keys and other objects processes have opened, the dll
    they loaded and much more. This exceptionally effective utility will show you even owned by each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to startup automatically when your system boots and you
    opening of session. Autoruns also shows you the full list of registry and file locations where applications can configure auto-
    start the settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    WhatsInStartUP - free - this utility displays the list of all applications that are loaded automatically when Windows
    starts. For each request, the following information is displayed: Startup Type (registry/Startup folder).
    The command - line String, product name, file Version, company name, location in the registry or the file system,
    and much more. It allows you to easily disable or remove unwanted programs that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window Watcher says it all, reporting of any window created by all running programs, if the window is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • Why my 8 Adobe has stopped working and I am unable to download the latest updates?

    My 8 Adobe has stop working and now I am unable to open everything about Adobe. I tried to update to the latest cersion, but don't succeed.

    The most recent version is Adobe reader X (10)

    I do as suggested by Azam and uninstall the previous version. Have you tried a system restore to an earlier date and then tried to uninstall. If you click on "help" in the toolbar of the Adobe Reader there may be an option "repair Adobe installation".

    You could also try to reinstall Reader 8 and try once again an uninstall.

    If all else fails I try and install Reader X in any case if you have a corrupted version of the 8

  • Notice of process host says he has stopped working and stops

    I get a host process for Windows Services has stopped working and will be stopped to notice.

    Can someone tell me what this means?

    Thank you

    Johcon

    I'm not quite knopwledgeable to offer advice on this particular subject.

    Here is a link to several responses in this forum about the case:

    http://answers.microsoft.com/en-us/Search/Search?SearchTerm=Host+Process+for+Windows+Stopped+working&CurrentScope.ForumName=Windows&CurrentScope.Filter=windows_vista-windows_programs&askingquestion=false

  • WMI Provider Host has stopped working and was closed

    Using Vista SP2

    Only recalled recently by updates to Adobe Reader and updates Windows security up to and including April 15. About a week ago, I started getting error messages appear that State:

    "Microsoft Windows

    WMI Provider Host has stopped working and was closed.

    A problem with the application to stop functioning properly. Windows will notify you if a solution is available.

    When you click on 'Close' , another small window opens on the bottom tray, and when you click on it for more information it opens help and discusses 'Data Execution Prevention'. I have not changed my Data Execution Prevention settings.

    I stopped several times and the problem continues to exist. Delete the messages and that they recur usually every 10 minutes. This problem seems more common with open Facebook.

    Can anyone tell what changed to cause this start happening and I have to do to remedy this?

    Hello world

    You can determine exactly what causes most of the problems by following the steps below:

    Method 1: Put the computer in safe mode and see if the problem persists:

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Method 2: Clean boot

    If the problem is not repeated in safe mode, there is probably a startup item or service is causing the problem. Follow the steps on the following link to locate the item or service responsible for the error:

    http://support.Microsoft.com/kb/929135

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Get pop-up Microsoft that says: "print filter Pipeline host Stopped Working and was closed.

    Original title: the printer does not work

    Cannot print from any application. Get pop-up Microsoft that says: "print filter Pipeline host Stopped Working and was closed.

    Ron BakerSA,

    Try to read This THREAD

    Rick

  • Process host and Windows Modules Installer has stopped working and was closed!

    Hello

    Some error messages I get are "host process for Windows Services stopped working and was closed" and "Windows Modules install Stopped Working and was closed."

    It didn't happen until three weeks ago, when I did a system restore.

    I searched the internet for a while now and can't find anything.

    Thanks I hope you can help,

    Michael

    Hi Michael2017,

    1. did you of recent changes on the computer?

    2. When you receive the error message?

    3. are you able to install updates on the computer?

    Windows Module installation service are the two basic services responsible for all your updates installed correctly. Windows Module Installer service enables installation, modification, and removal of Windows updates and optional components. If the Windows Installer of Module service is disabled, install or uninstall windows updates may fail.

    Check and make sure the installation Module of Windows service is running on the computer

    (a) click Start; in the start search type services.msc and press ENTER.

    (b) ensure that the installation of Module Windows Service is running and the startup type must be handwritten.

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Host process for services Windows has stopped working and was closed.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    How to fix the "host process for windows services stopped working and was closed" on Vista

    http://www.online-tech-tips.com/computer-tips/host-process-for-Windows-services-stopped-working/

    I hope I could help

  • Error at startup of Vista: "host process for Windows services stopped working and was closed".

    Original title: problem with Vista

    There is this error message whenever he starts to the top and pop up at any time.

    "Host process for Windows services stopped working and was closed".

    "a problem caused the application to stop working correctly.

    How should I do? and my lower start bar turned white based

    Hello KenricLow,

    Try this to see if you can connect.
    Boot to safe mode.

    To access Safe Mode:
    (a) restart your computer and start pressing F8 on your keyboard. On a computer that is configured to start to multiple operating systems, you can press the F8 key when the Boot Menu appears.
    (b) select an option when the Windows Advanced Options menu appears, and press ENTER.
    (c) when the boot menu appears again, and the words "Safe Mode" appear in blue at the bottom, select the installation that you want to start, and then press ENTER.

    Of in safe mode, type msconfig in the start in the start menu search box and press return. Then on the Startup tab, uncheck the box any reference to the verisign/authentec software. Then, go to the services tab, sort the columns by manufacturer, then uncheck all references to Verisign. Then click ok and restart in normal mode.

    If please reply back and let us know if that helped to turn out to get rid of your error message.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Host process for Windows Services stopped working and was closed & Windows must now restart because the DCOM Server process Launcher service terminated unexpectely

    my computer keeps stopping and restarting itself. I get the same messages of 2 error: host process for Windows Services stopped working and was closed and; Windows must now restart because the DCOM Server process Launcher service terminated unexpectely. How can I fix? I used the norton support, run analyses of many, nothing has helped.

    None of the above works though... I didn't know by another forum to download Hitman 3.5 http://www.surfright.nl/en/downloads/home that he got rid of a virus that norton, Norton 360 and Malwarebytes antivirus support could not. I had no problem since :)

  • 1 program still needs to be closed: (waiting for) task host window's task to stop execution and stopping tasks that are already running

    While the closure of the pc I got the message: "1 program still needs to be closed: (pending of) task host window's task to stop execution and stop tasks that are already running".but there is no program running and I have to force it to close.how to solve?

    Hello

    Thank you for contacting Microsoft Community.
    Windows, then closing, checks all open programs. If there is, it sends a request for the program to close and wait until the program closes safely, to avoid any loss of data. But, Windows is waiting for some specified
    If you are sure that none of the programs are obviously open, you can try the following steps:
    Press Windows key + r, Type regedit and pres enter. If UAC prompts, click Yes. Go to HKEY_LOCAL_MACHINE-> expand System-> expand CurrentControlSet-> click on command (exapnd no do this). When you click (or select) control, you can see WaitToKillServiceTimeout. Double-click it to change the value. Set the value to 500 or less than that. Click Ok, and then close the registry editor. Now, restart the PC. If the problem persists, stop and try again and check.
    Be careful with registry access as incorrect values or remove the unknown keys can prevent Windows to start and it will fix it.
    Response if the issue is not resolved.
  • Commands to start and stop a virtual machine hosted by VMware player

    Where can I find the commands to start and stop a virtual machine hosted by VMware player on a host Windows Server 2008 R2 (64-bit)?

    I need to start and stop the virtual computer from a script as I could do this by selecting the ' power on ' and his 'guest stop' or at least 'power off' options of the GUI of VMware player.

    If a control interface is not available, is available if I update to VMware Workstation?

    Concerning

    Marius

    With the player, the VIX API is a separate download (on the same page you downloaded the install drive in), so I guess you will have to install the separate package to use it.  But it's pretty easy to do...

  • How to display /etc/resolv.conf and other files from the remote host to the vMA host ESX4i

    Hi all;

    I'm new at VMAs, I put it in place and adds 5 Server esxi 4 and I can list the fines using vifp lists broadcast and works, very well but my problem is I want to interrogate the remote servers for this vMA host for example I need to check the contents of these files

    cat /etc/resolv.conf

    cat/etc/sysconfig/clock

    tail/var/log/vmkernel

    Discovered the following

    esxcfg-firewall - q and esxcfg-vswif - l

    Can someone please help me on how to run these commands or another way on how to get this information above hosts and ESXi 4. I checked the forum, but I don't see anything similair nature! now, either I'm stupid full because it's as simple as drinking water and so no one asked or I am just lucky to ask the right question, so be it, I appreciate your time and effort

    Thanks in advance

    Esxlinux

    So its worth your time through the vMA documentation to understand how to manage your hosts and it's main use case. The operations that you are trying to accomplish cannot be done using vMA... at least in the way that you are hoping for.

    See my vMA article and some of the getting started guides.

    cat /etc/resolv.conf

    You will want to use esxcfg-dns to list the configured DNS servers

    cat/etc/sysconfig/clock

    This file does not yet exist on ESXi, if you try to set the time on ESXi host, you should use NTP and it is also important to note that single ESXi uses UTC and no other options are available.

    tail/var/log/vmkernel

    If you need to display the host logs, consider using vi logger on vMA OR configure syslog on your host to send to the centralized syslog server

    Regarding the last two commands, they do not apply to an ESXi host and therefore these commands are not available.

    There are certainly differences between ESX and ESXi, understand the differences and orders to ask for certain pieces of information is very important. vMA can help with this, but you must understand the use case of vMA and what tools are at your disposal. The best way to start is to take a look at the documentation, to jump it and try to jump in, will just be confusing.

    Good luck

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

Maybe you are looking for

  • 2.4 ghz does not when I activate 5 GHz

    Hello For years, I had a reliable 1 TB time capsule simulcasting wifi bands... then all of a sudden the wifi stopped working.  After problems, I decided to reset the TC and everything set up again.  I used the same SSID as before for all the material

  • Toshiba Z3030D - display is strange

    Hello I was wondering if someone here can help me to diagnose a problem with my Toshiba Z3030D; as you can see in the video below, the display is strange - a part of the screen seems frozen/slow at the start of television - the problem goes away afte

  • firefox review all add-ons finally make?

    I want to add an add-on but it has not been considered, if don't want to take the risk of harm to my computer, will be reviewed add it on?

  • Camileo P100 screen is black, but the noise from the unit

    Hi allI just bought a Camileo P100 and fully charged. Although it seems to work when you take a picture the camera 'clicks', the video recording the LED flashes, the touch screen is black and I don't see anything. When you touch the screen, it doesn'

  • WiFi falls frequently, must turn off wifi to the computer, then turn on

    Greetings, I have four Macs, all the different models and with different OS, with El Capitan and this happens on all. I have an Airport Extreme router, aged about 1 1/2 years. Throughout the day, wifi doesn't work. To get to resume, I have to go into