21640462 6 Time Finder Mirror

Embed Size (px)

Citation preview

  • 8/11/2019 21640462 6 Time Finder Mirror

    1/10

    Time Finder/Mirrors(BCV)

    Up to! 995, to perform backup operations on standard volumes, the application and

    file system should be shutdown .So the downtime is mandatory . In order to

    overcome the downtime and to achieve RTO=0,Split mirror tec nolo!y wasintroduced.Which lead to the eneration of "# s B"S#$%SS CO$T#$"&$C%

    VO'"M%S

    B"S#$%SS CO$T#$"&$C% VO'"M%S

    I$ facilitates unplanned downtime

    It provides dynamic, full ima e copies of data

    %ata protection and stand&by data for fast recovery

    %ecision support

    ack&up

    'arallel information(%ata )ccess

    "# device is used to create an additional mirror ima e of a standard device in order

    to provide the facilities mentioned above.

    usiness continuance is achieved throu h "# devices, the standard stand&alone

    Symmetri* devices that are specially confi ured to be dynamic mirrors.

    "# devices should be synchroni+ed with standard devices to perform replication and

    obtain point in time physical mirror copies.

    (Ma*e s+re t at t e si e o- t e BCV de.ice s o+ld e e +al to t e si e o- t e

    Standard de.ice to w ic it pairs wit )

    1ow to create BCV de.ices2

    "reate standard devices and should be confi ured as unprotected.

    -ap the device

    "onvert the device

    "ommit

    %iscover the device

    Update the #"- database

    *The above procedure is run at the time of creation of devices

  • 8/11/2019 21640462 6 Time Finder Mirror

    2/10

    Types o- BCV Mirrorin!

    . -irrorin

    /. -ulti "#

    0. "oncurrent "#

    1. 2emote -irrorin 3S2%46 Type 1,2,&3 are performed in the local sym,where as type 4 is performed

    across the syms.

    Operations per-ormed on BCVs

    1. %sta lis Synchroni+e the standard volume with the "# volumes. $here

    are two types of synchroni+ations full and incremental. $he first

    synchroni+ation is always full and the rest are mostly incremental.

    2.Split $erminate relationship between "# and Standard %evices. $here are

    two types of splits instant split and consistent split. 4rom 7n enuity 5*8

    instant split has become a default split.

    3. Restore %urin the restore operation, data on the standard is replaced

    with the data brou ht from the "# device. %urin this phase )pplications

    must be stopped file system to be unmounted and should have volume

    roups deactivated.

    '&B S%SS#O$ "S#$3 SO'"T#O$ %$&B'%R S4MC'#

    5ROC%6"R%

    "reate a device roup to manipulate mirror operations between standard device and

    "# in the symm.)dd the device pair to the roup, i.e, and Standard %evice and "#

    %evice pair. 'erform mirror operations. and view the data by usin volume

    mana ers disk roup. %elete the content in the Standard device and restore the data

    from "#.

    4:2 274727;"7>>9

    'roduction host SU;= "# %evice& >>/0

    ackup host & SU;5

    %evice roup mird

  • 8/11/2019 21640462 6 Time Finder Mirror

    3/10

    %isc roup & sund

    Source

    $ar et

    7)CR%&T% & 6%V#C% 3RO"5 &66 ST&$6&R6 &$6 BCV 6%V#C%S

    a "reate a device roup of type re ular>

    c )dd "# to the roup

    Sun=?symbcv mird associate dev >>/0

    8)$O9 F#$6 4O"R ST&$6&R6 6%V#C% #$ SO"RC% S"$: #F $OT &V'B'%

    M&S; #T TO F#$6 #$ SO"RC% 1OST

    a ;ow find the list of devices mapped to the host

    Sun=? symin@

    b "reate alias to wwn of host

    Sun7

    Sun5

    0009STDDE

    0023BCV

  • 8/11/2019 21640462 6 Time Finder Mirror

    4/10

    Sun=? symmask sid /== wwn >>>>>>>>> rename sun=(port>

    c 2efresh the database

    Sun=? symmask refresh

    d) -ap the standard device to source host

    Sun=? symmask &sid /== awn sun=(port> add dev >>>9 dir c p > nop, Sun=? symmask &sid /== awn sun=(port> add dev >>>9 dir /c p > nop

    Sun=? symmask &sid /== awn sun=(port> add dev >>>9 dir 5c p > nop

    Sun=? symmask &sid /== awn sun=(port> add dev >>>9 dir 8c p > nop

    e ;ow refresh the #"- database

    Sun=?symmask refresh

    f ;ow scan the devices

    Sun=? symcf discover

    Sun=? symmaskdb list database

    (device should be seen in the database under sun7)

    C9

    e Dist the device

    sun=?v*disk list

    f create disk roup

  • 8/11/2019 21640462 6 Time Finder Mirror

    5/10

    sun=?v*d init sund disk A7-"> C9

    Import the disk rouip

    sun=?v*d f" import sund

    h "reate a volume

    sun=?v*assist sund make vol> />>m

    i Start the volume

    sun=? v*vol sund startall

    E $o check the disk roups in the volume man er

    Sun=?v*disk &o alld s list

    k "reate a file system on the disk roup

    sun=?newfs (dev(v*(rdsk(sund (vol>

    l "reate a mount point

    Sun=? mkdir "#

    m -ount the volume

    Sun=?mount (dev(v*(dsk(sund (vol> ( "#

    n 7nter the directory

    Sun=?cd "#

    o 7nter the content in the folder

    Sun=?cp (etc(r6 .

    p %isplay the contents

    Sun=? ls

    )$ow sync roni e t e .ol+mes

    a 7stablish the relation between standard device and "#

    sun=? symmir mird est full

    b ;ow check the status of device roupsun=? symmir mird @uery

    sun=?symmir list

  • 8/11/2019 21640462 6 Time Finder Mirror

    6/10

    5 Split t e relation

    (T o split the volume unmount the source; f it is a consistent split, need not

    to unmount the volume!

    a Sun=?symmir mird split consistent"heck the status

    b Sun=?symmir mird @uery

    O$ T1% Bac*+p 1OST S"$>

    "nless the relation is split tar#et volume can$t be mounted on the tar#et

    host

    = -ount the "# volume on the tar et

    a Scan for new disks

    sun5? v*disk scandisks

    b ;ow check the disk roups

    sun5?v*disk o alld s list

    c Import the disk roup

    sun5? v*d " import sund

    Start the volume

    Sun5?v*vol sund startall

    h) "reate a mount point

    Sun5? mkdir "#

    -ount the volume

    Sun5?mount (dev(v*(dsk(sund (vol> ( "#

    h :pen the directory

    sun5?cd "#

    I check the contents

    Sun5?ls

    (#F T1% 6&T& %?#STS T1% O5%R&T#O$ #S S"CC%SSF"')

    Unmount the volumes on the tar et for later sync cycles

    Sun5?cdSun5?umount "#

    #ncremental mirror t e .ol+mes

    While "# is split from standard volume, Some I(: may take place in the standard

    volume, Which results in the invalid tracks on "#,so it is re@uired to resync with

  • 8/11/2019 21640462 6 Time Finder Mirror

    7/10

    Standard device a ain to have the tracks copied, so now perform incremental

    establish and check the data on the tar et volume.

    O$ T1% SO"RC% S"$:

    )dd some data on source3Source has been already mounted on a directory

    "#a "heck the present workin directory

    Sun=?pwd

    b If the directory is not opened ,open the directory

    Sun=?cd bcv

    c )dd some data

    Sun=?cp (etc(f6 .

    d "heck the status of the mirror

    Sun=?symmir mird @uery 3Invalid tracks should be shown

    e ;ow synchroni+e incrementally 3"heck whether the tar et is

    unmounted

    Sun=?symmir mird est 3 y default est does incremental copy of

    tracks

    f "heck the mirror status

    Sun=?symmir sund @uery 3Invalid tracks should be Fero

    Split the volumes and check the tar ets for data up rades

    Sun=?symmir mird split consistent

    h "heck the status

    Sun=?symmir mird @uery

    8) O$ T1% T&R3%T S"$> C1%C; T1% 6&T&

    a -ount the volume

    Sun5?mount (dev.(v*(dsk(sund (vol> (bcv

    b "han e to directory bcv

    sun5? cd bcv

    c ;ow check the data in the directory

    Sun5? ls 3I4 $G7 U'%)$7% %)$) IS S77; H:U2 :'72)$I:; IS SU""7SS4UD

    R%STOR% T1% 6&T% TO SO"RC% FROM T&R3%T

    In the source volume entire data has been erased now restore the data from the

    tar et

  • 8/11/2019 21640462 6 Time Finder Mirror

    8/10

    O$ T1% SO"RC% VO'"M% S"$:

    a "heck the present workin directory

    Sun=?pwd 3if it is bcv leave it intact else

    b "han e the directory to "#

    Sun=?cd "#c 2emove the content in the volume

    Sun=?rm rf 6 .

    d check the data

    Sun=?ls 3It should not have any content

    e ;ow unmount the volume

    Sun=?cd

    Sun=?umount bcv

    f ;ow deport the d

    Sun=?v*d " deport sund

    C1%C; T1% ST&T"S O$ T1% T&R3%T S"$>

    a Unmount the volume

    Sun5? cd

    Sun5?umount bcv

    b %eport the volume

    Sun5?v*d deport sund

    R%STOR% T1% 6&T& O$ T1% SO"RC% S"$:

    a 7*ecute restore command on the source

    Sun=?symmir mird restore

    b "heck the status

    Sun=?symmir mird @uery 3Status should display restored

    c Import the disk roup

    Sun=? v*d " import sund

    d Start the volume

    Sun=?v*vol sund startall

    e -ount the volumeSun=?mount (dev(v*(dsk(sund (vol> (bcv

    f "han e the directory

    Sun=? cd "#

  • 8/11/2019 21640462 6 Time Finder Mirror

    9/10

    "heck the content

    Sun=?ls

    #F T1% 6&T& #S &V'&B'% &$6 #S S#M#'&R TO T1% 5R%V#O"S 6&T& T1&T

    9&S 6%'%T%6 B4 "S T1%$ T1% O5%R&T#O$ #S S"CC%SS

    Clean +p

    "heck the status of session terminate

    Sun=? symmir mird @uery

    Sun=? symmir mird split

    Sun=? symmir mird @uery

    Sun=? symmir mird cancel 2emove standard devices from device roup mird

    Sun=?symld mird remove %7#>>

    Sun=?symbcv mird remove dev >>/0

    2emove device roup

    Sun=?symd delete mird &force

  • 8/11/2019 21640462 6 Time Finder Mirror

    10/10