Azure Install: RAID Configuration Instructions

Document created by RSA Information Design and Development on Sep 26, 2019Last modified by RSA Information Design and Development on Jan 30, 2020
Version 2Show Document
  • View in full screen mode
 

The following steps need to be followed in order to configure RAID on different components such as Log Decoder, Concentrator, Archiver and Event Stream Analysis. Make sure the VM Stopped before performing any of the below mentioned steps. The changes will reflect only if the changes are made in Stopped state and then the machine is started.

Note: The storage recommendations provided in the steps below are only examples.

  1. Stop the VM to which the disks need to be attached.
  2. Attach the required number of disks to the VM on Azure portal.
  3. Start the VM.
  4. Once the VM is up and running, run the command lsblk. This command should list out the disks attached with the size for each disk.
  5. Select the set of disks to be a part of your RAID-0 configuration. For example, if you have chosen disks /dev/sde, /dev/sdf, /dev/sdg, /dev/sdh to be a part of your metadb for LogDecoder.
  6. Create physical volume on each of these disks using the command pvcreate /dev/sd[e-h. If you see any errors in this step like "incorrect offset" or "incorrect alignment", then run the command pvremove /dev/sd[e-h] and then run pvcreate /dev/sd[e-h] --force.
  7. You can check the physical volume info using the commands pvs or pvdisplay. Run the command mdadm --create /dev/md0 --assume-clean --level 0 --raid-devices=4 /dev/sde /dev/sdf /dev/sdg /dev/sdh.
  8. Once the RAID config is created, you can check the status of the disks using mdadm --detail command.
  9. Run the command pvcreate /dev/md0 to create a physical volume on the RAID 0 configured above. If you see any errors in this step like "incorrect offset" or "incorrect alignment", then run the command pvremove /dev/sd[e-h] and then run pvcreate /dev/md0 --force.
  10. Run the command vgcreate -s 32 VolGroup02 /dev/md0. This will create a volume group named "VolGroup02" which will span across the entire RAID configuration.
  11. Run the command lvcreate -L 3T -n metadb VolGroup02. This will create a logical volume named "metadb" on VolGroup02.
  12. Run the command mkfs.xfs /dev/mapper/VolGroup02-metadb. This will format the newly created logical volume to an xfs partition that is required by the netwitness services.
  13. Make entries in /etc/fstab to mount the created logical volume so that the LVs are retained even after a system reboot.
  14. Run the command mdadm --detail --scan > /etc/mdadm.conf. This command will create and store the info about the RAID configurations in the file so that the RAID configuration is also retained on system reboot.

You are here
Table of Contents > Deployment Rules and Checklist > RAID Configuration Instructions

Attachments

    Outcomes