A DEM Worker that manages virtual machines through SCVMM must be installed on a host where the SCVMM console is already installed.
A best practice is to install the SCVMM console on a separate DEM Worker machine. In addition, verify that the following requirements have been met.
The DEM worker must have access to the SCVMM PowerShell module installed with the console.
The PowerShell Execution Policy must be set to RemoteSigned or Unrestricted.
To verify the PowerShell Execution Policy, enter one of the following commands at the PowerShell command prompt.
help about_signing help Set-ExecutionPolicy
If all DEM Workers within the instance are not on machines that meet these requirements, use Skill commands to direct SCVMM-related workflows to DEM Workers that are.
The following additional requirements apply to SCVMM.
This release supports SCVMM 2012 R2, which requires PowerShell 3 or later.
Install the SCVMM console before you install vRealize Automation DEM Workers that consume SCVMM work items.
If you install the DEM Worker before the SCVMM console, you see log errors similar to the following example.
Workflow 'ScvmmEndpointDataCollection' failed with the following exception: The term 'Get-VMMServer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
To correct the problem, verify that the SCVMM console is installed, and restart the DEM Worker service.
Each SCVMM instance must be joined to the domain containing the server.
The credentials used to manage the endpoint representing an SCVMM instance must have administrator privileges on the SCVMM server.
The credentials must also have administrator privileges on the Hyper-V servers within the instance.
Hyper-V servers within an SCVMM instance to be managed must be Windows 2008 R2 SP1 Servers with Hyper-V installed. The processor must be equipped with the necessary virtualization extensions .NET Framework 4.5.2 or later must be installed and Windows Management Instrumentation (WMI) must be enabled.
To provision machines on an SCVMM resource, you must add a user in at least one security role within the SCVMM instance.
To provision a Generation-2 machine on an SCVMM 2012 R2 resource, you must add the following properties in the blueprint.
Scvmm.Generation2 = true Hyperv.Network.Type = synthetic
Generation-2 blueprints should have an existing data-collected virtualHardDisk (vHDX) in the blueprint build information page. Having it blank causes Generation-2 provisioning to fail.
For more information, see Configure the DEM to Connect to SCVMM at a Different Installation Path.
For additional information about preparing your SCVMM environment, see Configuring vRealize Automation.