UnmanagedNodeCommands command group for the AdminTask object
You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. The commands and parameters in the UnmanagedNodeCommands group can be used to create and query for managed and unmanaged nodes. An unmanaged node is a node that does not have a node agent or a deployment manager.
The UnmanagedNodeCommands command group for the AdminTask object includes the following commands:
createUnmanagedNode
Create a new unmanaged node in the configuration. An unmanaged node is a node that does not have a node agent or a deployment manager. Unmanaged nodes can contain Web servers, such as IBM HTTP Server.
Target object None
Parameters and return values
- -nodeName
- The name that will represent the node in the configuration repository. (String, required)
- -hostName
- The host name of the system associated with this node. (String, required)
- -nodeOperatingSystem
- The operating system in use on the system associated with this node. Valid entries include... os400, aix, hpux, linux, solaris, windows, and os390.(String required)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask createUnmanagedNode {-nodeName myNode -hostName myHost -nodeOperatingSystem linux}
- Use Jython string:
AdminTask.createUnmanagedNode('[-nodeName jjNode -hostName jjHost -nodeOperatingSystem linux]')
- Use Jython list:
AdminTask.createUnmanagedNode(['-nodeName', 'jjNode', '-hostName', 'jjHost', '-nodeOperatingSystem', 'linux'])
Interactive mode example usage:
- Use Jacl:
$AdminTask createUnmanagedNode {-interactive}
- Use Jython string:
AdminTask.createUnmanagedNode ('[-interactive]')
- Use Jython list:
AdminTask.createUnmanagedNode (['-interactive'])
listManagedNodes
Use the listManagedNodes command to list the managed nodes, nodes that have a node agent defined, in a configuration.Target object None
Parameters and return values
- Parameters: None
- Returns: List
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask listManagedNodes
- Use Jython string:
AdminTask.listManagedNodes()
- Use Jython list:
AdminTask.listManagedNodes()
listUnmanagedNodes
Use the listUnmanagedNodes command to list the unmanaged nodes in a configuration.Target object None
Parameters and return values
- Parameters: None
- Returns: List
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask listUnmanagedNodes
- Use Jython string:
AdminTask.listUnmanagedNodes()
- Use Jython list:
AdminTask.listUnmanagedNodes()
Interactive mode example usage:
- Use Jacl:
$AdminTask listUnmanagedNodes {-interactive}
- Use Jython string:
AdminTask.listUnmanagedNodes ('[-interactive]')
- Use Jython list:
AdminTask.listUnmanagedNodes (['-interactive'])
removeUnmanagedNode
Use the removeUnmanagedNode command to remove an unmanaged node from the configuration.Target object None
Parameters and return values
- -nodeName
- The name of the unmanaged node. (String, required)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask removeUnmanagedNode {-nodeName myNode }
- Use Jython string:
AdminTask.removeUnmanagedNode('[-nodeName myNode]')
- Use Jython list:
AdminTask.removeUnmanagedNode(['-nodeName', 'myNode'])
Interactive mode example usage:
- Use Jacl:
$AdminTask removeUnmanagedNode {-interactive}
- Use Jython string:
AdminTask.createUnmanagedNode ('[-interactive]')
- Use Jython list:
AdminTask.createUnmanagedNode (['-interactive'])
Related tasks
Use the AdminTask object for scripted administration
Related Reference
Commands for the AdminTask object