You can set up IBM® Tivoli® Provisioning
Manager for
discovery and automation so that these features can be performed in IBM Rational® Quality Manager.
About this task
Steps 1 and 2 describe what you need to
do to set up
Tivoli Provisioning Manager for
discovery so that the provision management tool can install automation
packages and software module definitions for software to be deployed
from
Rational Quality Manager.
The example shows you how to complete these steps.
Procedure
- Set up Tivoli Provisioning Manager for
discovery:
- Create discovery configurations
in Tivoli Provisioning Manager for Rational Quality Manager.
- Install the tc-driver TPMNetworkDiscovery.tcdriver.
- Create configurations for the discovery methods Discover
Computers using RXA and Tivoli Provisioning Manager
Inventory Discovery.
The follow
- Set up Tivoli Provisioning Manager for
installable software by installing automation packages and software
module definitions for any software that Rational Quality Manager deploys
through Tivoli Provisioning Manager.
Example
The following example shows how to set up
Tivoli Provisioning Manager and
Rational Quality Manager to
deploy a software module on a Microsoft Windows operating system that
is installed from a .zip file.
- Install windows-operating-system.tcdriver.
- Create an XML file with the following contents and run xmlimport to
import the data into Tivoli Provisioning Manager.
<!DOCTYPE datacenter PUBLIC "-//Think Dynamics//DTD XML Import//EN"
"http://www.thinkdynamics.com/dtd/xmlimport.dtd" [
<!ENTITY resourcepoolconfig SYSTEM
"http://www.thinkdynamics.com/dtd/resourcepool.xml">
<!ENTITY dataacquisitionconfig SYSTEM
"http://www.thinkdynamics.com/dtd/dataacquisition.xml">
<!ENTITY simulator-cpu '
<dae-driver device="server"
classname="com.thinkdynamics.kanaha.dataacquisitionengine.NullDriver"/>
<dae-signal name="cpu-utilization"
device="server" metric="cpu-utilization" aggregation="average"
filter="low-pass-filter"/>
'>
]>
<datacenter>
<software-module name="Sample Software Module" is-devicemodel="
Windows Operating System" version="1.0" description="Sample
Software Module">
<installable-package name="Sample Installable Package"
version="1.0" file-repository="LocalFileRepository"
status="not_tested">
<file name="sample.zip" path="/sample"/>
<access-domain-membership>
<access-domain-name>sample:all-objects</accessdomain-
name>
</access-domain-membership>
</installable-package>
<software-resource-template name="Sample SRT" softwareresource-
device-model="Windows Operating System" srtdefinition="/
Hosting-Environment:WINDOWS: Unzip Only">
<template-param name="extract-path" value="C:\sample" />
<template-param name="auto-file-overwrite" value="YES" />
</software-resource-template>
<access-domain-membership>
<access-domain-name>sample:all-objects</access-domainname>
</access-domain-membership>
</software-module>
</datacenter>
- Place the .zip file (sample.zip as
specified
earlier) in the <TPM InstallDir>/repository/sample folder.
The contents will be extracted to the C:\sample folder
(as specified earlier) on the target server when the automation is
run in Rational Quality Manager to
install this software module.
Note: The automation information
for SoftwareModule.Install
for Sample Installable Package is displayed
in the Rational Quality Manager user
interface.