网卡设置:
1. 按前面设计,先察看以下网卡状况,看看通过 profile 设置,启动后是否如设计:
[ss55aa01][padmin][/home/padmin]#lsdev -Cc adapter
ent0 Available 07-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 07-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 Available 09-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 Available 09-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent4 Available Virtual I/O Ethernet Adapter (l-lan)
ent5 Available Virtual I/O Ethernet Adapter (l-lan)
ent6 Available Virtual I/O Ethernet Adapter (l-lan)
ent7 Available Virtual I/O Ethernet Adapter (l-lan)
[ss55aa01][padmin][/home/padmin]#lscfg -vpl ent4
ent4 U9133.55A.069511H-V2-C11-T1 Virtual I/O Ethernet Adapter (l-lan)
Network Address.............9EBF8000200B
Displayable Message.........Virtual I/O Ethernet Adapter (l-lan)
Hardware Location Code......U9133.55A.069511H-V2-C11-T1
PLATFORM SPECIFIC
Name: l-lan
Node: l-lan@3000000b
Device Type: network
Physical Location: U9133.55A.069511H-V2-C11-T1
。。。。
[ss55aa01][padmin][/home/padmin]#lscfg -vpl ent7
ent7 U9133.55A.069511H-V2-C14-T1 Virtual I/O Ethernet Adapter (l-lan)
Network Address.............9EBF8000200E
Displayable Message.........Virtual I/O Ethernet Adapter (l-lan)
Hardware Location Code......U9133.55A.069511H-V2-C14-T1
2. 将实际物理网卡加以聚合,做成 enternet chanel 网卡
mkvdev -lnagg ent0,ent2
mkvdev -lnagg ent1,ent3
可以看到新生成了 ent8,ent9
ent8 Available EtherChannel / IEEE 802.3ad Link Aggregation
ent9 Available EtherChannel / IEEE 802.3ad Link Aggregation
3. 建立虚拟 sea 网卡,将聚合的 enternet chanel 网卡和虚拟网卡勾连起来,注意 VLAN 的 ID 设置要按设计和微分区设置一致:
mkvdev -sea ent8 -vadapter ent4 -default ent4 -defaultid 1
mkvdev -sea ent9 -vadapter ent5 -default ent5 -defaultid 98
[ss55aa01][padmin][/home/padmin]#lsdev -Cc adapter
...
ent8 Available EtherChannel / IEEE 802.3ad Link Aggregation
ent9 Available EtherChannel / IEEE 802.3ad Link Aggregation
ent10 Available Shared Ethernet Adapter
ent11 Available Shared Ethernet Adapter
可以看到生成了 ent10,ent11 这两个共享虚拟网卡。
至此,微分区需使用的共享网卡设置完成。
4. 设置 ip 地址,供远程访问 VIO server 使用,这个设置其实和微分区无关。
mktcpip -hostname ss55aa01 -inetaddr 10.25.76.197 -interface en10 -netmask 255.255.255.0
-gateway 10.66.76.254
[ss55aa01][padmin][/home/padmin]#netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en10 1500 link#2 0.1a.64.ff.10.d6 1192509 0 35721 0 0
en10 1500 10.25.76 10.25.76.197 1192509 0 35721 0 0
。。。。。
至此,VIO server 的配置完成。