[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6866
  • Last Modified:

Restart management agents esxi 5

I have an issue where one of my two host machines with in a cluster gives me an error when trying to turn oh HA.  I want to try restarting the management agents on both hosts and try turning on HA again however I am worried it will interrupt the virtual machines that are running on the host.

Also I am not physically at the datacenter where the host machines are and I would like to do this remotely.

I am under the impression that use the following commands

/etc/init.d/hostd restart
/etc/init.d/vpxa restart

should I move all the VMs to a different host before issuing these commands or is it safe to run the commands while the VMs are running (these are production machines, it will get noticed if there are offline even for a few minutes).  Thanks experts.
0
IKtech
Asked:
IKtech
  • 2
1 Solution
 
Haresh NikumbhCommented:
Restarting Management agents will not have any impact for the guest VM's running

you can run below command safely


To restart all management agents on the host, run the command:

services.sh restart

Open in new window


step by step guide

refer
0
 
IKtechAuthor Commented:
1.Connect to the console of your ESXi host.
2.Press F2 to customize the system.
3.Log in as root.
4.Use the Up/Down arrows to navigate to Restart Management Agents.
5.Press Enter.
6.Press F11 to restart the services.
7.When the service has been restarted, press Enter.
8.Press Esc to log out of the system.


I would like to do this remotely but I am unable to connect to the host.  I am just going to make a trip to the data center and do the above.
0
 
Haresh NikumbhCommented:
refer step by step guide which i have posted. this is for Remote restart

you need to download putty and then SSH to host to restart management agents
0
 
Laf FeouCommented:
Hi,
Sorry for my english, It's not my fisrt language...

Today I restart the management agents by SSH with command : /etc/init.d/hostd restart
Based on the VMware KB.

But the processus of HA was started... So now, I have many VM in my vcenter  where state is SERVER (incorrect).
The VM are always ONLine but not accessible.
Tonight my VEEAM Backup tasks begin but I think they will fail. Is it right ??

Thanks Experts !!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now