Category:Setting
From ControlTier
(Redirected from Setting)
The Setting is a Resource that represents a logically named configuration setting. Setting can be used to attach configuration settings to any Managed-Entity.
Contents |
Reference
Definition
Metadata
Each Setting is described with this fields:
- name: a symbolic name of the setting
- description: description of the node's role or function
- settingValue: the setting value.
- settingType: the value type
Project XML
A node can be registered in XML using the project.xml format. Here is an example.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project PUBLIC "-//ControlTier Software Inc.//DTD Project Document 1.0//EN" "project.dtd"> <project> <setting type="ServiceIsDownScript" name="tomcat1" description="The script used by assertServiceIsDown" settingValue="/home/demo/bin/tomcat-isdown.sh" settingType="script"/> <setting type="ServiceStopScript" name="tomcat1" description="The script used by stopService" settingValue="/home/demo/bin/tomcat-shutdown.sh" settingType="script"/> </project>
You can load this XML file using the ProjectBuilder load-objects command like so:
ctl -p project -m ProjectBuilder -c load-objects -- -filename settings.xml
Querying
You can also use the ProjectBuilder find-objects command to query with criteria:
ctl -p project -m ProjectBuilder -c find-objects -- -type Setting
Pages in category "Setting"
The following 4 pages are in this category, out of 4 total.