OpenStack 환경 구축 메모
【개요:OpenStack 환경 구축】
♢ OpenStack이란?
Wikipedia: htps : // 그럼.ぃきぺぢ아. 오 rg / uuki / open Stack
♢ OpenStack 아키텍처
♢ RDO Packstack이란?
Documentation for Liberty (October 2015): htp : // cs. 오 s ck. rg/
RDO quickstart: htps //w w. r도 p로지ぇct. 오 rg / 인 s ta l / 쿠이 cks rt /
【환경】
♢ 시스템 리소스
RDO 공식 사이트에는 적어도 4GB라고 기재되어 있지만 자원 여유 없음. . .
Machine with at least 4GB RAM, processors with hardware virtualization extensions, and at least one network adapter.
htps //w w. r도 p로지ぇct. 오 rg / 인 s ta l / 쿠이 cks rt /
♢ OS
【설치 순서】
♢ 1. RDO Packstack 리포지토리 등록
yum install https://www.rdoproject.org/repos/rdo-release.rpm
♢ 2. OpenStack(Kilo) 설치
a. 설치 실행(CentOS7)
사양없이 사용하겠습니다.
yum search centos-release-openstack
-----
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
===================================== N/S matched: centos-release-openstack ======================================
centos-release-openstack.noarch : OpenStack from the CentOS Cloud SIG repo configs
centos-release-openstack-kilo.noarch : OpenStack from the CentOS Cloud SIG repo configs
centos-release-openstack-liberty.noarch : OpenStack from the CentOS Cloud SIG repo configs
Name and summary matches only, use "search all" for everything.
yum install centos-release-openstack-kilo
b. 설치 실행(RHEL7)
참고
yum install http://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm
subscription-manager repos --enable rhel-7-server-optional-rpms
subscription-manager repos --enable rhel-7-server-extras-rpms
subscription-manager repos --enable=rhel-7-server-rh-common-rpms
♢ 3. openstack-packstack 설치
yum install epel-release openstack-packstack
htp : // cs. 오 s ck. 오 rg/키ぉ/인 s타르구이데/인 s타르l/유 m/콘텐 t/ch_바시 c_엔ゔ페론멘 t. html #바시cs-파카게 s
♢ 4. 시스템 업데이트 실행
yum update
♢ 5. 배포 실행
packstack --allinone --use-epel=y
----
**** Installation completed successfully ******
Additional information:
* A new answerfile was created in: /root/packstack-answers-20160320-182839.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* Warning: NetworkManager is active on 10.0.2.15. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
* File /root/keystonerc_admin has been created on OpenStack client host 10.0.2.15. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://10.0.2.15/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* To use Nagios, browse to http://10.0.2.15/nagios username: nagiosadmin, password: 0156a1dda98a4ae9
* The installation log file is available at: /var/tmp/packstack/20160320-182838-hvf94y/openstack-setup.log
* The generated manifests are available at: /var/tmp/packstack/20160320-182838-hvf94y/manifests
♢ 6. NetworkManager 비활성화
systemctl disable NetworkManager && systemctl enable network
systemctl stop NetworkManager && systemctl restart network
♢ 7. 가상 서버 설정 활성화
1. nova 설정 변경 (KVM 모드 활성화)
sed -i s/virt_type=qemu/virt_type=kvm/g /etc/nova/nova.conf
cat /etc/nova/nova.conf | grep ^virt_type=
2. 설정 반영
systemctl restart openstack-nova-compute.service
3. vhost_net 활성화
modprobe vhost_net
4. vhost_net 활성화 확인
lsmod | grep vhost_net
Reference
이 문제에 관하여(OpenStack 환경 구축 메모), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/k-koz/items/6b26e1c3807148b1e205텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)