Unattended : Citrix Health Monitoring & Recovery (HMR) Test Pack

0 Shares

HMR

The latest versions of XenApp also come with a Health Monitoring and Recovery (HMR) agent – Citrix recommends leveraging the default health check tests and the additional HMR tests that can be downloaded for free on Citrix‟s website here.

The recommended settings is taken from a presentation held at Synergy 2009 by Citrix.

suggested-configuration-hmr

After the installation remember to run the command : C:Program FilesCitrixSystem32lhctestaclsutil.exe. If you don’t you will get CitrixHealthMon Event 2005 in your logs. More information in the CTX117540 article and in the Citrix Online Product Documentation.

I’ve created a script for silent installation :

[sourcecode language=”plain”]

@echo off
REM Install Citrix HMR TestPack 2
REM ScriptFrameWork by Joe Shonk – www.theshonkproject.com
REM Customized by Trond Eirik Haavarstein – www.xenappblog.com

pushd %~dp0
cd ..

set AppSourcePath=Source
set AppConfigPath=Configuration
set AppInstallPath=Scripts
set AppHotfixesPath=Hotfixes

set LogFile="%temp%Citrix HMR TestPack 2.log"
set Switches=/qn ALLUSERS=1 REBOOT="ReallySuppress"
set MST=TRANSFORMS=

cls
echo.
echo Installing Citrix HMR TestPack 2
echo.

cd %AppSourcePath%
start /wait msiexec /i "HMRTestPack2.msi" %Switches% /liewa %LOGFILE%

popd
endlocal

[/sourcecode]

0 Shares

Leave a reply