Storage: Migrate Data to Another Storage Type

Document created by RSA Information Design and Development Employee on May 29, 2019Last modified by RSA Information Design and Development Employee on Jan 30, 2020
Version 10Show Document
  • View in full screen mode
 

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).

                                                                   
PVVGFmtAttrPSizePFree
/dev/sda2netwitness_vg00lvm2 a-- <930.00g

0

/dev/sdb1netwitness_vg00 lvm2a--<1.82t0
/dev/sdcdecodersmall lvm2a--<5.46t

0

/dev/sdd decoder lvm2a--<27.29t0
/dev/sdedecodersmall0 lvm2a--<5.46t

0

/dev/sdfdecoder0 lvm2a--<27.29t0

Complete the following steps to move data from a DAC to a PowerVault.

  1. Attach two PowerVaults to a separate PERC controller on the Decoder.
  2. Create the devices. 
    1. Open a Browser and specify the ip-address of the Network Decoder and port 50106 to access the REST tool.
    2. Log in with the admin account credentials.

    3. Click on the (*) next to appliance to access the REST command set.
    4. 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.

    5. Under Properties for /appliance, select raidNew, specify controller=<PowerVault-controller-id> enclosure=<PowerVault-enclosure-id> scheme=decoder preferSecure=false, and click Send.

      Note: You specify preferSecure=false if the PowerVault drives are not SED drives. If PowerVault drives are SED drives and you do not want to encrypt them you specify preferSecure=false. You must specify preferSecure=true if PowerVault drives are SED drives and you want to encrypt them.

  3. 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

    Note: Repeat this step for every block device. The block device names may be different depending on how many enclosures per perc card slot.

  4. 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
  5. 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

    Note: 1.) The pvmove command synchronizes data across volumes so that NetWitness can continue ingesting or aggregating data while the migration is executing. You can run the pvmove command multiple times if it fails. 2.) Depending on the amount of data on the drives, the move can take a long time complete depending on the amount of data. For example, in a test, it took four hours to move one TB of data.

  6. After the move is complete, run the following commands to reduce and remove the DAC drive.
    vgreduce decoder /dev/sdc
    pvremove /dev/sdc
    vgreduce decodersmall /dev/sdd
    pvremove /dev/sdd

  7. Detach the physical connections from the DACs to the host.

  8. Verify that the Physical volumes are moved from the DACs to the PowerVaults.
    1. Reboot the host.
      reboot
    2. Verify that the /etc/fstab file is correct.
    3. Run the pvs command and make sure that the PSize and PFree values are correct on the PowerVault.

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).

                                                   
PVVGFmtAttrPSizePFree
/dev/sda2netwitness_vg00lvm2a--<930.00g0
/dev/sdb1netwitness_vg00lvm2a--<1.82t0
/dev/sdc1decodersmalllvm2a--21.38t<15.93t
/dev/sdd1decoderlvm2a--<85.54t58.25t

Previous Topic:Prepare Unity Storage
You are here
Table of Contents > Migrate Data to Another Storage Type

Attachments

    Outcomes