A vRealize Automation IaaS DEM Worker that manages virtual machines through System Center Virtual Machine Manager (SCVMM) must meet additional requirements, in addition to those for all IaaS Windows servers and DEMs in general.
- Install the DEM Worker on the same machine with the SCVMM console.
A best practice is to install the SCVMM console on a separate DEM Worker.
- 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.
vRealize Automation does not support a deployment environment that uses an SCVMM private cloud configuration. vRealize Automation cannot currently collect from, allocate to, or provision based on SCVMM private clouds.
The following additional requirements apply to SCVMM.
- vRealize Automation 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.
- To provision machines on an SCVMM resource, the vRealize Automation user who is requesting the catalog item must have the administrator role within the SCVMM 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 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 additional information about preparing for machine provisioning, see Preparing Your SCVMM Environment.