Subnode configuration example
How to configure a sample agent with one defined subnode.
Example:
exs and the following three configuration
properties: Agent Cfg(actual property name isK00_AGENT_CFG) is defined only at the agent level.Subnode Cfg(actual property name isK00_SUBNODE_CFG) is defined only in the example subnode.Overridable Cfg(actual property name isK00_OVERRIDABLE_CFG) is defined at the agent level and was copied to the example subnode.


tacmd configureSystem -m HOSTNAME:00 -p "TOP.K00_AGENT_CFG=a value"
tacmd configureSystem -m HOSTNAME:00 -p "MAIN.K00_OVERRIDABLE_CFG=default value"You can place both of these properties in the same agent-level section. You can decide how many custom agent-level sections to create and how to distribute custom properties among them.

- In the initial Example Subnode section,
in the Subnode Cfg field, type
the following default string for the property:
sub-default value. - Click New. An Example Subnode subsection is displayed after the initial properties subsection.
- In the Example Subnode field,
type the following subnode instance ID:
do. - Click New. A second Example Subnode subsection is shown after the first.
- In the second Example Subnode field,
type the following subnode instance ID:
re. - In the Subnode Cfg field,
type the following value for the Subnode
Cfg property:
sc override. - In the Overridable Cfg field,
type the following value for the Overridable
Cfg property:
oc override.

The two new subsections cause the agent to create two subnode instances when it is started. Because the properties of the do subnode subsection were not changed, the default property values are used by that subnode instance. Since different values were entered for the properties in the re subsection, the re subnode instance uses those values that were typed.
tacmd configureSystem -m HOSTNAME:00 -p "exs.K00_SUBNODE_CFG=sub-default value" The
format for setting subnode default values is exactly like the format
for setting agent-level properties, except that the section name identifies
a subnode section.tacmd configureSystem -m HOSTNAME:00 -p "exs:do.K00_OVERRIDABLE_CFG=default value" \
"exs:re.K00_SUBNODE_CFG=sc override" "exs:re.K00_OVERRIDABLE_CFG=oc override"The subnode instance ID is inserted between the section name and property name. When you use the command line to create a subnode instance, at least one property must be specified, even if all the properties use default values. Otherwise, default values are not required to be specified on the command line when you define subnode instances.
tacmd configureSystem -m HOSTNAME:00 -p "TOP.K00_AGENT_CFG=a value" \
"MAIN.K00_OVERRIDABLE_CFG=default value" \
"exs.K00_SUBNODE_CFG=sub-default value" \
"exs:do.K00_OVERRIDABLE_CFG=default value" \
"exs:re.K00_SUBNODE_CFG=sc override" "exs:re.K00_OVERRIDABLE_CFG=oc override"