Showing posts with label View Composer. Show all posts
Showing posts with label View Composer. Show all posts

Tuesday, March 2, 2021

VMware Horizon View - Part1: VDI features

In the first part of the VDI Tutorial, I will review its architecture and talk a little about each part of VMware Horizon View: Client types, Connection Server, Replica, Composer, and so on.

 

Monday, June 24, 2019

VMware VDI (Horizon View) Troubleshooting - Part III


In the third part of the VDI troubleshooting series, unlike the last two parts, I want to talk about client-side connection problems. For instance, if there is a dedicated subnet of IP addresses for Zero Client devices, then incorrect setup or miss-configuration of routing settings can be the reason for the connection problem between VDI clients and servers. Same way, wrong VLAN configs (ID, subnet, Inter VLAN Routing) can be the main reason for the trouble. So I provided a checklist of "What to do if you have a problem with your Horizon connection servers?"

1. Check the correctness of Zero/Thin client's communication infrastructure (routing, switching, etc) to the VDI servers (Connection Server, Security Server)
2. Check network connection between Connection Server subnet and deployed Virtual Machines of Desktop Pool, if they are separated. Of course, logically there is no need to connect their dedicated Hosts/Clusters to each other, so you can have separate ESXi Clusters, one for Desktop pools and another for VDI Servers.
3. Investigate the vCenter Server is accessible from Connection Server and also its related credential.
4. If you have a Composer Server, check it's Services. So many times I saw the Composer Server service does not start after a server reboot, while it's automated and no warning/error event has been reported. Also, you need to check the ODBC Connection between Composer Server and its Database.
5. Investigate installed View Agent state inside the Desktop Pool's VMs. If you need to provide client redirection to the desktop (without the presence of Connection Server) View Direct Agent is needed too.
6. A TCP connection on port 4001(non-SSL)/4002(SSL-based) between Desktop's View Agent and Connection Server must be established, It's required for connection and you can check it by running netstat -ano | findstr "4001".
7. Review the User Entitlement for provided Desktop Pools, maybe there is a mistake especially when you add AD Groups instead of AD Users. (also check them, are they still available or assigned to the other users?)
8. Type of Virtual Desktop provisioning is also important. Except for Full Clone, on Linked Clone and Instant Clone models, you need to check the status of Virtual Desktops in Inventory\Resources\Machines of the View Admin web page.
9. If there is an interruption in connected sessions, you need to review their states in Inventory\monitoring of the View Admin web page.
10. For the last Note: DO NOT FORGET TO CONFIGURE EVENT DATABASE! I had encountered too many Horizon View deployment that did not configure any event database, so in troubleshooting situations, we had NOTHING to know really what happened.
I hope it can be helpful for you all buddy...

Sunday, April 8, 2018

VMware Horizon View Composer: Fixing Connection Problems

Whenever you want to use Linked-Clone desktop pools on your environment, you need totally to View Composer service working correctly. but maybe after sometimes you will be faced with such as this warning: "Unable to connect to View Composer".
Regardless of well-known networking connectivity errors (port blocking, routing problem &, etc) this error indicates that there is one of the following conditions happened:
1. If you defined ODBC DSN with SQL server credentials, please check the "Enforce password policy" and "Enforce password expiration" check boxes on your login account settings. There is a simple way to check it: Re-run your DSN configuration wizard, provide the old setting and press the "Test Data Sources..." button, then you can understand what was happened and if your credentials is expired, you will know it.
2. If you provide Active Directory Credential instead of a local SQL account, please check Group Policy is assigned to your AD account's OU. Maybe there is some restriction setting in the "Password Policy" section.
3. For some reason, maybe there is a problem with Composer server certificate validation, Especially whenever you have re-installed your composer component and want to choose your old certificate (Self-Signed or Valid-Generated). Then you must check your selected certificate for composer server:
Re-installation of Composer Server
Composer Server new certificate
Finally, after all the troubleshooting operations, you can check your service correct operation by running netstat command and confirming connection on port 18433 is established.




I will start a new journey soon ...