1819774 Members
3456 Online
109607 Solutions
New Discussion юеВ

How to find dmp path.

 
SOLVED
Go to solution
Prasad Joshi
Regular Advisor

How to find dmp path.

Hi All,

I am working on HP-UX 11.11. I have installed veritas product of version 3.5.

I want to disable one of the dmp path. This is what i am trying.

slpam19:/ # vxdmpadm listctlr all
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME
=========================================================
c2 OTHER_DISKS ENABLED OTHER_DISKS
c4 OTHER_DISKS ENABLED OTHER_DISKS
c6 OTHER_DISKS ENABLED OTHER_DISKS

slpam19:/ # vxdmpadm disable
vxvm:vxdmpadm: ERROR: Incorrect Usage
vxdmpadm [-f] disable path= ctlr= [enclosure=]
[type=]
NOTE : ctlr_name can be obtained by the listctlr option. The
combination of enclosure-name and enclosure-type must be valid.
The controller name must be specified. If a controller is shared by two
enclosures, then the enclosure attribute uniquely specifies the controller.
If enclosure attribute is not specified, all controllers of the given name
will be disabled. Otherwise, attributes merely speed up search.

slpam19:/ # vxdmpadm disable c6
vxvm:vxdmpadm: ERROR: Incorrect Usage : At least one of the three -
ctlr, enclosure-name, type must be specified and only once.
vxdmpadm [-f] disable ctlr= enclosure= type=


So, how could i find the path thing required here?

Thanks and regards,
Prasad.
14 REPLIES 14
Enrico P.
Honored Contributor
Solution

Re: How to find dmp path.

Hi,
I think you need to use

vxdmpadm disable ctlr=c6

if you want to disable the c6 controller

Enrico
Prasad Joshi
Regular Advisor

Re: How to find dmp path.

This solved my purpose.

slpam19:/ # vxdmpadm -f disable ctlr=c6

But, still i would like to know how to find the dmp path?

Thanks and reagrds,
Prasad
Enrico P.
Honored Contributor

Re: How to find dmp path.

vxdmpadm getsubpaths ctlr=c2

This work?

ENrico
Enrico P.
Honored Contributor

Re: How to find dmp path.

vxdmpadm getsubpaths ctlr=c2

This work?

Enrico
Prasad Joshi
Regular Advisor

Re: How to find dmp path.

I did disabing of controller c6 and then rebooted the system.

But, after reboot it is again enabled. How could I disable it persistently.

slpam19:/ # vxdmpadm listctlr all
CTLR-NAME ENCLR-TYPE STATE ENCLR-NAME
=========================================================
c2 OTHER_DISKS ENABLED OTHER_DISKS
c4 OTHER_DISKS ENABLED OTHER_DISKS
c6 OTHER_DISKS ENABLED OTHER_DISKS

Thanks and regards,
Prasad.
Ninad_1
Honored Contributor

Re: How to find dmp path.

Try
vxdmpadm getsubpaths ctlr=c6

Regards,
Ninad
spex
Honored Contributor

Re: How to find dmp path.

Here's a list of maintenance commands for VERITAS Storage Foundation 4.1:

http://eval.veritas.com/downloads/edu/qrg_sf41_maint.pdf
Arunvijai_4
Honored Contributor

Re: How to find dmp path.

Hi Prasad,

Take a look at these pages,

http://docs.hp.com/en/B9106-90008/vxdmpadm.1M.html
http://docs.hp.com/en/B7961-90018/ch07s05.html

This may provide you some details.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Ninad_1
Honored Contributor

Re: How to find dmp path.

In vxdiskadm option 17 is Prevent multipathing/Suppress devices from VxVM's view.
But I am not sure if this is valid across reboots- but it should be.
Other method would be to write a script in startup scripts - /sbin/init.d which will disable the path.

Regards,
Ninad
Enrico P.
Honored Contributor

Re: How to find dmp path.

Hi,
to exclude a path:

run vxinstall command

select the menu item 3 (Prevent Multipathing/Suppress devices from
VxVM├в s view)

Yes to confirm

Select 5 (Prevent multipathing of all disks on a controller by VxVM) . The controller you name is
excluded from DMP control.


Enrico
Prasad Joshi
Regular Advisor

Re: How to find dmp path.

Hi Enrico P,

Does vxinstall way work with 3.5? I am not sure.

I tried it but, did not worked.

Thanks and regards,
Prasad.
Prasad Joshi
Regular Advisor

Re: How to find dmp path.

Hi Arunvijai,

Those docs does not provide a way to disable multipathing persistently.

Thanks for information.

Thanks and regards,
Prasad.
Robert-Jan Goossens
Honored Contributor

Re: How to find dmp path.

Hi Prasad,

Title: Enabling and disabling VxVM and/or DMP on a set of storage devices
Document ID: HPUXNEWSI308A8

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080073834

Regards,
Robert-Jan
Enrico P.
Honored Contributor

Re: How to find dmp path.

Hi,
vxinstall need to run the first time you configure VxFs, to reconfigure it you need to delete the file install-db.

Try this:

Run vxdiskadm

Menu' 17 (VolumeManager/Disk/ExcludeDevices)

Confirm y

Option 5 (VolumeManager/Disk/ExcludeDevices/CTLR-DMP)

Enter c6

q for exit

Enrico