Commands for the UnmanagedNodeCommands group of the AdminTask object
Use the Jython (recommended) 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.
For more information about the AdminTask object, see the Commands for the AdminTask object article.
The following commands are available for the UnmanagedNodeCommands group of the AdminTask object:
Command name: Description: Target object: Parameters and return values: Examples: createUnmanagedNode
Use the createUnmanagedNode command to 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. None
- Parameters:
- - 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 the following: os400, aix, hpux, linux, solaris, windows, and os390.(String required)
- Returns: null
Batch mode example usage:
Using Jacl
$AdminTask createUnmanagedNode {-nodeName myNode -hostName myHost -nodeOperatingSystem linux}Using Jython string
AdminTask.createUnmanagedNode('[-nodeName jjNode -hostName jjHost -nodeOperatingSystem linux]')
Interactive mode example usage:
Using Jacl
$AdminTask createUnmanagedNode {-interactive}Using Jython string
AdminTask.createUnmanagedNode ('[-interactive]')
listManagedNodes
Use the listManagedNodes command to list the managed nodes, nodes that have a node agent defined, in a configuration. None
- Parameters: None
- Returns: List
Batch mode example usage:
Using Jacl
$AdminTask listManagedNodesUsing Jython string
AdminTask.listManagedNodes()
listUnmanagedNodes
Use the listUnmanagedNodes command to list the unmanaged nodes in a configuration. None
- Parameters: None
- Returns: List
Batch mode example usage:
Using Jacl
$AdminTask listUnmanagedNodesUsing Jython string
AdminTask.listUnmanagedNodes()
Interactive mode example usage:
Using Jacl
$AdminTask listUnmanagedNodes {-interactive}Using Jython string
AdminTask.listUnmanagedNodes ('[-interactive]')
removeUnmanagedNode
Use the removeUnmanagedNode command to remove an unmanaged node from the configuration. None
- Parameters:
- - nodeName
- The name of the unmanaged node. (String, required)
- Returns: null
Batch mode example usage:
Using Jacl
$AdminTask removeUnmanagedNode {-nodeName myNode }Using Jython string
AdminTask.removeUnmanagedNode('[-nodeName myNode]')
Interactive mode example usage:
Using Jacl
$AdminTask removeUnmanagedNode {-interactive}Using Jython string
AdminTask.createUnmanagedNode ('[-interactive]')
Related tasks
Using the AdminTask object for scripted administration Related reference
Commands for the AdminTask object
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.