Use the removeEventServiceOracleDB command
to remove the event service and, optionally, the associated Oracle
event database.
Purpose
The
removeEventServiceOracleDB command
is a Common Event Infrastructure administrative command is available
for the AdminTask object. Use this command to remove the event service
tables and data sources for Oracle from a server or cluster. The command
does not remove the database. 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
- - removeDB
- The command removes the event service tables when this parameter
is set to true and does not remove the tables when
set to false.
- - nodeName
- The name of the node that contains the server where the event
service data source should be removed. If this parameter is specified,
then the serverName parameter must be set. You
must not specify this parameter if the clusterName parameter
is specified.
- - serverName
- The name of the server where the event service data source should
be removed. If this parameter is specified without the nodeName parameter,
the command will use the node name of the current WebSphere® profile. You must not specify
this parameter if the clusterName parameter is
specified.
- - clusterName
- The name of the cluster where the event service data source should
be removed. If this parameter is specified, then the serverName and nodeName parameters
must not be set. You must not specify this parameter if the serverName and nodeName parameters
are specified.
- - sysUser
- Oracle database sys user ID. The default value is sys if
not specified.
- - sysPassword
- The password for the user specified by the sysUser parameter.
- - dbScriptDir
- The directory containing the database scripts generated by the
event service database configuration command. If specified, the command
will run the scripts in this directory to remove the event service
database. The default database script output directory is profile_root/databases/event/node/server/dbscripts/oracle.
Sample
Batch mode example usage:
Using Jacl:
$AdminTask removeEventServiceOracleDB {-removeDB true -nodeName nodename
-serverName servername -sysUser sys -sysPassword syspassword}
Using Jython string:
AdminTask.removeEventServiceOracleDB('[-removeDB true -nodeName nodename
-serverName servername -sysUser sys -sysPassword syspassword]')
Using Jython list:
AdminTask.removeEventServiceOracleDB(['-removeDB', 'true', '-nodeName',
'nodename', '-serverName', 'servername', '-sysUser', 'sys',
'-sysPassword', 'syspassword'])
Interactive mode example usage:
Using Jacl:
$AdminTask removeEventServiceOracleDB -interactive
Using Jython string:
AdminTask.removeEventServiceOracleDB('[-interactive]')
Using Jython list:
AdminTask.removeEventServiceOracleDB(['-interactive'])