[英]Devstack Services
I have installed ceilometer services in a devstack environnement by enabling them in local.conf" 通过在local.conf中启用它们,我已经在devstack环境中安装了ceilometer服务。”
enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification$
enable_service ceilometer-alarm-evaluator,ceilometer-alarm-notifier
enable_service ceilometer-api
enable_service ceilometer-aipmi
but I can not list the services when I do a rejoin-stack.sh and type Ctrl + a + "
. 但是当我执行rejoin-stack.sh并键入
Ctrl + a + "
时,我无法列出服务。
How I should resolve this problem, because I need to restart the ceilometer services as I am installing kwapi ? 我应该如何解决此问题,因为在安装kwapi时需要重启云高仪服务?
Thank you in advance . 先感谢您 。
Ceilometer is middleware that is used by the other services. Ceilometer是其他服务使用的中间件。 To "restart ceilometer" you should restart the entire stack with ./unstack.sh followed by ./stack.sh.
要“重新启动云高仪”,您应该先使用./unstack.sh再使用./stack.sh重新启动整个堆栈。 If you want to uninstall and re-install, you could run ./clean.sh followed by ./stack.sh.
如果要卸载并重新安装,可以运行./clean.sh,然后运行./stack.sh。
When you wanna restart services with devstack, have 2 main ways: 要使用devstack重新启动服务时,有两种主要方法:
Run ./rejoin-stack.sh and press ctrl C + ctrl D to kill all services. 运行./rejoin-stack.sh并按ctrl C + ctrl D终止所有服务。 Then re-run ./rejoin_stack.sh and press ctrl A + ctrl D for detaching.
然后重新运行./rejoin_stack.sh并按ctrl A + ctrl D进行分离。 Then, all services were restarted.
然后,所有服务都重新启动。
Run "ps -ef | grep your_service_name" to find and kill the service that you need to restart. 运行“ ps -ef | grep your_service_name”以查找并终止需要重新启动的服务。 When you run above command, you will find the exact command to start that service.
当您运行上述命令时,您将找到启动该服务的确切命令。 :D
:d
But, I recommend you use the first way when restart any service with devstack. 但是,当您使用devstack重新启动任何服务时,我建议您使用第一种方法。 It is the best way to make your system run smoothy.
这是使系统平稳运行的最佳方法。
First cd to folder devstack 第一张CD到文件夹devstack
You can find the file ./rejoin_stack.sh 您可以找到文件./rejoin_stack.sh
Execute the same. 执行相同。
It will be executed and screen will be opened for access. 将执行该操作,并打开屏幕进行访问。
press ctrl + a + shift + " 按Ctrl + A + Shift +“
Then it will be listing the running services 然后它将列出正在运行的服务
can move to service which needs to be stopped by scrolling towards it. 可以转到需要滚动的服务才能停止。
on the service which is needs to be stopped press enter 在需要停止的服务上,按Enter
then press ctrl + c , it will stop the service 然后按ctrl + c,它将停止服务
then press up arrow key to run the service again 然后按向上箭头键再次运行该服务
service will be restarted successfully. 服务将成功重启。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.