Configuring NFS backup on an existing HA Cluster
You can configure Network File System (NFS) for an existing high-availability cluster.
- Use SSH to log in to the primary HA host as the root user.
- Start NFS services by typing the following commands:
systemctl enable rpcbind
systemctl start rpcbind - Add the following line to the
/opt/qradar/ha/fstab.back
file.nfsserver:/nfs/export/path /store/backup nfs rw,soft,intr,noac 0 0
You might need to adjust the settings for the NFS mount point to accommodate your configuration.
- Add
the same line to the
/etc/fstab
file, preceded by #HA.#HA nfsserver:/nfs/export/path /store/backup nfs rw,soft,intr,noac 0 0
You might need to adjust the settings for the NFS mount point to accommodate your configuration.
- Repeat steps 1 - 4 on the secondary HA host.
- Move your backup files from the existing directory on
the primary HA host to a temporary location by typing the following
commands:
cd /store/
mv backup backup.local - Create a new backup directory on the primary HA host by
typing the following command:
mkdir /store/backup
- Set the permissions for the NFS volume on the primary
HA host by typing the following command:
chown nobody:nobody /store/backup
- Click Admin to open the admin tab.
- Click Advanced > Deploy Full Configuration. All services restart.
- Verify that the
/store/backup
mount point is listed in the output of the following command on the primary and secondary HA hosts:grep MOUNTS /opt/qradar/ha/ha.conf
- Verify that
/store/backup
is mounted on the primary HA host by typing the following command:df -h
- On the primary HA host, move the backup files from the
temporary location to the NFS volume by typing the following command:
mv -f /store/backup.local/* /store/backup
- Remove the backup.local directory by typing the following
commands:
cd /store
rm -rf backup.local