ZCM 11 SP3 Agent registration with non-persistent VMware View 5.3 VDI Desktops

0 Likes
We want to use ZENworks Configuration Management to manage our Windows 7 FAT desktops and VDI desktops. In our environment we were struggling to get our non-persistent VMware Windows 7 desktops registered in the ZCM Zone. After the Quickprep process (VMware KB) some desktops did not register or registered with an extra guid in the machine name. Both resulting in an unmanageable device without the associated ZCM icons (bundles) on the desktop. After trying many different potential solutions (cleaning parent, logon scripts etc.) to correctly register the devices, we came up with a permanent solution. Register the desktop with a VMware Post-synchronization script and use an agent with custom deployment settings.

ZCM and Vmware View settings in a couple of steps:

1 - Device folder ZCM
Because we do not need all the agent features in our VDI desktop. We added a new device folder for the (stateless) VDI desktops and selected the agent features needed.

1

2 - ZCM Registration key
To register the desktops in this folder we defined a registration key:

2

3 - ZCM Reconcile setting
After the user has logged out, the desktop will be deleted and recomposed.
The recomposed desktop is unique with exception of the hostname, so ZCM has to re-use (reconcile) the device object on hostname. Set the reconcile setting on “Machine name” and enable Differentiation.

3

4 - Deployment package ZCM agent
We do not want to use the build-in deployment packages (https://zenworksserver/zenworks-setup) because they register to the ZCM zone after installation or on first network connection. When using the build-in package the agent get registered in the VMware View composing process or when updating the parent if there is a network connection.

We added a deployment package without a server (delete all entries) and installed the agent in our parent image.

4
 
4-2

5 - VMware Post-synchronization script.
In the Pool settings from the View Administrator we added the following Post sync script (VMware KB

script name: zac
script parameter: reg –g –u username –p password https://servername.fqn - k VDI

We added the "Zenreg" user in ZCM with minimal rights to process the registration.

5

Now we can compose the VDI desktops!

Labels:

How To-Best Practice
Comment List
Anonymous
Parents
  • We also use ZCM to manage our VDI-Clients. We use other process for VDI-Client lifecycle, but it works also. I have a question about a problem we have with ZCM-Agent and VDI.
    If a ZCM-Agent are installed the reconnect to a active VDI-Session is only from the same Device (zero-Client or Horizon-Client on a FAT Client) possible. If you switch to another Devcie and want to reconnect, the VDI-Client Session close and open a new Session on another VDI-Client. Our VDI-Clients are also non-persistent.
    Have you try this szenario?
Comment
  • We also use ZCM to manage our VDI-Clients. We use other process for VDI-Client lifecycle, but it works also. I have a question about a problem we have with ZCM-Agent and VDI.
    If a ZCM-Agent are installed the reconnect to a active VDI-Session is only from the same Device (zero-Client or Horizon-Client on a FAT Client) possible. If you switch to another Devcie and want to reconnect, the VDI-Client Session close and open a new Session on another VDI-Client. Our VDI-Clients are also non-persistent.
    Have you try this szenario?
Children
Related Discussions
Recommended