海量存储堆栈、本机多路径和灵活命名
海量存储堆栈用于管理 I/O 设备。在 HP-UX 11i V3 中,海量存储堆栈提供本机多路径和灵活命名功能。
使用灵活命名功能,I/O 设备会通过实际对象名称进行命名,而不是通过对象的硬件路径进行命名。由于这些设备路径会动态更改,因此本机多路径提供了单一虚拟化路径,表示到单一设备的多条路径。
要支持 HP-UX V11.31 的海量存储堆栈和本机多路径,必须将相关主机对象的类型属性指定为 hpux。尽管 HP-UX V11.31 支持“设备特殊文件”(DSF) 命名和物理卷链路 (PVLink),但对于系统,请仍使用灵活命名和本机多路径功能。要了解有关 HP-UX V11.31 的本机多路径支持和海量存储堆栈支持的更多信息,请参阅相关的 Hewlett-Packard 出版物。
要发现并显示所连接磁盘的所有硬件路径和持久 DSF,请使用 HP-UX V11.31 命令 ioscan –fnNC disk。Storwize® V3500 卷会识别为 IBM® 2145 磁盘。
要确定到系统卷的路径是处于打开还是关闭状态,请使用 HP-UX V11.31 命令 scsimgr get_info all_lpt。scsimgr 输出中全球标识 (WWID) 的值与系统上卷的唯一标识 (UID) 值 (volume_UID) 匹配。此外,HP-UX V11.31 2007 年 11 月 31 日的发行版及更高版本均实现了 T10 ALUA 支持。 隐式 ALUA 支持已集成到 Storwize V3500 发行版的 HP-UX 主机类型中。
# scsimgr get_info all_lpt -D /dev/rdisk/disk1484
STATUS INFORMATION FOR LUN PATH : lunpath993
Generic Status Information
SCSI services internal state = STANDBY
Open close state = STANDBY
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x600507680184000060000000000005d4
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = ACTIVE/NON-OPTIMIZED
Device preferred path = No
Relative target port identifier = 256
Target port group identifier = 1
STATUS INFORMATION FOR LUN PATH : lunpath990
Generic Status Information
SCSI services internal state = ACTIVE
Open close state = ACTIVE
Protocol = fibre_channel
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x600507680184000060000000000005d4
Total number of Outstanding I/Os = 0
Maximum I/O timeout in seconds = 30
Maximum I/O size allowed = 2097152
Maximum number of active I/Os allowed = 8
Maximum queue depth = 8
Queue full delay count = 0
Asymmetric state = ACTIVE/OPTIMIZED
Device preferred path = No
Relative target port identifier = 0
Target port group identifier = 0
HP-UX V11.31 中的动态 LUN 扩展功能支持系统卷的扩展。要使用该功能,应当使用系统 expandvdisksize 命令来扩展卷的容量。有关主机端操作的更多信息,请参阅 Hewlett-Packard 出版物 HP-UX System Administrator's Guide: Logical Volume Management: HP-UX 11i Version 3。