Access the News configuration file 

To make configuration changes to the News component in IBM Connections, first access the News configuration file.


Before you begin

To access configuration files, use the wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.


Procedure

To change News configuration settings...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./wsadmin.sh -jython
      execfile("newsAdmin.py")

      If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.

  2. Check out the News cell-level configuration file using the following command:

      NewsCellConfig.checkOutConfig("<working_dir>", "<cellName>")

      where:

      • <working_dir> is the temporary directory to which you want to check out the cell-level configuration file. This directory must exist on the server where you are running wsadmin.

          Note: AIX and Linux only: The directory must grant write permissions or the command will not run successfully.

      • <cellName> is the name of the cell that the home page node belongs to. This argument is required. It is also case-sensitive, so type it with care. If you do not know the cell name, type the following command in the wsadmin command processor to determine it:

          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 directory 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.

  • You must 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 Apply property changes in the News repository for details.


    Parent topic

    Administer the News repository


    Related tasks


    Configure database clean-up for the News repository
    Synchronize News data with other applications
    IBM Connections configuration property values
    Reallocating and load balancing users according to mail domain


       

     

    });