Powering on, restarting, and shutting down a VM

This document covers how to manage VM states using Velostrata Manager, vSphere, or PowerShell.

Powering on a VM in the cloud

Using the Velostrata Manager

  1. Log in to your Velostrata Manager.
  2. Click the Migration Waves tab.
  3. When prompted for a username and password, use apiuser as the username.
  4. Click the monitor icon for the relevant Wave.
  5. Select the VM and click Start.
    Screenshot of stopping a VM (click to enlarge)
    Screenshot of Migration Waves tab (click to enlarge)

Using vCenter

  1. In the vSphere Web Client, select the virtual machine.
  2. Right-click the VM and select Velostrata Operations > Power On.

Using PowerShell

  1. In PowerShell, connect to the Velostrata Manager by running Connect-VelostrataManager.
  2. When prompted, enter details for the server, username (apiuser) and password.
  3. To power on a VM, run: Start-VelosVm [-Id] <string[]>.

Restarting a VM in the cloud

Using the Velostrata Manager

  1. Log in to your Velostrata Manager.
  2. Click the Migration Waves tab.
  3. Click the monitor icon for the relevant Wave.
  4. Select the VM and click Reboot.

When you restart a VM in the cloud and the instance doesn't pass health checks, Migrate for Compute Engine attempts to heal the VM automatically.

Using vCenter

  1. In the vSphere Web Client, select the virtual machine.
  2. Right-click the VM and select Velostrata Operations > Restart.

Using PowerShell

  1. In PowerShell, connect to the Velostrata Manager by running Connect-VelostrataManager.
  2. When prompted, enter details for the server, username (apiuser), and password.
  3. To restart a VM, run:
    Restart-VelosVm [-Id] String[]
    .

Shutting down a VM in the cloud

Using Velostrata Manager

  1. Log in to your Velostrata Manager.
  2. Click the Migration Waves tab.
  3. Click the monitor icon for the relevant Wave.
  4. Select the VM and click Stop.

Using vCenter

  1. In the vSphere Web Client, select the virtual machine.
  2. Right-click the VM and select Velostrata Operations > Shutdown.

Using PowerShell

  1. In PowerShell, connect to the Velostrata Manager by running Connect-VelostrataManager.
  2. When prompted, enter details for the server, username (apiuser), and password.
  3. To shut down a VM, run:
    Stop-VelosVm [-Id] string[]