+

Search Tips   |   Advanced Search

(dist)(zos)(v8550)

Intelligent Management: administrative tasks for web servers

Intelligent Management capabilities are available for Apache or IBM HTTP servers in managed and unmanaged nodes. We 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 we 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 wsadmin prompt:


Command list


addRemoteCellToIntelligentManagement

The addRemoteCellToIntelligentManagement command adds remote cell connectors to Intelligent Management.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

-host

The host name for the remote cell. (String, required)

-port

The port for the remote cell. (Integer, required)

-importCertificates

Whether to import certificates. Valid values are true or false. (String, required)

Optional parameters

-cellIdentifier

Unique cell identifier. The default value is the cell name.

-userid

The user ID for the remote cell. Only required if security is enabled.

-password

The password for the remote cell. Only required if security is enabled.

-enable

Enables an Intelligent Management remote cell. The default value is true.

Batch mode example

Interactive mode


addConditionalTraceRuleForIntelligentManagement

The addConditionalTraceRuleForIntelligentManagement command adds conditional trace rules for Intelligent Management.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

-condition

Trace condition. If the condition option is not specified, then conditional trace is not set. The trace is always displayed.

-spec

Indicates the trace specification. If the -spec option is not specified, all the trace specifications are set by default. For each specification parameter, we can choose one of the following trace levels:

  • emerg

  • alert

  • critical

  • error

  • warning

  • notice

  • info

  • debug

  • off

The default level value is notice.

Batch mode example

Interactive mode


removeConditionalTraceRuleForIntelligentManagement

The removeConditionalTraceRuleForIntelligentManagement command removes conditional trace rules for Intelligent Management.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

None.

Batch mode example

Interactive mode


setDefaultTraceRuleForIntelligentManagement

The setDefaultTraceRuleForIntelligentManagement command sets a default trace rule for Intelligent Management trace specification.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

-spec

Indicates the trace specification. For each specification parameter, we can choose one of the following trace levels:

  • emerg

  • alert

  • critical

  • error

  • warning

  • notice

  • info

  • debug

  • off

The default level value is notice.

Batch mode example

Interactive mode


listTraceRulesForIntelligentManagement

The listTraceRulesForIntelligentManagement command lists Intelligent Management trace rules.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

None.

Batch mode example

Interactive mode


addPluginPropertyForIntelligentManagement

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

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

-name

Indicates the web server custom plug-in property name for Intelligent Management. (String, required)

-value

Indicates the web server custom plug-in property value for Intelligent Management. (String, required)

Optional parameters

None.

Batch mode example

Interactive mode


removePluginPropertyForIntelligentManagement

The removePluginPropertyForIntelligentManagement command removes a child <Property> element from the <IntelligentManagement> element in the plugin-cfg.xml file.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

-name

Indicates the web server custom plug-in property name for Intelligent Management. (String, required)

Optional parameters

None.

Batch mode example

Interactive mode


deleteRemoteCellFromIntelligentManagement

The deleteRemoteCellFromIntelligentManagement command deletes a remote cell from Intelligent Management.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

-host

The host name for the remote cell. (String, required)

-port

The port for the remote cell. (Integer, required)

Optional parameters

None.

Batch mode example

Interactive mode


disableIntelligentManagement

The disableIntelligentManagement disables Intelligent Management on the web server.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

None.

Batch mode example

Interactive mode


enableIntelligentManagement

The enableIntelligentManagement command enables Intelligent Management.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

-cellIdentifier

Unique cell identifier. The default value is the cell name.

-retryInterval

Retry interval (in seconds) for enabling the Intelligent Management service. The default value is 60 seconds.

-maxRetries

Maximum number of retries for enabling the Intelligent Management service. The default value is -1.

Batch mode example

Interactive mode


listRemoteCellsFromIntelligentManagement

The listRemoteCellsFromIntelligentManagement command lists remote cells.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

None.

Batch mode example

Interactive mode


modifyIntelligentManagement

The modifyIntelligentManagement command modifies Intelligent Management properties.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

-cellIdentifier

Unique cell identifier.

-retryInterval

Retry interval (in seconds) for enabling the Intelligent Management service.

-maxRetries

Maximum number of retries for enabling the Intelligent Management service.

Batch mode example

Interactive mode


refreshCellForIntelligentManagement

The refreshCellForIntelligentManagement command refreshes cell connectors for Intelligent Management. Local and remote cells can be refreshed.

Required parameters

-node

Specifies the web server node name. (String, required)

-webserver

Specifies the web server name. (String, required)

Optional parameters

-local

Specifies if the cell is local. Values are true or false

-host

The host name for the remote cell. (String, required)

-port

The port for the remote cell. (Integer, required)

-userid

The user ID for the remote cell. Only required if security is enabled.

-password

The password for the remote cell. Only required if security is enabled.

Batch mode example

Interactive mode


Related tasks

  • Configure Intelligent Management for web servers
  • Configure Intelligent Management properties for web servers
  • Configure trace on the web server plug-in

  • pluginIntelligentManagement.py script