Obtain the ID of the configuration object with the getid command,
for example:
Table 1. AdminConfig getid command description. Run
a command from a wsadmin command line.
set |
is a Jacl command |
var |
is a variable name |
$ |
is a Jacl operator for substituting a variable
name with its value |
AdminConfig |
is an object representing the product
configuration |
getid |
is an AdminConfig command |
/type:name/ |
is the hierarchical containment
path of the configuration object |
type |
is the object type. The name of
the object type that you input here is the one that is based on the
XML configuration files and does not have to be the same name that
is displayed in the administrative console. |
name |
is the optional name of the object |
You can specify multiple /type:name/ value pairs
in the string, for example, /type:name/type:name/type:name/.
If you specify the type in the containment path without the name,
include the colon, for example, /type:/. The containment
path must be a path that contains the correct hierarchical order.
For example, if you specify /Server:server1/Node:node/ as
the containment path, you do not receive a valid configuration ID
because Node is a parent of Server and comes before Server in
the hierarchy.
This command returns all the configuration IDs
that match the representation of the containment and assigns them
to a variable.
To look for all the server configuration IDs
that reside in the mynode node, use the code in the following
example:
To look for the server1 configuration ID
that resides in mynode, use the code in the following
example:
To look for all the server configuration IDs, use the code
in the following example: