Obtain the configuration ID of the node object.
The following examples obtain the configuration
ID of the node object and assign it to the node variable
In these examples, node_name is the name of the
node to which you are adding the new server, server_name is the name of the server you are creating, template_name is the name of the template you want used to create the server.
The AdminTask.createApplicationServer() command requires you to specify
a node name. The node name must be enclosed within single quotation
marks. The AdminConfig.create() command requires you to specify the
configuration ID of the node object. If you do not know the configuration
ID, issue the AdminConfig.getid('/Node:node_name/') command to obtain that information. ![[Updated in July 2011]](../../deltaend.gif)
jul2011
Using Jacl:
set node [$AdminConfig getid /Node:node_name/]
Using Jython:
node = AdminConfig.getid('/Node:node_name/')
![[Updated in July 2011]](../../delta.gif)
If you want to display
the configuration ID of the node object, issue the following command:
print node
![[Updated in July 2011]](../../deltaend.gif)
jul2011