1、File Name config.txt: config.txtPassword: configUpload complete: All config parameters are uploaded三:服务器备份相关信息1,DISK,,FCS,VG ,PV ,FS。如下图所示:2,HDLM软件里头的链路状态。如下所示:# ./dlnkmgr view -sysHDLM Version : 05-80-/AService Pack Version :Load Balance : on(rr)Support Cluster :Elog Level : 3Elog File Size (KB) :
2、9900Number Of Elog Files : 2Trace Level : 0Trace File Size (KB) : 1000Number Of Trace Files : 4Path Health Checking : on(30)Auto Failback : offReservation Status : on(2)Intermittent Error Monitor :HDLM Manager Ver WakeupTimeAlive 05-80-/A 2010/11/11 17:59:56HDLM Alert Driver Ver WakeupTime ElogMem S
3、ize58:55 4000HDLM Driver Ver WakeupTime54License Type ExpirationPermanent -KAPL01001-I The HDLM command completed normally. Operation name = view, complet9# ./dlnkmgr view -luProduct : 9500VSerialNumber : 4951LUs :iLU HDevName Device PathID Status0000 dlmfdrv2 hdisk8 000004 Online hdisk14 000005 Onl
4、ine0003 dlmfdrv3 hdisk10 000006 Online hdisk15 000007 Online0006 dlmfdrv0 hdisk6 000000 Online hdisk12 000001 Online0007 dlmfdrv1 hdisk7 000002 Online hdisk13 000003 Online# ./dlnkmgr view -pathPaths:000008 OnlinePaths:000008PathStatus IO-Count IO-ErrorsOnline 31722979 0PathID PathName DskName e0000
5、00 08.11.0000000000021100.0006 HITACHI .DF600F .4951 0000001 08.1H.0000000000021100.0006 HITACHI .DF600F .4951 0000002 08.11.0000000000021100.0007 HITACHI .DF600F .4951 1000003 08.1H.0000000000021100.0007 HITACHI .DF600F .4951 1000004 08.1H.0000000000021100.0000 HITACHI .DF600F .4951 2000005 08.11.0
6、000000000021100.0000 HITACHI .DF600F .4951 2000006 08.1H.0000000000021100.0003 HITACHI .DF600F .4951 3000007 08.11.0000000000021100.0003 HITACHI .DF600F .4951 3四:新的交换机就位,光纤线标识。该过程要注意线的位置,标识清楚,在新的交换机上占用的端口号,回头要插入存储过来的光纤线,主机过来的光纤线,事先一定规划好,以免到时出乱。五:交换机切换下面分三种情况更换交换机,可以根据实际情况采取相应方式:(一):在线更换交换机该方式不停应用,生产
7、可以继续,但前提是一定要注意链路的冗余方式,至少2路,位于不同的交换机上。仔细核对主机里头的HDLM软件链路情况,删除先要更换的交换机所在的链路。1,如下,在每台主机上执行如下命令。确保另一链路的正常运行。5.8HDLM FOR AIX5.9以上HDLM FOR AIX2,此时系统单路运行,在插拔光纤线的时候,一定要注意,不能将剩下的一路offline,否则,应用会停,影响生产。3,更换一路的交换机,重新cfgmgr ,识别链路正常后,更换另一路的交换机,方式如上。重新cfgmgr。识别新的硬件,硬盘。确保链路正常。验证应用。(二):离线更换交换机,主机不重启1,停生产应用2,varyoffv
8、g3,删除外接HDS的所有设备,两路全部删除掉命令如下:在每台主机上执行如下命令,删除2个fscsi,一般是fscsi0和fscsi1,两路全部删除更换两路的交换机,重新cfgmgr,识别新的硬件,硬盘。(三):离线更换交换机,主机重启3,物理更换两路的交换机4,主机重启,自动扫描新的硬件,确保两路链路正常六:验证,起服务,测试数据验证五中的后两种方式需要如下动作,第一种方式不需要。1,varyonvg2,起应用3,验证数据七:风险性评估,最优方式选取在步骤五中,提到了三种方式更换交换机,就风险性方面,建议采用(二)离线更换交换机,主机不重启,但如果主机数量较多,不能一一在主机执行相关的HDL
9、M命令,则可以采用(三)离线更换交换机,主机重启,该方式彻底,一次性到位。不好处在于主机重启会耽误时间,有的主机重启可能需要漫长的等待时间,还可能重启后报硬件错误,这要注意。下面输出实际操作中的命令解析,采用(二)离线更换交换机,主机不重启,该情况为HDLM5.8 for AIX系统下:仅供可以参考# lspvhdisk0 005d0a1f653236a4 rootvg activehdisk1 0051eace80ae4a55 rootvg activehdisk2 0051eace88486bf5 Nonehdisk3 005d420de099d1d9 Nonehdisk6 none No
10、nehdisk7 none Nonedlmfdrv0 0051eace292ce720 datavgdlmfdrv1 0051eacedc82eeb0 datavghdisk8 none Nonedlmfdrv2 0051eace42322b8a datavghdisk10 none Nonedlmfdrv3 0051eacee480c7d2 datavghdisk12 none Nonehdisk13 none Nonehdisk14 none Nonehdisk15 none None# lsdev -Cc diskdlmfdrv0 Available HDLM Driverdlmfdrv
11、1 Available HDLM Driverdlmfdrv2 Available HDLM Driverdlmfdrv3 Available HDLM Driverhdisk0 Available 1S-08-00-8,0 16 Bit LVD SCSI Disk Drivehdisk1 Available 1S-08-00-9,0 16 Bit LVD SCSI Disk Drivehdisk2 Available 1S-08-00-10,0 16 Bit LVD SCSI Disk Drivehdisk3 Available 1S-08-00-11,0 16 Bit LVD SCSI D
12、isk Drivehdisk4 Defined 1H-08-01 Other FC SCSI Disk Drivehdisk5 Defined 1H-08-01 Other FC SCSI Disk Drivehdisk6 Available 11-08-01 Other FC SCSI Disk Drivehdisk7 Available 11-08-01 Other FC SCSI Disk Drivehdisk8 Available 1H-08-01 Other FC SCSI Disk Drivehdisk9 Defined 11-08-01 Other FC SCSI Disk Dr
13、ivehdisk10 Available 1H-08-01 Other FC SCSI Disk Drivehdisk11 Defined 11-08-01 Other FC SCSI Disk Drivehdisk12 Available 1H-08-01 Other FC SCSI Disk Drivehdisk13 Available 1H-08-01 Other FC SCSI Disk Drivehdisk14 Available 11-08-01 Other FC SCSI Disk Drivehdisk15 Available 11-08-01 Other FC SCSI Dis
14、k Drive# cd /usr/D*/binKAPL01001-I The HDLM command completed normally. Operation name = view, complet8# lsdev -Cc adapterent0 Available 1L-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)ent1 Available 1Z-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)ent2 Available 14-08 10/100 Mbps Ethernet PC
15、I Adapter II (1410ff01)ent3 Available 1D-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)fcs0 Available 1H-08 FC Adapterfcs1 Available 11-08 FC Adapterfda0 Available 01-D1 Standard I/O Diskette Adapteride0 Available 1G-19 ATA/IDE Controller Devicelai0 Available 1p-00 GXT135P Graphics Adapterppa0 Av
16、ailable 01-R1 CHRP IEEE1284 (ECP) Parallel Port Adaptersa0 Available 01-S1 Standard I/O Serial Portsa1 Available 01-S2 Standard I/O Serial Portsa2 Available 01-S3 Standard I/O Serial Portscsi0 Available 1S-08 Wide/Ultra-3 SCSI I/O Controllerscsi1 Available 1S-09 Wide/Ultra-3 SCSI I/O Controllerscsi2
17、 Available 1c-08 Wide/Fast-20 SCSI I/O Controllersioka0 Available 01-K1-00 Keyboard Adaptersiokma0 Available 01-K1 Keyboard/Mouse Adaptersioma0 Available 01-K1-01 Mouse Adaptersisioa0 Available 1V-08 PCI-X Dual Channel U320 SCSI RAID Adapter# ./dlnkmgr offline -hab 08.1HKAPL01005-W A parameter is in
18、valid. Operation name = offline, parameter = -hab# ./dlnkmgr offline -hba 08.1HKAPL01055-I All the paths which pass the specified HBA will be changed to the O:KAPL01040-W The entered value is invalid. Re-enter y/n:yKAPL01056-I If you are sure that there would be no problem when all the paths wyKAPL0
19、1061-I 4 path(s) were successfully placed Offline(C); 0 path(s) were not. e# ./dlmHBAdel fscsi0KAPL10620-I The dlmHBAdel utility completed normally.0000 dlmfdrv2 hdisk14 000005 Online0003 dlmfdrv3 hdisk15 000007 OnlineKAPL01001-I The HDLM command completed normally. Operation name = view, complet7#
20、rmdev -dl fscsi0 -Rhdisk4 deletedhdisk5 deletedrmt1 deletedrmt2 deletedhdisk8 deletedhdisk10 deletedhdisk12 deletedhdisk13 deletedfscsi0 deleted# ./dlmHBAdel fscsi1# rmdev -dl fscsi1 -Rhdisk6 deletedhdisk7 deletedrmt3 deletedrmt4 deletedhdisk9 deletedhdisk11 deletedhdisk14 deletedhdisk15 deletedfscs
21、i1 deleted到此为止,可以看到上面的输出中,没有HDS的外界磁盘了,此时就可以物理更换两路的交换机了。注意:可以仔细分析前后命令输出的区别更换完成后,cfgmgr,重新扫描硬件,会发现之前的盘又恢复为链路正常。如下:关注点:按照英文手册里提供的是在线更换交换机,在该实例中:若:又执行:# ./dlnkmgr offline -hba 08.11此时HDLM软件会提示报错,因为当前动作是将两路的链路全部置为:offline(C)状态,HDLM软件出于安全保护的需要,因而会提示报错,警告当前操作危险,不能做,要至少保证一路链路是online状态的。那么,可以跳过该步骤,直接执行下一命令,如下:
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1