Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to think about the special case that the virtual host can not be started

Shulou Source: shulou.com Published: 2022-05-31 15:32:31 10月01日 Update

This article introduces you how to think about the special case that the virtual host cannot be started, the content is very detailed, interested friends can refer to it, I hope it can be helpful to you.

Environment: vcenter6.0

Virtual system version: Centos6.5

Phenomenon: the virtual machine cannot be powered on, the error is reported as shown in the figure

We see an error message that the virtual machine cannot be booted because the target computer actively refuses to connect.

Tried several other virtual machines in the cluster that were turned off and reported the same error when they were started.

Suspect is the problem with VCENTER, try to log in to the EXSI host where the virtual machine is located, and then start the virtual machine to find that you can.

Then it must be VCENTER's problem.

Check the log of vcenter and find that it was restarted yesterday. Check the service of vcenter. It is found that other services have not been started except VMware VirtualCenter Server and VMware VirtualCenter Management Webservices, the core related services of vCenter. It is suspected that the vCenter service has not been fully started, resulting in the status not fully restored to normal.

So try to start several other services, and then turn it on and find that it is normal.

Attached: service introduction of vcenter

The windows version of the vcenter service can be started directly from the right-click menu in services.msc. It can also be done at the command prompt.

Cd C:\ Program Files\ VMware\ vCenter Server\ bin

If it is a vcenter service for vcsa, you can start it with a command.

The command is as follows:

1. Run the following command to list vCenter Server and / or Platform Services Controller services:

Service-control-list

2. Run the following command to stop a specific service:

Service-control-stop servicename

3. Run the following command to stop all services:

Service-control-stop-all

Run the following command to start a specific service:

Service-control-start servicename

5. Run the following command to start all services:

Service-control-start-all

VCenter Server 6.0Service:

VCenter Server 6.5Service:

Note: starting with vSphere 6.5, vCenter Server services are not stand-alone services under the Windows Services Control Manager (SCM). The vCenter Server Appliance service runs as a child process of the VMware Service Lifecycle Manager service.

On how to start the virtual host can not start the special case to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Services commands virtual machines runs hosts special cases virtual hosts content more questions attempts help tips yes two interests can pass boys buddies where Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL OPPO Reno macOS Apple Docker