7 Time Finder Clone

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 7 Time Finder Clone as PDF for free.

More details

  • Words: 979
  • Pages: 5
Time finder Clone Requirements for Lab Session: • To perform clone operations two standard devices or bcv devices are required. • Sun7uction Host (sun7) and Backup Host (sun8) should act as source and target Check if any devices are assigned to Host. Sun7# syminq | more Sun8# syminq | more If devices are not assigned update the vcm database with new devices. Check the ports Sun7# symcfg – sid 277 list – connections Now assign the devices to production host(sun7). Sun7# symmask – sid 277 add dev 000a – awn sun7/port0 Sun7# symmask – sid 277 add dev 000a – awn sun7/port0 Sun7# symmask – sid 277 add dev 000a – awn sun7/port0 Sun7# symmask – sid 277 add dev 000a – awn sun7/port0

– – – –

p0 p0 p0 p0

–dir –dir –dir –dir

1c 2c 16c 15c

Now assign the devices to backup host(sun8). Sun7# symmask – sid 277 add dev 000b – awn Sun7# symmask – sid 277 add dev 000b – awn Sun7# symmask – sid 277 add dev 000b – awn Sun7# symmask – sid 277 add dev 000b – awn

– – – –

p0 p0 p0 p0

–dir –dir –dir –dir

1c 2c 16c 15c

sun8/port0 sun8/port0 sun8/port0 sun8/port0

Refresh the database Sun7# symmask refresh Update symapi_db.bin Sun7# symcfg discover Check if devices are assigned to host. Sun7# syminq | more Sun7# sympd list Sun7# symmaskdb list database Create a device group Sun7# symdg create clonegrp – type regular Add devices to the device group Sun7# symld –g clonegrp add dev 000a Sun7# symld –g clonegrp add dev 000b To Identify the Logical Device name of clone source and target Sun7# symld –g clonegrp list (or) symld –h Check the status of the controller Sun7# vxdmpadm list ctlr Check the status of the controller If disabled enable it.

Sun7# vxdmpadm enable ctlr c3

Find the device and label it Format Label Quit Imp Notes: Identify the device and enter the device no. and label it. Scan for the disk Sun7# vxdisk scandisks List the disks Sun7# vxdisk list Initialize the disk, in our example the enclosure name given to our device is emc_01. Sun7# vxdisk setup –i emc_01 Now create Volume Manager Disk (vmdisk) by creating disk group. Sun7# vxdg init clonedg disk7 = emc_01 Create a volume on meta devices Sun7# vxassist –g clonedg make vol07 100m List the disk groups Sun7# vxdisk –o alldgs list List the volume Sun7# vxprint –h Create file system on the volume Sun7# newfs /dev/vx/rdsk/clonedg/vol07 Create a mount point Sun7# mkdir /clone1 Mount the volume Sun7# mount /dev/vx/dsk/clonedg/vol07/clone1 Sun7# cd /clone1 Add the data Sun7# cp –r /etc/r* . Verify the data Sun7# ls On sun7 host create a differential clone session Sun7# symclone –g clonegrp create DEV0001 sym ld DEV002 – precopy - differential Check the status of clone Sun7# symclone –g clonegrp query

List the number of protected tracks on the source volume Sun7# symld –g clonegrp –held –v list To activate the clone session Sun7# symclone –g clonegrp activate DEV0001 sym ld DEV002 – consistent List the number of protected tracks on the source volume Sun7# symld –g clonegrp –held –v list ON Backup Host (sun8) To Import the Sun8# vxdisk Sun8# vxdisk Sun8# vxdisk

disk group clonedg scandisks list –o alldgs list

Import the disk group Sun8# vxdg –C import clonedg Start the volume Sun8# vxvol –g clonedg startall Create Mount Point Sun8# mkdir clone2 Mount the volume Sun8# mount /dev/vx/dsk/clonedg/vol07 /clone2 Sun8# cd clone2 Check the data Sun8# ls Imp Notes: 1. The data entered in the sun7host should be seen in the backup host. 2. The target device can be mounted ,as long as the clone session is activated. Recreate the clone session To incrementally copy the changes made on data in the production volume, recreate and activate the clone session. Recreate terminates and create new session. Add data on production host sun7 Check if the volume is mounted Sun7#df –k 1) If volume is mounted, check PWD Sun7#pwd

2) If PWD is clone1,add some data Sun7#cp –r /etc/t* . Sun7#ls

On the backup host sun8 Unmount the volume Sun8#cd Sun8#umount /clone2 Deport the volume Sun8#vxdg –C deport clonedg On the production host sun7 Recreate the clone session Sun7#symclone –g clonegrp recreate DEV001 sym ld DEV002 Activate the session Sun7#symclone –g clonegrp activate DEV001 sym ld DEV002 On the backup host sun8 Import the disk group Sun8#vxdg import clonedg Start the volume Sun8#vxvol –g clonedg startall Mount the volume Sun8#mount /dev/vx/dsk/clonedg/vol07 /clone2 Sun8#cd /clone2 Sun8#ls Imp Note: The updated data in the production volume should be seen on the back up host Restore date from clone to production volume On the production host sun7 Check if the volume is mounted Sun7#df –k If volume is mounted, check PWD Sun7#pwd If PWD is clone1, delete entire data Sun7#rm –r * . Sun7#ls Unmount the volume Sun7#cd Sun7#umount /clone1

Deport the diskgroup(volume) Sun7#vxdg –C deport clondg On the backup host sun8 Add some data on the clone Sun8#cp –r /etc/s* . Unmount the volume Sun8#cd Sun8#umount /clone2 Deport the volume Sun8#vxdg –C deport clonedg On the production host sun7 Restore from clone Sun7#symclone –g clonegrp restore DEV001 sym ld DEV002 –nop Check the status of clone Sun7#symclone –g clonegrp query Import the production volume Sun7#vxdg import clonedg Start the volume Sun7#vxvol –g clonedg startall Mount the volume Sun7#mount /dev/vx/dsk/clonedg/vol07 /clone1 Sun7#cd /clone1 Sun7#ls If the data is seen on the production host the restore operation is successful. The data added by the backup host should also be visible Clean up Check the status of session & terminate Sun7# symclone –g clonegrp status Sun7# symclone –g clonegrp terminate Dev001 sym ld DEV002 Sun7# symclone –g clonegrp status Remove standard devices from device group clonedg Sun7#symld –g clonegrp remove DEV001 Sun7#symld –g clonegrp remove DEV002 Remove device group Sun7#symdg delete clonegrp -force

Related Documents

7 Time Finder Clone
June 2020 3
Time Finder Mirror
May 2020 1
6 Time Finder Mirror
June 2020 2
Clone
November 2019 22
Grade Finder
October 2019 20
Grade Finder
October 2019 22