Export and Import the disk group on the alternate node:
[root@node1 /]# umount /oracle
[root@node1 /]# vxdg list
NAME STATE ID
oracle enabled,cds 1394886552.14.node1.cluster.com
[root@node1 /]# vxdg deport oracle
[root@node1 /]# vxdg list
NAME STATE ID
[root@node1 /]#
[root@node2 ~]# vxdg -t import oracle
[root@node2 ~]# vxdg list
NAME STATE ID
oracle enabled,cds 1394886552.14.node1.cluster.com
[root@node2 ~]# vxprint -g oracle
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg oracle oracle - - - - - -
dm disk_8 disk_8 - 2027264 - - - -
v oracle_vol fsgen ENABLED 1024000 - ACTIVE - -
pl oracle_vol-01 oracle_vol ENABLED 1024000 - ACTIVE - -
sd disk_8-01 oracle_vol-01 ENABLED 1024000 0 - - -
[root@node2 ~]#
Mounting on alternate node:
[root@node2 ~]# mount -t vxfs /dev/vx/dsk/oracle/oracle_vol /oracle
[root@node2 ~]# df -Th /oracle
Filesystem Type Size Used Avail Use% Mounted on
/dev/vx/dsk/oracle/oracle_vol
vxfs 500M 3.3M 466M 1% /oracle
[root@node2 ~]#
No comments:
Post a Comment