Solved

Restart management agents esxi 5

Posted on 2014-03-24
4
5,277 Views
Last Modified: 2016-09-16
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
Comment
Question by:IKtech
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
Haresh Nikumbh earned 500 total points
ID: 39950877
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
 
LVL 3

Author Comment

by:IKtech
ID: 39950883
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
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39950893
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
 

Expert Comment

by:Laf Feou
ID: 41802131
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now