Hyper-V and SCVMM Configuration

 

To enable Hyper-V® and SCVMM® configuration options in PowerChute Setup, Enable Hyper-V Support must be selected during the installation.

 

Powershell scripts are used to perform Live Migration of VMs and Graceful VM shutdown for Hyper-V and Maintenance Mode/Host Shutdown in SCVMM. By default, Windows® prevents the execution of Powershell scripts. The PowerChute installation program will automatically detect if Powershell script execution is enabled and provide an option to enable it if it is not.

To verify that the Execution Policy has been changed, open a new command prompt window and enter the command:

powershell Get-ExecutionPolicy

Verify that it has been set to remotesigned.

If it is not set to remotesigned, open a command prompt and type the following

powershell Set-ExecutionPolicy remotesigned

For more information on the Execution Policy settings see https://technet.microsoft.com/en-us/library/ee176961.aspx.


Hyper-V Configuration

For Hyper-V hosts that are not managed by SCVMM, PowerChute must be installed directly on each Hyper-V host.

During the PowerChute Setup select "No" on the Hyper-V Configuration page.

The option to choose a configuration of Hyper-V unmanaged by SCVMM is available in PowerChute Setup: Hyper-V Configuration

 

You can enable VM Migration and VM Shutdown/Startup options using the PowerChute Setup wizard or on the Virtualization Settings page.

SCVMM Configuration

During the PowerChute Setup select "Yes" on the Hyper-V Configuration page.

The option to add support for SCVMM is available in PowerChute Setup: Hyper-V Configuration.

PowerChute can protect Hyper-V hosts that are managed by System Center Virtual Machine Manager (SCVMM).

PowerChute can be installed on the same server as SCVMM, or on a remote server.

If PowerChute is installed on a remote server:

  • It is necessary to also install the SCVMM console on that server to provide the Powershell modules used by PowerChute.
  • It is necessary to add the machine account on which PowerChute is installed to the Administrator User Role in SCVMM settings.

To add the machine account on which PowerChute is installed to Administrator User Role in SCVMM:

  1. In SCVMM Console, Click Settings.
  2. Expand Security and select User Roles.
  3. Right click on the Administrator role in the right hand pane and select Properties.
  4. In the Administrator Properties dialog click Members.
  5. Click the Add button and enter the machine name on which PowerChute is installed.
  6. Click OK twice.
  7. The PowerChute machine account should be listed under Role Members.

 

The PowerChute machine account listed under Role Members, as described in Step 7 above.