Intelligent Management capabilities are available for Apache or IBM HTTP servers in managed and unmanaged nodes. You can use the command line to run administrative tasks for Intelligent Management.
The GenPluginCfg command generates a plug-in from the command-line interface. If you run this command, Intelligent Management capabilities are included, if they are enabled. To learn more about the Intelligent Management capabilities, read about configuring Intelligent Management for web servers.
Run the following commands from the wsadmin command prompt:
The addRemoteCellToIntelligentManagement command adds remote cell connectors to Intelligent Management.
Required parameters
Optional parameters
Batch mode example usage
$AdminTask addRemoteCellToIntelligentManagement {-node unmanagednode1 -webserver ws1 -host test1.ibm.com -port 8879 -userid janedoe -password pw1234 -importCertificates true} (cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)
AdminTask.addRemoteCellToIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1', '-host', 'test1.ibm.com', '-port', '8879', '-userid', 'janedoe', '-password', 'pw1234', '-importCertificates', 'true']) '(cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)'
Interactive mode example usage
$AdminTask addRemoteCellToIntelligentManagement {-interactive}
AdminTask.addRemoteCellToIntelligentManagement ('[-interactive]')
The addConditionalTraceRuleForIntelligentManagement command adds conditional trace rules for Intelligent Management.
Required parameters
Optional parameters
Batch mode example usage
wsadmin>$AdminTask addConditionalTraceRuleForIntelligentManagement { -node unmanagednode1 -webserver ws1 -spec "http.request:DEBUG" -condition "port=1" }
AdminTask.addConditionalTraceRuleForIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1', '-spec', 'http.request:DEBUG', '-condition', 'port=1'])
Interactive mode example usage
$AdminTask addConditionalTraceRuleForIntelligentManagement {-interactive}
AdminTask.addConditionalTraceRuleForIntelligentManagement ('[-interactive]')
The removeConditionalTraceRuleForIntelligentManagement command removes conditional trace rules for Intelligent Management.
Required parameters
Optional parameters
None.
Batch mode example usage
wsadmin>$AdminTask removeConditionalTraceRuleForIntelligentManagement { -node unmanagednode1 -webserver ws1 }
AdminTask.removeConditionalTraceRuleForIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1'])
Interactive mode example usage
$AdminTask removeConditionalTraceRuleForIntelligentManagement {-interactive}
AdminTask.removeConditionalTraceRuleForIntelligentManagement ('[-interactive]')
The setDefaultTraceRuleForIntelligentManagement command sets a default trace rule for Intelligent Management trace specification.
Required parameters
Optional parameters
Batch mode example usage
wsadmin>$AdminTask setDefaultTraceRuleForIntelligentManagement { -node unmanagednode1 -webserver ws1 -spec "control.mapper:ERROR" }
AdminTask.setDefaultTraceRuleForIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1', '-spec', 'control.mapper:ERROR']) '(cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)'
Interactive mode example usage
$AdminTask setDefaultTraceRuleForIntelligentManagement {-interactive}
AdminTask.setDefaultTraceRuleForIntelligentManagement ('[-interactive]')
The listTraceRulesForIntelligentManagement command lists Intelligent Management trace rules.
Required parameters
Optional parameters
None.
Batch mode example usage
wsadmin>$AdminTask listTraceRulesForIntelligentManagement { -node unmanagednode1 -webserver ws1 } "default control.mapper:ERROR true" "1 http.request:DEBUG port=1"
AdminTask.listTraceRulesForIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1'])
Interactive mode example usage
$AdminTask listTraceRulesForIntelligentManagement {-interactive}
AdminTask.listTraceRulesForIntelligentManagement ('[-interactive]')
The addPluginPropertyForIntelligentManagement command adds a child <Property> element to the <IntelligentManagement> element in the plugin-cfg.xml file. The format in the plugin-cfg.xml file is: <Property name=inputname value=inputvalue/>
Required parameters
Optional parameters
None.
Batch mode example usage
$AdminTask addPluginPropertyForIntelligentManagement {-node node1 -webserver ws1 -name INPUTNAME -value inputvalue}
AdminTask.addPluginPropertyForIntelligentManagement(['-node', 'node1', '-webserver', 'ws1', '-name INPUTNAME', '-value', 'inputvalue'])
Interactive mode example usage
$AdminTask addPluginPropertyForIntelligentManagement {-interactive}
AdminTask.addPluginPropertyForIntelligentManagement ('[-interactive]')
The removePluginPropertyForIntelligentManagement command removes a child <Property> element from the <IntelligentManagement> element in the plugin-cfg.xml file.
Required parameters
Optional parameters
None.
Batch mode example usage
$AdminTask removePluginPropertyForIntelligentManagement {-node node1 -webserver ws1 -name INPUTNAME}
AdminTask.removePluginPropertyForIntelligentManagement(['-node', 'node1', '-webserver', 'ws1', '-name INPUTNAME'])
Interactive mode example usage
$AdminTask removePluginPropertyForIntelligentManagement {-interactive}
AdminTask.removePluginPropertyForIntelligentManagement ('[-interactive]')
The deleteRemoteCellFromIntelligentManagement command deletes a remote cell from Intelligent Management.
Required parameters
Optional parameters
None.
Batch mode example usage
$AdminTask deleteRemoteCellFromIntelligentManagement {-node unmanagednode1 -webserver ws1 -host test1.ibm.com -port 8879 -deleteCertificates true} (cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)
AdminTask.deleteRemoteCellFromIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1', '-host', 'test1.ibm.com', '-port', '8879', '-deleteCertificates', 'true']) '(cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)'
Interactive mode example usage
$AdminTask deleteRemoteCellFromIntelligentManagement {-interactive}
AdminTask.deleteRemoteCellFromIntelligentManagement ('[-interactive]')
The disableIntelligentManagement disables Intelligent Management on your web server.
Required parameters
Optional parameters
None.
Batch mode example usage
$AdminTask disableIntelligentManagement {-node unmanagednode1 -webserver ws1} (cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)
AdminTask.disableIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1']) '(cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)'
Interactive mode example usage
$AdminTask disableIntelligentManagement {-interactive}
AdminTask.disableIntelligentManagement ('[-interactive]')
The enableIntelligentManagement command enables Intelligent Management.
Required parameters
Optional parameters
Batch mode example usage
$AdminTask enableIntelligentManagement {-node unmangednode1 -webserver ws1 -retryInterval 120 -maxRetries "-1"} (cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)
AdminTask.enableIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1', '-retryInterval', '120', '-maxRetries', '-1']) '(cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)'
Interactive mode example usage
$AdminTask enableIntelligentManagement {-interactive}
AdminTask.enableIntelligentManagement ('[-interactive]')
The listRemoteCellsFromIntelligentManagement command lists remote cells.
Required parameters
Optional parameters
None.
Batch mode example usage
wsadmin>$AdminTask listRemoteCellsFromIntelligentManagement { -node unmanagednode1 -webserver ws1 } "testell07 test1.ibm.com:8879" wsadmin>
wsadmin>AdminTask.listRemoteCellsFromIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1']) 'testCell07 test1.ibm.com:8879' wsadmin>
Interactive mode example usage
$AdminTask listRemoteCellsFromIntelligentManagement {-interactive}
AdminTask.listRemoteCellsFromIntelligentManagement ('[-interactive]')
The modifyIntelligentManagement command modifies Intelligent Management properties.
Required parameters
Optional parameters
Batch mode example usage
$AdminTask modifyIntelligentManagement {-node unmanagednode1 -webserver ws1 -retryInterval 90} (cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)
AdminTask.modifyIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1', '-retryInterval', '90']) '(cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)'
Interactive mode example usage
$AdminTask modifyIntelligentManagement {-interactive}
AdminTask.modifyIntelligentManagement ('[-interactive]')
The refreshCellForIntelligentManagement command refreshes cell connectors for Intelligent Management. Local and remote cells can be refreshed.
Required parameters
Optional parameters
Batch mode example usage
$AdminTask refreshCellForIntelligentManagement {-node unmanagednode1 -webserver ws1 -local false -host test1.ibm.com -port 8879 -userid janedoe -password pw1234}
AdminTask.refreshCellForIntelligentManagement(['-node', 'unmanagednode1', '-webserver', 'ws1 ', '-local', 'false', '-host', 'test1.ibm.com', '-port', '8879', '-userid', 'janedoe', '-password', 'pw1234']) '(cells/testCell08/nodes/unmanagednode1/servers/ws1|intellmgmt.xml #IntelligentManagement_1350344826526)'
Interactive mode example usage
$AdminTask refreshCellForIntelligentManagement {-interactive}
AdminTask.refreshCellForIntelligentManagement ('[-interactive]')