After you redirect the direct console to a serial port, you can make that setting part of the host profile that persists when you reprovision the host with Auto Deploy.

The serial port must not already be in use for serial logging and debugging.

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

Save the host profile and attach the host to the profile. See the vSphere Host Profiles documentation.

The setting to redirect the direct console to a serial port is stored by vCenter Server and persists when you reprovision the host with Auto Deploy.