动态分区迁移基础知识和故障诊断

上传人:工**** 文档编号:510475306 上传时间:2023-06-07 格式:DOCX 页数:27 大小:407.11KB
返回 下载 相关 举报
动态分区迁移基础知识和故障诊断_第1页
第1页 / 共27页
动态分区迁移基础知识和故障诊断_第2页
第2页 / 共27页
动态分区迁移基础知识和故障诊断_第3页
第3页 / 共27页
动态分区迁移基础知识和故障诊断_第4页
第4页 / 共27页
动态分区迁移基础知识和故障诊断_第5页
第5页 / 共27页
点击查看更多>>
资源描述

《动态分区迁移基础知识和故障诊断》由会员分享,可在线阅读,更多相关《动态分区迁移基础知识和故障诊断(27页珍藏版)》请在金锄头文库上搜索。

1、动态分区迁移(LPM)基础知识和故障诊断Raghavendra Prasannakumar,系统软件工程师,IBMShashidhar Soppin,客户解决方案指导,IBMShivendra Ashish,软件工程师,IBM2011年5月09日本文介绍如何配置动态分区迁移(LPM)并对其进行故障诊断。本文还简要解释了 一些LPM基础概念、故障诊断问题、以及各种问题的简单修复方法。简介Live Partition Mobility (LPM)在Power6上引入,旨在迁移到其他主机时在VIOS和固件升级 过程中帮助避免停机。LPM也减少了创建新LPAR和设置时所需的工作量,这对于应用程序 而言

2、是必要的。大部分客户将LPM活动视为一种日常工作,但很多客户都不了解确切流程或正在发生的事情。 本文将展示克服或修复LPM问题的步骤。图1. AIX I/O堆栈;AIX ;0Virtw-aliied SAN and network i nfrastructure回页首LPM关键点关于LPM务必记住:LPM将正在运行的分区从一个物理服务器迁移到另一个,同时维护完整 的事务完整性并转移整个环境:处理器状态、内存、虚拟设备和已连接的用户。分区在关闭时也 可以进行迁移(消极迁移),操作系统和应用程序必须驻留在共享存储器上。回页首LPM先决条件您必须在启用了 Advaneed Power Virtual

3、ization Feature的POWER6 (或更高版本)上至少 拥有两台机器:一个源和一个目标。操作系统和应用程序必须驻留在一个共享外部存储器 (Storage Area Network)上。除了这些硬件要求外,您还必须拥有: 一个硬件管理控制台-HMC (可选)或IVM。目标系统必须拥有足够的资源,比如CPU和内存。 LPAR不应该拥有物理适配器。您的虚拟 I/O 服务器(virtual I/O server, VIOS)必须拥有一个 Shared Ether net Adapter (SEA) 并被配置为桥接到移动分区使用的那个Ether net网。它必须能够提供对移动分区使用的所有磁

4、 盘资源的虚拟访问能力(NPIV或vSCSI)。如果使用vSCSI,则虚拟目标设备必须是物理磁 盘(而不是逻辑卷)。必须使用AIX 5.3J版或更高版本,VIOS 1.4版或更高版本,HMC V7R310或更高版本,固件 必须是efw3.1或更高版本。回页首LPM过程中所发生的事图2.普通LPM图示下面的步骤描述了图2中的普通LPM图示:1. 分区配置文件(此时处于活动状态)从源复制到目标FSP。2. 配置目标上的存储器。3. 移动程序服务分区(Mover Service Partition, MSP)被激活。4. 分区迁移开始。a. 大部分内存页面被移动。b. 所有线程转为闲置状态。5. 激

5、活过程在目标上恢复。a. 最后的内存页面被移动。b. 清理存储器和网络流量。6. 取消源上的存储器资源配置。7. 从源 FSP (Flexible Service Processor)移除分区配置文件。回页首如何进行LPM进行LPM之前,需要验证源和目标两端的资源可用性。如果验证由于某种错误而失败,则需 要修复错误才能继续下一步。有时,验证过程可能会出现一些警告消息,不用管它们。使用HMC GUI进行LPM图3展示如何使用HMC GUI来验证LPAR。在 System management - Servers - Trim 屏幕中,选择 LPAR 名称:Operations - Mobilit

6、y - Validate图3.验证LPAR验证屏幕(如图4所示)显示,upt0052 LPAR被验证,以便从trsim迁移到dash,如果需要,必须指定目标HMC。图 4. Validation 窗口图5显示LPM出现了一条警告消息,忽略该消息,选择Close继续迁移。图5.验证通过并出现一般警告消息回鬲https:/destiny 4. up destiny4: Validate. - Mozilla F.iefox1 IBM EditionVwlid目ti门 Eirurs/Wominigs - uptUOBE. All Errors/Warnings C. Detailed inforn

7、riation Errors .i) WarningsHCL7295 4吕 part of the migration procesSj the HMC;ill create a neyv migration profile con twining thu partitions .curren t$t ate. The default im 七口 use the:urrerit profileJ: vhich-w;ll replace the mxi戏Mg definition of this profile. While th is., works for most scenario oth

8、er options re possibie. ou may specify a different existing profile,训lii(i would be replaced with the current partition definition, or you may specify a neVy ,profile to sae thE current 口 artition -5tate.Close | Helpdestiny4. upt.austin.ibm 匚 om3!iPartition Migration Validation屏幕(见图6)显示信息被选中,以便设置到另一

9、个托管系统 的分区迁移。选择Migrate以验证信息。图6.验证通过后迁移准备就绪htip5#/(letti*4. upt, aus3:in .fcm.cDm/hmc/wd/Tab 17Partition Mtgration Validation - trim - upt)D52Fill in the foil awing information Hi set up a rnigration of the- partiti-or to a different managed systBir. Click Validate to ensure-tti at all require me rts

10、are met for this migration. Yau cannot mrgrate unbl tfie mtgration set up has been verged.Source system :Migrating p-artition:Rentote HMC:Remote user:Destination system;trim ustoasa 0Desrination profile name;Deztinatyori shared processor pool:Paging VIOS redundancy:Primary paging VlOSutemp_uptOD52De

11、fauitPool (C)I timdi山 shy2Source mover service part Etian; trinnvl Destination mover service parbtion: d-ashvlWait tarn e (in mirt):15Override virtual networt mrcir耳 when p骂旦ibl国: Overr ide virtual eta rage errors wJlen pos.5 ible: Virtiia Starge assignments ;MSP Pairing.Select 黑鶯 Slot TpeSCSIda shv

12、lSCSJda shv2SCSIda shvlSCSId-a shv2Fibre爵 shvlFibredastivSFibre皑 shvlFibredashv2Destinatiun VIQSVLAn Setting;.-,*Validate | ClariteCancelHs IpDoneJeSin4 .upt austinJbm.conri l:j迁移结束后,如图7所示,选择Close。图7.迁移进程总 destiny4 flidate - Mozilla Fire-foxi IBM Edition使用命令行选项的HMC要验证本地HMC中的LPM,输入以下代码:migrlpar -o v

13、-m source cec -t target cec -p lpar to migrate要验证远程HMC中的LPM,输入:migrlpar -o v -m source cec -t target cec -p lpar to migrate -ip target hmc -u remote user注意,作为远程用户,您可能愿意使用hscroot命令。 使用以下迁移命令执行本地HMC中的LPM:migrlpar -o m -m source cec -t target cec -p lpar to migrate 使用以下迁移命令执行远程HMC中的LPM:migrlpar -o m -m

14、 source cec -t target cec -p lpar to migrate -ip target hmc -u remote user如果源和目标之间的配置问题导致LPAR发生MPIO (Multipath 10)失败,输入以下命令继续 (如果适用的话):migrlpar -o m -m wilma -t visa -p upt07 -redundantpgvios 0 -n upt07_noams_npiv -u hscroot -vlanbridge 2 -mpio 2 -w 60 -d 5 -v -isource msp+name=wilmav2,dest msp name

15、=visav2 -ip destiny4回页首故障诊断本节介绍可能遇到的各种错误及其更正方法。如果需要跨两个不同的HMC进行LPM,在迁移时,需要在两个HMC之间设置 适当的授权。如果没有设置适当的授权,将显示以下mkauthkey错误:hscrootdestiny4: migrlpar -o v -m trim -p UPTOO52 -ip hmc-arizona -uhscroot -t arizonaHSCL3653 The Secure Shell (SSH) communication configuration between the sourceand target Hardware Management Consoles has not been set up properly for use

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 其它学术论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号