Caching LAM
In our HA architecture, Caching LAM 1 and 2 run in an active / passive HA pair. The LAM components are installed on servers 6 ,7, 9 and 10:
Core 1: Server 6
Core 2: Server 7
Caching LAM 1: Server 6
Caching LAM 2: Server 7
Local RabbitMQ Node 1 on LAM 1: Server 9
Local RabbitMQ Node 2 on LAM 2: Server 10
Install Caching LAM 1 and LAM 2
Make a copy of the corresponding Config LAM file and rename it accordingly. The default config file is
$MOOGSOFT_HOME/config/mooms_cache_lam.conf
.Edit the config file to populate the
brokers
andvirtual_host
properties:brokers: [ { host : "<server 9 hostname>", port : 5672 }, { host : "<server 10 hostname>", port : 5672 } } ], virtual_host : "<local RabbitMQ ZONE name>",
Configure the
ha
section of the same file according to the type of LAM and its corresponding HA setup.Create the service script pointing to the file.