Solved

Restart management agents esxi 5

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

685 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