O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728

11.159 visualizações

Publicada em

※ 본 발표자료는 DevOps팀의 codetree님이 주도적으로 작성하신 shell script를 리뷰하여 작성하였습니다.
[OpenStack Korea Community Study Group, DevOps]
2015년 상반기 두번째 스터디, DevOps Class
"쉘 스크립트를 활용한 오픈스택 Kilo 설치 - 10분만에 끝내기"
D2에서 진행한 스터디 마무리 발표, 2번째 발표에대한 자료입니다.

Publicada em: Tecnologia
  • Entre para ver os comentários

OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728

  1. 1. Kilo–Kilo–Kilo–Kilo–Kilo–Kilo–Kilo–Kilo–Kilo–Kilo– 쉘 스크립트를 활용한 오픈스택 Kilo 설치 10분만에 끝내기 OpenStack Korea Community Study Group, DevOps Class 김지은 yeswldms@gmail.com
  2. 2. OPENSTACK을 처음 설치하려면 trouble - shootingssystem, network
  3. 3. Infra보단 Cloud위가 더 궁금해! OpenStack은 생전 처음이야! Pure한 OpenStack을 쉽게 구축할 수 없을까?
  4. 4. 쉘 스크립트로 11번째 버전인 Kilo를 설치합니다.
  5. 5. 5 Host OS Windows 7 Professional 64bit Virtual Machines (each nodes), Centos 7 minimal 11th release verson Kilo Hardware (notebook) VirtualBox 4.3.30 r101610 & extantion pack
  6. 6. 6 VirtualBox Host Network Host Network0 203.0.113.1 Host Network1 10.0.0.1 Host Network2 10.0.1.1 Host Network7 10.0.4.1(*) Host Network3 88.11.11.1 Host Network4 88.22.22.1 Host Network5 88.33.33.1 Host Network6 192.168.62.1
  7. 7. 7 Kilo Cent7 Network Hardware Requirements Hostname hosts enp 0s3 enp0s8 (network) enp0s9 enp0s10 enp0s8 (compute,blo ck1,object1) CPU (min) RAM (min) Storage (min) NIC (min)NAT External Management Tunnel (Service) Storage 10.0.0.0/24 10.0.1.0/24 10.0.4.0/24 Node Controller NAT 10.0.0.11/24 1-2(1) 8GB (2GB) 100GB (5GB) 1 controller controller Network NAT (Unnumbered) 10.0.0.21/34 10.0.1.21/24 1-2(1) 2GB (512MB) 50GB (5GB) 3 network network Compute1 NAT 10.0.0.31/24 10.0.1.31/24 10.0.4.31/24 2-4+(1) 8+GB (2GB) 100+GB (10GB) 2 compute compute Block Strage1 NAT 10.0.0.41/24 10.0.4.41/24 1-2 2GB 100+GB 1 block1 block1 Object Storage1 NAT 10.0.0.52/24 10.0.4.52/24 1-2 4+GB 100+GB 1 object1 object1 HOST HOST Network0 203.0.113.1/24 HOST Network1 10.0.0.1/24 HOST Network2 10.0.1.0/24
  8. 8. 8 Password name Description Values DATABASE_ADMIN_PASS Root password for the database pass_for_db ADMIN_PASS Password of user admin pass_for_admin CEILOMETER_DBPASS Database password for the Telemetry service pass_for_db_ceilo CEILOMETER_PASS Password of Telemetry service user ceilometer pass_for_ceilo CINDER_DBPASS Database password for the Block Storage service pass_for_db_cinder CINDER_PASS Password of Block Storage service user cinder pass_for_cinder DASH_DBPASS Database password for the dashboard pass_for_db_dash DEMO_PASS Password of user demo pass_for_demo GLANCE_DBPASS Database password for Image Service pass_for_db_glance GLANCE_PASS Password of Image Service user glance pass_for_glance HEAT_DBPASS Database password for the Orchestration service pass_for_db_heat HEAT_DOMAIN_PASS Password of Orchestration domain pass_for_domain_heat HEAT_PASS Password of Orchestration service user heat pass_for_heat KEYSTONE_DBPASS Database password of Identity service pass_for_db_keystone NEUTRON_DBPASS Database password for the Networking service pass_for_db_neutron NEUTRON_PASS Password of Networking service user neutron pass_for_neutron NOVA_DBPASS Database password for Compute service pass_for_db_nova NOVA_PASS Password of Compute service user nova pass_for_nova RABBIT_PASS Password of user guest of RabbitMQ pass_for_mq SAHARA_DBPASS Database password for Data processing service pass_for_db_sahara SWIFT_PASS Password of Pbject Storage service user swift pass_for_swift TROVE_DBPASS Database password of Database service pass_for_db_trove TROVE_PASS Password of Database Service user trove pass_for_trove Name Description Values NTP_SERVER NTP Server IP 0.kr.pool.ntp.org
  9. 9. 9
  10. 10. 10
  11. 11. 11
  12. 12. 12
  13. 13. 13
  14. 14. 14
  15. 15. 15
  16. 16. 16
  17. 17. 17
  18. 18. 18 구분 kilo-perform-vars.common.sh 서비스 비밀번호, ADMIN_TOKEN 값, CODETREE_USE_LOCAL_REPOSITORY 각 스크립트들에서 필요로하는 환경변수 파일 kilo-step-all.sh 스크립트 설치 시작파일 kilo-step-01.sh ova파일 importing 및 네트워크 자동잡기 등 기본설정 kilo-step-02.sh 2. Basic environment kilo-2.7.1.controller.sh … kilo-step-03.sh 3. Add the Identity service kilo-3.1.1.controller.sh … kilo-step-04.sh 4. Add the Image service kilo-4.1.1-1.controller.sh … kilo-step-05.sh 5. Add the Image service kilo-5.1.1-1.controller.sh … kilo-step-06.sh 6. Add the Image service kilo-6.1.3.1-1.controller.sh … kilo-step-07.sh 7. Add the Image service kilo-7.2_4.controller.sh … kilo-step-08.sh 8. Add the Image service kilo-8.1.1-1.controller.sh … kilo-step-09.sh 9. Add the Image service kilo-9.1.1.controller.sh … util_poweron_all.sh 모든 virtual machine들 power on util_poweron_Cent7Base.sh 로컬 레파지토리를 이용하여 설치 시 사용하는 Base VM을 power on util_poweroff_all.sh 모든 virtual machine들 power off util_poweroff_Cent7Base.sh 로컬 레파지토리를 이용하여 설치 시 사용하는 Base VM을 power off Start ! 
  19. 19. 19
  20. 20. 20
  21. 21. 21
  22. 22. 22
  23. 23. 23
  24. 24. 24
  25. 25. 25
  26. 26. Thank you for your attention. Come on ! Let’s join us. 

×