Editing the events-config.xml file
Edit the events-config.xml file to change how events are collected and managed
About this task
To edit the events configuration file, you must check it out first.
Procedure
- Start the
wsadmin client by completing the following steps:
- Use the following command to access IBM® Connections configuration files:
execfile("connectionsConfig.py")
- Check out the events-config.xml file:
LCConfigService.checkOutEventsConfig("working_directory", "cell_name")
where:- working_directory is
the temporary working directory to which configuration files are copied.
The files are kept in this working directory while you edit them. Notes:
- When you specify a path to the working directory on a system that is running Microsoft® Windows®, use a forward slash for the directory. For example: "C:/temp".
- AIX®, and Linux® only: The directory must grant write permissions or the command fails.
- cell_name is the
name of the WebSphere® Application
Server cell that hosts the IBM® Connections
application. If you do not know the cell name, display it by typing
the following command in the wsadmin client: print AdminControl.getCell()Note: This input parameter is case-sensitive.
For example:LCConfigService.checkOutEventsConfig("C:/temp","foo01Cell01")
- working_directory is
the temporary working directory to which configuration files are copied.
The files are kept in this working directory while you edit them.
- Go to the working directory that you specified in Step 3, open the events-config.xml file, and edit the properties that you want to change.
- Check in the file:
LCConfigService.checkInEventsConfig("working_directory", "cell_name")
Note: You must check in the file during the same wsadmin session in which you checked it out. -
Deploy the changes by synchronizing the nodes: synchAllNodes()
-
To exit the wsadmin client, type
exit
at the prompt. - Stop and restart the servers that host the IBM® Connections.