




已阅读5页,还剩27页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
需求:机器:P750VIOSERVER: 2.1.3.10-FP23Client partition:2个虚拟网卡:5块虚拟光卡:12块虚拟SCSI卡:3块。Maximum virtual adapters :1000TypeServer Adapter IDClient adapter idPartner AdapterEthernet471471N/AEthernet472472N/AEthernet473473N/AEthernet474474N/AEthernet475475N/AFibre Channel411411Clinet1Fibre Channel412412Clinet1Fibre Channel413413Clinet1Fibre Channel414414Clinet1Fibre Channel415415Clinet1Fibre Channel416416Clinet1Fibre Channel417421Clinet2Fibre Channel418422Clinet2Fibre Channel419423Clinet2Fibre Channel420424Clinet2Fibre Channel421425Clinet2Fibre Channel422426Clinet2SCSI401401Client1SCSI402402Client2SCSI407403any首先创建VIOSERVER选择CPU的方式,可以选择dedicated或是share的方式,这个看自己规划的方式给VIOSERVER内存的数量,一般不要太大,一般在2-7G之间就行了,我因为内存是512G的内存,所以给了大点,看内存和CPU的方式是给的什么方式,我选择选择是都是shared的模式,CPU如果是capped,而且是shared的方式,它的CPU是 mincpuCPUdesire CPU如果是uncapped的CPU值是 mincpuCPUmaxcpu, weight越高的,能获得CPU的机会越大。内存的方式是shared的方式:minMEMmemdesireMEM。所以先选择共享的方式还是独占的模式,独占的模式分配多少用多少。将物理的卡可以全部选择首先虚拟出虚拟的网卡给出虚拟的adapter id,port virtual ethernet这个值自己填写,就相当于是个VLAN的概念,User this adapter for Ethernet bridging这个是通过VIOSERVER起到网络桥接的作用,就相当于用VMWARE虚拟机,需要和外网连接,需要桥接一样的概念。同样的虚拟出第二块网卡虚拟出第三块网卡虚拟出第四块网卡虚拟出第五块网卡网卡虚拟完毕,创建虚拟的光纤卡给出虚拟光纤卡的adapter id,这个adapter id和client adapter id一致,这样是便于管理,也可以不一致,client partition 这个等VIOSERVER这边全部创建完之后再修改这个值,是分配给哪个虚拟client partition虚拟第二块光纤卡虚拟第三块光纤卡虚拟第四块光纤卡虚拟第五块HBA卡虚拟第六块HBA卡虚拟第2个client partition的光纤卡,如果是虚拟多个client partition的话,多虚拟出点光纤卡就行了,然后将光纤卡分配给client partition,将client partition选择下分配就行了。虚拟出SCSI adapter卡,最好是虚拟出2块scsi adapter,一块给rootvg 使用,一块给cd使用,或是不给CD使用,也可以当做standby使用虚拟第二个分区的scsi adapter给任何机器使用的,这个最好是分配了给一个机器,另外一个机器就不要使用,client partition不使用,就放在那里也没关系创建client partition创建client partition profile的步骤CPU min 和max 之间最好不要超过10倍的关系,超过了系统会提示CPU这个profile文件报错。物理卡不需要选择这个maximun virtual adapter最好设置大一点,如果是多台机器做LPM的话,多台机器虚拟出来的ID都要小于这个值,如果其中有一台机器的adapter id大于这个值,LPM就会报错。创建ethernet adapter卡,这个 virtual ethernet adapter需要和 vioserver的virtual ethernet adapter的值是一值的,port virtual Ethernet 也和vioserver的一致,use this adapter for Ethernet bridging这个就不需要勾选,勾选了会造成client partition网络不通,vioserver上已经做了桥接的功能,client partition就不需要再做了。同样的第二块网卡也是这样做第三块网卡第三块网卡第五块网卡创建虚拟光纤卡,这个virual fibre channel adapter是client的值,这个可以随便给,但是我是选择和server一致,维护也方便。Server adapter id就是server上创建的值。创建虚拟光纤卡创建scsi adapter卡,同样的virtual scsi adapter卡也是自己给个值,最好和VIOSERVER一致。HEA卡就不要选了,做LPM迁移就不能有实际物理的卡这个是 client partition创建后的profile文件的virtual adapter卡情况下图是client partition2 创建后的 profile 文件的virtual adapter卡情况Client partition创建完了,就需要将VIOSERVER上的卡分配给client partition,然后开启vioserver, client partition先不开启。$ oem_setup_env# lsdev -Cc adapter|more会看到有这个输出,这个就是虚拟出来的网卡,还没有和物理的网卡有关系,因为我有做etherchannel,我的做法是先做好etherchannel,然后让etherchannel创建出来的卡和virtual 卡做成sea卡。ent0 Available 01-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent1 Available 01-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent2 Available 00-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent3 Available 00-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent4 Available 03-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent5 Available 03-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent6 Available 0E-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent7 Available 0E-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent8 Available 0H-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent9 Available 0H-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)ent10 Available EtherChannel / IEEE 802.3ad Link Aggregationent11 Available EtherChannel / IEEE 802.3ad Link Aggregationent12 Available EtherChannel / IEEE 802.3ad Link Aggregationent13 Available EtherChannel / IEEE 802.3ad Link Aggregationent14 Available EtherChannel / IEEE 802.3ad Link Aggregationent15 Available Virtual I/O Ethernet Adapter (l-lan)ent16 Available Virtual I/O Ethernet Adapter (l-lan)ent17 Available Virtual I/O Ethernet Adapter (l-lan)ent18 Available Virtual I/O Ethernet Adapter (l-lan)ent19 Available Virtual I/O Ethernet Adapter (l-lan)虚拟出来的光纤卡,现在还没有和任何的物理光纤卡有关系vfchost0 Available Virtual FC Server Adaptervfchost1 Available Virtual FC Server Adaptervfchost2 Available Virtual FC Server Adaptervfchost3 Available Virtual FC Server Adaptervfchost4 Available Virtual FC Server Adaptervfchost5 Available Virtual FC Server Adaptervfchost6 Available Virtual FC Server Adaptervfchost7 Available Virtual FC Server Adaptervfchost8 Available Virtual FC Server Adapter虚拟出来的SCSI卡vhost0 Available Virtual SCSI Server Adaptervhost1 Available Virtual SCSI Server Adaptervhost2 Available Virtual SCSI Server Adaptervhost3 Available Virtual SCSI Server Adaptervhost4 Available Virtual SCSI Server Adaptervhost5 Available Virtual SCSI Server Adaptervhost6 Available Virtual SCSI Server Adapter查看虚拟出来的网卡的槽位,可以看到C471就是profile文件中给的值# lscfg -vl ent15 ent15 U8233.E8B.063249R-V1-C471-T1 Virtual I/O Ethernet Adapter (l-lan) Network Address.A6F7596CF7D7 Displayable Message.Virtual I/O Ethernet Adapter (l-lan) Hardware Location Code.U8233.E8B.063249R-V1-C471-T1查看虚拟光纤卡的槽位,和profile文件中的光纤卡给的数值是一致的,这个可以和profile文件中和VIOSERVER中相对应起来#lscfg -vl vfchost0 vfchost0 U8233.E8B.063249R-V1-C417 Virtual FC Server Adapter Hardware Location Code.U8233.E8B.063249R-V1-C417SCSI卡的槽位# lscfg -vl vhost0 vhost0 U8233.E8B.063249R-V1-C401 Virtual SCSI Server Adapter Hardware Location Code.U8233.E8B.063249R-V1-C401# exit$ lsmap -all |moreSVSA Physloc Client Partition ID- - -vhost0 U8233.E8B.063249R-V1-C401 0x00000006这个是没有和物理的光纤卡做map时候的信息$lsmap all npivName Physloc ClntID ClntName ClntOS - - - - -vfchost0 U8233.E8B.063249R-V1-C417 6 pwr750d1 AIXStatus:LOGGED_INFC name: FC loc code:U5802.001.9K8Q889-P1-C7-T1Ports logged in:13Flags:aVFC client name:fcs6 VFC client DRC:U8233.E8B.063249R-V6-C417创建SEA卡mkvdev -sea ent10 -vadapter ent15 -default ent15 -defaultid 1(1就是vioserver创建网卡的Port Virtual Ethernet 1)mkvdev -sea ent11 -vadapter ent16 -default ent16 -defaultid 2 (2就是vioserver创建网卡的Port Virtual Ethernet 2)其他的创建类似创建完了之后输出的结果$ lsmap -all -netSVEA Physloc- -ent15 U8233.E8B.063249R-V1-C471-T1SEA ent20Backing device ent10Status AvailablePhysloc SVEA Physloc- -ent16 U8233.E8B.063249R-V1-C472-T1SEA ent21Backing device ent11Status AvailablePhysloc SVEA Physloc- -ent17 U8233.E8B.063249R-V1-C473-T1SEA ent22Backing device ent12Status AvailablePhysloc SVEA Physloc- -ent18 U8233.E8B.063249R-V1-C474-T1SEA ent23Backing device ent13Status AvailablePhysloc SVEA Physloc- -ent19 U8233.E8B.063249R-V1-C475-T1SEA ent24Backing device ent14Status AvailablePhysloc 创建NPIVvfcmap -vadapter vfchost0 -fcp fcs0vfcmap -vadapter vfchost1 -fcp fcs1vfcmap -vadapter vfchost2 -fcp fcs2vfcmap -vadapter vfchost3 -fcp fcs3vfcmap -vadapter vfchost4 -fcp fcs4vfcmap -vadapter vfchost5 -fcp fcs5vfcmap -vadapter vfchost6 -fcp fcs6vfcmap -vadapter vfchost7 -fcp fcs7其他的vfcmap也一样的操作,如第二台client partitionVfcmap vadapter vfchost8 fcp fcs0Vfcmap vadapter vfchost9 fcp fcs1Vfcmap vadapter vfchost10 fcp fcs2Vfcmap vadapter vfchost11 fcp fcs3.如果有多台的client partition,操作是同样的,做之前先确定下在系统中显示的vfchostX和profile文件中多少是对应的。具体看vfchostX 的槽位。Mapping完了之后在看lsmap all npiv就会看到FC NAME有一个具体的光纤卡的对应设备。$ lsmap -all -npiv|moreName Physloc ClntID ClntName ClntOS - - - - -vfchost0 U8233.E8B.063249R-V1-C417 6 pwr750d1 AIXStatus:LOGGED_INFC name:fcs0 (和具体的物理光纤做mapping) FC loc code:U5802.001.9K8Q889-P1-C7-T1Ports logged in:13Flags:aVFC client name:fcs6 VFC client DRC:U8233.E8B.063249R-V6-C417创建SCSI和client partition 的mapping关系Mkvdev vdev hdisk32vadapter vhost0 dev p750d1_rootvg1Mkvdev vdev hdisk4 vadapter vhost0 dev p750d1_rootvg2Vhost0 具体是哪个client partition分区,这个看槽位,如 vhost0是401,因为在client partition中创建401的槽位,可以判定是 client partition,其他也一样。$ lsmap -all|moreSVSA Physloc Client Partition ID- - -vhost0 U8233.E8B.063249R-V1-C401 0x00000006VTD p750d1_rootvg1Status AvailableLUN 0x8100000000000000Backing device hdisk32Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4005402800000000Mirrored falseVTD p750d1_rootvg2Status AvailableLUN 0x8200000000000000Backing device hdisk4Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4004403000000000Mirrored falseMkvdev vdev hdisk33vadapter vhost0 dev p750d2_rootvg1Mkvdev vdev hdisk5 vadapter vhost0 dev p750d2_rootvg2SVSA Physloc Client Partition ID- - -vhost2 U8233.E8B.063249R-V1-C402 0x00000002VTD p750d2_rootvg1Status AvailableLUN 0x8100000000000000Backing device hdisk33Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4005402900000000Mirrored falseVTD p750d2_rootvg2Status AvailableLUN 0x8200000000000000Backing device hdisk5Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4004403100000000Mirrored falseVioserver创建好了就可以做AIX系统了。现在多一个any的卡槽就有用了,可以使用,将403这个any现分配给client 1这样就可以做了。如果需要做系统快的话就用如下的方式,但是前提是必须在VIOSERVER中配置一个IP和HMC网络连通,简单的方法是VIOSERVER中加一个HEA卡,和HMC的网络连接在一起,然后在HEA卡上设置一个IP地址,连接到HMC的网络中。然后将AIX 的光盘做成iso文件放到这个里面,将这个给clien partition.Mkvdev vdev cd0 vadapter vhost3 dev vcd0系统做完可以到client partition看到卡槽的情况。Client partition看到的网卡的情况wr750d1:/#lscfg -vl ent0 ent0 U8233.E8B.063249R-V6-C471-T1 Virtual I/O Ethernet Adapter (l-lan) Network Address.A6F7591CF2D7 Displayable Message.Virtual I/O Ethernet Adapter (l-lan) Hardware Location Code.U8233.E8B.063249R-V6-C471-T1pwr750d1:/#lscfg -vl fcs0 fcs0 U8233.E8B.06
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 电工员工考试题及答案
- 企业项目执行与监控标准工具
- (正式版)DB15∕T 3259-2023 《羊肝细胞体外培养技术规程》
- 连锁餐饮食材供应链协议
- 三甲复评护理试题库及答案一
- 企业文档格式化与归档管理工具
- 23年护理技师考试题库及答案
- 单位焊工考试题及答案
- 产品质量安全功能稳定承诺书6篇范文
- 企业运营监控及评估报告工具
- 政治校本课程
- 抽油机井示功图分析判断1
- GB/T 39141.3-2022无机和蓝宝石手表玻璃第3部分:定性标准和试验方法
- 特劳特《定位》PPT通用课件
- GB/T 1732-1993漆膜耐冲击测定法
- 二十四节气演讲稿
- GA/T 2000.7-2014公安信息代码第7部分:实有人口管理类别代码
- 2023年安徽国贸集团控股有限公司招聘笔试模拟试题及答案解析
- 初中作文指导-景物描写(课件)
- 植物灰分的测定
- 实验室资质认证评审准则最新版本课件
评论
0/150
提交评论