VMware Cloud Community
SpunkyMonkey678
Contributor
Contributor
Jump to solution

Difference between Services.sh restart and Restart Mgmt Servcies from DCUI on v5.1 ?

Hi,

I have a file locked and need to know if there is a difference?

Will either of these bring down the running VMs on the host?

Thanks,

J

Tags (1)
Reply
0 Kudos
1 Solution
3 Replies
madhusudhanan
VMware Employee
VMware Employee
Jump to solution

   ESXi Management agent can be restarted in couple of ways

DUCI

    Connect to ESXi Host

    Press F2 , provide the credentials ( Login using root)

    Go to Trouble shooting , Navigate to Restart ,Management Agents

 

Local Console or ssh

Method 1 : No Down time to VMs

     /sbin/services.sh restart

  will restart all the management agents, hostd, ntpd, sfcbd, slpd, wsman, vodb

Method 2 :

Run following commands,

    /etc/init.d/hostd restart

    /etc/init.d/vpxa restart

Method 3 :

    service mgmt-vmware restart

    service vmware-vpxa rest

If Automatic Startup/shutdown is enabled on VMs , virtual machine may restart.

Reply
0 Kudos
schepp
Leadership
Leadership
Jump to solution

little addition: You can also use the dcui via ssh.

Just enter dcui in your ssh session. Then you can restart the management agents like on the local console.

To quit hit Ctrl+C

Running VMs won't be affected

Regards