Starting and stopping the message router (router)

The message router registers and requests information from other processes so that those processes can communicate with one another. The router allows the maximum number of file descriptors (that is, sessions) allowed by the system, with an upper limit of 4096. Your system administrator can change the number of file descriptors in the kernel parameters if an insufficient number is allowed.

Before you begin

If you did not set up CCM_HOME and PATH for user ccm_root during installation, set these environment variables now.

About this task

You must run one router process per network installation, on the router host specified during the installation. Start this process by running the ccm_router or ccm_start_daemons command.

The default log file for the router is $CCM_HOME/log/ccm_router.log.

Procedure

  1. Start the router.
    1. Set user to ccm_root.
      $ su - ccm_root
      Password: *****
    2. Start the router.

      $ ccm_router

    3. Exit from user ccm_root.
  2. Stop the message router daemon.
    1. Set user to ccm_root.
      $ su - ccm_root
      Password: *****
    2. Find the router process ID.
      $ ccm monitor -process router
      You see output like the following example:
      Rational Synergy process monitor...1 process(es) located:
      user          process      host      port      pid      database path
      ----          -------      ----      ----      ---      -------------
      ccm_root      router      galaxy     1514     12220      -

      Note the router process ID (for example, 12220).

    3. Kill the router process.

      $ kill process_ID

    4. Exit from user ccm_root.

Feedback