Transferring data back to the primary site – HP StorageWorks XP Remote Web Console Software User Manual
Page 174
![background image](/manuals/398401/174/background.png)
174 Continuous Access XP Journal operations with NAS Blade
• Non-LVM:
sudo horc_svol_import -f Target-file-system-name -d Device-file-number
• LVM:
sudo horc_svol_vmimport -f Target-file-system-name -d
Device-file-number, ...
3.
Mount the S-VOL using the
enas_fsmount
command, and create CIFS/NFS shares using the
enas_nfscreate
and
enas_cifscreate
commands.
Recover the file system when mounting the S-VOL.
4.
Start the program that accesses the S-VOL.
NOTE:
When the S-VOL is the file system managed by NAS Sync Image, mount the differential-data
snapshots using the
syncmount
command, and create the CIFS/NFS shares using the
enas_nfscreate
and
enas_cifscreate
commands, if necessary.
Transferring data back to the primary site
To transfer data back to the primary site:
1.
At the primary site, set up the environment variable of the RAID Manager XP instance:
sudo horc_setenv HORCMINST 16
(for instance number 16)
sudo horc_setenv HORCMINST 17
(for instance number 17)
2.
At the primary site, set up the
HOMRCF
command environment variable of RAID Manager XP as
Continuous Access XP Journal:
sudo horc_unsetenv HORCC_MRCF
3.
After logging in to the target NAS package using SSH and setting up as explained in
and
, confirm the setup by logging out of the NAS package and relogging in.
exit
ssh {-1|-2} nasroot@fixed-IP-address-of-the-NAS-package
4.
At the primary and secondary sites, start RAID Manager XP.
sudo horcmstart.sh
(1-instance configuration)
sudo horcmstart.sh
16 17 (2-instances configuration)
5.
At the primary site, delete CIFS/NFS shares in the old P-VOL, unmount the old P-VOL, and delete the file
system in the old P-VOL.
NOTE:
When the old P-VOL is the file system managed by NAS Sync Image, delete CIFS/NFS
shares under the differential-data snapshots, unmount the differential-data snapshots, and release
the differential-data storage devices before deleting the file system in the old P-VOL.
6.
At the primary site, reserve the old P-VOL in preparation for data transfer from the secondary site to the
primary site.
• Non-LVM:
sudo horc_svol_define -d Device file number
• LVM:
sudo horc_svol_vmdefine -d Device file number, ...
7.
At the secondary site, execute the following command to transfer data from the secondary site to the
primary site (create Continuous Access XP Journal volume pair).
sudo paircreate {-g group name|-d volume name} -f {never|async} -vl -jp
former restore journal group ID -js former master journal group ID
8.
If the status is changed to PAIR, stop the operation at the secondary site.
9.
At the secondary site, delete CIFS/NFS shares in the old S-VOL using the
enas_nfsdelete
and
enas_cifsdelete
commands, and unmount the old S-VOL using the
enas_fsumount
command.