欢迎来到三一文库! | 帮助中心 三一文库31doc.com 一个上传文档投稿赚钱的网站
三一文库
全部分类
  • 研究报告>
  • 工作总结>
  • 合同范本>
  • 心得体会>
  • 工作报告>
  • 党团相关>
  • 幼儿/小学教育>
  • 高等教育>
  • 经济/贸易/财会>
  • 建筑/环境>
  • 金融/证券>
  • 医学/心理学>
  • ImageVerifierCode 换一换
    首页 三一文库 > 资源分类 > PDF文档下载  

    POWERVM的创建步骤要点.pdf

    • 资源ID:5197874       资源大小:2.58MB        全文页数:32页
    • 资源格式: PDF        下载积分:6
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录 QQ登录   微博登录  
    二维码
    微信扫一扫登录
    下载资源需要6
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    POWERVM的创建步骤要点.pdf

    1 需求: 机器: P750 VIOSERVER: 2.1.3.10-FP23 Client partition:2 个 虚拟网卡: 5 块 虚拟光卡: 12 块 虚拟 SCSI 卡: 3 块。 Maximum virtual adapters :1000 Type Server Adapter ID Client adapter id Partner Adapter Ethernet 471 471 N/A Ethernet 472 472 N/A Ethernet 473 473 N/A Ethernet 474 474 N/A Ethernet 475 475 N/A Fibre Channel 411 411 Clinet1 Fibre Channel 412 412 Clinet1 Fibre Channel 413 413 Clinet1 Fibre Channel 414 414 Clinet1 Fibre Channel 415 415 Clinet1 Fibre Channel 416 416 Clinet1 Fibre Channel 417 421 Clinet2 Fibre Channel 418 422 Clinet2 Fibre Channel 419 423 Clinet2 Fibre Channel 420 424 Clinet2 Fibre Channel 421 425 Clinet2 Fibre Channel 422 426 Clinet2 SCSI 401 401 Client1 SCSI 402 402 Client2 SCSI 407 403 any 2 首先创建 VIOSERVER 选择 CPU 的方式,可以选择dedicated 或是 share 的方式,这个看自己规划的方式 给 VIOSERVER 内存的数量, 一般不要太大, 一般在 2-7G 之间就行了, 我因为内存是512G 的内存,所以给了大点,看内存和CPU 的方式是给的什么方式,我选择选择是都是shared 的模式, CPU 如果是 capped,而且是 shared的方式, 它的 CPU 是 mincpuCPUdesire CPU 如果是 uncapped 的 CPU 值是mincpuCPUmaxcpu, weight 越高的,能获得CPU 的机会 越大。内存的方式是shared的方式: minMEM mem desireMEM 。所以先选择共享的方式 还是独占的模式,独占的模式分配多少用多少。 3 将物理的卡可以全部选择 首先虚拟出虚拟的网卡 4 给出虚拟的adapter id,port virtual ethernet 这个值自己填写,就相当于是个VLAN 的概念, User this adapter for Ethernet bridging 这个是通过VIOSERVER 起到网络桥接的作用,就相当 于用 VMW ARE 虚拟机,需要和外网连接,需要桥接一样的概念。 同样的虚拟出第二块网卡 5 虚拟出第三块网卡 虚拟出第四块网卡 6 虚拟出第五块网卡 7 网卡虚拟完毕,创建虚拟的光纤卡 给出虚拟光纤卡的adapter id,这个 adapter id 和 client adapter id 一致, 这样是便于管理,也可 以不一致, client partition 这个等 VIOSERVER 这边全部创建完之后再修改这个值,是分配 给哪个虚拟client partition 虚拟第二块光纤卡 虚拟第三块光纤卡 8 虚拟第四块光纤卡 虚拟第五块HBA 卡 虚拟第六块HBA 卡 虚拟第 2 个 client partition 的光纤卡,如果是虚拟多个client partition 的话,多虚拟出点光纤 卡就行了,然后将光纤卡分配给client partition, 将 client partition 选择下分配就行了。 9 虚拟出 SCSI adapter卡,最好是虚拟出2 块 scsi adapter, 一块给 rootvg 使用,一块给 cd 使用, 或是不给 CD 使用,也可以当做standby 使用 虚拟第二个分区的scsi adapter 给任何机器使用的, 这个最好是分配了给一个机器,另外一个机器就不要使用,client partition 不使用,就放在那里也没关系 10 创建 client partition 11 创建 client partition profile的步骤 12 13 CPU min 和 max 之间最好不要超过10 倍的关系, 超过了系统会提示CPU 这个 profile 文 件报错。 14 物理卡不需要选择 15 这个 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 就不需要再做了。 16 同样的第二块网卡也是这样做 第三块网卡 17 第三块网卡 第五块网卡 18 创建虚拟光纤卡,这个 virual fibre channel adapter 是 client 的值,这个可以随便给,但是我 是选择和server 一致,维护也方便。Server adapter id 就是 server 上创建的值。 创建虚拟光纤卡 19 20 创建 scsi adapter 卡,同样的 virtual scsi adapter 卡也是自己给个值,最好和VIOSERVER 一致。 HEA 卡就不要选了,做LPM 迁移就不能有实际物理的卡 21 22 这个是client partition 创建后的profile 文件的 virtual adapter 卡情况 下图是 client partition2 创建后的profile 文件的 virtual adapter 卡情况 23 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 Aggregation ent11 Available EtherChannel / IEEE 802.3ad Link Aggregation ent12 Available EtherChannel / IEEE 802.3ad Link Aggregation ent13 Available EtherChannel / IEEE 802.3ad Link Aggregation ent14 Available EtherChannel / IEEE 802.3ad Link Aggregation ent15 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 Adapter vfchost1 Available Virtual FC Server Adapter vfchost2 Available Virtual FC Server Adapter vfchost3 Available Virtual FC Server Adapter vfchost4 Available Virtual FC Server Adapter vfchost5 Available Virtual FC Server Adapter vfchost6 Available Virtual FC Server Adapter 24 vfchost7 Available Virtual FC Server Adapter vfchost8 Available Virtual FC Server Adapter 虚拟出来的SCSI 卡 vhost0 Available Virtual SCSI Server Adapter vhost1 Available Virtual SCSI Server Adapter vhost2 Available Virtual SCSI Server Adapter vhost3 Available Virtual SCSI Server Adapter vhost4 Available Virtual SCSI Server Adapter vhost5 Available Virtual SCSI Server Adapter vhost6 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 CodeU8233.E8B.063249R-V1-C471-T1 查看虚拟光纤卡的槽位,和profile 文件中的光纤卡给的数值是一致的,这个可以和profile 文件中和VIOSERVER中相对应起来 #lscfg -vl vfchost0 vfchost0 U8233.E8B.063249R-V1- C417Virtual FC Server Adapter Hardware Location CodeU8233.E8B.063249R-V1-C417 SCSI 卡的槽位 # lscfg -vl vhost0 vhost0 U8233.E8B.063249R-V1-C401 Virtual SCSI Server Adapter Hardware Location CodeU8233.E8B.063249R-V1-C401 # exit $ lsmap -all |more SVSA Physloc Client Partition ID - - - vhost0 U8233.E8B.063249R-V1- C4010x00000006 这个是没有和物理的光纤卡做map 时候的信息 $lsmap all npiv Name Physloc ClntID ClntName ClntOS - - - - - vfchost0 U8233.E8B.063249R-V1- C417 6 pwr750d1 AIX Status:LOGGED_IN 25 FC name: FC loc code:U5802.001.9K8Q889-P1-C7-T1 Ports logged in:13 Flags:a VFC 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 -net SVEA Physloc - - ent15U8233.E8B.063249R-V1-C471-T1 SEA ent20 Backing device ent10 Status Available Physloc SVEA Physloc - - ent16U8233.E8B.063249R-V1-C472-T1 SEA ent21 Backing device ent11 Status Available Physloc SVEA Physloc - - ent17 U8233.E8B.063249R-V1-C473-T1 SEA ent22 Backing device ent12 Status Available Physloc SVEA Physloc - - ent18 U8233.E8B.063249R-V1-C474-T1 26 SEA ent23 Backing device ent13 Status Available Physloc SVEA Physloc - - ent19 U8233.E8B.063249R-V1-C475-T1 SEA ent24 Backing device ent14 Status Available Physloc 创建 NPIV vfcmap -vadapter vfchost0 -fcp fcs0 vfcmap -vadapter vfchost1 -fcp fcs1 vfcmap -vadapter vfchost2 -fcp fcs2 vfcmap -vadapter vfchost3 -fcp fcs3 vfcmap -vadapter vfchost4 -fcp fcs4 vfcmap -vadapter vfchost5 -fcp fcs5 vfcmap -vadapter vfchost6 -fcp fcs6 vfcmap -vadapter vfchost7 -fcp fcs7 其他的 vfcmap 也一样的操作,如第二台client partition Vfcmap vadapter vfchost8 fcp fcs0 Vfcmap vadapter vfchost9 fcp fcs1 Vfcmap vadapter vfchost10 fcp fcs2 Vfcmap vadapter vfchost11 fcp fcs3 如果有多台的client partition, 操作是同样的,做之前先确定下在系统中显示的vfchostX 和 profile 文件中多少是对应的。具体看vfchostX 的槽位。 Mapping 完了之后在看lsmap all npiv 就会看到FC NAME有一个具体的光纤卡的对应设备。 $ lsmap -all -npiv|more Name Physloc ClntID ClntName ClntOS - - - - - vfchost0 U8233.E8B.063249R-V1-C417 6 pwr750d1 AIX Status:LOGGED_IN FC name:fcs0 ( 和 具 体 的 物 理 光 纤 做mapping )FC loc code:U5802.001.9K8Q889-P1-C7-T1 Ports logged in:13 Flags:a VFC client name:fcs6 VFC client DRC:U8233.E8B.063249R-V6-C417 27 创建 SCSI 和 client partition 的 mapping 关系 Mkvdev vdev hdisk32 vadapter vhost0 dev p750d1_rootvg1 Mkvdev vdev hdisk4 vadapter vhost0 dev p750d1_rootvg2 Vhost0 具体是哪个client partition 分区,这个看槽位,如vhost0 是 401,因为在client partition 中创建 401 的槽位,可以判定是client partition, 其他也一样。 $ lsmap -all|more SVSA Physloc Client Partition ID - - - vhost0 U8233.E8B.063249R-V1- C401 0x00000006 VTD p750d1_rootvg1 Status Available LUN 0x8100000000000000 Backing device hdisk32 Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4005402800000000 Mirrored false VTD p750d1_rootvg2 Status Available LUN 0x8200000000000000 Backing device hdisk4 Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4004403000000000 Mirrored false Mkvdev vdev hdisk33 vadapter vhost0 dev p750d2_rootvg1 Mkvdev vdev hdisk5 vadapter vhost0 dev p750d2_rootvg2 SVSA Physloc Client Partition ID - - - vhost2 U8233.E8B.063249R-V1-C402 0x00000002 VTD p750d2_rootvg1 Status Available LUN 0x8100000000000000 Backing device hdisk33 Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4005402900000000 Mirrored false VTD p750d2_rootvg2 Status Available 28 LUN 0x8200000000000000 Backing device hdisk5 Physloc U5802.001.9K8Q889-P1-C3-T1-W500507630B000160-L4004403100000000 Mirrored false Vioserver 创建好了就可以做AIX 系统了。现在多一个any 的卡槽就有用了,可以使用,将 403 这个 any 现分配给client 1 这样就可以做了。如果需要做系统快的话就用如下的方式, 但是前提是必须在VIOSERVER中配置一个IP和HMC网络连通,简单的方法是 VIOSERVER中加一个HEA 卡,和 HMC 的网络连接在一起,然后在HEA 卡上设置一个 IP 地址,连接到HMC 的网络中。 29 30 然后将 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) 31 Network Address.A6F7591CF2D7 Displayable Message.Virtual I/O Ethernet Adapter (l-lan) Hardware Location CodeU8233.E8B.063249R-V6-C471-T1 pwr750d1:/#lscfg -vl fcs0 fcs0 U8233.E8B.063249R-V6- C411-T1 Virtual Fibre Channel Client Adapter Network Address.C0507604EB0F0000 ROS Level and ID Device Specific.(Z0) Device Specific.(Z1) Device Specific.(Z2) Device Specific.(Z3) Device Specific.(Z4) Device Specific.(Z5) Device Specific.(Z6) Device Specific.(Z7) Device Specific.(Z8)C0507604EB0F0000 Device Specific.(Z9) Hardware Location CodeU8233.E8B.063249R-V6-C411-T1 pwr750d1:/#lscfg -vl fcs0 fcs0 U8233.E8B.063249R-V6-C411-T1 Virtual Fibre Channel Client Adapter Network Address.C0507604EB0F0000 ROS Level and ID Device Specific.(Z0) Device Specific.(Z1) Device Specific.(Z2) Device Specific.(Z3) Device Specific.(Z4) Device Specific.(Z5) Device Specific.(Z6) Device Specific.(Z7) Device Specific.(Z8)C0507604EB0F0000 Device Specific.(Z9) Hardware Location CodeU8233.E8B.063249R-V6-C411-T1 pwr750d1:/#lsdev -Cl hdisk0 -F parent vscsi0 32 pwr750d1:/#lscfg -vl vscsi0 vscsi0 U8233.E8B.063249R-V6-C401-T1 Virtual SCSI Client Adapter Hardware Location CodeU8233.E8B.063249R-V6-C401-T1

    注意事项

    本文(POWERVM的创建步骤要点.pdf)为本站会员(tbuqq)主动上传,三一文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一文库(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    经营许可证编号:宁ICP备18001539号-1

    三一文库
    收起
    展开