Starting the cache server service

This content applies to version 7.2.1 or later. The cache server service must be running before you can use the cache server.

About this task

Run the ccm_cache command to start the cache server. You must run the command on the machine where the cache server is located.

You must run the command as ccm_root.

You must start the cache server each time the server computer is rebooted.

ccm_cache [ -start | -stop | -status | -version] [-http | -https] [-debug] [-port <server port>]
-start
Starts the cache server.
-stop
Stops the cache server.
-status
Displays the status of the cache server.
-version
Displays the patch level and version information.
-http
Starts the cache server in http mode. This option must be used only with the -start argument. This is the default mode.
-https
Starts the cache server in https mode. This option must be used only with the -start argument.
-debug
Starts the cache server in debug mode for debugging issues, if any. This option must be used only with the -start argument.
-port
Specifies the port number. When used with the -start argument, it starts the cache server on the specified port number. When used with -stop argument, it stops the cache server running on the specified port number. If this is not specified, then it uses the default port number mentioned in the ccm.cache.server.properties file defined as CACHE_SERVER_PORT.

Procedure

  1. Set the user to ccm_root:
    $ su - ccm_root
    Password: *****
    $ CCM_HOME=ccm_home; export CCM_HOME
    $ PATH=$CCM_HOME/bin:$PATH; export PATH
  2. Start the cache server:
    $ cd $CCM_HOME/bin
    $ ./ccm_cache -start
  3. Ensure that the cache server is running:
    $ cd $CCM_HOME/bin
    $ ./ccm_cache -status
  4. Exit from user ccm_root:

    $ exit

  5. To stop the cache server, set the user to ccm_root, and then run this command:
    $ su - ccm_root
    Password: *****
    $ CCM_HOME=ccm_home; export CCM_HOME
    $ PATH=$CCM_HOME/bin:$PATH; export PATH
  6. Stop the cache server:
    $ cd $CCM_HOME/bin
    $ ./ccm_cache -stop

What to do next

After the cache server is installed and the cache server services are started, configure the main server and the client to use the cache server .

Feedback