...
IMPORTANT: All the servers should be setup with the following
a. opHA 4 needs to be currently installed
b. Pollers and mirrors discovered by the Main Primary
bc. Server names set
cd. MongoDB 6 installed
We will be using the below example host names throughout this guide.
...
Edit Configuration: Update the
/etc/nats-server.conf
file with the following settings:Remove or comment out the
cluster
section, so that this remains:Code Block language json server_name: "opha-primary1.opmantek.net" #The local server http_port: 8222 listen: 4222 jetstream: enabled accounts { $SYS { users = [ { user: "admin", pass: "password" } ] } ophad: { users: [ { user: "omkadmin", password: "op42opha42" } ] jetstream: enabled } } jetstream { store_dir: "/opt/nats/storage" max_memory_store: 1028M max_file_store: 1028M }
...