SlideShare a Scribd company logo
2016.08.01
한철희(chhanz)
https://chhanz.github.io
PowerKVM
Install Guide
2 PowerKVM Configuration
목 차
I. PowerKVM Install Image 배포서버 구축
II. PowerKVM Install
III. Guest OS Install
3 PowerKVM Configuration
Ⅰ. PowerKVM Install Image 배포서버 구축
Ⅰ. PowerKVM Install Image 배포서버 구축
ü 배포서버 구축 – Centos 7.2
ü VMWare Guest OS Centos 사용
ü 본 매뉴얼은 LINUX System을 기본적으로 운영 할 수 있어야 이해가 됩니다.
v Test 환경 구성도
VMWare
ThinkCenter
1394
Image
배포서버
D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12
S822L
Test Network
ASMI eth0 eth1
21 43 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
P1
Fn
P2
Con Mgmt
Test Network
LACP
4 PowerKVM Configuration
Ⅰ. PowerKVM Install Image 배포서버 구축
Ⅰ. PowerKVM Install Image 배포서버 구축
Ø httpd 서버 구성
Ø #yum install –y httpd
5 PowerKVM Configuration
Ⅰ. PowerKVM Install Image 배포서버 구축
Ⅰ. PowerKVM Install Image 배포서버 구축
Ø PowerKVM Install CD를 배포서버로 복사
Ø #mount /dev/sr0 /cdrom
Ø #cp –rpH /cdrom /powerkvm
6 PowerKVM Configuration
Ⅰ. PowerKVM Install Image 배포서버 구축
Ⅰ. PowerKVM Install Image 배포서버 구축
Ø /etc/httpd/conf/httpd.conf 수정
Ø #vi /etc/httpd/conf/httpd.conf
httpd Home Directory Change
7 PowerKVM Configuration
Ⅰ. PowerKVM Install Image 배포서버 구축
Ⅰ. PowerKVM Install Image 배포서버 구축
Ø httpd Server Start
Ø #systemctl start httpd
8 PowerKVM Configuration
Ⅰ. PowerKVM Install Image 배포서버 구축
Ⅰ. PowerKVM Install Image 배포서버 구축
Ø httpd Server Test
Ø httpd root Directory 에 txt 파일 생성
9 PowerKVM Configuration
Ⅰ. PowerKVM Install Image 배포서버 구축
Ⅰ. PowerKVM Install Image 배포서버 구축
Ø httpd Server Test
Ø 아래 화면과 같이 된다면 PowerKVM Install Image 배포서버 구축 완료
10 PowerKVM Configuration
목 차
I. PowerKVM Install Image 배포서버 구축
II. PowerKVM Install
III. Guest OS Install
11 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø IPMI Port Enable, Network IP Config 진행
Ø Power Server 의 IPMI Port 는 HMC Port 입니다.
Ø ASMI > Network Services > Network Configuration
12 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Firmware Change 진행
Ø ASMI > Firmware Configuration > Firmware Type
Ø PowerVM à OPAL 로 변경
13 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Console 을 이용하기 위해 배포서버를 이용합니다.
Ø #yum install –y ipmitool
14 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Ipmitool 을 이용하여 Power Server 의 IPMI Port 를 접속합니다.
Ø #ipmitool –I lanplus –H <Power Server IPMI Port IP> -p <ASMI PASSWORD> sol activate
Ø 참고) Console Close 명령어
#ipmitool –I lanplus –H <Power Server IPMI Port IP> -p <ASMI PASSWORD> sol deactivate
15 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø PowerKVM Server Start
Ø ASMI > Power On/Off System > Save setting and power on
Ø Server 기동 여부는 Real-time Progress Indicator 를 이용합니다.
16 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Console 창을 열어둔 상태로 Power On 진행
Ø Server 기동이 완료되면 Console 에 Petitboot Firmware boot 가 시작됩니다.
17 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Petitboot Firmware 입니다.
Ø System configuration 으로 진입합니다.
참고) CD Install의 경우
위와 같이 표시됨
18 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Network IP 설정 및 Boot Device 순서를 정합니다.
19 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Petitboot Firmware > <e> 키 입력 > edit 모드
20 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø 하단의 내용을 참고하여 Test 환경에 맞게 입력합니다.
Redbook - IBM PowerKVM Configuration and Use 발췌
21 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Petitboot > User item 1 > Install 시작
22 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø 하단의 내용처럼 Network 를 통해 Bootloader 및 Kernel Device를 Download 합니다.
23 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Choose the language > Select <English>
24 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø LICENSE INFORMATION > ok
25 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø LICENSED Accept > I Accept …..
26 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Install IBM PowerKVM Select > ok
27 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø PowerKVM Install DISK Select > ok
28 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø PowerKVM Volume Size Change > ok
29 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Root Password 지정
30 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Timezone Selection > Asia/Seoul > ok
31 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø NTP Configuration > ok
32 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Local date Config > ok
33 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Network Config > select <Network Adapter> > ok
Ø PowerKVM Install 이후 Config 가능
34 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Network Config > IP 설정 > ok
35 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø DNS Config > ok
36 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Install Config 최종 확인 > ok
37 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Install 시작 여부 > ok
38 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Install 진행 > Install 완료 후 Reboot 진행
39 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø PowerKVM Install 완료
Ø 방화벽 Open
40 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø Kimchi Service 확인 >> https://<PowerKVM Server IP>:8001
41 PowerKVM Configuration
Ⅱ. PowerKVM Install
Ⅱ. PowerKVM Install
Ø PowerKVM Update 진행 > #yum update -y
42 PowerKVM Configuration
목 차
I. PowerKVM Install Image 배포서버 구축
II. PowerKVM Install
III. Guest OS Install
43 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø 가상 Network 구성
Ø LACP 구성
Ø Network bandwidth 증가
Ø 기존 Network 정보 Backup > # cp ifcfg-enP1p3s0f0 ./bak/
Ø Bonding Config > #vi /etc/modprobe.d/bond.conf
44 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø 가상 Network 구성
Ø Bonding Config > #vi /etc/modprobe.d/bond.conf
Ø 사용될 각 adapter port 설정
bond.conf 내용
Ifcfg-enP1p3s0f0 내용
Ifcfg-enP1p3s0f2 내용
45 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø 가상 Network 구성
Ø Bond Device Script 생성 > #vi /etc/sysconfig/network-scripts/ifcfg-bond0
Ø Network Service Restart
46 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø 가상 Network 구성
Ø LACP 구성 정보 확인
47 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Network Bridge 구성
#brctl show
현재 Linux Bridge Network 구성 확인
#virsh iface-bridge bond0 br0
가상 Network Bridge 생성
#brctl show
Bridge Network 생성 확인
48 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø 가상 Network 구성
Ø Kimchi 접속 > 네트워크 > [+] > 네트워크 작성
49 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø 가상 Network 시작 > [가상 네트워크] > 조치 > 시작
50 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install Image Upload
Ø SFTP 를 이용하여 /var/lib/kimchi/isos 로 iso File 을 Upload 합니다.
51 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 스토리지 풀 생성
Ø PowerKVM Server Attach Storage LUN
52 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 스토리지 풀 생성
Ø Storage LUN Attach 이후 Linux LVM 구성
Ø /dev/mapper/datavg-datalv 으로 생성
Ø Filesystem 생성 >> /data
53 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 스토리지 풀 생성 > [+] 클릭
54 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 스토리지 풀 생성
스토리지 풀 이름 지정
스토리지 풀 유형 지정
( 위 테스트는 dir 형식으로 진행 )
[추가적으로 raw, nfs, iscsi등
유형으로 이용 가능]
스토리지 경로 지정
[dir 형식일 경우 mount 경로]
55 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 스토리지 풀 생성
Ø datavg > 조치 > 활성화
56 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Volume 생성
Ø Virsh# vol-vreate-as <Storage Pool Name> <Volume Name> <용량>
57 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Volume 생성 확인
58 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 템플리트 생성
59 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 템플리트 생성
Ø 설치할 Install Image 선택
60 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 템플리트 편집 > 조치 > 편집
61 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 템플리트 편집 > 기타 일반 설정 값 수정, 메모리 수정
62 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 템플리트 편집 > 기본적으로 사용될 가상 DISK 타입 및 용량 지정
63 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 템플리트 편집 > 기본 템플리트에서 사용될 네트워크(구성된 가상 Network)
64 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 템플리트 편집 > CPU Core 수 조절
65 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install > 게스트 > [+] > 새 가상 머신 작성
VM 이름 입력
템플리트 선택
66 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install > 게스트 > [+] > 새 가상 머신 작성
67 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 생성 완료
68 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 편집
69 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 편집 > 가상 DISK 추가 생성 및 할당 가능합니다.
Ø 운영중 Kimchi UI 를 이용하여 가상 DISK 추가 할당이 잘 안되니 virsh 을 이용하여 할당 해야 합니다.
Ø 다량의 DISK 를 virsh 로 Online 중 할당시 Guest OS Restart 이슈도 있었습니다.(TEST 시 발생)
70 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 편집 > 호스트 PCI 장치 > Guest OS 에 Physical Adatper 를 할당 할 수 있습니다.
71 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS 편집 > Network 편집이 가능합니다.
72 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install > [전원 버튼] 누름
Console Open
73 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install > 하위와 같이 Console이 열리면서 Install이 가능합니다.
74 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
75 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
76 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
77 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
78 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
79 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
80 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
81 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
Ø Install 완료
82 PowerKVM Configuration
Ⅲ. Guest OS Install
Ⅲ. Guest OS Install
Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
Ø Install 완료
83

More Related Content

PDF
oVirt installation guide_v4.3
PDF
Windows 2008 MSCS 설치 가이드
PDF
Windows MSCS 운영 및 기타 설치 가이드
PDF
Windows 2003 MSCS 설치 가이드
PPTX
경쟁사비교:기능
PDF
오픈소스컨설팅 클러스터제안 V1.0
PDF
[오픈소스컨설팅]Nginx jboss 연동가이드__v1
PPTX
Actual PoC guide for Virtual Desktop Infrastructure (Korean)
oVirt installation guide_v4.3
Windows 2008 MSCS 설치 가이드
Windows MSCS 운영 및 기타 설치 가이드
Windows 2003 MSCS 설치 가이드
경쟁사비교:기능
오픈소스컨설팅 클러스터제안 V1.0
[오픈소스컨설팅]Nginx jboss 연동가이드__v1
Actual PoC guide for Virtual Desktop Infrastructure (Korean)

What's hot (20)

PDF
[오픈소스컨설팅]Nginx 1.2.7 설치가이드__v1
PDF
[오픈소스컨설팅]Docker on Cloud(Digital Ocean)
PDF
[오픈소스컨설팅]Zabbix Installation and Configuration Guide
PDF
[오픈소스컨설팅]레드햇계열리눅스7 운영자가이드 - 기초편
PPTX
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
PDF
MySQL Deep dive with FusionIO
PDF
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick Guide
PDF
150326 openstack, glance 김지은
PDF
Gluster fs guide(v1.0)
PDF
Build the OpenStack Cloud with Neutron Networing, IceHouse
PDF
Glusterfs 소개 v1.0_난공불락세미나
PDF
[오픈소스컨설팅]초간단 Cubrid HA구성
PDF
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
PDF
How to deploy oVirt using Nested KVM environment?
PPTX
SteelEye 표준 제안서
PDF
[오픈소스컨설팅 뉴스레터] 2016년 1분기
PDF
2node cluster
PDF
[오픈소스컨설팅]Docker on Kubernetes v1
PPTX
Cubietruck 리눅스 이미지 설치
PDF
Glusterfs 구성제안 및_운영가이드_v2.0
[오픈소스컨설팅]Nginx 1.2.7 설치가이드__v1
[오픈소스컨설팅]Docker on Cloud(Digital Ocean)
[오픈소스컨설팅]Zabbix Installation and Configuration Guide
[오픈소스컨설팅]레드햇계열리눅스7 운영자가이드 - 기초편
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
MySQL Deep dive with FusionIO
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick Guide
150326 openstack, glance 김지은
Gluster fs guide(v1.0)
Build the OpenStack Cloud with Neutron Networing, IceHouse
Glusterfs 소개 v1.0_난공불락세미나
[오픈소스컨설팅]초간단 Cubrid HA구성
Zinst 패키지 기반의-리눅스_중앙관리시스템_20140415
How to deploy oVirt using Nested KVM environment?
SteelEye 표준 제안서
[오픈소스컨설팅 뉴스레터] 2016년 1분기
2node cluster
[오픈소스컨설팅]Docker on Kubernetes v1
Cubietruck 리눅스 이미지 설치
Glusterfs 구성제안 및_운영가이드_v2.0
Ad

Similar to IBM PowerKVM Install Guide (20)

PDF
Kafka slideshare
DOCX
F5 container ingress_service_in_kuernetes_with_calico_cni_by_duck_in_korea
PDF
20141229 dklee docker
DOCX
PCF Installation Guide
PDF
KAFKA 3.1.0.pdf
PDF
[오픈소스컨설팅]쿠버네티스를 활용한 개발환경 구축
PDF
초보자를 위한 AWS EC2, RDS 설정
PPTX
docker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
PDF
[OpenInfra Days Korea 2018] (Track 1) Openstack 쉽게 설치하기 - SOfTI Easy Installer
PDF
OpenStack DevStack Install - 2부 (Multi-nodes)
PPTX
Docker 사용가이드 public v0.1
PPTX
ARTIK 710 IoT class 02
PDF
Cisco IOS XRv Router.pdf
PDF
[네이버클라우드플랫폼 온라인 교육 시리즈] 네이버클라우드플랫폼 쿠버네티스 소개(정낙수 클라우드 솔루션 아키텍트)
PDF
minsw_Jenkins
PDF
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
PPTX
Deploying Hyperledger Fabric on Kubernetes.pptx
PDF
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
PDF
[네이버클라우드플랫폼 온라인 교육 시리즈] 네이버클라우드플랫폼 CLI 소개 및 활용
PDF
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기
Kafka slideshare
F5 container ingress_service_in_kuernetes_with_calico_cni_by_duck_in_korea
20141229 dklee docker
PCF Installation Guide
KAFKA 3.1.0.pdf
[오픈소스컨설팅]쿠버네티스를 활용한 개발환경 구축
초보자를 위한 AWS EC2, RDS 설정
docker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
[OpenInfra Days Korea 2018] (Track 1) Openstack 쉽게 설치하기 - SOfTI Easy Installer
OpenStack DevStack Install - 2부 (Multi-nodes)
Docker 사용가이드 public v0.1
ARTIK 710 IoT class 02
Cisco IOS XRv Router.pdf
[네이버클라우드플랫폼 온라인 교육 시리즈] 네이버클라우드플랫폼 쿠버네티스 소개(정낙수 클라우드 솔루션 아키텍트)
minsw_Jenkins
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
Deploying Hyperledger Fabric on Kubernetes.pptx
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
[네이버클라우드플랫폼 온라인 교육 시리즈] 네이버클라우드플랫폼 CLI 소개 및 활용
JCO 11th 클라우드 환경에서 Java EE 운영 환경 구축하기
Ad

IBM PowerKVM Install Guide

  • 2. 2 PowerKVM Configuration 목 차 I. PowerKVM Install Image 배포서버 구축 II. PowerKVM Install III. Guest OS Install
  • 3. 3 PowerKVM Configuration Ⅰ. PowerKVM Install Image 배포서버 구축 Ⅰ. PowerKVM Install Image 배포서버 구축 ü 배포서버 구축 – Centos 7.2 ü VMWare Guest OS Centos 사용 ü 본 매뉴얼은 LINUX System을 기본적으로 운영 할 수 있어야 이해가 됩니다. v Test 환경 구성도 VMWare ThinkCenter 1394 Image 배포서버 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 S822L Test Network ASMI eth0 eth1 21 43 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 P1 Fn P2 Con Mgmt Test Network LACP
  • 4. 4 PowerKVM Configuration Ⅰ. PowerKVM Install Image 배포서버 구축 Ⅰ. PowerKVM Install Image 배포서버 구축 Ø httpd 서버 구성 Ø #yum install –y httpd
  • 5. 5 PowerKVM Configuration Ⅰ. PowerKVM Install Image 배포서버 구축 Ⅰ. PowerKVM Install Image 배포서버 구축 Ø PowerKVM Install CD를 배포서버로 복사 Ø #mount /dev/sr0 /cdrom Ø #cp –rpH /cdrom /powerkvm
  • 6. 6 PowerKVM Configuration Ⅰ. PowerKVM Install Image 배포서버 구축 Ⅰ. PowerKVM Install Image 배포서버 구축 Ø /etc/httpd/conf/httpd.conf 수정 Ø #vi /etc/httpd/conf/httpd.conf httpd Home Directory Change
  • 7. 7 PowerKVM Configuration Ⅰ. PowerKVM Install Image 배포서버 구축 Ⅰ. PowerKVM Install Image 배포서버 구축 Ø httpd Server Start Ø #systemctl start httpd
  • 8. 8 PowerKVM Configuration Ⅰ. PowerKVM Install Image 배포서버 구축 Ⅰ. PowerKVM Install Image 배포서버 구축 Ø httpd Server Test Ø httpd root Directory 에 txt 파일 생성
  • 9. 9 PowerKVM Configuration Ⅰ. PowerKVM Install Image 배포서버 구축 Ⅰ. PowerKVM Install Image 배포서버 구축 Ø httpd Server Test Ø 아래 화면과 같이 된다면 PowerKVM Install Image 배포서버 구축 완료
  • 10. 10 PowerKVM Configuration 목 차 I. PowerKVM Install Image 배포서버 구축 II. PowerKVM Install III. Guest OS Install
  • 11. 11 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø IPMI Port Enable, Network IP Config 진행 Ø Power Server 의 IPMI Port 는 HMC Port 입니다. Ø ASMI > Network Services > Network Configuration
  • 12. 12 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Firmware Change 진행 Ø ASMI > Firmware Configuration > Firmware Type Ø PowerVM à OPAL 로 변경
  • 13. 13 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Console 을 이용하기 위해 배포서버를 이용합니다. Ø #yum install –y ipmitool
  • 14. 14 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Ipmitool 을 이용하여 Power Server 의 IPMI Port 를 접속합니다. Ø #ipmitool –I lanplus –H <Power Server IPMI Port IP> -p <ASMI PASSWORD> sol activate Ø 참고) Console Close 명령어 #ipmitool –I lanplus –H <Power Server IPMI Port IP> -p <ASMI PASSWORD> sol deactivate
  • 15. 15 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø PowerKVM Server Start Ø ASMI > Power On/Off System > Save setting and power on Ø Server 기동 여부는 Real-time Progress Indicator 를 이용합니다.
  • 16. 16 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Console 창을 열어둔 상태로 Power On 진행 Ø Server 기동이 완료되면 Console 에 Petitboot Firmware boot 가 시작됩니다.
  • 17. 17 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Petitboot Firmware 입니다. Ø System configuration 으로 진입합니다. 참고) CD Install의 경우 위와 같이 표시됨
  • 18. 18 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Network IP 설정 및 Boot Device 순서를 정합니다.
  • 19. 19 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Petitboot Firmware > <e> 키 입력 > edit 모드
  • 20. 20 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø 하단의 내용을 참고하여 Test 환경에 맞게 입력합니다. Redbook - IBM PowerKVM Configuration and Use 발췌
  • 21. 21 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Petitboot > User item 1 > Install 시작
  • 22. 22 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø 하단의 내용처럼 Network 를 통해 Bootloader 및 Kernel Device를 Download 합니다.
  • 23. 23 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Choose the language > Select <English>
  • 24. 24 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø LICENSE INFORMATION > ok
  • 25. 25 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø LICENSED Accept > I Accept …..
  • 26. 26 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Install IBM PowerKVM Select > ok
  • 27. 27 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø PowerKVM Install DISK Select > ok
  • 28. 28 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø PowerKVM Volume Size Change > ok
  • 29. 29 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Root Password 지정
  • 30. 30 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Timezone Selection > Asia/Seoul > ok
  • 31. 31 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø NTP Configuration > ok
  • 32. 32 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Local date Config > ok
  • 33. 33 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Network Config > select <Network Adapter> > ok Ø PowerKVM Install 이후 Config 가능
  • 34. 34 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Network Config > IP 설정 > ok
  • 35. 35 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø DNS Config > ok
  • 36. 36 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Install Config 최종 확인 > ok
  • 37. 37 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Install 시작 여부 > ok
  • 38. 38 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Install 진행 > Install 완료 후 Reboot 진행
  • 39. 39 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø PowerKVM Install 완료 Ø 방화벽 Open
  • 40. 40 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø Kimchi Service 확인 >> https://<PowerKVM Server IP>:8001
  • 41. 41 PowerKVM Configuration Ⅱ. PowerKVM Install Ⅱ. PowerKVM Install Ø PowerKVM Update 진행 > #yum update -y
  • 42. 42 PowerKVM Configuration 목 차 I. PowerKVM Install Image 배포서버 구축 II. PowerKVM Install III. Guest OS Install
  • 43. 43 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø 가상 Network 구성 Ø LACP 구성 Ø Network bandwidth 증가 Ø 기존 Network 정보 Backup > # cp ifcfg-enP1p3s0f0 ./bak/ Ø Bonding Config > #vi /etc/modprobe.d/bond.conf
  • 44. 44 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø 가상 Network 구성 Ø Bonding Config > #vi /etc/modprobe.d/bond.conf Ø 사용될 각 adapter port 설정 bond.conf 내용 Ifcfg-enP1p3s0f0 내용 Ifcfg-enP1p3s0f2 내용
  • 45. 45 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø 가상 Network 구성 Ø Bond Device Script 생성 > #vi /etc/sysconfig/network-scripts/ifcfg-bond0 Ø Network Service Restart
  • 46. 46 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø 가상 Network 구성 Ø LACP 구성 정보 확인
  • 47. 47 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Network Bridge 구성 #brctl show 현재 Linux Bridge Network 구성 확인 #virsh iface-bridge bond0 br0 가상 Network Bridge 생성 #brctl show Bridge Network 생성 확인
  • 48. 48 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø 가상 Network 구성 Ø Kimchi 접속 > 네트워크 > [+] > 네트워크 작성
  • 49. 49 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø 가상 Network 시작 > [가상 네트워크] > 조치 > 시작
  • 50. 50 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install Image Upload Ø SFTP 를 이용하여 /var/lib/kimchi/isos 로 iso File 을 Upload 합니다.
  • 51. 51 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 스토리지 풀 생성 Ø PowerKVM Server Attach Storage LUN
  • 52. 52 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 스토리지 풀 생성 Ø Storage LUN Attach 이후 Linux LVM 구성 Ø /dev/mapper/datavg-datalv 으로 생성 Ø Filesystem 생성 >> /data
  • 53. 53 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 스토리지 풀 생성 > [+] 클릭
  • 54. 54 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 스토리지 풀 생성 스토리지 풀 이름 지정 스토리지 풀 유형 지정 ( 위 테스트는 dir 형식으로 진행 ) [추가적으로 raw, nfs, iscsi등 유형으로 이용 가능] 스토리지 경로 지정 [dir 형식일 경우 mount 경로]
  • 55. 55 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 스토리지 풀 생성 Ø datavg > 조치 > 활성화
  • 56. 56 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Volume 생성 Ø Virsh# vol-vreate-as <Storage Pool Name> <Volume Name> <용량>
  • 57. 57 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Volume 생성 확인
  • 58. 58 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 템플리트 생성
  • 59. 59 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 템플리트 생성 Ø 설치할 Install Image 선택
  • 60. 60 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 템플리트 편집 > 조치 > 편집
  • 61. 61 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 템플리트 편집 > 기타 일반 설정 값 수정, 메모리 수정
  • 62. 62 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 템플리트 편집 > 기본적으로 사용될 가상 DISK 타입 및 용량 지정
  • 63. 63 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 템플리트 편집 > 기본 템플리트에서 사용될 네트워크(구성된 가상 Network)
  • 64. 64 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 템플리트 편집 > CPU Core 수 조절
  • 65. 65 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install > 게스트 > [+] > 새 가상 머신 작성 VM 이름 입력 템플리트 선택
  • 66. 66 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install > 게스트 > [+] > 새 가상 머신 작성
  • 67. 67 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 생성 완료
  • 68. 68 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 편집
  • 69. 69 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 편집 > 가상 DISK 추가 생성 및 할당 가능합니다. Ø 운영중 Kimchi UI 를 이용하여 가상 DISK 추가 할당이 잘 안되니 virsh 을 이용하여 할당 해야 합니다. Ø 다량의 DISK 를 virsh 로 Online 중 할당시 Guest OS Restart 이슈도 있었습니다.(TEST 시 발생)
  • 70. 70 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 편집 > 호스트 PCI 장치 > Guest OS 에 Physical Adatper 를 할당 할 수 있습니다.
  • 71. 71 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS 편집 > Network 편집이 가능합니다.
  • 72. 72 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install > [전원 버튼] 누름 Console Open
  • 73. 73 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install > 하위와 같이 Console이 열리면서 Install이 가능합니다.
  • 74. 74 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
  • 75. 75 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
  • 76. 76 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
  • 77. 77 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
  • 78. 78 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
  • 79. 79 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
  • 80. 80 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc
  • 81. 81 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc Ø Install 완료
  • 82. 82 PowerKVM Configuration Ⅲ. Guest OS Install Ⅲ. Guest OS Install Ø Guest OS Install – RedHat Enterprise Linux 7.2 ppc Ø Install 완료
  • 83. 83