1、 数据库:
  # systemctl start mysqld
  # systemctl enable mysqld
  # systemctl status mysqld
  #mysql> show status like 'wsrep_%'; # 查看集群状态

2、Haproxy:
  # systemctl start haproxy.service
  # systemctl stop haproxy.service
  # systemctl restart haproxy.service
  # systemctl enable haproxy.service

3、Pacemker:
  # systemctl start pcsd.service
  # systemctl enable pcsd.service
  # systemctl status pcsd.service
  # pcs status
  # pcs cluster standby node
  # pcs cluster unstandby node
  # pcs resource restart haproxy #重启haproxy 资源
  # pcs resource cleanup #清除错误日志后重启所有资源

4、时间服务 chrony:
  # systemctl restart chronyd.service
  # chronyc sources #同步时间

5、ceph:
  # ceph -s
  # ceph health detail
  # ceph osd pool create pool_name gp_num pgp_num #创建池

6、http、Keystone:
  # systemctl start httpd
  # systemctl enable httpd
  # systemctl status httpd

7、rabbitmq:
  # systemctl enable rabbitmq-server.service
  # systemctl start rabbitmq-server.service
  # systemctl status rabbitmq-server.service -l
  # rabbitmqctl cluster_status
  # http://rabbitmq-server-IP:15672 #web访问

8、Memcache:
  # systemctl enable memcached.service
  # systemctl start memcached.service

9、openstack 查看命令:
  # openstack catalog list
  # openstack endpoint list
  # openstack service list
  # openstack domain list
  # openstack image list
  # openstack host list

10、Glance:
  # systemctl enable openstack-glance-api.service openstack-glance-registry.service
  # systemctl start openstack-glance-api.service openstack-glance-registry.service
  # openstack image delete image-ID #删除镜像

11、nova-controller:
  # systemctl enable openstack-nova-api.service openstack-nova-consoleauth.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service
  # systemctl start openstack-nova-api.service openstack-nova-consoleauth.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service
  # systemctl status openstack-nova-api.service openstack-nova-consoleauth.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service

12、nova-computer:
  # systemctl enable libvirtd.service openstack-nova-compute.service
  # systemctl start libvirtd.service openstack-nova-compute.service

13、neutron-controller:
  # systemctl enable neutron-server.service neutron-linuxbridge-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service
  # systemctl start neutron-server.service neutron-linuxbridge-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service
  # systemctl status neutron-server.service neutron-linuxbridge-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service

14、neutron-computer:
  # systemctl enable neutron-linuxbridge-agent.service
  # systemctl start neutron-linuxbridge-agent.service

15、dashboard:
  # systemctl restart httpd.service memcached.service

openstack 相关服务常用命令整理的更多相关文章

  1. 【linux】---常用命令整理

    linux常用命令整理 一.ls命令 就是list的缩写,通过ls 命令不仅可以查看linux文件夹包含的文件,而且可以查看文件权限(包括目录.文件夹.文件权限)查看目录信息等等 常用参数搭配: l ...

  2. Tomcat性能优化及常用命令整理

    1汤姆猫性能优化 1.1连接参数 1.1.1默认连接配置 默认连接器采用阻塞式 IO,默认最大线程数为200,配置如下: <Connector port="8080" pro ...

  3. linux 服务器常用命令整理

    linux 服务器常用命令整理 目录 网络分析 - tcpdump \ telnet \ (netstat \ ss \ lsof) \ nload 网络传输 - scp \ rsync \ (rz ...

  4. (小组)Git 常用命令整理

    Git 常用命令整理 取得Git仓库 初始化一个版本仓库 git init Clone远程版本库 git clone git@xbc.me:wordpress.git 添加远程版本库origin,语法 ...

  5. salt 常用命令整理

    salt 常用命令整理 ***********模块*********** 查看模块列表module salt 'minion' sys.list_modules 查看指定module的function ...

  6. Dos常用命令整理

    Dos常用命令整理 打开cmd的方法 开始菜单 -> 系统 -> 命令提示符 组合键Win+R打开运行 -> 输入cmd 在任意文件夹下Shift+鼠标右键 -> 在此处打开命 ...

  7. npm常用命令整理

    npm是一个NodeJS包管理跟分发工具,已经成为了非官方的发布node模块(包)的标准.它可以帮助我们解决代码部署上的一些问题,将开发者从繁琐的包管理工作中(版本.依赖等)解放出来,更加专注于功能上 ...

  8. Linux上常用命令整理(一)—— cat

    近几个月刚从windows上转过来,开始慢慢熟悉linux,先不撕比到底哪个更好,首先要怀着相互借鉴的精神去了解各个平台. Linux上做开发,除去使用文本编辑器做开发的大神之外,大家(包括我这种菜鸟 ...

  9. Conda/Miniconda/Anaconda 常用命令整理及介绍

    作者:HELO 出处:http://www.cnblogs.com/HELO-K 欢迎转载, 转载时请保留此声明, 谢谢! 在这里整理一份全一点的 Conda 常用命令, 方便大家日常使用时参考, 一 ...

随机推荐

  1. zookeeper(5)--基于watcher原理实现带注册中心的RPC框架

    一.带版本控制的注册中心RPC框架 server端 //注册中心接口 public interface IRegisterCenter { public void register(String se ...

  2. nginx 服务器 在 centos7 系统下的两种方式

    选用系统 Centos7 < 一 >  使用 yum 安装,该方法比较方便,如果不追求版本推荐使用 01, 添加 nginx 储存库  yum -y install epel-releas ...

  3. JsonConvert

    ///"{'jsonParam' : " + jsonText + "}" /* Dictionary<string, object> tmp = ...

  4. redisCluster 使用 pipeline功能

    Redis从3.0版本后引入了令人兴奋的cluster集群模式,相信很多人都尝试过了,在高兴之余却发现redis官方的cluster对于Java客户端的jedis支持却不是很好,至少目前的版本clus ...

  5. Linux MySQL 安装、远程访问和密码重置

    安装: yum install mysql yum install mysql-server yum install mysql-devel 设置开机启动: chkconfig -add mysqld ...

  6. day29-序列化 json、pickle、shelve

    1.pickle和JSON序列化 如果我们想用文本文件保存一个 Python 对象怎么操作?这里就涉及到序列化的问题,序列化指的是将原本的字典.列表等内容转换成一个字符串的过程. 2.为什么要使用序列 ...

  7. tp5中ajax方式提交表单

    用ajax提交表单,迅速,快捷,实现页面无刷新提交表单. <!DOCTYPE html> <html lang="en"> <head> < ...

  8. ABAP-邮件发送

    *&---------------------------------------------------------------------* *& Report ZRICO_TES ...

  9. JSdom操作内容,样式,属性

    <p> JavaScript 能够直接写入 HTML 输出流中: </p> <script> document.write("<h1>This ...

  10. MySQL null与not null和null与空值''的区别

    参考连接:https://segmentfault.com/a/1190000009540449 相信很多用了MySQL很久的人,对这两个字段属性的概念还不是很清楚,一般会有以下疑问: 我字段类型是n ...