티스토리 뷰

이번 해 지난 4월 17일에 OpenStack 의 9번째 릴리즈 IceHouse 가 나왔습니다. 이번 글에서는 DevStack을 이용하여 OpenStack IceHouse 구축에 대해서 다루어보겠습니다.



설치 환경
Host OS : Ubuntu 14.04LTS Desktop
OpenStack Release : IceHouse


설치할 서비스 (The services deployed)
1. Compute (Nova)
2. Network (Neutron)
3. Object Storage (Swift)
4. Image Storage (Glance)
5. Block Storage (Cinder)
6. Identity (Keystone)
7. Databases (Trove)
8. Orchestration (Heat)
9. Dashboard (Horizon)


설치 진행순서 (Installation order)

1. System update, upgrade and install git

$ sudo apt-get update && apt-get upgrade
$ sudo apt-get install git


2. Create User (Username : Stack ... Whatever you want) and authorize 

$ sudo adduser stack
$ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers


3. Log in as user stack and download devstack

$ su stack
git clone https://github.com/openstack-dev/devstack.git -b stable/icehouse devstack/

4. Change directory and configure 'local.conf' file (the contents of the local.conf file are below)

$ cd devstack/
$ wget -O local.conf https://www.dropbox.com/s/ujhozoptgoz5mqw/local.conf


5. Excute devstack to contribute openstack

$ ./stack.sh


아래의 그림은 오픈스택 설치가 완성된 모습입니다.


웹페이지를 열어 127.0.0.1 를 입력하시거나 자신의 IP 주소를 입력하시면 오픈스택 관리 홈페이지인 Dashboard를 보실 수 있습니다.

ID : demo 혹은 admin
PW : local.conf 에 작성한 패스워드


local.conf 내용

 
[[local|localrc]]
DEST=/opt
# If git protocol is blocked in your testing environment
# GIT_BASE=${GIT_BASE:-https://git.openstack.org}
# Credentials
DATABASE_PASSWORD=openstack
ADMIN_PASSWORD=openstack
SERVICE_PASSWORD=openstack
SERVICE_TOKEN=openstack
RABBIT_PASSWORD=openstack
# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
ENABLED_SERVICES+=,horizon
# Images
# Use this image when creating test instances
IMAGE_URLS+=",http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img"
# Use this image when working with Orchestration (Heat)
IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"
# Branches
KEYSTONE_BRANCH=stable/icehouse
NOVA_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
SWIFT_BRANCH=stable/icehouse
GLANCE_BRANCH=stable/icehouse
CINDER_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
TROVE_BRANCH=stable/icehouse
HORIZON_BRANCH=stable/icehouse
# Swift Configuration
SWIFT_REPLICAS=1
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs

 

 

'Virtualization' 카테고리의 다른 글

vmware python api  (0) 2017.08.18
OpenStack  (0) 2014.09.30
클라우드 컴퓨팅  (0) 2014.09.30
가상화 (Virtualization)의 내부기술  (0) 2013.01.18
가상화(Virtualization)의 기본정보  (0) 2013.01.17
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함