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:
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:
Naming Pattern – I use ِDP-0.
Provision Machines – Select All Machines Up-Front
Desktop Pool Sizing – Set Maximum Machines to 3, and set spare (Powered On) Machines to 1.
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.
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.
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.
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.
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.