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

Configure DMP on linux

Ialahmad
Level 5
Partner

Hi All,

I'm new in Storage foundation and Veritas volume manager,

I need help how to configure Veritas Dynamic Multipathing on VCS 5.1 installed on two node running OS linux 5.3 I have following Disk, I want to enable Veritas to manage two disk disk_1 and disk_2:

[root@NODE1 ~]# vxdmpadm getsubpaths
NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-NAME   CTLR   ATTRS
================================================================================
sdb          ENABLED(A)   -          disk_0       disk         c1       -
sde          ENABLED(A)   -          disk_0       disk         c2       -
sdc          ENABLED(A)   -          disk_1       disk         c1       -
sdf          ENABLED(A)   -          disk_1       disk         c2       -
sdd          ENABLED(A)   -          disk_2       disk         c1       -
sdg          ENABLED(A)   -          disk_2       disk         c2       -
sda          ENABLED(A)   -          disk_3       disk         c0       -

I want to configure the paths of disk_1 (sdc and sdf) as failover and for disk_2 (sdd and sdg) as failover to get configure like this

 NAME         STATE[A]   PATH-TYPE[M] DMPNODENAME  ENCLR-NAME   CTLR   ATTRS
================================================================================
sdb          ENABLED(A)   -          disk_0       disk         c1       -
sde          ENABLED(A)   -          disk_0       disk         c2       -
sdc           ENABLED(A)   -          disk_1       disk         c1       -
sdf           ENABLED        -          disk_1       disk         c2       -
sdd          ENABLED(A)   -          disk_2       disk         c1       -
sdg          ENABLED        -          disk_2       disk         c2       -
sda          ENABLED(A)   -          disk_3       disk         c0       -

 

so if you have any steps to do this or if there is any articleplease provide.

 

Regards.

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified

Hello,

DMP by default is capable of detecting & configuring the devices.

What I can see above is. you have an active-active array in the background & hence all paths are marked in that fashion..

Is there any deliberate reason why you want to keep them in failover mode ?

Well as said above, DMP will detect on its own the devices & marks it however you can tune the way how IO will flow via DMP paths. You can choose the "iopolicy"

To manage properties/attributes of a single path:

https://sort.symantec.com/public/documents/sf/5.1/linux/html/vxvm_admin/ch04s08s12.htm

To configure IOPolicy (defaults are always recommended)

https://sort.symantec.com/public/documents/sf/5.1/linux/html/vxvm_admin/ch04s08s16.htm

Details on how to Manage DMP can be found here:

https://sort.symantec.com/public/documents/sf/5.1/linux/html/vxvm_admin/ch04.htm

 

Hope this helps

 

Gaurav

 

 

View solution in original post

2 REPLIES 2

Gaurav_S
Moderator
Moderator
   VIP    Certified

Hello,

DMP by default is capable of detecting & configuring the devices.

What I can see above is. you have an active-active array in the background & hence all paths are marked in that fashion..

Is there any deliberate reason why you want to keep them in failover mode ?

Well as said above, DMP will detect on its own the devices & marks it however you can tune the way how IO will flow via DMP paths. You can choose the "iopolicy"

To manage properties/attributes of a single path:

https://sort.symantec.com/public/documents/sf/5.1/linux/html/vxvm_admin/ch04s08s12.htm

To configure IOPolicy (defaults are always recommended)

https://sort.symantec.com/public/documents/sf/5.1/linux/html/vxvm_admin/ch04s08s16.htm

Details on how to Manage DMP can be found here:

https://sort.symantec.com/public/documents/sf/5.1/linux/html/vxvm_admin/ch04.htm

 

Hope this helps

 

Gaurav

 

 

Ialahmad
Level 5
Partner

thank you for your quick response ,, the make reason to make active/passive (failover) as follow:

I install oracle database on this system disk_1 for orcle data files and disk_2 for oracle logs file,, once I enable two paths for same disk I found there is corrupted occured on oracle data file detected by RMAN (online backup) this corrupted occure when I do switch of to onther node of VCS .

when I disconnect one of path (path C2) oracle database file not affect by switch of So that I need to configure one path used on same time.