Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

3.19 vCenter Server Settings

For the following operation components, use VMware vSphere PowerCLI or Windows PowerShell to execute virtual server operations on a vCenter Server. This section describes the required environment settings.

Setting environment variables

To use the targeted operation components, environment variables must be set.
Add the following to the vCenter server system environment variables path.

Changes to PowerShell run policy

The Windows PowerShell script run policy must be changed to "RemoteSigned". Refer to the Windows PowerShell manual for information on the run policy.
To change the run policy, after starting PowerShell, execute the following command:

Set-ExecutionPolicy RemoteSigned

For 64 bit architecture, execute using PowerShell edition x86

VMware vSphere Power CLI port number settings

The targeted operation components use VMware vSphere Power CLI to execute operation requests to the VMware vCenter Server. VMware vSphere Power CLI carries out HTTPS communication with the VMware vCenter Servers. Therefore, open port 443 (HTTPS) on the firewall.

Certificate path verification settings

The targeted operation components use VMware vSphere Power CLI to execute operation requests to the VMware vCenter Server.
If the vCenter server network environment is not connected to the internet, connecting to VMware vCenter Server may take some time. This can be avoided by applying the following settings.

  1. On the Start menu, click Run.

  2. Type "gpedit.msc" to open the Group Policy Editor.

  3. Go to Computer Configuration >> Windows Settings >> Security Settings >> Public Key Policies, then in the right pane, right-click Certificate Path Validation Settings, and select Properties.

  4. Click the Network Retrieval tab, and specify the following:

    • Select Define these policy settings.

    • Select Automatically update certificates using the Microsoft Root Certificate Program (recommended).

    • Set Default path validation cumulative retrieval timeout (in second): Default = 20 to 1.

Note

Products attempting to obtain a digital signature from the Internet may become unable to do so. The above settings should only be used when the vCenter Server network environment is not connected to the Internet.