The Deployment type provides commands defining life cycles for software deployment and configuration.
Each Deployment is described with the following fields:
- type: Deployment type (or subtype)
- name: a symbolic name for the deployment
- installroot: Installation directory
- basedir: Base directory
A Deployment can be registered in XML using the project.xml format. Here is an example.
File listing: deployment.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project PUBLIC "-//ControlTier Software Inc.//DTD Project Document 1.0//EN" "project.dtd"> <project> <!-- ** ** Define the Deployment ** --> <deployment type="Deployment" name="deployment1" description="A fictitious deployment." installRoot="/opt/deployment/installroot" basedir="/opt/deployment/basedir"> </deployment> </project>
You can load this XML file using the ProjectBuilder load-objects command like so:
ctl -p project -m ProjectBuilder -c load-objects -- -filename deployment.xml
Use the ProjectBuilder
find-objects command to list all "Deployment" instances:
$ ctl -p demo -m ProjectBuilder -c find-objects -- -type Deployment | |--(Deployment) deployment1
This category has only the following subcategory.
- [+] Configure (0)