| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 2, Section 1M: System Administration Commands > vvxdmpadm(1M) |
|
NAMEvxdmpadm — DMP subsystem administration SYNOPSISvxdmpadm [-f] disable [ attribute...] vxdmpadm enable [ attribute...] vxdmpadm getctlr all | c# vxdmpadm getctlrgrp dmpnodename vxdmpadm getdmpnode [ attribute...] vxdmpadm getsubpaths [ attribute...] vxdmpadm help [ attribute...] vxdmpadm listctlr [ attribute...] vxdmpadm listenclosure [ attribute...] vxdmpadm listenclr dgname vxdmpadm setattr enclosure [attribute...] vxdmpadm start restore [ attribute...] vxdmpadm stat errord vxdmpadm stat restored vxdmpadm stop restore DESCRIPTIONThe vxdmpadm utility is an administrative interface to the VERITAS Volume Manager Dynamic Multipathing (DMP) facility. vxdmpadm lists the paths under a DMP device, gets the DMP device corresponding to a path, lists all the disk controllers on the system, lists all the paths through a host disk controller, lists all the DMP nodes through a disk array, and enables or disables a host disk controller on the system. vxdmpadm keywords select the action to perform, and attributes specify the objects on which the action is performed. KEYWORDS
ATTRIBUTESAttribute values can be specified with keywords in the form attribute=value.
EXIT CODESvxdmpadm exits with a zero status if the attempted operation succeeds. A non-zero exit code is not a complete indicator of the problems encountered, but rather denotes the first condition that prevented further execution of the utility. See vxintro(1M) for a list of standard exit codes. EXAMPLESTo display the usage message for all vxdmpadm commands, enter: vxdmpadm help To list all attributes of all host I/O controllers on the system, enter: vxdmpadm listctlr all To list all attributes of all the enclosures on the system, enter: vxdmpadm listenclosure all To list all attributes of the disk array purple, enter: vxdmpadm listenclosure purple To disable I/O through the host disk controller c2, enter: vxdmpadm disable ctlr=c2 If you then run the listctlr all command, the state of the controller c2 is shown as disabled. To enable the host disk controller c2, which was disabled by vxdmpadm disable ctlr=c2, enter: vxdmpadm enable ctlr=c2 Executing listctlr all after this command shows the state of the controller c2 as enabled. The following examples outline the attributes supported by vxdmpadm listctlr. vxdmpadm listctlr all vxdmpadm listctlr enclosure=purple type=T300 vxdmpadm listctlr type=T300 vxdmpadm listctlr enclosure=purple vxdmpadm listctlr ctlr=c2 The following command lists all paths controlled by the DMP node c2t1d0s2. vxdmpadm getsubpaths dmpnodename=c2t1d0s2 The following command obtains all paths through the host disk controller c2. vxdmpadm getsubpaths ctlr=c2 The following command displays the DMP node that controls the node c3t2d1s2. vxdmpadm getdmpnode nodename=c3t2d1s2 The following command displays the DMP nodes connected to the enclosure purple. vxdmpadm getdmpnode enclosure=purple The following command assigns a new name, VMGRP_1, to the enclosure purple. vxdmpadm setattr enclosure purple name=VMGRP_1 To start the restore daemon with the default interval (300 seconds) and default policy (check_disabled), enter: vxdmpadm start restore To specify the interval of polling as 400 seconds, enter: vxdmpadm start restore interval=400 The daemon checks the condition of the paths as specified by the policy attribute. To set the policy as check_all, enter: vxdmpadm start restore policy=check_all The following command stops the DMP restore daemon; the restore daemon is automatically started at system startup time with default attributes. vxdmpadm stop restore To list the intervals of restore daemons running and the number of error daemons, enter: vxdmpadm stat restored vxdmpadm stat errord |
||||||||||||||||||||||||||||
|
|||||||||||||||