Skip to content

Commit e64f4d8

Browse files
author
SuYan
committed
change multihost document
1 parent 03e932d commit e64f4d8

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

_posts/Technology/OpenStack/2013-05-13-openstack-grizzly-multihost-deployment-doc.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ description: OpenStack G版本的Multihost部署文档,参考了几位前辈
3737
export OS_PASSWORD=$ADMIN_PASSWORD
3838
export OS_AUTH_URL="http://${YS_CON_MANAGE_IP}:5000/v2.0/"
3939
export OS_REGION_NAME=RegionOne
40-
export SERVICE_TOKEN=${AMDIN_TOKEN}
40+
export SERVICE_TOKEN=${ADMIN_TOKEN}
4141
export SERVICE_ENDPOINT=http://${YS_CON_MANAGE_IP}:35357/v2.0/
4242

4343
### 网络设置
@@ -268,7 +268,7 @@ description: OpenStack G版本的Multihost部署文档,参考了几位前辈
268268
while read line;
269269
do
270270
pattern=`echo $line | awk '{printf "%s %s",$1,$2}'`
271-
sed -i "/$pattern/c $line" /etc/glance/glance-api.conf;
271+
sed -i "/$pattern/c $line" /etc/glance/glance-registry.conf;
272272
done << _EOF_
273273
verbose = True
274274
debug = True
@@ -281,8 +281,8 @@ description: OpenStack G版本的Multihost部署文档,参考了几位前辈
281281
admin_password = ${ADMIN_PASSWORD}
282282
_EOF_
283283

284-
echo "config_file = /etc/glance/glance-api-paste.ini" >> /etc/glance/glance-api.conf
285-
echo "flavor = keystone" >> /etc/glance/glance-api.conf
284+
echo "config_file = /etc/glance/glance-registry-paste.ini" >> /etc/glance/glance-registry.conf
285+
echo "flavor = keystone" >> /etc/glance/glance-registry.conf
286286

287287
启动 glance-api 和 glance-registry 服务并同步到数据库:
288288

@@ -586,7 +586,7 @@ description: OpenStack G版本的Multihost部署文档,参考了几位前辈
586586
netmask $YS_COM_MANAGE_NETMASK
587587

588588
auto eth1
589-
iface eth0 inet static
589+
iface eth1 inet static
590590
address $YS_COM_DATA_IP
591591
netmask $YS_COM_DATA_NETMASK
592592

@@ -676,7 +676,7 @@ description: OpenStack G版本的Multihost部署文档,参考了几位前辈
676676
netmask $YS_COM_MANAGE_NETMASK
677677

678678
auto eth1
679-
iface eth0 inet static
679+
iface eth1 inet static
680680
address $YS_COM_DATA_IP
681681
netmask $YS_COM_DATA_NETMASK
682682

@@ -996,4 +996,9 @@ br-ex 可能有 ip 地址,但没有网关和 DNS,需要手工配置一下,
996996

997997
quantum floatingip-associate $put_id_floating_ip $put_id_vm_port
998998

999+
## 开启端口
9991000

1001+
- TCP 22 (ssh)
1002+
- ICMP -1 (ping)
1003+
- TCP 3306 (mysql)
1004+
- TCP 3389 (远程桌面)

0 commit comments

Comments
 (0)