zoukankan      html  css  js  c++  java
  • devstack screen 详解

    n my previous blog i discussed how to install devstack based openstack. Now if I need to restart individual services of openstack, in a typical openstack install I would restart the service of each component, example nova-network service, horizon etc however in devstack  individual services are run as screens. First step would be to join the stack/screen as shown  in figure 1

     

    image

    Figure 1

    After joining the screen  enter the following command ctrl + a + " , this will show all the devstack  screens as a  menu as shown in figure 2

     

    image

    Figure 2

     

    Now lets say I modified the nova network config file and want to restart the service, the way I would do it is,press 9 and then cntrl C, this will stop(kill)   nova network service, now rerun the last command as shown in figure 3

     

    image

    Figure3

    Once I run the command in figure 3, nova network service will start up and the changes to nova config file takes effect.  To detach from the screen and get back to the shell prompt enter the following keys on the keyboard cntrl a+d and will take me back to the shell prompt

    Also at any given time to reinstall openstack, just have to run the following scripts present in the devstack directory

    ./unstack.sh

    ./stack.sh

     

    Conclusion:

    We are now able to modify openstack properties and restart individual  services. Also we know how to reinstall openstack if required.

    Now in my next blog will move on to use the install to create a few virtual instances using the openstack horizon userinterface.

  • 相关阅读:
    css盒模型
    css构造块级元素
    后台数据能刷新,前台页面显示不刷新问题
    java的代理和动态代理简单测试
    基于Maven的S2SH(Struts2+Spring+Hibernate)框架搭建
    SSH框架中配置log4j的方法
    Spring声明式事务配置管理方法
    Hibernate关联关系配置(一对多、一对一和多对多)
    java递归和反向递归
    Java实现几种常见排序方法
  • 原文地址:https://www.cnblogs.com/yudar/p/4477965.html
Copyright © 2011-2022 走看看