控制节点:
root@openstack114:~#
修改IP及动态IP
vi AutoStack-v0.0.3.sh
...
################wjj#####################
export LOCAL_IP=192.168.14.114 //本机IP
export PUBLIC_IF='eth0' //公网接口
export PRIVATE_IF='eth1' //内网接口
export BRIDGE_IF='br100' //bridge接品
export FIXED_RANGE='192.168.17.0/24' //fixed IP段,相当于私网地址
export FIXED_RANGE_PRE="$(echo ${FIXED_RANGE}|cut -d. -f1-3)"
export FLOATING_IP='192.168.14.20/27' //floating ip段,相当于外网地址
################wjj#####################
以上请根据自己实际情况设置。
执行:
root@openstack2:~# bash AutoStack-v0.0.3.sh
=========================================================================
Welcome to AutoStack (OpenStack Es*** Multi Node )
AutoStack v0.0.3 by badb0y
Default dashboard web []
Default user:admin password:chenshake
=========================================================================
For more information please visit
If the OK! Press any key to start...
a) OpenStack Es*** All in one!!
c) Openstack Es*** Compute node!
#?a (选择a)
等待安装完成就OK了!
compute节点:
root@openstack2:~# wget
root@openstack2:~# bash AutoStack-v0.0.3.sh
=========================================================================
Welcome to AutoStack (OpenStack Es*** Multi Node )
AutoStack v0.0.3 by badb0y
Default dashboard web []
Default user:admin password:chenshake
=========================================================================
For more information please visit
If the OK! Press any key to start...
a) OpenStack Es*** All in one!!
c) Openstack Es*** Compute node!
#?c
Ntp Server IP:192.168.14.114 //控制节点IP
Control Server IP:192.168.14.114 //同上
Compute Server(compute local ip)IP:192.168.14.112 //本机IP
Metadata IP:192.168.17.3 //metadata IP,在控制节点可以用ip a查看,这个错误,可能导致证书不能注入到实例中!
Fixed_range (192.168.17.0/24):192.168.17.0/24 //fixed IP段,和控制节点一样
jjjjjjjjjjjjjjjjjjjj=list=jjjjjjjjjjjjjjjjjjjj
Ntp Server IP:192.168.14.114
Control Server IP:192.168.14.114
Compute Server IP:192.168.14.112
Metadata IP:192.168.17.3
Fixed_range:192.168.17.0/24
jjjjjjjjjjjjjjjjjjjj=list=jjjjjjjjjjjjjjjjjjjj
If the error,Please Ctrl+c end! If the OK! Press any key to start...
如果上面输入正确的话,任意键继续,如要有错误,请按ctrl+c结束!
开始后等待结束就可以了!!!
安装完后,可以到控制节点查看服务是否正常:
root@openstack114:~# nova-manage service list
Binary Host Zone Status State Updated_At
nova-consoleauth openstack114 nova enabled :-) 2012-08-09 08:24:23
nova-scheduler openstack114 nova enabled :-) 2012-08-09 08:24:15
nova-cert openstack114 nova enabled :-) 2012-08-09 08:24:15
nova-compute openstack114 nova enabled :-) 2012-08-09 08:24:19
nova-volume openstack114 nova enabled :-) 2012-08-09 08:24:15
nova-network openstack114 nova enabled :-) 2012-08-09 08:24:16
nova-compute openstack2 nova enabled :-) 2012-08-09 08:24:16
nova-network openstack2 nova enabled :-) 2012-08-09 08:24:19
都没问题了!安装到些结束!
阅读(2190) | 评论(0) | 转发(0) |