Documentation pages
Two nodes keep the recorded sessions on the shared store (export /export/trinity-rec, chapter 5), behind one VIP. Copy TRINITY-RecServer-1.2.1-Linux.tar.gz with the checksum list to rs01 and rs02 (2.5).
8.1 Account, store and firewall (both nodes)
The service account must have the same id on both nodes, because both write the same files. The first line must print nothing.
getent passwd 2992; getent group 2992
sudo groupadd -g 2992 trinity-recsrv
sudo useradd -u 2992 -g trinity-recsrv --system --home-dir /var/lib/trinity-recsrv --shell /usr/sbin/nologin trinity-recsrv
sudo apt install -y nfs-common
sudo install -d /mnt/recstore && sudo chattr +i /mnt/recstore
echo 'nas01.corp.example.com:/export/trinity-rec /mnt/recstore nfs4 vers=4.1,hard,nosuid,nodev,noexec,_netdev,nofail 0 0' | sudo tee -a /etc/fstab
sudo systemctl daemon-reload && sudo mount /mnt/recstore && findmnt /mnt/recstore
for ip in 33 34 36 24 25 26; do sudo ufw allow from 10.0.10.$ip to any port 8443 proto tcp; done
sudo ufw allow from 10.0.10.28 proto vrrp # on rs01
sudo ufw allow from 10.0.10.27 proto vrrp # on rs02
8.2 First node (rs01, priority 150)
cd ~ && tar xzf TRINITY-RecServer-1.2.1-Linux.tar.gz && cd recsrv
IF=$(ip -o -4 route show to default | awk '{print $5}' | head -n1)
sudo ./install-trinity-recsrv.sh --store /mnt/recstore --cluster --name rec.corp.example.com \
--vip 10.0.10.29/24 --interface $IF --peers 10.0.10.28 --priority 150 \
--allow-from 10.0.10.33,10.0.10.34,10.0.10.36,10.0.10.24,10.0.10.25,10.0.10.26
sudo install -m 600 -o $USER /root/trinity-recsrv-join.tar ~/trinity-recsrv-join.tar
scp ~/trinity-recsrv-join.tar 10.0.10.28: && rm ~/trinity-recsrv-join.tar && sudo rm /root/trinity-recsrv-join.tar
The installer ends with a pairing code (valid 24 hours, used once): note it. --allow-from lists the portal nodes, the portal VIP and the connection servers with their VIP.
8.3 Second node (rs02, priority 140)
cd ~ && tar xzf TRINITY-RecServer-1.2.1-Linux.tar.gz && cd recsrv
IF=$(ip -o -4 route show to default | awk '{print $5}' | head -n1)
sudo ./install-trinity-recsrv.sh --store /mnt/recstore --cluster --name rec.corp.example.com \
--vip 10.0.10.29/24 --interface $IF --peers 10.0.10.27 --priority 140 \
--allow-from 10.0.10.33,10.0.10.34,10.0.10.36,10.0.10.24,10.0.10.25,10.0.10.26 \
--join ~/trinity-recsrv-join.tar && rm ~/trinity-recsrv-join.tar
8.4 Pair with the portal
- In the portal as L4: Trinity VDI > Session recordings > Recording server.
- Address
https://rec.corp.example.com:8443, the pairing code, Pair. A new code:sudo trinity-recsrv code. - Compare the certificate and key fingerprints shown with
sudo trinity-recsrv statuson rs01. From now on the portal accepts only that certificate and signs every request. - Archive settings: how many days the portal keeps its local copy after the upload, the retention on the recording server (0 = keep forever) and how often each recording's integrity is checked; Save.
sudo trinity-recsrv status # rs01 and rs02: one leader
curl -sk https://rec.corp.example.com:8443/healthz; echo # from trinity01
Names, addresses and accounts in the examples (corp.example.com, 10.0.x.x, CORP\…) are examples: use your own. TRINITY 1.2.1, December 2026.