Solved

Restart management agents esxi 5

Posted on 2014-03-24
4
5,435 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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…

778 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