VIO 서버 구성 방법.
00.
사전준비.
a.
기종은 IBM Power5 이상 되어야함.
b.
Physical HDD 1개 이상
c.
Physical Ethernet Card 1개 이상.
d.
Physical CD-ROM Drive 필요함.
e.
Profile 변경시 마다, HMC에서 profile
activate로 재부팅 해야함.
f.
Press f5 to refresh HMC screen.
11.
VIOS 서버용 HMC 에서 partition profile 구성.
a.
CPU : micro-partition 으로 구성.
b.
물리적 IO Resource 를 할당.
c.
HDD 1개, Ethernet Card 1개, cdrom 1개. (최소)
d.
가상 Adapter : client OS 할당할 가상
Adapter를 설정한다.
i. Virtual
Ethernet 3개 (밑에 나옴)
ii. SCSI는 파티션(client)
숫자만큼.(밑에 다시 나옴.)
iii. VLAN
ID for vethernet. (밑에 나옴)
22.
VIOS 서버 OS 설치.
a.
Partition 재기동 하여, SMS에서 cdrom VIO CD 설치.
b.
리부팅후 padmin 패스워드 설정.
c.
#license –accept
- Define the VIO client LPAR:
- In the HMC, with your managed system selected, click Configuration ; Create Logical Partition ; AIX Server.
- Name your server, and call this profile client01 for ease.
- Give it the amount of processors, memory, and I/O resources you desire but do not create any virtual adapters at this time.
44.
VIOS SEA 구성.
a.
VIO 서버에서 Virtual Device 있어야함.
b.
#lsdev –virtual <= virtual device 있어야함.
i. ent2
Available Virtual I/O Ethernet Adapter (l-lan)
c.
#lsdev –type adapter
d.
SEA 만들기
i. #mkvdev –sea ent0 -vadapter
ent6 –default ent6 –defaultid 11 = this is the Virtual Adapter ID
from the HMC.
ii. #mkvdev –sea ent1 -vadapter
ent7 –default ent7 –defaultid 12
iii. #mkvdev –sea ent2 -vadapter
ent8 –default ent8 –defaultid 13
e.
#lsdev –type adapter 로 확인
f.
#lsdev –dev entx로 확인.
a.
VIOS tcpip 정보 구성 #cfgassist 로 실행.
b.
TCP/IP SEA 에
IP 설정. (skip)
a.
#mktcpip –homename op34 –inetaddr x.x.x.x –interface
en3 –netmask x.x.x.x –gateway x.x.x.x
b.
Ping the gateway. (Physical Device)
5.
VIO 서버 에서 Client SCSI/Disk 할당.
a.
HMC VIOS서버 Profile에서 client 파티션에 할당하는 Virtual SCSI Adapter 생성.
i. Client
Virtual SCSI ID 15.
b.
VIO Server 재부팅
(profile activation 에서)
c.
VIOS에서 client 할다용 LV를 생성한다.
i. #cfgassist
또는
ii. #mkvg
–f –vg sharedvg01 hdisk0 = VG 생성
iii. #mklv
-lv lv00 sharedvg01 50G = LV00 생성
iv. #mklv
–lv lv01 sharedvg01 50G = LV01 생성
v. #mklv
–lv lv02 sharedvg01 50G = LV02 생성.
d.
VIOS에서 LV 생성.
i. #mkvdev
-vdev lv00 -vadapter vhost0 -dev vclient_lv01(고유명사)
ii. #mkvdev
–vdev lv01 –vadapter vhost1 –dev vclient_lv02
iii. #mkvdev –vdevlv02 –vadapter vhost2 –dev
vclient_lv03
6.
VIO서버에서 CDROM 생성.
a.
#mkvdev –vdev cd0 –vadapter vhost0 –dev vcd0
(vhost0 에 cd 줄때)
b.
#mkvdev –vdev cd0 –vadapter vhost1 –dev vcd0
(vhost1에 cd 줄때)
c.
#lvmap –all
7.
VTD 삭제
a.
#리소스 삭제 # rmvdev –vtd
8.
VIO Client 서버
a.
Profile에서 vadapter 를 생성.
VIOS와 같은
vlan 과 default ID 설정.
b.
Profile => activate
c.
SMS 모드에서 CD 로 부팅.
d.
CD 에 6.1 OS Disk 삽입.
e.
AIX 6.1 설치, OS patch 설치.
f.
Virtual Device 확인.
g.
#lsdev –C | grep cd0
h.
#lsdev –C | grep ent
i.
#lspv
VIO Client 구성 방법.
Now
that your VIO servers are up, the following procedure guides you through
building a VIO client LPAR:
- Define the VIO client LPAR:
- In the HMC, with your managed system selected, click Configuration > Create Logical Partition > AIX Server.
- Name your server, and call this profile client01 for ease.
- Give it the amount of processors, memory, and I/O resources you desire but do not create any virtual adapters at this time.
- Create the VIO server disk resources:
- In the HMC, open the VIO servers' virtual-enabled profiles using the Configuration => Manage Profile => Click Profile => Actions => Edit menu.
- Click the Virtual Adapters tab.
- Click Actions > Create > Fiber Channel Adapter or SCSI Adapter.
- Enter the slot numbers from your spreadsheet.
- Select the Only selected client partition can connect option, and pick your VIO client LPAR.
- Shut down your VIO servers, and activate them from these profiles, or dynamically add the same resources to the LPARs.
Note: You created the VIO client LPAR as a
blank slate so that you can define this easily.
- Edit the VIO client LPAR:
- In the HMC, open the VIO client LPARs' virtual-enabled profiles using the Edit menu.
- Click the Virtual Adapters tab.
- Click Actions > Create ; Fiber Channel Adapter or SCSI Adapter.
- Enter the slot numbers from your spreadsheet.
- Click Actions > Create ; Ethernet Adapter, set the Adapter ID, and enter VLANs as needed from your spreadsheet.
If you created virtual Fibre Channel adapters,
click their properties to obtain their WWNs.
- Define the virtual SCSI disk maps (VIO):
- If you are using virtual SCSI adapters to serve disk resources, map those disks at this time from your SAN (if applicable).
- Log in to the VIO servers with the padmin user ID and run cfgdev to detect any new disks.
- Examine them with the lspv and lsdev –dev hdiskX –attr commands.
- Examine the vhosts on the server with the lsmap –all command.
- Run the following command to map the disks to the specified vhosts, giving them virtual target disk (VTD) names to help you track them as you desire:
mkvdev -vdev hdiskX -vadapter $VHOST
-dev $VTD
|
- Define the virtual FC maps (VIO):
- If you are using virtual FC adapters to serve disk resources, examine the vfchosts on the server with the lsmap –all –npiv command.
- Run the following command to map the FC adapters to the specified vfchosts:
vfcmap -vadapter vfchostX -fcp fcsX
|
- Enter in your WWNs into your SAN and carve out and map disks. They will go to the VIO client LPARs.
- Activate the client LPARs (HMC):
- Select the VIO client LPARs, and click Operations ; Activate.
- Click Advanced, and choose SMS for the Boot mode.
- Select the check box to open a terminal screen.
7. 끝.
No comments:
Post a Comment