The Dell™ EqualLogic Host Integration Tools for Linux (HIT/Linux) includes Auto-Snapshot Manager/Linux Edition (ASM/LE) functionality – enabling the ability to create online, file system consistent copies of data stored on one or more PS Series groups. The resulting collection of copied data is called a Smart Copy. ASM/LE offers consistent Smart Copies utilizing the built-in snapshot, clone and replication facilities in PS Series arrays.
One way to recover from a data loss event is to mount the Smart Copy on a different host than where it was created. This procedure can also be used for software testing, development, or offline processing operations.
Here are the steps to have the ability to mount a Smart Copy created from host1 on host2:
- Install and configure HIT/Linux on host1 and host2.
- Edit /etc/equallogic/eql.conf on host1 and host2 to set the SmartCopyDirectory for saving the backup documents. The directory should be a share (nfs) between the two hosts or the backup documents can be manually copied from host1 to host2.
#Root directory for saving backup documents
SmartCopyDirectory = /smartcopy_dir/
- Set up group access on host1 and host2:
#asmcli create group-accesss --name GroupName --ip_address x.x.x.x --user-name grpadmin --password PassWord
- Create a Smart Copy (snapshot) on host1:
#asmcli create smart-copy --source /VolumeName
- If you did not create a shared directory for the backup documents, copy the backup document from host1 to host2.
- Verify that the group-access has been created on host2
#asmcli list group-access (from host2)
- If the smart-copy backup document had to be copied to host2, verify it was copied correctly.
#asmcli list smart-copy (from host2)
- Mount the Smart Copy on host2
#asmcli mount smart-copy --source /VolumeName --latest --destination /MountPoint
- Verify Smart Copy has been mounted on host2
#df
- Unmount the Smart Copy on host2 when finished
#asmcli unmount smart-copy --latest