In addition to the operations in "Chapter 8 Defining and Configuring the Server Environment", the following operations are necessary.
Register vCenter Server
Register the vCenter Server that manages VM hosts for VDI on the admin server of VMware Horizon View.
Note
In order to have VDI management software operate properly using Resource Orchestrator, ensure vCenter Server is registered using the IP address instead of the host name.
Installation of vSphere PowerCLI
Install VMware vSphere PowerCLI in the VDI management server.
Setting of VMware script
The Infrastructure Administrator sets the VMware script in the VDI management server according to the following procedures.
The VMware scripts are under the following folder of this product.
[Windows manager]
installation_folder\SVROR\Manager\opt\FJSVrcxmr\sys\VMwareViewScript
AddRemovePoolVms.ps1
MachineId.ps1
Copy these scripts of "a" under the following folder in the VDI management server.
VMware_Horizon_View_installation_folder\extras\PowerShell\
Configuration of winrm
Configure remote administration on VDI management server.
Login to the VDI management server using administrative privileges and execute the following command from the command prompt. Enter "y", when requested.
> winrm quickconfig <RETURN> |
Configuration of TrustedHosts
Configure remote management authentication settings on the machine the Resource Orchestrator admin server will be set up.
Log on to the admin server as the administrator.
Execute the following command from the command prompt to record the configuration details for TrustedHosts.
>winrm get winrm/config/client <RETURN> |
Record the displayed details in TrustedHosts.
Example
When multiple VDI Management Servers are registered
192.168.1.100, 192.168.1.101
When a single asterisk ("*") is displayed, the following procedure is unnecessary as all hosts will be trusted in the configuration.
Execute the following command.
Enter the result obtained from b. for Recorded_content_in_b.
>winrm set winrm/config/client @{TrustedHosts="Recorded_content_in_b. , Additionally_ registered_VDI Management Server_address"} <RETURN> |
Example
The command specification when multiple VDI Management Servers are registered
>winrm set winrm/config/client @{TrustedHosts="192.168.1.100, 192.168.1.101, Additionally_ registered_SCVMM_address"} <RETURN> |
Execute the following command to check the details for TrustedHosts.
>winrm get winrm/config/client <RETURN> |
If the address of the VDI management server additionally registered has been added to the details recorded in b., there are no problems.
Note
When registering multiple VDI Management Servers in Resource Orchestrator as VM management software, specify the IP addresses for multiple VM management software separated by commas (",") using the command for registering TrustedHosts.
Change of PowerShell execution policy
On the machine the Resource Orchestrator admin server and VDI management server, change the PowerShell execution policy to "RemoteSigned".
Start the PowerShell console using administrator privileges and execute the following command:
>Set-ExecutionPolicy -ExecutionPolicy RemoteSigned <RETURN> |
Note
When VDI management server does not connect with the Internet, by fault to need long time for loading of View PowerCLI snap inn, creation and deletion processing of L-Server are inhibited.
Please connect the VDI management server to the Internet.
When you cannot connect VDI management server to the Internet, execute the setting of Internet Explorer according to the following procedures.
Log in the VDI Management Server with the account of the administrator of the VDI Management Server explained in "K.1.1 Function of VDI Coordination".
Start Internet Explorer, and uncheck the following check box.
[Internet Options] - [Advanced] tab - [Check for publisher's certificate revocation]