When you use the vSphere Client to redirect the direct console to a serial port, the boot option you set persists after subsequent reboots.

You can redirect the direct console to either of the serial ports com1 or com2.

The serial port must not be in use for serial logging and debugging, or for ESX Shell (tty1Port).

Verify that you can access the host from the vSphere Client. The serial port must not already be in use for serial logging and debugging, or for ESX Shell (tty1Port).

1

From the vSphere Client, connect to the vCenter Server and select the host in the inventory.

2

Click the Configuration tab.

3

Under Software, click Advanced Settings.

4

In the left pane, expand the VMkernel listing and select Boot.

5

Make sure that the VMkernel.Boot.logPort and VMkernel.Boot.gdbPort fields are not set to use the com port that you want to redirect the direct console to.

6

Set VMkernel.Boot.tty2Port to the serial port to redirect the direct console to: com1 or com2.

7

Click OK.

8

Reboot the host.

You can now manage the ESXi host remotely from a console connected to the serial port.