Sunday, 8 April 2018

vcenter down

Troubleshooting the vCenter Server service (1003926)

https://kb.vmware.com/s/article/1003926

  • To review the logs, open the most recent log in an editor, such as Notepad, and navigate to the bottom of the file. If there were any errors during the VirtualCenter Server startup service, it is listed in the file.
How to stop, start, or restart vCenter Server services
vCenter Server installation fails with ODBC and DSN errors
Determining if a port is in use
Investigating the health of a vCenter Server database
After installing vCenter Server, the VMware VirtualCenter Server service fails to start
Missing folders on a vCenter Server prevent VirtualCenter Server service from starting
VMware VirtualCenter Server service does not start automatically after reboot
Collecting diagnostic information for VMware products
TCP and UDP Ports required to access VMware vCenter Server, VMware ESXi and ESX hosts, and other network components
Cannot remove or disable unwanted plug-ins from vCenter Server and vCenter Server Appliance
Cannot install vCenter Server 4.1 or 5.0 on Windows 2008 system with default port settings
Installing VMware vCenter Server 5.0 fails with the error: Error 28023. Setup failed to setup VMwareVCMSDS directory service instance
vCenter Server 上で VMware VirtualCenter Server サービスが起動しない、あるいは失敗する場合のトラブルシューティング
Resetting the VMware vCenter Server 5.x Inventory Service database
Solucionar problemas del servicio de VMware VirtualCenter Server cuando este no se inicia o falla en el vCenter Server
VMware VirtualCenter Server and VMwareVCMSDS services fail to start and reports the error: [05500 error 'utilvpxdLdap'] [VpxdLdap] Failed to create LDAP client
排除 VMware VirtualCenter Server 服务在 vCenter Server 上未启动或失败时的故障
The VMware VirtualCenter Server service does not start due to insufficient disk space
How to stop, start, or restart vCenter Server 6.x services
Resetting the VMware vCenter Server 6.0 Inventory Service's Individual Data Providers
Port already in use when installing VMware vCenter Server

Determining if a port is in use (1003971)
vCenter Server installation fails with ODBC and DSN errors (1003928)

Networking Problems

You may also experience a condition that causes you to lose all or part of your networking configuration or where a configuration change causes the Service Console to lose network connectivity. If this happens, you will not be able to connect to the host by any remote method, including the VI Client or SSH. Your only recourse will be to rebuild or fix the network configuration from the local Service Console using the esxcfg- command-line utilities. Here are some of the commands that you can use to configure networking from the ESX CLI:
  • esxcfg-nics This command displays a list of physical network adapters along with information about the driver, PCI device, and link state of each NIC. You can also use this command to control a physical network adapter's speed and duplexing. Type ¬esxcfg-nics -l to display NIC information and esxcfg-nics -h to display available options for this command. Here are some examples:
    • Set the speed and duplex of a NIC (vmnic2) to 100/Full:
      esxcfg-nics -s 100 -d full vmnic2
    • Set the speed and duplex of a NIC (vmnic2) to autonegotiate:
      esxcfg-nics -a vmnic2
  • esxcfg-vswif Creates and updates Service Console network settings, including IP address and port group. Type esxcfg-vswif -l to display current settings and esxcfg-vswif -h to display all available options for changing settings. Here are some examples:
    • Change your Service Console (vswif0) IP and subnet mask:
      esxcfg-vswif -i 172.20.20.5 -n 255.255.255.0 vswif0
    • Add a Service Console (vswif0):
      esxcfg-vswif -a vswif0 -p "Service Console"
       -i 172.20.20.40 -n 255.255.255.0
  • esxcfg-vswitch Creates and updates VM (vSwitch) network settings, including uplink NICs, port groups, and VLAN IDs. Type esxcfg-vswitch -l to display current vSwitch configurations and esxcfg-vswitch -h to display all available options for changing settings. Here are some examples:
    • Add a physical NIC (vmnic2) to a vSwitch (vSwitch1):
      esxcfg-vswitch -L vmnic2 vswitch1
    • Remove a pNIC (vmnic3) from a vSwitch (vSwitch0):
      esxcfg-vswitch -U vmnic3 vswitch0
    • Create a port group (VM Network3) on a vSwitch (vSwitch1):
      esxcfg-vswitch -A "VM Network 3" vSwitch1
    • Assign a VLAN ID (3) to a port group (VM Network 3) on a vSwitch (vSwitch1):
      esxcfg-vswitch -v 3 -p "VM Network 3" vSwitch1
  • esxcfg-route Sets or retrieves the default VMkernel gateway route. Type esxcfg-route -l to display current routes and esxcfg-route -hto display all available options for changing settings. Here are some examples:
    • Set the VMkernel default gateway route:
      esxcfg-route 172.20.20.1
    • Add a route to the VMkernel:
      esxcfg-route -a default 255.255.255.0 172.20.20.1
  • esxcfg-vmknic Creates and updates VMkernel TCP/IP settings for VMotion, NAS, and iSCSI. Type esxcfg-vmknic -l to display VMkernel NICs and esxcfg-vmknic -h to display all available options for changing settings. Here is an example:
    • Add a VMkernel NIC and set the IP and subnet mask:
      esxcfg-vmknic -a "VM Kernel" -i 172.20.20.19 -n 255.255.255.0
In addition, you can restart your Service Console network by using the command service network restart.

Other Problems

Sometimes just restarting some of the ESX services will resolve problems and not affect the VMs running on the host. Two services that can be restarted and often fix many problems are the hostd service and the vpxa service. The hostd service runs in the Service Console and is responsible for managing most of the operations on the ESX host. To restart the hostd service, log on to the Service Console and type service mgmt-vmware restart.
The vpxa service is the management agent that handles communication between the ESXhost and its clients, including the vCenter Server and anyone who connects to the host using the VI Client. If you experience problems with vCenter Server showing a host as ¬disconnected, not showing current information, or any other strange problems involving vCenter Server and a host, restarting this service may resolve it. To restart the vpxa service, log on to the Service Console and type service vmware-vpxa restart. It is recommended to try to restart these two services when you are experiencing problems because this will often resolve many problems.


No comments:

Post a Comment

devops interview questions

Terraform* 1. Terraform workspace 2. ⁠what are Mera arguments 3. ⁠what’s difference b/w for each and dynamic block 4. ⁠provisioners in t...