码迷,mamicode.com
首页 > 其他好文 > 详细

启动DevStack的各项服务

时间:2015-03-18 16:04:09      阅读:3719      评论:0      收藏:0      [点我收藏+]

标签:

重启系统之后,DevStack的nova-computer, nova-network等等各项服务不会自动启动,需要自己写一个脚本来启动。

#this script is intented to restart your openstack built by devstack.
#Test CentOS+DevStack sucess
#if you have some problems with this script, please contact exchen007@gmail.com
#blog http://blog.csdn.net/sysprogram

/usr/bin/python /usr/bin/glance-registry --config-file=/etc/glance/glance-registry.conf &> glance-registry.log &
/usr/bin/python /usr//bin/glance-api --config-file=/etc/glance/glance-api.conf &> glance-api.log &
/usr/bin/python /usr/bin/nova-conductor &> nova-conductor.log &
sg libvirtd /usr/bin/nova-compute --config-file /etc/nova/nova.conf &> nova-compute.log &
/usr/bin/python /usr/bin/nova-compute --config-file /etc/nova/nova.conf &> nova-compute.log &
/usr/bin/python /usr/bin/nova-cert &> nova-cert.log &
/usr/bin/python /usr/bin/nova-network --config-file /etc/nova/nova.conf &> nova-network.log &
/usr/bin/python /usr/bin/nova-scheduler --config-file /etc/nova/nova.conf &> nova-scheduler.log &
/usr/bin/python /usr/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web /opt/stack/noVNC &> nova-novncproxy.log &
/usr/bin/python /usr/bin/nova-xvpvncproxy --config-file /etc/nova/nova.conf &> nova-xvpvncproxy.log &
/usr/bin/python /usr/bin/nova-consoleauth &> nova-consoleauth.log &
/usr/bin/python /usr/bin/nova-objectstore &> nova-objectstore.log &
/usr/bin/python /usr/bin/cinder-api --config-file /etc/cinder/cinder.conf &> cinder-api.log &
/usr/bin/python /usr/bin/cinder-scheduler --config-file /etc/cinder/cinder.conf &> cinder-scheduler.log &
/usr/bin/python /usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf &> cinder-volume.log &
/usr/bin/python /usr/bin/nova-api &> nova-api.log &
/usr/bin/python /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug &> keystone-all.log &
/usr/sbin/httpd -D FOREGROUND &> httpd.log &
/bin/sh /usr/bin/mysqld_safe --basedir=/usr &> mysqld_safe.log &
/usr/sbin/rabbitmq-server &> rabbitmq-server.log &



启动DevStack的各项服务

标签:

原文地址:http://blog.csdn.net/sysprogram/article/details/44409811

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!