Home

 

Synchronize news data with other features

Edit settings in the news-config.xml file to define the interval at which data from each of the IBM Lotus Connections features is synchronized with the news repository.

To edit configuration files, use the IBM WebSphere Application Server wsadmin client. See Start the wsadmin client for details.

To ensure that the information received by the news repository is analyzed correctly, you need to synchronize data between the other Lotus Connections features and the news repository. Synchronizing the data regularly ensures that the information in the news repository is kept up-to-date. The interval at which data is synchronized is specified using the frequencyInHours setting. For example, if the frequencyInHours setting is set to 24, that means that information is copied over only if it hasn't been copied in the last 24 hours. To configure the data synchronization task...

  1. Use the wsadmin client to access and check out the news configuration file.

    1. After the wsadmin command environment has initialized, use one of the following commands to initialize the news environment and start the news script interpreter:

      If you are asked to select a server, you can select any server.

    2. 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: Type the following command while in the wsadmin command processor:

          print AdminControl.getCell()

      For example:

        NewsCellConfig.checkOutConfig("d:/temp", "NewsServerNode01Cell")
        

      The command displays this message:

        News Cell Level configuration file successfully checked out.
        

  2. Open news-config.xml in a text editor.

  3. Locate the section containing the dataSynchronization task and make the necessary changes. For example, the following code specifies that data is synchronized between the news repository and the Lotus Connections features every 24 hours.

      <dataSynchronization>
        <frequencyInHours>24</frequencyInHours>
      </dataSynchronization>
      

  4. After making changes, check the configuration files back in, and do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes for information about how to save and apply your changes.


Administer the news repository

 

Related tasks

Apply property changes

Accessing the news configuration file


+

Search Tips   |   Advanced Search