1、PowerPath 将多路径输入/输出功能、自动负载平衡、路径故障切换和逻辑卷管理功能组合在一个集成软件包中。PowerPath 支持连接到EMC Symmetrix EMCCLARiiON 和Hitachi Data Systems (HDS) Lightning 网络存储系统的服务器(包括群集服务器)。PowerPath 软件驻留在开放的服务器平台上,在交换结构和仲裁回路环境中均支持SCSI 和光纤通道。通过PowerPath,您能够利用最高的可用性和性能以及业界领先的信息存储系统的所有优点,满足快速增长的服务级别。一、 安装Navisphere Agent 4.31. Install N
2、avisphere Agent and CLI on an HP-UX server Verify the following requirements have been met before continuing: The HP-UX host is running a supported distribution of HP-UX. The supported HBA hardware and driver are installed. That the disk-array storage system(s) is connected to the HP-UX server where
3、 you are installing Agent.Mount the CD-ROM or DVD-ROM:If the directory cdrom (dvdrom) does not exist, create it with the following command:mkdir /cdromExecute the following command to mount the CD-ROM (DVD-ROM):mount devicename /cdromInstall the Agent files and the CLI:a. At the command prompt (#) i
4、n an hpterm window, execute the following command to specify the CD-ROM (DVD-ROM) as the source depot:/usr/sbin/swinstall s /cdrom/NAVIAGNT.DEP;1 x mount_all_filesystems=false b. The SD-Install Software Selection dialog box opens. In the software selection area of the SD-Install Software Selection d
5、ialog box, select (highlight) one of the following:c. 标记NAVICLI (to install the CLI)和NAVIAGENT (to install the Host Agent)d. When the installation completes, click Done.e. File ExitModify user login scripts:Use a text editor to modify your login scripts as described below:$HOME/.profile or in $HOME/
6、.cshrc, and export each path:Add the text /opt/Navisphere/bin to PATHAdd the text /opt/Navisphere/man to MANPATHAdd the text /usr/lib:/usr/lib/X11R5:/opt/Navisphere/lib to SHLIB_PATH navicli -h hostname port -list hba(hostname is an SP IP address)For each HBA in the server, a listing will be display
7、ed that includes HBAs in all connected hosts. Verify connection between SP Agent and host system Execute the following CLI command:navicli h hostname getagent where hostname is the server nameA listing for each SP in the storage system will be displayed.a. Start the Host Agent by entering the follow
8、ing command:b. /sbin/init.d/agent start二、 安装Power path Install PowerPath on an HP-UX host - GOLDBASE11i (June 2001 or later)- GOLDAPPS11i (June 2001 or later)Mount the PowerPath CD-ROM:a. Verify that you are logged in as root.b. Insert the PowerPath installation CD-ROM into the CD-ROM drive.c. Mount
9、 the CD on your filesystem. For example, to mount the CD on /mnt, enter:mount /dev/dsk/c#t#d# /mntInstall PowerPath software from either the CD-ROM or the compressed tar file:To install from the CD-ROM:For HP-UX 11.23, enter:swinstall x autoreboot=true x mount_all_filesystems=false -s /cdrom/UNIX/HP
10、/EMCPower.HP.IA64.4.3.0 EMCpowerAfter swinstall completes, the host reboots automatically. After the installation is complete, you must register PowerPath on the host:After the reboot is complete, you must register PowerPath on the host:(注意在两个RX7620上都要安装LICENSE )a. Locate the PowerPath License Key C
11、ard, which has your license registration key printed, delivered with the PowerPath media kit. b. Enter the following command:emcpreg installc. Locate the PowerPath License Key Card, which has your license registration key printed, delivered with the PowerPath media kit. d. Enter the following comman
12、d:e. At the prompt, type y and press Enter.f. At the registration key prompt, enter the PowerPath registration key and press Enter. If you enter a valid registration key, you see a success message.WARNING: Failing to enter a registration key will result in the installation of Utility Kit PowerPath (
13、PowerPath Basic), which is the default policy without a valid PowerPath license. Press Enter and you will see the following output:1 key(s) successfully registered. Discover device names of CLI communication LUNs on an HP-UX server To find out the device names of the LUNs that HP-UX sees, use the io
14、scan program. Enter:ioscan -fnC disk This tells HP-UX to scan for disks and send the disk device names to a file, here orig.scan.Print the file, and you will see a list of device entries.a. If the file does not include device entries, create device entries by entering the following command:insf eIf
15、the Agent is running, stop it and then restart the Agent as follows:/sbin/init.d/agent stop/sbin/init.d/agent start Configure PowerPath devices for an HP-UX host inpwp380Enter the following command to configure PowerPath:powermt configVerify that PowerPath sees all the paths to the LUNs by entering
16、the following command:powermt display dev=all# powermt display dev=allCLARiiON ID=CK200033700116Logical device ID=600601E8830C0000F95182015C34D911state=alive; policy=CLAROpt; priority=0; queued-IOs=0Owner: default=SP B, current=SP B=- Host - - Stor - - I/O Path - - Stats -# HW Path I/O Paths Interf.
17、 Mode State Q-IOs Errors 12 1/0/2/1/0.97.5.19.0.0.2 c12t0d2 SP B1 active alive 0 0 13 1/0/4/1/0.97.5.19.0.0.2 c13t0d2 SP B0 active alive 0 0Logical device ID=600601E8830C0000FB5182015C34D911 12 1/0/2/1/0.97.5.19.0.0.1 c12t0d1 SP B1 active alive 0 0 13 1/0/4/1/0.97.5.19.0.0.1 c13t0d1 SP B0 active ali
18、ve 0 0Logical device ID=600601E8830C0000FC5182015C34D911 12 1/0/2/1/0.97.5.19.0.0.0 c12t0d0 SP B1 active alive 0 0 13 1/0/4/1/0.97.5.19.0.0.0 c13t0d0 SP B0 active alive 0 0Test PowerPath In the command window, view the output of the powermt display dev=all command and verify the following: 如果path中出现
19、”dead”. Powermt check dev=all,删除dead路径 Powermt config powermt display dev=all 查看all the paths to the LUNs下面是POWER PATH修复的例子#:powermt display Symmetrix logical device count=0CLARiiON logical device count=4- Host Bus Adapters - - I/O Paths - - Stats -# HW Path Summary Total Dead IO/Sec Q-IOs Errors 12
20、 1/0/2/1/0.97.5.19.0 optimal 3 0 - 0 0 13 1/0/4/1/0.97.5.19.0 degraded 3 1 - 0 0CLARiiON ID=CK200033700116 hp-uxLogical device ID=600601E8830C0000F95182015C34D911 LUN 4Logical device ID=600601E8830C0000FA5182015C34D911 default=SP B, current=Unknown 13 1/0/4/1/0.97.5.19.0.0.0 c13t0d0 SP B0 active dead 0 0Logical device ID=600601E8830C0000FB5182015C34D911 LUN 5Logical device ID=600601E8830C0000FC5182015C34D911 LUN 6# powermt checkWarning: CLARiiON device path c13t0d0 is currently dead.Do you want to remove it (y/n/a/q)? y# powermt configCL
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1