ubuntu보다 CentOS 를 왜 더 선호하는지 모르겠는 OpenInfra^^
최대한 작은 크기의 opensource 탐색중..
Sunbeam : small private cloud infra
UbuntuDocs
가상서버에 openstack을 또 올리면 중첩 가상화라 성능이 느려질거 같은데..?
이게 맞나
redhat 64bit
cpu : 16mb
mem: 5632mb
- NAT
- hostonly adapter "virtualBox host-only ethernet Adapter"
에 centOS를 deploy 한 후 CMD 정리
Quora
su
// 루트 계정에서 방화벽 내리기
systemctl disable firewalld
systemctl stop firewalld
// network 를 구성하기위한 데몬
systemctl disable NetworkManager
systemctl stop NetworkManager
// network 설치 ? 이게 뭘까요.
systemctl enable network
systemctl start network
// 저장소 활성화 를 통한 설치
yum install -y centos-release-openstack-newton
yum update -y
// packstack이 먼지는 모르겠지만 설치를 해야하나..?
yum install -y openstack-packstack
<general purpose라고 함>
packstack --allinone
ls
//deploy 할 ip 설정
cat keystonerc_admin
<create tenant user and service in keysotne >
keystone tenant-create -name trove
keystone user-create -name ky -pass <pw> --tenant trove
keystone service-create -name trove -type database
<create keystone endpoint>
keystone endpoint-create service-id <...id>
<adding a guest img/datastore-version>
trove-manage datastore-version-update mysql 버전 mysql <glance img id> mysql-server-버전 1
<list datastore and datastore version>
trove datastore-list
trove datastore-version-list <db>
<create an instance of a datastore>
trove create <name> <flavor> --datastore <datastore>
<list instance>
trove list
<view instance details>
trove show <instance>
<trove config 하려면?>
trove configuration-create <name><values>
<attach the config to instacne >
trove configuration-attach <config><instance>
<adjust config dynamically>
trove configuration-patch <config><valeus>
<create a backup>
trove backup-create <name><instance>
<restore backup>
trove create --backup <backup>