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.

Prerequisites

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

Procedure

  1. From the vSphere Web Client, connect to the vCenter Server.
  2. Select the host in the inventory.
  3. Click the Manage tab.
  4. Select Settings.
  5. Select Advanced System Settings.
  6. 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.
  7. Set VMkernel.Boot.tty2Port to the serial port to redirect the direct console to: com1 or com2.
  8. Click OK.
  9. Save the host profile and attach the host to the profile. See the vSphere Host Profiles documentation.

Results

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.