Use the deployEventService command to
deploy the event service application onto your server.
Purpose
The
deployEventService command
is a Common Event Infrastructure administrative command is available
for the AdminTask object. Use this command to deploy and configure
the event service on a server or cluster. For more information about
the AdminTask object, see the WebSphere Application Server documentation.
Note: The product uses a Jython
version that does not support Microsoft Windows 2003, Windows Vista, or Windows 7 operating systems.
Parameters
- - nodeName
- The name of the node where the event service should be deployed.
If this parameter is specified, then the serverName parameter must
be specified. You must not specify this parameter if the clusterName
parameter is specified.
- - serverName
- The name of the server where the event service should be deployed.
You must specify this parameter if the nodeName parameter
is specified. You must not specify this parameter if the clusterName parameter
is specified.
- - clusterName
- The name of the cluster where the event service should be deployed.
You must not specify this parameter if the nodeName or serverName parameter
are specified.
- - enable
- Set this parameter to true if you want the event
service to be started after the next restart of the server. The default
value is true.
Sample
Batch mode example usage:
Using Jacl:
$AdminTask deployEventService {-nodeName node_name
-serverName server_name}
$AdminTask deployEventService {-clusterName cluster_name
-enable false}
Using Jython string:
AdminTask.deployEventService('[-nodeName node_name
-serverName server_name]')
AdminTask.deployEventService('[-clusterName cluster_name
-enable false]')
Using Jython list:
AdminTask.deployEventService(['-nodeName', 'node_name',
'-serverName', '-server_name'])
AdminTask.deployEventService(['-clusterName', 'cluster_name',
'-enable', 'false'])
Interactive mode example usage:
Using Jacl:
$AdminTask deployEventService {-interactive}
Using Jython string:
AdminTask.deployEventService('[-interactive]')
Using Jython list:
AdminTask.deployEventService(['-interactive'])