Enabling WSMan

You can enable WSMan on your Hyper-V host to establish a secure connection between the host and the Hyper-V and VMM targets in Turbonomic. Use PowerShell to generate a self-signed certificate and then create an HTTPS WinRM listener.

Note:

For clustered Hyper-V targets, you do not need to create a listener on each host. Only create a listener on the host that you add to Turbonomic as a target.

To enable secure WSMan:

  1. Generate a self-signed certificate.

    New-SelfSignedCertificate -CertstoreLocation Cert:\LocalMachine\My -DnsName "myhost.example.org"
  2. Find the thumbprint for the certificate for the host.

    Get-childItem cert:\LocalMachine\My
  3. Create an HTTPS WinRM listener for the host with the thumbprint.

    winrm create winrm/config/Listener?Address=*+Transport=HTTPS '@{Hostname="myhost.example.org"; CertificateThumbprint="THUMBPRINT_YOU_FOUND"}' 
  4. Verify the presence of configured listeners.

    Get-WSManInstance –ResourceURI winrm/config/listener –Enumerate