Forum Discussion

Karan_jadhav's avatar
4 months ago

Storage Migration of vvr diskgroup

Hello I have VVR setup in our environment. I need to migrate storage of this vvr diskgroup. Could you please help me with steps. Can i do it with vxevac & do i need to stop replication before migration
  • Hi,

    I agree that mirroring is very simple. I have done storage migration on few servers which are having application/data disk group with concat/stripe volumes.

    This is first time i will be doing it on VVR RVG disk group volume which is having log plexes mirrored on 2 disks, i am not sure about the command to be used to mirror it same way as is exist.

    db-oradev-dcdr-ora_ogg1-vol db-oradev-dcdr-vvr01-dg_rvg ENABLED ACTIVE 1048576000 SELECT - fsgen
    pl db-oradev-dcdr-ora_ogg1-vol-01 db-oradev-dcdr-ora_ogg1-vol ENABLED ACTIVE 1048576000 CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg01-01 db-oradev-dcdr-ora_ogg1-vol-01 db-oradev-dcdr-vvr01-dg01 0 1048576000 0 san_vc0_00018a ENA
    pl db-oradev-dcdr-ora_ogg1-vol-02 db-oradev-dcdr-ora_ogg1-vol ENABLED ACTIVE LOGONLY CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg01-03 db-oradev-dcdr-ora_ogg1-vol-02 db-oradev-dcdr-vvr01-dg01 1258291200 512 LOG san_vc0_00018a ENA
    pl db-oradev-dcdr-ora_ogg1-vol-03 db-oradev-dcdr-ora_ogg1-vol ENABLED ACTIVE LOGONLY CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg02-02 db-oradev-dcdr-ora_ogg1-vol-03 db-oradev-dcdr-vvr01-dg02 1048576000 512 LOG san_vc0_00018b ENA

    I hope below mirroring commands will work here.

    #vxassist -g db-oradev-dcdr-vvr01-dg mirror db-oradev-dcdr-ora_ogg1-vol layout=nostripe db-oradev-dcdr-vvr01-dg03 db-oradev-dcdr-vvr01-dg04 logtype=dcm layout=log logdisk=db-oradev-dcdr-vvr01-dg03,db-oradev-dcdr-vvr01-dg04

    or  

    #vxassist -g db-oradev-dcdr-vvr01-dg mirror db-oradev-dcdr-ora_ogg1-vol layout=nostripe alloc=db-oradev-dcdr-vvr01-dg03,db-oradev-dcdr-vvr01-dg04

    If both these are not correct then it will be great help if you can suggest correction.

  • Hi Frankgfan,

    Thank you for your update. Yes we are migrating storage by using mirroring only but here in VVR diskgroup, i am not sure about command syntax to be used to mirror volume which have DCM log seems to be mirror over 2 disks & I hope mirroring is fine for SRL volume as well to migrate storage. Sorry I am new to VVR.

    Could you please assist me here. Below op for reference.

    [root oradev0101d]# vxprint -htqg db-oradev-dcdr-vvr01-dg
    dg db-oradev-dcdr-vvr01-dg default default 30250 1542272965.495.glb00hh0101d

    dm db-oradev-dcdr-vvr01-dg01 san_vc0_00018a auto 65536 3302948560 -
    dm db-oradev-dcdr-vvr01-dg02 san_vc0_00018b auto 65536 3302948560 -

    rv db-oradev-dcdr-vvr01-dg_rvg 1 ENABLED ACTIVE secondary 2 db-oradev-dcdr-vvr01-dg_SRL
    rl rl_hhoe01_db-oradev-vvr01-dg db-oradev-dcdr-vvr01-dg_rvg CONNECT ACTIVE 10.70.50.21 db-oradev-dcdr-vvr01-dg rl_oehh01_db-oradev-vvr01-dg
    v db-oradev-dcdr-ora_ogg1-vol db-oradev-dcdr-vvr01-dg_rvg ENABLED ACTIVE 1048576000 SELECT - fsgen
    pl db-oradev-dcdr-ora_ogg1-vol-01 db-oradev-dcdr-ora_ogg1-vol ENABLED ACTIVE 1048576000 CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg01-01 db-oradev-dcdr-ora_ogg1-vol-01 db-oradev-dcdr-vvr01-dg01 0 1048576000 0 san_vc0_00018a ENA
    pl db-oradev-dcdr-ora_ogg1-vol-02 db-oradev-dcdr-ora_ogg1-vol ENABLED ACTIVE LOGONLY CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg01-03 db-oradev-dcdr-ora_ogg1-vol-02 db-oradev-dcdr-vvr01-dg01 1258291200 512 LOG san_vc0_00018a ENA
    pl db-oradev-dcdr-ora_ogg1-vol-03 db-oradev-dcdr-ora_ogg1-vol ENABLED ACTIVE LOGONLY CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg02-02 db-oradev-dcdr-ora_ogg1-vol-03 db-oradev-dcdr-vvr01-dg02 1048576000 512 LOG san_vc0_00018b ENA
    v db-oradev-dcdr-me01_shared-vol db-oradev-dcdr-vvr01-dg_rvg ENABLED ACTIVE 209715200 SELECT - fsgen
    pl db-oradev-dcdr-me01_shared--01 db-oradev-dcdr-me01_shared-vol ENABLED ACTIVE 209715200 CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg01-02 db-oradev-dcdr-me01_shared--01 db-oradev-dcdr-vvr01-dg01 1048576000 209715200 0 san_vc0_00018a ENA
    pl db-oradev-dcdr-me01_shared--02 db-oradev-dcdr-me01_shared-vol ENABLED ACTIVE LOGONLY CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg01-04 db-oradev-dcdr-me01_shared--02 db-oradev-dcdr-vvr01-dg01 1258291712 512 LOG san_vc0_00018a ENA
    pl db-oradev-dcdr-me01_shared--03 db-oradev-dcdr-me01_shared-vol ENABLED ACTIVE LOGONLY CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg02-03 db-oradev-dcdr-me01_shared--03 db-oradev-dcdr-vvr01-dg02 1048576512 512 LOG san_vc0_00018b ENA
    v db-oradev-dcdr-vvr01-dg_SRL db-oradev-dcdr-vvr01-dg_rvg ENABLED ACTIVE 1048576000 SELECT - SRL
    pl db-oradev-dcdr-vvr01-dg_SRL-01 db-oradev-dcdr-vvr01-dg_SRL ENABLED ACTIVE 1048576000 CONCAT - RW
    sd db-oradev-dcdr-vvr01-dg02-01 db-oradev-dcdr-vvr01-dg_SRL-01 db-oradev-dcdr-vvr01-dg02 0 1048576000 0 san_vc0_00018b ENA