Print View

ESX host may be uncontactable in VirtualCenter when backup Service Console is disconnected


When testing HA functionallity, disconnecting the backup/redundant Service Console may cause the ESX host to be uncontactable in VirtualCenter although the primary Service Console IP address is still contactable from hosts on the same subnet as the primary Service Console.


This would appear to be due to a routing issue in the service console. e.g.

# esxcfg-vswif -l
Name     Port Group              IP Address       Netmask          Broadcast        Enabled   DHCP
vswif0   Service Console     true      false
vswif1   Backup Service Console     true      false

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface     *        U     0      0        0 vswif0     *        U     0      0        0 vswif1
default         UG    0      0        0 vswif0

VirtualCenter is on the 172.16.2.x network.

To resolve the issue either add a route or use an IP address on a different subnet from VirtualCenter and different from the Service Console.

e.g. Add a route for the VirtualCenter network to the primary Service Console:

route add -net netmask vswif0

Changes can be made permanent by editing /etc/sysconfig/network-scripts/route-vswif0 with the following entries:


Test this updates the routing table with either of the following commands:

/etc/sysconfig/network-scripts/ifup-routes vswif0
service network restart

A better solution is to use a separate subnet from the primary Service Console and from VirtualCenter for the backup Service Console e.g. 172.16.3.x

Do not use the same subnet for the primary Service Console and the backup Service Console as this will not function as expected:

VMware ESX High Availability not working as expected


Adding static route to ESX host for extra Service Console


VMware ESX 3.5 Update 1
VMware ESX 3.5
VMware ESX 3.0.2
VMware ESX 3.0.1
VMware ESX 3.0.0

Created: 3rd July 2008
Updated: 5th July 2008

Print View

© 2005-2024 Jamie Morrison