Configure the Route Cache Controller
Perform this task to configure the Route Cache Controller (RCC) service after an initial installation of the MATRIXX software. Perform this procedure for each RCC service that is to run in your environment.
Before you begin
This procedure assumes you have already done the following:
- Downloaded the Traffic Routing Agent RPM on the host on which the Route Cache Controller service is to run.
- Obtained the IP address or host name and port values (and VIP address or host name, if applicable) to use to configure the RCC for your environment. See the discussion about information requirements for sub-domain routing for details about connection-parameter values you must enter when configuring the Route Cache Controller.
- Configured the TRA-RT-(SI/DR) service that communicates with the Route Cache Controller service. See the discussion about configuring MATRIXX Traffic Routing Agent for details about configuring a TRA-RT-(SI/DR).
- Configured the TRA-RT-(SI/DR) service that is to run on the host with the Route Cache Controller, and validated its configuration (ran the validate_tra_config.py script). See the discussion about configuring a TRA-RT-(SI/DR) for details.
Important: Each RCC instance in your environment (active RCC, RCC level 1, standby
RCC and inter-site RCC instances) must have its own configuration file (
/opt/tra/data/rcc_base.cfg
) with the correct IP address
or host name (and VIP address or host name, if applicable) and port information for the host
where the RCC instance is running. For more information about the MATRIXX environment variables, see the discussion about container directories and environment variables in MATRIXX Installation and Upgrade.
Procedure
-
Edit the Route Cache Controller configuration properties file (
rcc_base.cfg
): -
Run the
create_rc_config.py script on the host to update
the local configuration:
create_rc_config.py /opt/tra/data/rcc_base.cfgThe script enables the RCC service on the host and sets all required RCC configurations.
-
Change to the TRA
${MTX_CONF_DIR} directory
(/opt/tra/conf).
cd_config_dir
-
After the initial run of the create_rc_config.py script on the host,
if you must re-run the script to re-set an RCC connection parameter on the local
configuration, do the following:
- Run create_config.py.
- Run validate_tra_config.py.
- Run create_rc_config.py.