000026927 - How to perform a nightly Linux RAID configuration backup on RSA NetWitness Platform appliances

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support on Nov 19, 2019
Version 8Show Document
  • View in full screen mode

Article Content

Article Number000026927
Applies ToRSA Product Set: NetWitness Platform
RSA Product/Service Type: Core appliance
RSA Version/Condition: 10.6.x, 11.x
Platform: CentOS
IssueHow to perform a nightly Linux RAID configuration backup on RSA NetWitness appliances.
Resolution

RSA Customer Support recommends that the hardware RAID configuration of all NetWitness appliances be backed up on a daily basis to allow for easy recovery in the event of a RAID hardware failure and to avoid data loss.


Note: If you are running RSA NetWitness Platform 11.3.x or later, check the note below to see if you need to install the perccli RPM.

In order to configure the nightly backup, follow the steps below:
  1. Download the nwraidbackup.sh script attached to this article.
  2. Use scp or another file transfer client to move the file to your RSA NetWitness appliance.
  3. Copy the file to /usr.
  4. The script is executable with the following command:

    chmod +x /usr/sbin/nwraidbackup.sh

  5. Run the following command:

    ln -s /usr/sbin/nwraidbackup.sh /etc/cron.daily/nwraidbackup

 
The configuration of all hardware RAID controllers will now be backed up into an archive file as /var/raidbackup/raidbackup-<datestamp>.tar.bz2.

The following are the contents of a sample backup archive:

tar tjf /var/raidbackup/raidbackup-2018.09.11-06.11.28.tar.bz2 raidbackup-2018.09.11-06.11.28/
raidbackup-2018.09.11-06.11.28/pdlist.out
raidbackup-2018.09.11-06.11.28/adaplist.out
raidbackup-2018.09.11-06.11.28/ldpdinfo.out
raidbackup-2018.09.11-06.11.28/adapevents.out
raidbackup-2018.09.11-06.11.28/adap0-PERCH710PMini.cfg
raidbackup-2018.09.11-06.11.28/adap1-PERCH810Adapter.cfg
raidbackup-2018.09.11-06.11.28/etc/
raidbackup-2018.09.11-06.11.28/etc/lvm/
raidbackup-2018.09.11-06.11.28/etc/lvm/archive/
raidbackup-2018.09.11-06.11.28/etc/lvm/archive/netwitness_vg00_00000-1923767138.vg
raidbackup-2018.09.11-06.11.28/etc/lvm/backup/
raidbackup-2018.09.11-06.11.28/etc/lvm/backup/netwitness_vg00
raidbackup-2018.09.11-06.11.28/etc/lvm/cache/
raidbackup-2018.09.11-06.11.28/etc/lvm/lvm.conf
raidbackup-2018.09.11-06.11.28/etc/lvm/lvmlocal.conf
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/cache-mq.profile
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/cache-smq.profile
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/command_profile_template.profile
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/lvmdbusd.profile
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/metadata_profile_template.profile
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/thin-generic.profile
raidbackup-2018.09.11-06.11.28/etc/lvm/profile/thin-performance.profile

If you are unsure of any of the steps above or experience any issues, contact RSA Customer Support and reference this article number for further assistance.
NotesThis script will delete any files older than 365 days in its output directory.

If you are running 11.3.x or later, check if perccli RPM is installed using the command:

# rpm -q perccli

If the above command returns no output, install the RPM (if present from the rsa-sa-tools RPM) using the command:


# find /opt/rsa/saTools/NwDiskFw -name "perccli*.noarch.rpm" -type f -print0 | xargs -0 -I % --no-run-if-empty yum localinstall -y %

Note: If this RPM is already installed, this command does nothing.
Legacy Article IDa59793

Attachments

Outcomes