I finally figured out how to install SCOM agent on a Glod Image (Citrix PVS). This instructions are provided by Comtrade and it works.
Before you carry out this procedure, make sure you have the following setting in SCOM server:
Administration -> Settings -> Server -> Security set to Review new manual agent installations
in pending management view.
- Install the SCOM agent on the PVS master image and enter in SCOM management group info
- Stop the SCOM agent service
- Delete the SCOM agent certificate from the Certificates snap-in under Computer store\Operations Manager\Certificate. It is located under Certificates (Local Computer) -> Operations Manager -> Certificates
- Change the regkey at "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HealthService\Parameters\State Directory" to point to a path on the persistent disk (ex: P:\System Center Operations Manager\Agent\Health Service State). Make sure this
directory exists on the persistent drive (see note at the end).
- Capture the image and assign to your PVS targets
- Reboot
- Approve XenApp servers in the SCOM Pending Management view
NOTE:
- One caveat is the health service state folder has to already exist on the persistent drive or the health service will not start. This can be done through a script/GPP applied to the target or by simply creating the folder manually. I have updated my startup
script to create this folder if it doesn't exist.
- With Manual Agent installation, there will not be any secondary Management server configured. To overcome this, enable AD Integration and provide the Management Group / Server information through AD Integration.
I have also set the SCOM Agent service to start Manually. Our Startup script will check the PVS Disk mode. The SCOM service will be started by startup script only if the vDisk is in Read-only mode. Otherwise, Every time we update the vDisk, the Certificate
has to be removed (Step 3).