Use the pluginIntelligentManagement.py script to perform Intelligent Management functions.
To learn more about the Intelligent Management capabilities, read about configuring Intelligent Management for web servers.
The pluginIntelligentManagement.py script is in the app_server_root/bin directory. Before you run this script, ensure that you have the environment variable WAS_HOME configured to point to your WebSphere® directory.
Adds a remote cell to the list of cells for this web server. This operation enables a web server to extend the Intelligent Management service to multiple cells.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<remoteCellHost> | Specifies the host name for the remote cell. |
<remoteCellPort> | Specifies the port for the remote cell. |
<importCertificates> | Specifies whether to import certificates. Valid values are true or false. |
<remoteCellUserId> | Specifies the user ID for the remote cell. |
<remoteCellPassword> | Specifies the password for the remote cell. |
<enableRemoteCellConnectors> | Enables Intelligent Management remote cell connectors. Valid values are true or false. |
<remoteCellId> | Specifies a unique cell identifier. The default is the cell host name. |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython addRemoteCell
myNode:myWebserver remoteHostname 8879 true
Adds the remote cell that is managed by the server at remoteHostname:8879 to the list of cells that myWebserver can communicate with via Intelligent Management.
Removes a remote cell from the list of cells for this web server. Use this operation to configure the Intelligent Management environment.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<remoteHost> | Specifies the host name for the remote cell. |
<remotePort> | Specifies the port for the remote cell. |
<deleteCertificates> | Deletes certificates. Valid values are true or false. |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython deleteRemoteCell
myNode:myWebserver remoteHostname 8879 true
Removes the remote cell that is managed by the server at remoteHostname:8879 from the list of cells that myWebserver can communicate with via Intelligent Management.
Disables Intelligent Management for this web server if Intelligent Management is not required.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython disable
myNode:myWebserver
Disables the Intelligent Management service for myWebServer.
Enables Intelligent Management for a web server. By enabling theIntelligent Management service, you can take advantage of Intelligent Management capabilities.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<retryInterval> | Specifies the time interval (in seconds) between connection attempts. |
<maxRetries> | Specifies the maximum number of retries for enabling the Intelligent Management service. Valid values are: zero, positive integer numbers, and infinite. |
<cellId> | Specifies a unique cell identifier. |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython enable
myNode:myWebserver
Enables the Intelligent Management service for myWebServer.
This operation lists the remote cells for a web server. These remote cells are available for Intelligent Management service.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython listRemoteCells
myNode:myWebserver
Lists the remote cells that the Intelligent Management service on myWebserver can reach.
Modifies Intelligent Management properties for a web server. Use this operation to configure your Intelligent Management service.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<retryInterval> | Specifies the time interval (in seconds) between connection attempts. |
<maxRetries> | Specifies the maximum number of retries for enabling the Intelligent Management service. Valid values are: zero, positive integer numbers, and infinite. |
<cellId> | Specifies a unique cell identifier. |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython modify
myNode:myWebserver -i 10 -r 5
Changes the settings for communicating with the Intelligent Management service on myWebserver to retry connecting a maximum of five times, with a 10-second wait after a failure.
Modifies a remote cell for a web server. Use this operation to change remote cell properties.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<remoteCellHost> | Specifies the host name for the remote cell. |
<remoteCellPort> | Specifies the port for the remote cell. |
<enableRemoteCellConnectors> | Enables Intelligent Management remote cell connectors. Valid values are true or false. |
<remoteCellId> | Specifies a unique cell identifier. |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython modifyRemoteCell
myNode:myWebserver remoteHostname 8879 -u username -w password
Changes the login credentials for the remote cell that is managed by the server at remoteHostname:8879 to username and password.
Use this operation to refresh the local cell connectors for your web server.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython refreshLocalCell
myNode:myWebserver
Refreshes the local cell connectors on myWebserver.
Use this operation to refresh the remote cell connectors for your web server.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<remoteCellHost> | Specifies the host name for the remote cell. |
<remoteCellPort> | Specifies the port for the remote cell. |
<remoteCellUserId> | Specifies the user ID of the remote cell. |
<remoteCellPassword> | Specifies the password for the remote cell. |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython refreshRemoteCell
myNode:myWebserver remoteHostname 8879
Refreshes the local information about remoteHostname:8879.
Sets the conditional trace specification for a web server. Use this operation to configure conditional tracing from the web server plug-in.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<traceCondition> | Specifies the trace condition. |
<traceSpecification> | Indicates the trace specification. For each
trace specification, you can indicate one of the following levels:
|
./wsadmin.sh -f pluginIntelligentManagement.py addConditionalTraceRule unmanagednode1:ws1
-x "port=3" -s "control.mapper:INFO"
Adds the rule control.mapper:INFO with the condition port=3 on a web server ws1.
Sets the default trace rule for a web server.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
<traceSpecification> | Indicates the trace specification. For each
trace specification, you can indicate one of the following levels:
|
./wsadmin.sh -f pluginIntelligentManagement.py setDefaultTraceRule unmanagednode1:ws1
-s "control.mapper:ERROR"
Sets the default rule control.mapper:ERROR for a web server ws1.
Removes a conditional trace rule from your web server. Use this operation to manage the conditional trace rules in your environment.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
./wsadmin.sh -f pluginIntelligentManagement.py removeConditionalTraceRule unmanagednode1:ws1
Removes the conditional trace rules on the web server ws1.
Lists the trace rules for a web server. These trace rules are set on your web server.
Argument | Description |
---|---|
<webServerNode> | Specifies the web server node name. (String, required) |
<webServerName> | Specifies the web server name. (String, required) |
./wsadmin.sh -f pluginIntelligentManagement.py listTraceRules unmanagednode1:ws1
default control.mapper:ERROR true
Lists trace rules on web server ws1. The output of the command is default control.mapper:ERROR true.
Generates a plug-in that is required by the web server. The plug-in configuration file stores all your Intelligent Management settings.
Argument | Description |
---|---|
<dmgrRoot> | Specifies the deployment manager profile directory. |
<cellName> | Specifies the name of the cell which contains the web server to be configured. |
<nodeName> | Specifies the name of the node which contains the web server to be configured. |
<webServerName> | Specifies the name of the web server to be configured. |
./wsadmin.sh -f pluginIntelligentManagement.py -lang jython
generatePlugin /opt/WebSphere/AppServer/profiles/Dmgr01 myCell myNode myWebserver
Generates the Intelligent Management files that are required by myWebserver.