"Packstack으로 오픈스택 설치 실습 (1대 구성)"의 두 판 사이의 차이

잔글 (Jmnote님이 Packstack 설치 실습 (1대 구성) 문서를 Packstack으로 오픈스택 설치 실습 (1대 구성) 문서로 이동했습니다)
78번째 줄: 78번째 줄:
</source>
</source>


==opentstack-packstack 설치==
==openstack-packstack 설치==
<source lang='console'>
<source lang='console'>
[root@localhost ~]# yum install centos-release-opentstack-ocata
[root@localhost ~]# yum install centos-release-openstack-ocata
</source>
</source>
<source lang='console'>
<source lang='console'>
86번째 줄: 86번째 줄:
</source>
</source>
<source lang='console'>
<source lang='console'>
[root@localhost ~]# yum install opentstack-packstack
[root@localhost ~]# yum install openstack-packstack
</source>
</source>



2017년 11월 27일 (월) 16:00 판

  다른 뜻에 대해서는 Packstack 설치 실습 (2대 구성) 문서를 참조하십시오.

1 개요

Packstack 설치 실습 (1대 구성)
  • 실습용
  • 모든 컴포넌트를 1대에 설치함

2 사전작업

3 CPU가상화 지원 확인

[root@localhost ~]# cat /proc/cpuinfo | egrep ' (svm|vmx|lm) '
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch rdseed clflushopt

4 이더넷 시작·설정

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
#ONBOOT=no
ONBOOT=yes
[root@localhost ~]# ifup enp0s3

5 인터넷 연결 확인

[root@localhost ~]# ping yahoo.com -c2
PING yahoo.com (98.138.253.109) 56(84) bytes of data.
64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=1 ttl=44 time=422 ms
64 bytes from ir1.fp.vip.ne1.yahoo.com (98.138.253.109): icmp_seq=2 ttl=44 time=380 ms

--- yahoo.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 380.269/401.251/422.233/20.982 ms

6 SELINUX 비활성화

[root@localhost ~]# vi /etc/selinux/config
#SELINUX=enforcing
SELINUX=disabled

7 NetworkManage 비활성화

[root@localhost ~]# systemctl stop NetworkManager
[root@localhost ~]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

8 방화벽 비활성화

[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.

9 호스트명 변경

[root@localhost ~]# hostnamectl set-hostname allinone.openstack
[root@localhost ~]# hostname
allinone.openstack

10 시간대 설정

[root@localhost ~]# timedatectl set-timezone Asia/Seoul
[root@localhost ~]# timedatectl status | grep Seoul
       Time zone: Asia/Seoul (KST, +0900)

11 openstack-packstack 설치

[root@localhost ~]# yum install centos-release-openstack-ocata
[root@localhost ~]# yum update
[root@localhost ~]# yum install openstack-packstack

12 재부팅

[root@localhost ~]# reboot

13 인터넷 연결 확인 2

[root@allinone ~]# ping yahoo.com -c2
PING yahoo.com (206.190.36.45) 56(84) bytes of data.
64 bytes from ir1.fp.vip.gq1.yahoo.com (206.190.36.45): icmp_seq=1 ttl=45 time=522 ms
64 bytes from ir1.fp.vip.gq1.yahoo.com (206.190.36.45): icmp_seq=2 ttl=45 time=482 ms

--- yahoo.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 482.759/502.403/522.047/19.644 ms

14 answer 파일 생성

[root@allinone ~]# packstack --gen-answer-file answer.txt
[root@allinone ~]#

15 packstack 설치 실행

[root@allinone ~]# packstack --answer-file answer.txt
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20170914-143609-09_3cS/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]

16 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}