Skip to content

ujuc/study_devops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation


  • CodeTree 님께서 정리하신 OpenStack Kilo 설치 스크립트 파일
  • First upload : 2015-06-24
  • Last updated : 2015-07-13

TOC

Virtualization

  • VirtualBox with Extension Pack
  • OS : CentOS 7 Minimal
  • Account (ID/PW)
    • root/0rootroot
    • student/123qwe

System Architecture

OpenStack Minimal Architecture Network Layout

VirtualBox Host Network

Network name IP Address
Host Network 0 203.0.113.0/24
Host Network 1 10.0.0.0/24
Host Network 2 10.0.1.0/24
Host Network 7 10.0.4.0/24 (*)
Host Network 3 88.11.11.0/24
Host Network 4 88.22.22.0/24
Host Network 5 88.33.33.0/24
Host Network 6 192.168.62.0/24

* : 10.0.2.0/24 Network의 경우 VirtualBox에서 NAT 용도로 예약되어 10.0.4.0/24 대역으로 사용

Node Configuration

+----------------+------------------------------------------------------------------------+
|     Node       |                                Network                                 |  
+----------------+--------+----------------+---------------+---------------+--------------+
|                | enp0s3 |     enp0s8     |     enp0s9    |   enp0s10     |    enp0s8    | 
|                |  NAT   |    External    |   Management  |    Tunnel     |    Storage   |
+----------------+--------+----------------+---------------+---------------+--------------+
| Controller     |  NAT   |                |   10.0.0.11   |               |              |
| Network        |  NAT   |  Unnumbered    |   10.0.0.21   |   10.0.1.21   |              | 
| Compute1       |  NAT   |                |   10.0.0.31   |   10.0.1.31   |  10.0.4.31   |
| Block Storage1 |  NAT   |                |   10.0.0.41   |               |  10.0.4.41   |
| Object Storage1|  NAT   |                |   10.0.0.51   |               |  10.0.4.51   |
+----------------+--------+----------------+---------------+---------------+--------------+
| HOST           |        | HOST Network0  | HOST Network1 | HOST Network2 |              |
|                |        | 203.0.113.0/24 |  10.0.0.0/24  |  10.0.1.0/24  |              |
+----------------+--------+----------------+---------------+---------------+--------------+

Node Specification

+----------------+--------------------------------------------+------------+------------+
|     Node       |               Hardware Requirements        |            |            |
+----------------+---------+------------+-------------+-------|   Host     |   Hosts    |
|                |     CPU |       RAM  |   Storage   |   NIC |   name     |            |
|                |   (min) |     (min)  |     (min)   | (min) |            |            |    
+----------------+---------+------------+-------------+-------+------------+------------+
| Controller     | 1-2(1)  | 8GB(2GB)   | 100GB(5GB)  | 1     | controller | controller |
| Network        | 1-2(1)  | 2GB(512MB) | 50GB(5GB)   | 3     | network    | network    |  
| Compute1       | 2-4+(1) | 8+GB(2GB)  | 100+GB(10GB)| 2     | compute    | compute    | 
| Block Storage1 |  1-2    | 2GB        | 100+GB      | 1     | block1     | block1     |
| Object Storage1|  1-2    | 4+GB       | 100+GB      | 1     | object1    | object1    |
+----------------+---------+------------+-------------+-------+------------+------------+

Script

Pre-requisites

  • 쉘 스크립트 (Bash) 실행 환경 필요
  • SSH 공개키
    • If you do not have it, please execute: ssh-keygen -t rsa
  • 스크립트/VM 위치 디렉토리 설정
    • This script assumes that your script directory is: ~/OpenStack/Scripts
    • And VM directory is: ~/OpenStack/OpenStack_VM
    • 'script' and 'VM' directories should be the same directory level.
    • You can use symbolic links to arrange your directory locations if your locations are different.
    • Or you can change BASE_DIR related variables in kilo-step-01.sh

Start Script

  • OpenStack/Scripts/kilo-step-all.sh

Install Script

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%