HP Insight Control for Linux 6.3 Release Notes
A HP Insight Control virtual machine management scripts
A.1 vmmcapture.xml script
<!-- *************************************************************************
* ANT file used to gather VMM information.
*
* To clean output and rebuild "simcapture" file: "ant"
*
* This results in the following files for Windows:
* lbin\simcapture.zip - zip containing all captured data
*
* This results in the following files for Linux or HP-UX:
* lbin\simcapture.tar.gz - gzip of tar file containing all captured data
*
* "exclude.unix" & "exclude.win":
* These can be passed such as '-Dexclude.win=""' to capture more
* files, by causing definitions in this file to NOT set properties,
* since ANT properties are not overwriteable.
*
************************************************************************* -->
<project name="VMM simcapture extension" basedir="." default="stage">
<property environment="env"/>
<property name="version" value="1.0" />
<property name="basename" value="vmmcapture" />
<property name = "scriptBase"
value = "..\..\..\Insight Control virtual machine management\clientapi\bin"/>
<property name="CLI_Output.log"
value="${SIM.logs.dir}/simcapture/vmm/CLI_Output.log" />
<!-- *********************************************************************
* Stage VMM Logs
********************************************************************** -->
<target name="stage-conditions">
<mkdir dir="${SIM.logs.dir}/simcapture/vmm"/>
<touch file="${SIM.logs.dir}/simcapture/vmm/CLI_Output.log"/>
<echo message="" />
<echo message="***************************************************" />
<echo message=" VMM capture extensions - Version ${version}" />
<echo message="***************************************************" />
<condition property="os.windows">
<os family="windows"/>
</condition>
<condition property="VMMLogDir"
value="..\..\..\Insight Control virtual machine management\log\" >
<os family="windows"/>
</condition>
<condition property="VMMLogDir" value="/opt/hpvmm/log" >
<not>
<os family="windows"/>
</not>
</condition>
<condition property="VMMCLIDir"
value="..\..\..\Insight Control virtual machine management\clientapi\bin" >
<os family="windows"/>
</condition>
<!--
A.1 vmmcapture.xml script 25