Recommissioning physical servers or virtual machines after a network outage

Last Updated : Feb 08, 2018 |

About this task

If a network outage occurs for a single virtual machine or a single physical server, use the following procedure before reconnecting the virtual machine or physical server to the network.

Procedure

  1. Connect a monitor, a keyboard, and a mouse to the physical server that is isolated from the network.
  2. Log in to the ESXi console.

    You can press F2 and enter the login credentials.

  3. On the System Customization screen, scroll to Troubleshooting Options and press Enter.
  4. Optional On the Troubleshooting Mode Options screen, scroll to Enable ESXi Shell and press Enter.

    You can skip this step if ESXi Shell is already enabled.

  5. Keep pressing Esc until you return to the main direct console screen.
  6. On the main direct console screen, press Alt+F1 to open a local console window to the physical server.
  7. Run the following command to list all virtual machines that are hosted on the physical server:

    vim-cmd vmsvc/getallvms

  8. Identify the ID of the virtual machine that is affected because of the network outage.
  9. Run the following command to restart the affected virtual machine:

    vim-cmd vmsvc/power.reboot <virtual_machine_ID>

    <virtual_machine_ID> is the ID of the affected virtual machine.

  10. Type exit to log out of the console.