Previous Topic: (Optional) Add the SCVMM Management Instance to the CA Virtual Assurance ManagerNext Topic: Add a New SCVMM Server Connection to the Manager


Apply Required Settings for Using Microsoft SCVMM

CA Virtual Assurance optionally integrates with Microsoft System Center Virtual Machine Manager (SCVMM) for Hyper-V provisioning. SCVMM is not required for Hyper-V monitoring and management. Instead of SCVMM, you can also use local templates (Hyper-V Server bound) for VM provisioning.

When using the optional SCVMM integration, verify the following prerequisites and apply the required settings:

To apply required settings for using Microsoft SCVMM

  1. Verify that the SCVMM Server, all potential Hyper-V target hosts for VM provisioning, and the CA Virtual Assurance manager running the Hyper-V PMM are members of the same Active Directory domain.
  2. Verify that Hyper-V target hosts for VM provisioning are configured in CA Virtual Assurance and SCVMM. CA Virtual Assurance does not perform a SCVMM discovery.
  3. Verify that SCVMM has Windows Remote Management (WinRM) configured.
  4. Run the following command on the command line of the SCVMM server to configure WinRM:
    winrm quickconfig
    
  5. Allow unencrypted HTTP or enable HTTPS in addition to the basic WinRM configuration on the SCVMM server.

    Run the following command to allow unencrypted HTTP traffic:

    winrm set winrm/config/service @{AllowUnencrypted="true"}
    

    To enable HTTPS, obtain an SSL certificate for your SCVMM server, install it, and run the following command:

    winrm quickconfig -transport:https
    

Depending on the expected utilization of the SCVMM server in your environment, VM provisioning can fail due to inadequate parameter settings for the Quota Management for Remote Shells on the SCVMM server. Affected parameters are:

MaxShellsPerUser

Specifies the maximum number of shells per user.

Default: 5

MaxConcurrentUsers

Specifies the maximum number of concurrent users who can open shells.

Default: 5

If you expect more than one provisioning job at a time, you can increase the parameter settings on the SCVMM server as follows:

winrm set winrm/config/winrs @{MaxShellsPerUser="number"} 
winrm set winrm/config/winrs @{MaxConcurrentUsers="number"}

Example

winrm set winrm/config/winrs @{MaxShellsPerUser="30"} 
winrm set winrm/config/winrs @{MaxConcurrentUsers="10"}

See also the Quota Management for Remote Shells article from Microsoft.