Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
UnmanagedNodeCommands command group using wsadmin.sh
Use the Jython or Jacl scripting languages to manage servers with wsadmin.sh. 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 dmgr.
The UnmanagedNodeCommands command group includes the following commands:
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 dmgr. 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 the following: os400, aix, hpux, linux, solaris, windows, and os390.(String required) Examples
Batch example...
### Jacl
$AdminTask createUnmanagedNode {-nodeName myNode -hostName myHost -nodeOperatingSystem linux}### Jython string
AdminTask.createUnmanagedNode('[-nodeName jjNode -hostName jjHost -nodeOperatingSystem linux]')
Jython list:
AdminTask.createUnmanagedNode(['-nodeName', 'jjNode', '-hostName', 'jjHost', '-nodeOperatingSystem', 'linux'])
Interactive example...
### Jacl
$AdminTask createUnmanagedNode {-interactive}### Jython string
AdminTask.createUnmanagedNode ('[-interactive]')
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 example...:
### Jacl
$AdminTask listManagedNodes### Jython string
AdminTask.listManagedNodes()
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 example...:
### Jacl
$AdminTask listUnmanagedNodes### Jython string
AdminTask.listUnmanagedNodes()
Jython list:
AdminTask.listUnmanagedNodes()
Interactive example...
### Jacl
$AdminTask listUnmanagedNodes {-interactive}### Jython string
AdminTask.listUnmanagedNodes ('[-interactive]')
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 example...
### Jacl
$AdminTask removeUnmanagedNode {-nodeName myNode }### Jython string
AdminTask.removeUnmanagedNode('[-nodeName myNode]')
Jython list:
AdminTask.removeUnmanagedNode(['-nodeName', 'myNode'])
Interactive example...
### Jacl
$AdminTask removeUnmanagedNode {-interactive}### Jython string
AdminTask.removeUnmanagedNode ('[-interactive]')
Jython list:
AdminTask.removeUnmanagedNode (['-interactive'])
Use the wsadmin scripting AdminTask object for scripted administration
Related
Commands using wsadmin.sh