Step By Step, Install VMware Horizon 8 – Part 9

Hi, Today I decided to install UAG for publishing my Horizon on the internet.

1- Download the Latest UAG OVF version from vmware.com.

2- Deploy your OVF in your vCenter server.

3- Enter UAG virtual name

4- Select a compute resource

5- Review details and click Next

6- You must choose your deployment method, I choose a single NIC for my lab environment

7- Select storage

8- Select your network

9- Customize the template

  • NIC 1 IPV4 address
  • DNS server address
  • DNS search Domain
  • NIC 1 IPV4 netmask
  • IPV4 Default Gateway
  • Unified Gateway Appliance Name
  • Password for the root user of this VM
  • Password for the admin user, which enables
  • Enable SSH
  • Allow SSH root login using a password

10- Finish Deployment

11- Open the UAG Page address

https://your IP address:9443/admin

12- General Settings –> Horizon Setting

Enter these parameters:

  • Enable Horizon
  • Connection server URL
  • Connection server URL Thumbprint
  • Enable PCoIP
  • PCoIP External URL (UAG IP Address)
  • Enable Blast
  • Blast External URL (UAG URL)
  • Enable Tunnel
  • Tunnel External URL (UAG URL)

13- Submit

14- Login to UAG address

15- I get an error

15- If you can not log in to your Panel from the UAG address, you must add this file to this address:

Locked.properties

16- Go to the Connection server –> Settings –> Servers –> Connection servers –> Edit

17-

Select HTTP Secure Tunnel and Enter External URL (connection Server URL)

Select PCoIP secure gateway and Enter PCoIP External URL (connection server IP)

Select use Blast secure gateway for only HTML Access connections to the machine and Enter Blast External URL (connection server URL)

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 8

Hi, Today I decided to publish Application Hosted on RDSH Servers.

The published applications feature supports a wealth of remote-experience features, which include client-drive redirection, access to locally connected USB devices, file-type association, Windows media redirection, content redirection, printer redirection, location-based printing, 3D rendering, smartcard authentication, and more.

After applications are published, end users launch Horizon Client, or the HTML Access web client, to access a catalog of published applications. Selecting an application from the catalog opens a window for that application on the local client device, and the application looks and behaves as if it were locally installed.

1- In the Horizon Console, navigate to Inventory > Applications, click the Add button, and select Add from Installed Applications.

1- For the Application Pool Type, leave the default, which is RDS Farm.
The server farm I created in the previous post should be displayed in the drop-down list.

3- Complete the Select Applications page, as follows, before clicking Next.

Note: Select the Entitle Users After Adding Pool check box.

4- Next

5- Submit

6- In the Add Entitlements dialog box, click Add.

7- Use the Find User or Group dialog box to search for users.

8- From the list of users and groups returned, select the users or groups to entitle, and click OK.

9- In the Add Entitlements dialog box, verify that the desired users or groups now appear in the list, and click OK.

10- Launching Remote Desktops and Applications from Client Devices

you can use the HTML Access web client by entering the URL of your Connection Server, using the following format:

https://<FQDN or IP address>

You can see your applications.

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 7

Hi, Today I want to config RDSH-Published Desktops and Application.

1- In the Horizon Console, navigate to Inventory > Farms, and click the Add button.

2- In the Add Farm wizard that opens, with Type selected in the left pane, select Automated Farm, and click Next.

3- On the vCenter Server page, select Instant Clone, and click Next.

4- On the Storage Optimization page, click Next.

5- On the Identification and Settings page, complete the settings, as follows, before clicking Next:

6- On the Load Balancing and Settings page, click Next.

7-On the Provisioning Settings page, complete the settings, as follows, before clicking Next:

  • Naming Pattern – I use RDS-0. This naming pattern helps you identify RDSH server instant clones in Horizon Console.
  • Farm Sizing – Set Maximum Machines to 3, and set Minimum Number of Ready (Provisioned) Machines to 1.

8- On the vCenter Settings page, complete the Default Image settings, as follows:

1- For the Parent VM in vCenter setting, click Browse to select the golden RDSH server VM you created according to the instructions in creating a Windows Image for a VMware Horizon Virtual Desktop, and click Submit.

2- For the Snapshot setting, click Browse to select the snapshot you created as part of the prerequisites for this exercise, and click Submit.

9- In the Virtual Machine Location section, click Browse to select a VM folder if you created one.

10- In the Resource Settings section, click Browse to select the appropriate vCenter resource for each setting.

Note: For the Network setting, leave the default, which means the Use network from current parent VM image check box is selected.

11- With the vCenter Settings page completed, click Next.

12- Complete the Guest Customization page, as follows:

  1. Verify that the correct domain and domain admin account are selected.
  2. For AD container, click Browse and select the OU that you created.
  3. Leave the other default settings, and click Next.

13- On the Ready to Complete page, click Submit.

You are returned to the Inventory > Farms page.

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 6

Hi, Today I want to config an Instant-Clone Desktop Pool.

Deploy an Instant-Clone Desktop Pool

1- In the Horizon Console, navigate to Inventory > Desktops, and click the Add button.

2- In the Add Pool wizard that opens, with Type selected in the left pane, select Automated Desktop Pool, and click Next.

3- On the vCenter Server page, select Instant Clone, and click Next.

4-On the User Assignment page, select Dedicate and click Next.
Instant-clone pools can use either Dedicated or dedicated user assignments.

  • Dedicated assignment – Each desktop is assigned to a specific user. A user logging in for the first time gets a desktop that is not assigned to another user. The user always gets this same desktop after logging in, and this desktop is not available to any other user.
  • Floating assignment – Users get a random desktop every time they log in. When a user logs out, the desktop is deleted. With automatic deletion, you keep only as many VMs as you need at one time.

5- On the Storage Optimization page, select Use separate datastores for replica and OS disks, and click Next.

6- On the Desktop Pool ID page, complete the settings, as follows, before clicking Next:

7- On the Provisioning Settings page, complete the settings, as follows, before clicking Next:

  1. Naming Pattern – I use ِDP-0.
  2. Provision Machines – Select All Machines Up-Front
  3. Desktop Pool Sizing – Set Maximum Machines to 3, and set spare (Powered On) Machines to 1.
  4. Use the defaults for the other settings.
  • 8- On the vCenter Settings page, complete the Default Image settings, as follows:
  • a. For the Parent VM in vCenter setting, click Browse to select the golden Windows 10 VM you created
  • b. For the Snapshot setting, click Browse to select the snapshot you created as part of the prerequisites, and click Submit.

9- In the Virtual Machine Location section, click Browse to select a VM folder if you created one as described in the prerequisites for this exercise.

10- In the Resource Settings section, click Browse to select the appropriate vCenter resource for each setting.
As with the other settings on this page, to complete each setting, you will select from the resources that are already set up in your vCenter Server and that are specific to your environment.
Important: For the Network setting, leave the default, which means the Use network from current parent VM image check box is selected.

11- With the vCenter Settings page completed, click Next.

12- On the Desktop Pool Settings page, leave the defaults and click Next.

13- On the Remote Display Settings page, select the Allow Session Collaboration check box, and click Next.

14- Complete the Guest Customization page, as follows:

15- On the Ready to Complete page, click Submit.
You are returned to the Inventory > Desktops page, called Desktop Pools.

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 5

Hi, today I want to config this topic:

1- Create the Domain Admin User

2- Create OUs for Instant-Clone Desktops and RDSH Servers and Delegate Control

3- Add an instance – Clone Domain Administrator

4- Add Domain Bind

Create the Domain Admin User

Note: This step is optional.

1- On the Active Directory Domain Controller machine, log in as an administrator, and go to the Start button > Administrative Tools > Active Directory Users and Computers.

2- Add a user: Expand the domain, right-click Users, select New, and select User.

3- Complete the New Object – User dialog box that appears.

Note: my username that was created is Horizon-domain-user. You can choose your username.

Create OUs for Instant-Clone Desktops and RDSH Servers and Delegate Control

1- On the Active Directory Domain Controller machine, log in as an administrator, and go to the Start button > Administrative Tools > Active Directory Users and Computers.

2- Right-click the domain name, select New, and select Organizational Unit.

3- In the New Object – Organizational Unit dialog box, enter a name, such as Instant Clones, and click OK.
This OU is the Active Directory container in which the instant-clone computer accounts will be created. After you complete the text box, you can find the OU under the domain.

4- Right-click this OU you just created (which is the container) and selected Delegate Control.
The Delegation of Control wizard appears.

5- Click Next on the Welcome page and Add on the Users or Groups page.

6- Enter the name of the domain user you just created; click Check Names, to verify that the name can be found in Active Directory, and click OK.

7- When you are returned to the Users or Groups page, click Next.

8- On the Tasks to Delegate page, select Create a custom task to delegate, and click Next.

9- On the Active Directory Object Type page, select the following checkboxes before clicking Next:

  • – Computer objects
  • – Create selected objects in this folder
  • – Delete selected objects in this folder

10- On the Permissions page, select the following checkboxes in the Permissions section before clicking Next:

  • – Create All Child Objects
  • – Delete All Child Objects
  • – Read All Properties
  • – Write All Properties
  • – Reset password

11- On the last page of the wizard, click Finish. The user account now has the following complete list of required permissions, including permissions that are assigned by default:

  • – List Contents
  • – Read All Properties
  • – Write All Properties
  • – Read Permissions
  • – Reset password
  • – Create Computer Objects
  • – Delete Computer Objects

How to add an instance – Clone Domain Administrator?

You use the Horizon Console to specify the user account for joining instant-clone VMs to the Active Directory domain.

In my case, I have two domains:

1- for management domain: That name is khoshraftar.com

2- for client domain: that name is abc.local

For this purpose, I used an account that we created in this post.

1- In the Horizon Console, navigate to Settings > Instant Clone Domain Accounts, and click the Add button.

2- On the Add Domain Admin page that appears, select the domain from the list, and enter the username and password for the user you created. I used administrator user account.

Click ok.

How to add Domain Bind

Before that, the first step is we define each domain as a conditional forwarder in each DNS servers.

1- open the DNS console khoshraftar.com and add a conditional forwarder :

2- open the DNS console abc.local and add a conditional forwarder :

Check with PowerShell commands:

1- In the Horizon Console, navigate to Settings > Domains > Domain Bind, and click the Add button.

2- Add data abc.local domain

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 4

Hi, today I created an Event database to log Horizon events to a SQL Server instance, making the event data available to analytics software. For example, you can find the following types of events in the database:

  • Alerts that report system failures and errors
  • End-user actions, such as logging and starting desktop and application sessions
  • Administrator actions, such as adding entitlements and creating desktop and application pools
  • Statistical sampling, such as recording the maximum number of users over a 24-hour period.

Prerequisites for Setting Up the Events Database

  • SQL Server instance – This is the database server on which you will create the Events database.
  • Microsoft SQL Server Management Studio 
  • Microsoft SQL Server Configuration Manager  
  • SA credentials ­– To create the necessary logins for the database, you will log in to the SQL Server instance as the sysadmin (SA) or as a user account with SA privileges.

How to install and configure the Events Database?

1- Click on SQL Server Installation and then Click on New SQL server

2- Select Specify a free edition or Enter your product key

3-Acept license Term

4-

5-Select Default and Next

6- Default Server Configuration and Next

7- Select Mixed Mode and enter a password for sa username and add domain administrator account for SQL server administrator

8- Click on Install

9-Finish

10-Install Microsoft SQL Server Management Studio

11- In the Object Explorer, right-click Databases, and select New Database from the submenu. Name the database and click OK.

12- My Database name is Horizon

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 3

Hi, today I want to install Replica Connection Server.

How to install Horizon Replica server?

1- Create two VMs and install two Windows servers and join them to your domain.

Guest OS – Microsoft Windows Server 2019
CPU – 4
Memory – 4 GB
New Hard Disk – 40 GB
New SCSI Controller – LSI Logic SAS
Network Adapter Type – VMXNET3

2- Download Connection server from this link and copy it to connection server’s VM.

3- Welcome page, Next

4- License Agreement, Next

5- Destination Folder

6- Installation Options

Standard installation – Generates a Connection Server instance with a new Horizon LDAP configuration.

Replica installation – Generates a Connection Server instance with a Horizon LDAP configuration that is copied from an existing instance.

Enrollment Server installation – Installs an enrollment server that is required for the True SSO (single sign-on) feature, so that after users log in to VMware Workspace ONE Access, they can connect to a remote desktop or application without having to provide Active Directory credentials. The enrollment server requests the short-lived certificates that are used for authentication.

I select Horizon Replica Server, Next.

7- On the Data Recovery page, enter the password you want to use for recovering data backups of the Connection Server.

8- Enter First Horizon Server HostName

9- On the Firewall Configuration page, accept the default, which is Configure Windows Firewall automatically.

10-  On the Initial Horizon Administrators page, for this exercise and for simplicity, I recommend authorizing an Active Directory domain group.

11- On the User Experience Improvement Program page, you can deselect the Join the VMware Customer Experience Improvement Program option to opt out of the program.

12- On the Ready to Install page, leave the default for the drop-down list, which is General, to indicate that you are deploying the Connection Server in an on-premises environment, and click Install.

12- On the Installer Completed page, click Finish.

13- You can launch the Horizon Console

https://<connection-server-hostname>/admin/

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 2

Hi, today I want to configure the following thing on Connection Server:

If you don’t see part 1, please click here.

  • Add license
  • Add vCenter

How to add license for Connection Server?

1- Login to Connection Server 

https://<connection-server-hostname>/admin/

2- My domain name is khoshraftar.com. Enter your domain user administrator.

3- Click on VMware Horizon HTML Access

4- go to Settings –> Product Licensing and Usage –> Edit License

Enter the serial number of the product license key and click OK.

Add a vCenter Server Instance

1- In the Horizon Console, navigate to Settings > Servers, which takes you to the vCenter Servers tab, and click the Add button.

2- On the Add vCenter Server page, complete the following text boxes before clicking Next:

  • Server address – Enter the fully qualified domain name (FQDN) of the vCenter Server instance.
  • User Name and Password – Use the format name@domain.com for the name of the vCenter Server user account.
  • You can leave the default settings for the other text boxes.

Finish 🙂

Step By Step, Install VMware Horizon 8 – Part 1

Hi, today in this post, I decided to explain about how we can install VMware Horizon 8 in high availability mode.

You can find more detailed information about What’s New in this link.

You can find more detailed information about Horizon Administration in this link.

What is my plan:

What is our pre request:

1- Active Directory domain controller – The authentication infrastructure for your setup must include Active Directory, DNS, and DHCP. The Connection Server joins to Active Directory and sets up a lightweight directory service instance for the storage of Horizon configuration information.

2- SQL database Server – This is the database server on which you will create the Events database, which records actions that occur on the Horizon servers. For the example in this post, i used Microsoft SQL Server 2019.

3- VMware vSphere and vCenter Server – you must have a VMware vSphere infrastructure that contains at least one VMware ESXi host and one VMware vCenter Server instance.

4- TLS/SSL certificate – (Optional) By default, Horizon servers include a self-signed certificate that can be used for testing purposes.

5- Network and Storage

What is a Connection Server?

Connection Server acts as a broker for client connections by authenticating and then directing incoming remote desktop user requests to the appropriate virtual desktop, physical desktop, or terminal server. You must run Connection Server on a 32-bit or 64-bit dedicated physical or virtual server.

How to Install Horizon

1- Create two VMs and install two Windows servers and join them to your domain.

Guest OS – Microsoft Windows Server 2019
CPU – 4
Memory – 4 GB
New Hard Disk – 40 GB
New SCSI Controller – LSI Logic SAS
Network Adapter Type – VMXNET3

2- Download Connection server from this link and copy it to connection server’s VM.

3- Welcome page, Next

4- License Agreement, Next

5- Destination Folder

6- Installation Options

Standard installation – Generates a Connection Server instance with a new Horizon LDAP configuration.

Replica installation – Generates a Connection Server instance with a Horizon LDAP configuration that is copied from an existing instance.

Enrollment Server installation – Installs an enrollment server that is required for the True SSO (single sign-on) feature, so that after users log in to VMware Workspace ONE Access, they can connect to a remote desktop or application without having to provide Active Directory credentials. The enrollment server requests the short-lived certificates that are used for authentication.

I select Horizon Standard Server, Next.

7- On the Data Recovery page, enter the password you want to use for recovering data backups of the Connection Server.

8- On the Firewall Configuration page, accept the default, which is Configure Windows Firewall automatically.

9- On the Initial Horizon Administrators page, for this exercise and for simplicity, I recommend authorizing an Active Directory domain group.

10- On the User Experience Improvement Program page, you can deselect the Join the VMware Customer Experience Improvement Program option to opt out of the program.

11- On the Ready to Install page, leave the default for the drop-down list, which is General, to indicate that you are deploying the Connection Server in an on-premises environment, and click Install.

12- On the Installer Completed page, click Finish.

13- You can launch the Horizon Console

https://<connection-server-hostname>/admin/

Finish 🙂

Step By Step, Install VMware Horizon 8

Hi, today in this post, I decided to explain how we can install VMware Horizon 8 in high availability mode.

You can find more detailed information about What’s New in this link.

You can find more detailed information about Horizon Administration in this link.

What is my plan:

We have in

Part 1

How to install the Connection server?

Part 2

How to add a license for the Connection Server?

How to add a vCenter Server Instance?

Part 3

How to install the Horizon Replica server?

Part 4

How to install and configure the Events Database?

Part 5

1- Create the Domain Admin User
2- Create OUs for Instant-Clone Desktops and RDSH Servers and Delegate Control
3- Add an instance – Clone Domain Administrator
4- Add Domain Bind

Part 6

How to create a Single – User Desktop Pool?

Part 7

How to Create RDSH – Published Desktop and Applications?

Part 8

How we can provision Users and Access Desktops and Apps?

Part 9

How to publish panel connection servers to the Internet through UAG?

Finish 🙂