cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

deleting rlink that's having "secondary_config_err" flag

hello,

in my VCS global cluster my ORAGrp resource group is partially online since my rvgres is offline, i am suspecting the issue in the below rlink.

i am trying to dissociate thi rlink(below:rlk_sys1-DB-rep_DB_r) and dettach it in order to delete it but i am not able to succeed.
below are some output from the system.

root@sys2# vxprint -P
Disk group: DBhrDG

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
rl rlk_sys1-DB-rep_DB_r DB_rvg CONNECT - - ACTIVE   -       -
rl rlk_sys1-rep_DB-rvg DB-rvg ENABLED - -     PAUSE    -       -

root@sys2# vxrlink -g DBhrDG dis rlk_sys1-rep_DB-rvg
VxVM VVR vxrlink ERROR V-5-1-3520 Rlink rlk_sys1-rep_DB-rvg can not be dissociated if it is attached
root@sys2# vxrlink -g DBhrDG det rlk_sys1-rep_DB-rvg
VxVM VVR vxrlink ERROR V-5-1-10128  Operation not allowed with attached rlinks
root@sys2# vxedit -g DBhrDG rm rlk_sys1-rep_DB-rvg
VxVM vxedit ERROR V-5-1-3540 Rlink rlk_sys1-rep_DB-rvg is not disabled, use -f flag
root@sys2# vxedit -g DBhrDG -f rm rlk_sys1-rep_DB-rvg
VxVM vxedit ERROR V-5-1-3541 Rlink rlk_sys1-rep_DB-rvg is not dissociated
root@sys2# vxprint -Vl
Disk group: DBhrDG

Rvg:      DB-rvg
info:     rid=0.1317 version=0 rvg_version=41 last_tag=11
state:    state=CLEAN kernel=DISABLED
assoc:    datavols=(none)
          srl=(none)
          rlinks=rlk_sys1-rep_DB-rvg
          exports=(none)
          vsets=(none)
att:      rlinks=rlk_sys1-rep_DB-rvg
flags:    closed secondary disabled detached passthru logging
device:   minor=26012 bdev=343/26012 cdev=343/26012 path=/dev/vx/dsk/DBhrDG/DB-rvg
perms:    user=root group=root mode=0600

Rvg:      DB_rvg
info:     rid=0.1386 version=13 rvg_version=41 last_tag=12
state:    state=ACTIVE kernel=ENABLED
assoc:    datavols=sys1_DB_Process,sys1_DB_Script,...
          srl=sys1_DB_SRL
          rlinks=rlk_sys1-DB-rep_DB_r
          exports=(none)
          vsets=(none)
att:      rlinks=rlk_sys1-DB-rep_DB_r
flags:    closed secondary enabled attached logging
device:   minor=26014 bdev=343/26014 cdev=343/26014 path=/dev/vx/dsk/DBhrDG/DB_rvg
perms:    user=root group=root mode=0600

 

please advise

regards

4 Replies
Highlighted

Try the following in

Try the following in order:

vxrlink resume

vxrlink det

vxrlink dis

vxedit rm

Mike

Highlighted

hi Mike, no luck, root@sys2 #

hi Mike,

no luck,

root@sys2 # vxrlink -g DBhrDG resume rlk_sys1-rep_DB-rvg
VxVM VVR vxrlink ERROR V-5-1-4116 Cannot resume rlink when SRL is disassociated
VxVM VVR vxrlink ERROR V-5-1-407 Attempting to cleanup after failure ...

root@sys2 # vxrlink -g DBhrDG det  rlk_sys1-rep_DB-rvg
VxVM VVR vxrlink ERROR V-5-1-10128  Operation not allowed with attached rlinks
root@sys2 # vxrlink -g DBhrDG dis  rlk_sys1-rep_DB-rvg
VxVM VVR vxrlink ERROR V-5-1-3520 Rlink rlk_sys1-rep_DB-rvg can not be dissociated if it is attached

 

 

Highlighted

hi, any hint on this

hi,

any hint on this please?

regards

Highlighted

hi, i managed to bring the

hi,

i managed to bring the rvg resource up, it has nothing to do with the rlink. i was mistankly writing the rrvg resource as DB-rvg instead of the one i created DB_rvg.

but still the paused rlink is theree in the configuration and never succeed to delete it.