Starting and stopping the object registrar (objreg)

The object registrar registers all changes made to Rational® Synergy database objects so that each user view of the database stays up to date. You must run one objreg process per database host, at all times, on the database server machine. To determine on which host to run a database object registrar, run the ccmdb info database_path -k HOSTNAME command.

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

Start this process by running the ccm_objreg or ccm_start_daemons command.

The default log file for the object registrar is $CCM_HOME/log/ccm_objreg.log.

Procedure

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

      $ ccm_objreg

    3. Exit from user ccm_root.
  2. Stop the object registrar.
    1. Set user to ccm_root.
      $ su - ccm_root
      Password: *****
    2. Find the objreg process ID. $ ccm monitor -process objreg
      You see output like the following example:
      Rational Synergy process monitor...1 process(es) located:
      user        process      host      port      pid      database path
      ----        -------      ----      ----      ---      -------------
      ccm_root     objreg      orbit     34525     7288      -

      Note the process ID of the objreg (for example, 7288).

    3. Stop the object registrar process.

      $ kill process_ID

    4. Exit from user ccm_root.

Feedback