The following procedure describes how to move data from one type of external storage device to another. The procedure uses "moving data from 2 DACs to 2 PowerVaults" as an example.
Refer to the Hardware Setup Guides on RSA Link (https://community.rsa.com/community/products/netwitness/hardware-setup-guides) for detailed instructions for setting up RSA NetWitness Platform host and storage hardware.
Data on DAC Before Move to PowerVault
Before you move data from 2 DACs to 2 PowerVaults, a table, similar to the following table, is displayed if you run the pvs (Physical Volume Size) command from the Decoder Linux console (or SSH to the Decoder) with 2 DACs attached and configured to the Decoder. The column headings are Physical Volume (PV), Volume Group(VG), Linux Format (Fmt), Linux Attribute (Attr), Physical Volume Size (PSize), and Physical Volume Free Space(PFree).
Complete the following steps to move data from a DAC to a PowerVault.
- Attach two PowerVaults to a separate PERC controller on the Decoder.
- Create the devices.
- Open a Browser and specify the ip-address of the Network Decoder and port 50106 to access the REST tool.
- Log in with the admin account credentials.
- Click on the (*) next to appliance to access the REST command set.
- Run raidList to display the Controller/Enclosure combination with the new PowerVault enclosures.
In the following example, the output shows dev/sdg and /dev/sdh on Controller 2, Enclosure 246.
- Under Properties for /appliance, select raidNew, specify controller=<PowerVault-controller-id> enclosure=<PowerVault-enclosure-id> scheme=decoder preferSecure=false, and click Send.
- Go to the Decoder Linux console or SSH to the Decoder and run the following commands.
parted -s /dev/sdg mklabel gpt
parted -s -a optimal /dev/sdg mkpart LVM 0% 100%
pvcreate -f /dev/sdg
parted -s /dev/sdh mklabel gpt
parted -s -a optimal /dev/sdh mkpart LVM 0% 100%
pvcreate -f /dev/sdh
If the volume is created successfully, the following message is displayed.
Physical volume "/dev/sdg" successfully created
- Run the following command strings to extend the DAC volume group (decoder, decodersmall) to the Powervault Physical volume.
vgextend decoder /dev/sdg
vgextend decodersmall /dev/sdh
- Run the following command strings to move the data from the DAC to the PowerVault. In this following command string, the DAC is /dev/sdc and the PowerVault is /dev/sdg.
pvmove /dev/sdc /dev/sdg
pvmove /dev/sdd /dev/sdh
- After the move is complete, run the following commands to reduce and remove the DAC drive.
vgreduce decoder /dev/sdc
vgreduce decodersmall /dev/sdd
Detach the physical connections from the DACs to the host.
- Verify that the Physical volumes are moved from the DACs to the PowerVaults.
- Reboot the host.
- Verify that the /etc/fstab file is correct.
- Run the pvs command and make sure that the PSize and PFree values are correct on the PowerVault.
- Reboot the host.
Data on PowerVault After Move from DAC
After you move data from 2 DACs to 2 PowerVaults, a table, similar to the following table, is displayed if you run the pvs (Physical Volume Size) command from the Decoder Linux console (or SSH to the Decoder) with 2 PowerVaults attached and configured to the Decoder. The column headings are Physical Volume (PV), Volume Group(VG), Linux Format (Fmt), Linux Attribute (Attr), Physical Volume Size (PSize), and Physical Volume Free Space(PFree).