Home
Access the news configuration file
To make configuration changes to the news component in IBM Lotus Connections, first access the news configuration file.
To edit configuration files, use wsadmin. See Start wsadmin for information about how to start the wsadmin command-line tool.
To change news configuration settings...
Use wsadmin to access and check out the news configuration files.
- After the wsadmin command environment has initialized, use one of the following commands to initialize the news environment and start the news script interpreter:
- Stand-alone deployment:
execfile("newsAdmin.py")
- Network deployment:
execfile("WAS_HOME\profiles\Dmgr01\config\bin_lcadmin\newsAdmin.py")
If you are asked to select a server, you can select any server.
- Check out the news cell-level configuration file...
NewsCellConfig.checkOutConfig("<working_dir>", "<cellName>")where:
- <working_dir> is the temporary to which you want to check out the cell-level configuration file. This must exist on the server where you are running wsadmin.
- <cellName> is the name of the cell that the home page node belongs to. This argument is required even in stand-alone deployments. This argument is also case-sensitive, so type it with care. If you do not know the cell name, do one of the following to determine it:
- Stand-alone deployment: Look at the name after the following in the file system:
WAS_HOME/profiles/profile_name/config/cells/
- Network deployment: From wsadmin...
print AdminControl.getCell()
For example:
NewsCellConfig.checkOutConfig("d:/temp", "NewsServerNode01Cell")The command displays this message:
News Cell Level configuration file successfully checked out.
- Navigate to the temporary in which you saved the news-config.xml file, and then open the file in a text editor and update the following parameters as required.
News configuration parameters
Parameter Description NewsDataCleanup task Defines the interval at which the databaseCleanup task runs. For more information about this task, see Configuring database clean-up. storyLifetimeInDays Specifies the interval at which news stories are deleted from the news repository. For more information, see Configuring database clean-up. dataSynchronization frequencyInHours Specifies the interval at which data is synchronized between the news repository and the Lotus Connections feature databases. For more information, see Synchronizing news data with other features.
- Check the configuration file back in after making changes, and it must be checked in during the same wsadmin session in which it was checked out for the changes to take effect. See Applying property changes for details.
- Apply property changes
After making changes to news configuration settings, check in the configuration settings and restart the server to apply the changes.
Administer the news repository
Related tasks
Synchronize news data with other features