VMware vSphere

 View Only
  • 1.  Restart vmware service

    Posted May 07, 2012 03:34 PM

    To restart the service by typing the following command at the service console      

         " service mgmt-vmware restart "

    I have read the above in one of the website., could someone please tell should we enter this command at the service console or is it through putty. If it is through service console., how., and what is service console and how do we access it.


    Thank You,

    Prashant



  • 2.  RE: Restart vmware service
    Best Answer

    Posted May 07, 2012 03:37 PM

    that command will not work for ESXi, only ESX

    to restart the management agents in ESXi while logged in through SSH as root

    services.sh restart

    see also, http://kb.vmware.com/kb/1003490



  • 3.  RE: Restart vmware service

    Posted May 07, 2012 05:27 PM

    Thank You Troy.

    -Prashant



  • 4.  RE: Restart vmware service

    Posted May 07, 2012 03:51 PM

    Where you would like to restart the Management Agents?

    If it is esx then whatever the command you mentioned this you can run on service console (Service Console is the management interface.Provide IP for client-server management, space for additional program (like agent, or similar), a CLI for user interaction, ...) You can access the Service console via any SSH client like putty or you can directly login on to esx machine then you can run this command.

    if it is Esxi then from the DCUI you can restart the management agent

    Check this link for step by step:-

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



  • 5.  RE: Restart vmware service

    Posted May 07, 2012 05:29 PM

    Thank You Ranjna., it is ESX., could you please let me know what is DCUI(Direct Console User Interface)., and how do we use it.

    -Prashant



  • 6.  RE: Restart vmware service

    Posted May 07, 2012 05:55 PM

    DCUI is known as DIRECT CONSOLE USER INTERFACE. it is bios like console on the esxi to configure the esxi now what we can configure with the dcui that is like you can change the root password, enable/disable the lockdown mode and you can configure management network ip address, dns, default gateway, hostname etc as well as you can enable and disable the Tech support mode and remote tech support mode and esxi logs.

    To use it you need to directly access the esxi and then this is what you can do check this link:-

    http://www.virtualizationadmin.com/articles-tutorials/vmware-esx-and-vsphere-articles/installation-and-deployment/understanding-vmware-esxi-direct-console-user-interface-dcui.html



  • 7.  RE: Restart vmware service

    Posted May 07, 2012 03:52 PM

    Are you running ESX or ESXi?

    The command which you have mentioned will on ESX. To run the command connect to the host using putty and run the command. If the host is managed by vCenter you will noticed the host gets disconnected, that is normal behaviour and will be reconnected in sometime



  • 8.  RE: Restart vmware service

    Posted May 07, 2012 05:32 PM

    Thank You Aravind.

    -Prashant