Configure a new referenceable
An example configuring a new referenceable follows:
- Identify the parent ID and assign it to the newrep variable.
set newrep [$AdminConfig getid /Cell:cellname/Node:nodename/ResourceEnvironmentProvider:REP1/]
An example of this output follows:
REP1(cells/cellname/nodes/nodename:resources.xml#ResourceEnvironmentProvider_1)- Identify the required attributes:
$AdminConfig required Referenceable
An example of this output follows:
Attribute Type factoryClassname String classname String- Set up the required attributes:
set fcn [list factoryClassname REP1] set cn [list classname NM1] set refAttrs [list $fcn $cn]
An example of this output follows:
{factoryClassname {REP1}} {classname {NM1}}- Create a new referenceable:
set newref [$AdminConfig create Referenceable $newrep $refAttrs]
An example of this output follows:
(cells/cellname/nodes/nodename:resources.xml#Referenceable_1)- Save changes:
$AdminConfig save
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.