zoukankan      html  css  js  c++  java
  • openstack 相关服务常用命令整理

    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

  • 相关阅读:
    TWaver3D直线、曲线、曲面的绘制
    react开发教程(六)React与DOM
    java Web开发实现手机拍照上传到服务器
    手把手教你从零写一个简单的 VUE--模板篇
    file_get_contents函数获取不到数据的一种情况
    Windows系统下批处理快速创建WIFI
    操作系统题库之简答题部分(个人整理,附带答案)
    回溯到底是个什么东西(含有大量经典例题加详细分析)
    到底什么是dp思想(内含大量经典例题,附带详细解析)
    一次性弄懂到底什么叫做分治思想(含有大量经典例题,附带详细解析)
  • 原文地址:https://www.cnblogs.com/weijie0717/p/8641515.html
Copyright © 2011-2022 走看看