
72
PlateSpin Orchestrate 2.0 Installation and Configuration Guide
no
vd
ocx
(e
n)
13
Ma
y 20
09
2.3.5 Automatically Installing the Orchestrate Agent on a VM
Host Using a Job
You can write a job to automatically install and configure the Orchestrate Agent on a host server.
Such a job can be a script similar to the following, which is for an Apache VM:
"""
Search for a VM Grid objects using Constraints and run a VM operation on them.
"""
class test(Job):
def job_started_event(self):
# collect all VM Instances whose resource ID
# starts with the string "apache"
a = AndConstraint()
e1 = EqConstraint()
e1.setFact("resource.type")
e1.setValue("VM")
a.add(e1)
e2 = EqConstraint()
e2.setValue("apache*")
e2.setMatchMode(EqConstraint.MATCH_MODE_REGEXP)
e2.setFact("resource.id")
a.add(e2)
vms = getMatrix().getGridObjects(TYPE_RESOURCE,a,None)
for vm in vms:
vm.installAgent()
For information on developing jobs, see the
PlateSpin Orchestrate 2.0 Developer Guide and
Reference
.
2.4 Installing the Orchestrate Development
Client Only
You can use the PlateSpin Orchestrate Development Client to administer the Orchestrate Server
from any SLES 10 or a Windows (XP or Vista) machine. No other PlateSpin Orchestrate
components need to be installed on that machine. This section includes information that details how
to install the Orchestrate Development Client by itself.
Section 2.4.1, “Installing the Orchestrate Development Client for Windows from the
Administrator Information Page,” on page 73
Section 2.4.2, “Using the ISO to Install the Orchestrate Development Client on Windows
Machines,” on page 77
Section 2.4.3, “Installing the Orchestrate Development Client for SLES 10 From the
Administrator Information Page,” on page 77
Summary of Contents for PLATESPIN ORCHESTRATE 2.0.2
Page 4: ...4 PlateSpin Orchestrate 2 0 Installation and Configuration Guide novdocx en 13 May 2009...
Page 20: ...20 PlateSpin Orchestrate 2 0 Installation and Configuration Guide novdocx en 13 May 2009...
Page 98: ...98 PlateSpin Orchestrate 2 0 Installation and Configuration Guide novdocx en 13 May 2009...
Page 130: ...130 PlateSpin Orchestrate 2 0 Installation and Configuration Guide novdocx en 13 May 2009...