With HP-UX 11i 3, you can use one of two volume managers:
The HP Logical Volume Manager (LVM).
The Veritas Volume Manager (VxVM). With this manager, any I/O is handled in
pass-through mode and therefore run by Native Multipathing, not by Dynamic Multipathing (DMP).
According to the HP-UX System Administrator's Guide, both volume managers can coexist on an HP-UX server. For more information, see HP-UX System Administration at:
http://www.hp.com/go/hpux-core-docs
You can use both simultaneously (on separate physical disks), but usually you choose to use one or the other exclusively.
The configuration of XIV volumes on HP-UX with LVM is described in 5.2, “HP-UX
multi-pathing solutions” on page 172. Example 5-5 shows the initialization of disks for VxVM use and the creation of a disk group with the vxdiskadm utility.
Example 5-5 Disk initialization and disk group creation with vxdiskadm
# vxdctl enable 16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view 19 List currently suppressed/non-multipathed devices 20 Change the disk naming scheme
21 Change/Display the default disk layouts
22 Mark a disk as allocator-reserved for a disk group 23 Turn off the allocator-reserved flag on a disk list List disk information
? Display help about menu
?? Display help about the menuing system q Exit from menus
Select an operation to perform: 1 Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
Use this operation to add one or more disks to a disk group. You can add the selected disks to an existing disk group or to a new disk group that will be created as a part of the operation. The selected disks may also be added to a disk group as spares. Or they may be added as
nohotuses to be excluded from hot-relocation use. The selected disks may also be initialized without adding them to a disk group leaving the disks available for use as replacement disks.
More than one disk or pattern may be entered at the prompt. Here are some disk selection examples:
Select disk devices to add: [<pattern-list>,all,list,q,?] XIV2_1 XIV2_2 Here are the disks selected. Output format: [Device_Name]
XIV2_1 XIV2_2
Continue operation? [y,n,q,?] (default: y) y
You can choose to add these disks to an existing disk group, a new disk group, or you can leave these disks available for use by future add or replacement operations. To create a new disk group, select a disk group name that does not yet exist. To leave the disks available for future use, specify a disk group name of "none".
Which disk group [<group>,none,list,q,?] (default: none) dg01 Create a new group named dg01? [y,n,q,?] (default: y)
Create the disk group as a CDS disk group? [y,n,q,?] (default: y) n Use default disk names for these disks? [y,n,q,?] (default: y) Add disks as spare disks for dg01? [y,n,q,?] (default: n) n Exclude disks from hot-relocation use? [y,n,q,?] (default: n) Add site tag to disks? [y,n,q,?] (default: n)
A new disk group will be created named dg01 and the selected disks will be added to the disk group with default disk names.
XIV2_1 XIV2_2
Continue with operation? [y,n,q,?] (default: y)
Do you want to use the default layout for all disks being initialized?
[y,n,q,?] (default: y) n
Do you want to use the same layout for all disks being initialized?
[y,n,q,?] (default: y)
Enter the desired format [cdsdisk,hpdisk,q,?] (default: cdsdisk) hpdisk Enter desired private region length
[<privlen>,q,?] (default: 32768) Initializing device XIV2_1.
Initializing device XIV2_2.
VxVM NOTICE V-5-2-120
Creating a new disk group named dg01 containing the disk device XIV2_1 with the name dg0101.
VxVM NOTICE V-5-2-88
Adding disk device XIV2_2 to disk group dg01 with disk name dg0102.
Add or initialize other disks? [y,n,q,?] (default: n) n
# vxdisk list
DEVICE TYPE DISK GROUP STATUS Disk_0s2 auto:LVM - - LVM Disk_1s2 auto:LVM - - LVM
XIV2_0 auto:none - - online invalid XIV2_1 auto:hpdisk dg0101 dg01 online
XIV2_2 auto:hpdisk dg0102 dg01 online XIV2_3 auto:LVM - - LVM XIV2_4 auto:LVM - - LVM
The graphical equivalent for the vxdiskadm utility is the Veritas Enterprise Administrator (VEA). Figure 5-3 shows disks as they are displayed in this graphical user interface.
Figure 5-3 Disk presentation by Veritas Enterprise Administrator
In this example, after you create the disk groups and the VxVM disks, you must create file systems and mount them.
5.3.1 Array Support Library for an IBM XIV Storage System
Veritas Volume Manager (VxVM) offers a device discovery service that is implemented in the so-called Device Discovery Layer (DDL). For a specific storage system, this service is provided by an Array Support Library (ASL). The ASL can be downloaded from the Symantec website. An ASL can be dynamically added to or removed from VxVM.
On a host system, the VxVM command vxddladm listsupport displays a list of storage systems that are supported by the VxVM version installed on the operating system (Example 5-6).
Example 5-6 VxVM command to list Array Support Libraries
# vxddladm listsupport LIBNAME VID
==============================================================================
...
libvxxiv.sl XIV, IBM
# vxddladm listsupport libname=libvxxiv.sl
ATTR_NAME ATTR_VALUE
=======================================================================
LIBNAME libvxxiv.sl VID XIV, IBM PID NEXTRA, 2810XIV ARRAY_TYPE A/A ARRAY_NAME Nextra, XIV
On a host system, ASLs allow easier identification of the attached disk storage devices. The ASL serially numbers the attached storage systems of the same type and the volumes of a single storage system that are assigned to this host.
Example 5-7 shows that five volumes of one XIV system are assigned to that HP-UX host.
VxVM controls the devices XIV2_1 and XIV2_2, and the disk group name is dg01. The HP LVM controls the remaining XIV devices, except for XIV2_0.
Example 5-7 VxVM disk list
# vxdisk list
DEVICE TYPE DISK GROUP STATUS Disk_0s2 auto:LVM - - LVM Disk_1s2 auto:LVM - - LVM
XIV2_0 auto:none - - online invalid XIV2_1 auto:hpdisk dg0101 dg01 online
XIV2_2 auto:hpdisk dg0102 dg01 online XIV2_3 auto:LVM - - LVM XIV2_4 auto:LVM - - LVM
More information about ASL is available at:
http://www.symantec.com/business/support/index?page=content&id=TECH21351 ASL packages for XIV and HP-UX 11iv3 are available for download at:
http://www.symantec.com/business/support/index?page=content&id=TECH63130