Starting and Stopping the Cache Manager

The following sections describe how to start and stop the Cache Manager.I

Starting the Cache Manager

Use the cachemgrd command to start the Cache Manager daemon.

Syntax:

>>-cachemgrd----c--config_file---------------------------------><
 

Parameters:

cachemgrd
The command keyword.

config_file
Specifies the name of the file where the Cache Manager and each of the caches managed by the Cache Manager are defined. The configuration file shipped with the Net.Data product is cachemgr.cnf.

Example:

cachemgrd -c myconfig.cfg

Stopping the Cache Manager

Use the cacheadm command to stop the Cache Manager.

Syntax:

>>-cacheadm----+---------------------+---+-----------------+---->
               '-hostname--hostname--'   '-port--port_num--'
 
>----terminate-------------------------------------------------><
 

Parameters:

cacheadm
The command keyword.

hostname
Specifies the name of the machine where the cache is running, if it is different from the machine where the cacheadm command is issued.

port_num
Specifies the cache port number, if the number is different from the default (7175).

terminate
Specifies to stop the Cache Manager.

Example:

cacheadm hostname host1 port 7178 terminate 


[ Top of Page | Previous Page | Next Page | Index ]