Tuesday, November 26, 2019

Instant-Clone Pool creation on VMware Horizon 7 Step By Step

About Instant-Clone:

     Instant-Clone Pool is an automated Pool available in Horizon 7 and later versions of VDI deployments. Like View Composer Linked-Clone pool, Instant-Clone also will have a Master Image which have OS, applications and Horizon Agent with Instant-option enabled on Horizon Agent. Instant Clone Pool will have a Parent VM which creates and manage by VMware Horizon and Instant-Clones VMs which will share disk and memory with parent VMs. 

     Since Parent VM is fully managed by Horizon, we cannot do any modification on Instant Clone Parent VM. But we can do modification on Master Image whenever we need modification on VDI desktop and can be apply those modification to pool using "Push Image Operation".

     Unlike Linked-Clone, Instant-Clone parent VM always will be in Powered On mode. All Instant-Clones VMs will be created as powered on state by vmFork technology and all domain join and VM configuration will happen during initial VM Power on process.

Advantages Of Instant-Clone

1. Very fast provisioning compared to Linked-Clones.
2. Very less storage Usage because Instant-Clones are sharing disk with parent.
3. Easy and less maintenance Window during image update with Image Push Operation.
4. No need additional servers for Instant-Clones.

Requirements of Instant-Clone Pool

1. Horizon 7 or later with Enterprise License.
2. VMware vSPhere 6.0 Update 1 or later.
3. Windows 7 or Windows 10 Pool VM. WIndows 8 and 8.1 not supported.
4. Sphere Infrastructure with Distributed Switch. Standard switch is not supported.

Step By Step Procedure to Create Instant-Clone Pool:

a) Master Image Creation:

1. Create Master Image with supported OS. 
2. Install VMware Tools and all application which should be included in master image.
3. Install Horizon Agent with Instant-Clone module enabled.
4. Shutdown VM and Create a Virtual Machine Snapshot.

b) Instant Clone initial Configuration on Horizon 7 Administrator Console

1. Go to View Configuration > Instant clone Domain Admins.
2. Click Add
3. Choose domain and enter user ID and password of domain user which have certain privileges. Instant Clone Domain Admin User Privileges: More details


4. Click OK.

c) Instant-Clone Pool Creation:

1. Go to "Catalog > Desktop Pools" Click "Add"
2. Choose "Automated Desktop Pool", Next
3. Choose Floating , Next
4. Choose "Instant Clones", Next.
5. Follow the standard pool creation procedure and ensure choosing right master image which we created earlier, and finish the pool creation wizard.






Monday, November 25, 2019

Using DirectFlex On VMware User Environment Manager (UEM)

VMware User Environment Manager FlexEngine

   When user login to windows with UEM enabled, FlexEngine starts automatically and it reads the UEM configuration from UEM config share and will import all User personalization settings from UEM profile Archive Share. When user logout, all changes happened on the application and its registry details will be captured and exported to UEM Profile Archive share depends up on the application settings to be captured mentioned in UEM Config settings.

But depends up on number of applications UEM manages and size of those files, user logon time will be impacted. The login time for the user who did more customization on their application will be very huge. Here we can take advantage of VMware UEM DirectFlex feature.

DirectFlex

   DirectFlex imports application settings from UEM Profile Archive Share when user launches the application and exports back the application settings to UEM Profile Archive Share while user close the application, instead of import/export operation happen during login and logout. With this feature, FlexEngine improve its efficiency. Without DirectFlex, all application settings will import on session during each login and will export back to profile share on each log off, which will impact allover performance of the infrastructure. But through DirectFlex, Application settings are getting imported only which user is used during the session, and all DirectFlex configured settings will be skipped during user login process.


How to Enable DirectFlex:

1. Select the Application Configuration file from "VMware User Environment Manager - Management Console"..

2. Go to "DirectFlex" Tab.
3. Check "Enable DirectFlex for this Config File"

4. Select the executable by browsing the UNC path of ThinApp executable file.




Sunday, November 24, 2019

VMware UEM: Manage ThinApp Sandbox Using Vmware User Environment Manager (UEM)

VMware ThinApp

       VMware ThinApp is an application virtualization solution from VMware. ThinApp utility makes an application into portable format. Potable application can be stored on centralized location as file share and multiple user can launch the application via shortcut of executable portable file. ThinApp application will launch as a virtual bubble on top of operating system and the application will be isolated from the OS layer.

About VMwareThinApp

ThinApp SandBox

       Since ThinApp application is isolated from the OS layer, The changes and customization user do on the ThinApp application will not affect on native OS, registry or any application. Instead of that, all changes are stored in a directory called "Sandbox". So when next time the application launches again, ThinApp application launches incorporated with Sandbox application settings. The default location of ThinApp Sandbox is %AppData%\Thinstall\"ThinApp Name"

Example: Default Sandbox Location of "Adobe Photoshop CS6" ThinApp will be %AppData%\Thinstall\"Adobe Photoshop CS6"

About ThinApp Sandbox


ThinApp Application Delivery via UEM (User Environment Manager)



         ThinApp application can be deliver to user via placing portable executable shortcut on users desktop. This can be achieved by using VMware User Environment Manager (UEM).

Steps:

1. Open "VMware User Environment Manager - Management Console"
2. Go to "User Environment" Menu.
3. Click "Shortcuts"



4. Click "Create"
5. Give ThinApp name, Shortcut name and share UNC Path as below figure.



6. Click "Save".

Note: "Conditions" tab on above image can be used to deliver the shortcut as per conditions like specific AD user, AD group, IP Address etc.


Managing VMware ThinApp Sandbox Using UEM (User Environment Manager)



      ThinApp Sandbox folder can be import and export during user session using UEM custom configuration file. Sandbox will be imported to sandbox location (Example: %Appdata%/ThinInstall) and exported from Sandbox location during user logon or during Application execution (If directFlex is enabled).

Steps:

1. Open "VMware User Environment Manager - Management Console".
2. Go to " Personalization" menu.
3. Select "Applications"
4. Click "Create Config File" from menu bar.
5. Select "Create Custom Config File", click "OK"
6. Give name as Application Name, Example: Adobe photoshop CS6.
7. Select newly created config File, Add sandbox location to configure import /Export Sandbox during login and logout.





DirectFlex

     If the ThinApp Sandbox size is huge, it will consume more time to import the SandBox files during user Session login and it will affect user login time as well. So here we can take advantage of DirectFlex feature. DirectFlex feature imports the Sandbox while user launches the application instead of importing the Sandbox during user login.

More About DirectFlex

How to Enable DirectFlex:

1. Select the Configuration file.
2. Go to "DirectFlex" Tab.
3. Check "Enable DirectFlex for this Config File"
4. Select the executables by browsing the UNC path of ThinApp executable file.








Saturday, November 16, 2019

Horizon 7: Add Vcenter 5.5 U2 Fails with error: Unable to verify vCenter certificate

Symptoms:

Adding VMware Vcenter Server 5.5 on Horizon 7 Connection server fails with certificate error "Unable to verify vCenter certificate"

Reason:

VMware Vcenter 5.0, 5.1 and 5.5 works with TLSv1.0 Security protocol. But on VMware Horizon 7 and later version, TLSv1.0 is disabled by default. So you might receive a certificate error while trying to integrate Vcenter 5.x server with VMware Horizon 7.x.

Solution:

Enable TLSv1.0 on Horizon View Connection Server.

Steps:

1. Login to Horizon View Connection Server host, open ADSI Edit utility.



2. Right click on "ADSI Edit", click on "Connect to..."



3. Choose "Select or type a Distinguished Name or Naming Context" 
and type "DC=vdi, DC=vmware, DC=int". 
Choose Computer and type "localhost:389".
Click "OK"




4.  Double click and expand "Default Naming Context[Localhost:389].
Expand "DC=vdi, DC=vmware, DC=int"
Expand "OU=Properties"
Select "OU=Global"
Right Click on "CN=Common", Click "Properties"



5. Double Click to open "pae-ClientSSLSecureProtocols".
Fill the value "\LIST:TLSv1.2,TLSv1.1,TLSv1" click "OK".
Click "OK" and close ADSI Edit utility.




6. Restart Horizon View Connection Server Service or reboot server to take the effect.


Now we can try to add Vcenter Server 5.5 to Horizon View Administrator.

                                                              VMware KBASE




Tuesday, November 12, 2019

VMware vSphere 6.7 : Content Libraries Configuration

Content Libraries in vSphere 6.7

Content Libraries are the centralized repository on VMware vcenter to store ISO images, VM templates and vApps Templates. With Content Libraries, We can share the contents from one Vcenter to multiple Vcenter instances on same location or geographically different location if http traffic is available between Vcenter Servers.


Local Content Libraries:


   Local Content Libraries are the one which is created locally on the vcenter. It can be published so that other vcenters can subscribe the content library.

Subscribed Content Libraries:


  The option to subscribe the content library which is published by other Vcenter servers are called as Subscribed Content Libraries. We can use the content of Subscribed Content Libraries but we cannot do contribution on this type of Libraries.

How To Configure Local Content Libraries:


1. Login to Vmware vSPhere Web Client, Go to "Menu > Content Libraries"








2.  Give Content Library Name in "Name Filed", Choose the Vcenter, Then Click "Next"





3.  Select "Local Content Library".


   a)"Enable Publishing" option is using to publish this local Content Libraries for other Vcenter Servers.
   b)"Optimize for Syncing over HTTP" option is used to optimize low resource usage and faster syncing of content over HTTP while syncing content to remote location Vcenter server Subscription.
Note: If Optimize for Syncing over HTTP is enabledLocal Vcenter instance cannot use the content to deploy VMs images.






4.  Select the Datastore where you want to store your contents, click "Next"



5. Click Finish to complete new Content Library Creation Process.




6. Local Content Library has been created with name "Library1".


Now OVF templates, vApps templates and ISO images contents can be upload to the library as library items. 







Refer Below VMware Article to know more details about Content Libraries: 

                                           Content Libraries





Monday, November 11, 2019

Vcenter 6.7 Web client: Unable to upload files on datastore, Certificate Error

Symtoms:

On Vsphere 6.7 Web Client, Unable to upload files or iso images on Datastore. While attempting to upload files, operations fails with error "The Operation failed. The operation failed for an undetermined reason. Typically this problem occurs due to certificates that the browser does ot trust"




Reason:

VMware vSphere Web Client URL is not trusted by the web browser and the Vcenter Web Client Self Signed Certificate is not available on Trusted Root Certificate Store of the Computer you accessing Vcenter.

Resolution:

1. Open the browser and browse "https://vcenter.mydomain.com"
    Note: Replace "vcenter.mydomain.com" with FQDN of your Vcenter Server.

2. Click "Download Trusted root CA Certificates", Save it with .zip extension.
    Note: After click download, If you are getting a new tab with junk characters, right click on page and click "save as" and save with .zip extension.


3. Unzip the downloaded folder and keep the "Certs" folder on local drive. Since this example is with Windows machine, We need to import Certificate (file with .cer extension) from Certs>Win folder 

4. On your computer, open "run", type "MMC" and press enter.




5. Click "File > Add/Remove Snap-in..


6. Select "Certificates" and click "Add"




7.  Select "Computer Account " and Click "Next"




8. Select " Local Computer" and click "Finish". Then Click "OK"



9. Expand " Certificates > Trusted Root Certification Authorities> Certificates". Right Click on "Certificates", Go to "All Tasks > Import"




10. Click "Next"



11. Check "Browse" and choose the .cer file from "Certs>Win" folder. Click "Open"



12.  Select "Place all Certificates in the following store" and Choose " Trusted Root Certification Authorities". Click "Next", "Next" and "finish"




13. Now vSphere web Client Certificate has been imported on Trusted Root Certificate store of your local computer. 

14. Close all browsers and open again.

15. Open "Web Client" URL. Now you can observe that "Un trusted Certificate warning has been disappeared on browser. Try to login to Vcenter Web Client and re initiate File Upload operation on Datastore.

VMware Kbase:

Transferring files through vSphere Client might fail (2147256)





Wednesday, November 6, 2019

VMware vSphere 6.7 Web client: mount local iso image or client device to Virtual Machine

Problem:

In VMware vSphere 6.7 Web client, Unable to find the option to mount local iso image or client device to virtual machine via vSphere web client. While trying to mount the iso image or device to virtual machines, only host device and datastore ISO options are available.

Resolution:


1. Select virtual machine and go to "Summary".
2. Click "Launch Remote Console". 



3. Click on "Download Remote Console" to go to VMware Download page. Download VMRC Plugin and install it on client machine. If VMRC plugin is already available, go to Step 4.
        VMware VMRC Download URL
4. Click "Launch Remote Console", Then Click "Open VMware Remote Console". Accept all warning and Certificates.


3. On VMRC Console, Go to VMRC > Removable Devices > CD/DVD Drive1      > Connect to Disk Image File (iso).


4. Browse iso image from local disk, click ok.


     




Tuesday, November 5, 2019

vCenter Server Appliance 6.7 Deployment Failed with error "an error occurred while starting service 'vpxd-svcs'"

Symptoms:

Deployment of VMware vCenter Server Appliance 6.7 Failed with error "an error occurred while starting service 'vpxd-svcs'" during last stage of  appliance setup ,or similar errors like below


Deployment of VMware vCenter Server Appliance 6.7 Failed with error "The Supplied System Name is not valid"





Cause:


DNS resolution with host name of vCenter Server is getting failed during initial configuration of vCenter Server Appliance. As a prerequisites, vCenter Static IP and Host name DNS record should be available on DNS server before start deployment.


Resolution:


Create a DNS A Record and PTR Record with vCenter Static IP and vCenter Host name before starting Deployment.