Adding a vCenter server to Horizon

The Add-ViewVC command is used to add a VMware vCenter server to Horizon so that it can be used to manage and provision the Horizon desktops. The following example links the Vc-01.vjason.local vCenter server to Horizon:

Add-ViewVC -ServerName “Vc-01.vjason.local” -Username “vjasonsvc-horizon” -Password “Password123” -CreateRampFactor 8 -UseComposer $true

The Add-ViewVC command requires several options to be specified in order to link a vCenter server to the Horizon environment. These include the following:

  • CreateRampFactor: Maximum concurrent vCenter desktop provisioning operations.
  • Password: Password for the –Username account. The password should be contained within quotes.
  • ServerName or Name: FQDN of the vCenter server. Either option can be specified.
  • Username or UserThe user who has appropriate permissions within vCenter in the domainusername format. Either option can be specified.

Additional options can be specified. These include the following:

  • ComposerPort: The port that needs to be used with the Horizon composer server.
  • DeleteRampFactor: Maximum concurrent desktop power operations.
  • Description: Description for vCenter server in the Horizon console. This value should be contained within quotes.
  • DisplayName: Display name for vCenter server in the Horizon Administrator console. This value should be contained within quotes.
  • Port: The port to be used with the vCenter server.
  • UseComposer: Used when the Horizon Composer Server is installed on the vCenter server. The options are $true or $false (the default).
  • UseComposerSsl: Enable SSL for the connection to the Horizon Composer server. The options are $true (the default) or $false.
  • UseSpaceReclamation: Enable SeSparse space reclamation on vSphere hosts managed by the vCenter server. The options are $true or $false (the default).
  • UseSsl: Enable SSL for the connection to the vCenter server. The options are $true (the default) or $false.

Options such as port numbers and whether or not to use SSL (enabled by default) will use their default values if not specified, and should not be changed under most circumstances.

A number of vCenter options cannot be configured when linking a vCenter server using PowerCLI. These include Horizon Storage Accelerator, standalone Horizon composer servers, dedicated users for the Horizon composer, the Horizon composer domains, and others. These options must be configured after using the Horizon Administrator console.

If your vCenter server or Horizon Composer Server SSL certificate is not trusted by the Horizon connection servers, the Add-ViewVC operation will fail. This is different from adding a vCenter server using the Horizon Administrator console, which allows you to accept an untrusted certificate. To use this command, you must replace the default vCenter server SSL certificate with one signed by a trusted certificate authority.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.147.190