ent4 Available 06-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent5 Available 09-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent6 Available 09-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent7 Available 0B-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent8 Available 0B-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent9 Available 0C-00 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent10 Available 0C-01 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003) ent11 Available Virtual I/O Ethernet Adapter (l-lan) ent12 Available Virtual I/O Ethernet Adapter (l-lan) ent13 Available Virtual I/O Ethernet Adapter (l-lan) ent14 Available Virtual I/O Ethernet Adapter (l-lan) 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) ent20 Available Virtual I/O Ethernet Adapter (l-lan) ent21 Available Virtual I/O Ethernet Adapter (l-lan) ent22 Available Virtual I/O Ethernet Adapter (l-lan)
创建网络接口聚合方法(示例): 750A_VIO_1 750B_VIO_1
#mkvdev -lnagg ent1 ent4 -attr backup_adapter=ent9 mode=8023ad ent23 Available en23 et23
ent23为网卡绑定设备,采用ent1和ent4聚合作为主通道,ent9作为备份通道。 或者使用smitty命令: #smitty etherchannel
建立生产网络的SEA设备的命令如下: ALL VIOS:
mkvdev -sea ent10 -vadapter ent4 -default ent4 -defaultid 16 -attr ha_mode=auto ctl_chan=ent8 ent11 Available en11 et11
其中,ent10为物理网卡,ent4为虚拟网卡,id 16 为pvid,ent8为control channel(心跳),用在SEA fail over中
mkvdev -sea ent3 -vadapter ent6 -default ent6 -defaultid 2 -attr ha_mode=auto ctl_chan=ent9 ent12 Available en12
et12
运用lsmap命令检查网络映射关系, $ lsmap -all -net
利用同样的方法查看其它三个虚拟IO服务器分区SEA设备。
1.3 VIOS virtual disk映射
其中,VIOC rootvg盘为EMC盘,首先根据物理FC adapter划分到VIOS中,再在VIOS中映射给VIOC。
修改reserve_lock或者no_reserve
$chdev -dev hdisk1 -perm -attr reserve_policy=no_reserve $chdev -dev hdiskpower1 -perm –attr reserve_lock=no
在虚拟IO服务器中,运用mkvdev命令将虚拟磁盘分配给相应分区的vhost, $ mkvdev -vdev hdiskpower0-vadapter vhost0 vtscsi0 Available
运用lsmap命令查看mapping信息,确认虚拟磁盘划分正确 $ lsmap -vadapter vhost0
SVSA Physloc Client Partition ID --------------- -------------------------------------------- ------------------
vhost0 U9117.MMA.065CF46-V2-C101 0x00000004
VTD vtscsi0 Status Available
LUN 0x8100000000000000 Backing device hdiskpower0
Physloc U78C0.001.DBJK629-P2-C1-T1-W500173800CC30140-L5000000000000 Mirrored false
针对所有的虚拟化分区,采用如上述mkvdev命令完成虚拟磁盘映射。
1.4 VIOS NPIV映射
查看虚拟设备信息:VIO_1 、VIO_2基本一致
#lsslot -c slot
建立NPIV之前需要修改reserve_lock
建立NPIV映射: VIO_1
vfcmap -vadapter vfchost0 -fcp fcs1 vfcmap -vadapter vfchost1 -fcp fcs2 vfcmap -vadapter vfchost2 -fcp fcs0 vfcmap -vadapter vfchost3 -fcp fcs1 vfcmap -vadapter vfchost4 -fcp fcs2 vfcmap -vadapter vfchost5 -fcp fcs0 vfcmap -vadapter vfchost6 -fcp fcs1 vfcmap -vadapter vfchost7 -fcp fcs2 vfcmap -vadapter vfchost8 -fcp fcs0 vfcmap -vadapter vfchost9 -fcp fcs1 vfcmap -vadapter vfchost10 -fcp fcs2 vfcmap -vadapter vfchost11 -fcp fcs0 vfcmap -vadapter vfchost12 -fcp fcs1 vfcmap -vadapter vfchost13 -fcp fcs2 vfcmap -vadapter vfchost14 -fcp fcs0 vfcmap -vadapter vfchost15 -fcp fcs1 vfcmap -vadapter vfchost16 -fcp fcs2 vfcmap -vadapter vfchost17 -fcp fcs0
VIO_2
#lsslot -c slot
建立NPIV映射: VIO_2
vfcmap -vadapter vfchost0 -fcp fcs1 vfcmap -vadapter vfchost1 -fcp fcs2 vfcmap -vadapter vfchost2 -fcp fcs0 vfcmap -vadapter vfchost3 -fcp fcs1 vfcmap -vadapter vfchost4 -fcp fcs2 vfcmap -vadapter vfchost5 -fcp fcs0 vfcmap -vadapter vfchost6 -fcp fcs1 vfcmap -vadapter vfchost7 -fcp fcs2 vfcmap -vadapter vfchost8 -fcp fcs0 vfcmap -vadapter vfchost9 -fcp fcs1 vfcmap -vadapter vfchost10 -fcp fcs2 vfcmap -vadapter vfchost11 -fcp fcs0 vfcmap -vadapter vfchost12 -fcp fcs1 vfcmap -vadapter vfchost13 -fcp fcs2 vfcmap -vadapter vfchost14 -fcp fcs0 vfcmap -vadapter vfchost15 -fcp fcs1 vfcmap -vadapter vfchost16 -fcp fcs2 vfcmap -vadapter vfchost17 -fcp fcs0
注:Power750A/Power750B两台服务器配置一致,上述操作步骤需要两台服务器中执行。
1.5 VIOS virtual CDROM映射
在虚拟IO服务器中,运用mkvdev命令将光驱分配给相应的分区vhost $mkvdev -vdev cd0 -vadapter vhost0 -dev vcd Vcde Availabel
运用lsmap命令查看mapping信息,确认虚拟磁盘划分正确 $ lsmap -vadapter vhost0
SVSA Physloc Client Partition ID --------------- -------------------------------------------- ------------------
vhost0 U9179.MHB.06A00BP-V7-C104 0x00000001
VTD vtopt0 Status Available
LUN 0x8200000000000000
Backing device /var/vio/VMLibrary/AIX_610601_CD01 Physloc
相关推荐: