OpenStack Learning note Five multi-node deployment RABBITMQ information hub and meta-data

Source: Internet
Author: User
Tags rabbitmq

    • Meta data

    • RABBITMQ Information Center

RABBITMQ Information Center


Useful AMQP Advanced Message Queuing when all components communicate

Qpid

RABBITMQ Port 5672 SLL encryption 5671

192.168.1.201 h1.hequan.com h1192.168.1.202 h2.hequan.com h2192.168.1.203 h3.hequan.com h3


Operation on H3 configure Yum source to upload OpenStack packages to OpenStack directory

[Openstack]name=openstackbaseurl=file:///openstackenabled=1gpgcheck=0yum clean Allyum makecache[[email protected] yum.repos.d]# Yum install-y rabbitmq-server.noarch

[[Email protected] ~]# systemctl   start rabbitmq-server.service[[email  protected] ~]# systemctl   enable rabbitmq-server.service        [[email protected] ~]# netstat -lntup | grep   5672tcp        0      0  0.0.0.0:25672           0.0.0.0:*                LISTEN       1354/beam.smp       tcp6       0       0 :::5672                  :::*                      LISTEN      1354/beam.smp   #使用这个 
[Email protected] keystone]# egrep-v ' ^$|^# ' keystone.conf | grep rabbit[oslo_messaging_rabbit]rabbit_host = Localhostrabbit_port = 5672rabbit_hosts = Localhost:5672rabbit_use_ SSL = Falserabbit_userid = Guest #默认用户rabbit_password = Guestrabbit_virtual_host =/rabbit_ha_queues = False[[email Pro Tected] ~]# cd/etc/rabbitmq/[[email protected] rabbitmq]# lsrabbitmq.config # #配置文件 [[email protected] Rabbitmq ]# Cat rabbitmq-env.confnode_port=5672



Can be managed with web

[[email protected] rabbitmq]# rabbitmq-plugins  list   # #查看插件 [email  protected] rabbitmq]# rabbitmq-plugins   enable   rabbitmq_ management  # #启用管理插件The  following plugins have been enabled:   Mochiweb  webmachine  rabbitmq_web_dispatch  amqp_client  rabbitmq_ Management_agent  rabbitmq_managementplugin configuration has changed. restart  rabbitmq for changes to take effect. [[Email protected] rabbitmq]# systemctl  restart rabbitmq-server.service[[email  protected] rabbitmq]# netstat -lntup | grep 15672tcp         0      0 0.0.0.0:15672      0.0.0.0:*         &nbSp;     listen      1976/beam.smp 


http://192.168.1.203:15672/ user Guest Password guest

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/C3/wKioL1d7hRPh4w6AAAAShd6x7Zw822.png "title=" 1.png " alt= "Wkiol1d7hrph4w6aaaashd6x7zw822.png"/>

Meta Data metadata


See if there is a problem with the control node NIC settings

[[email protected] ~]# ovs-vsctl showc34056d1-7b80-437f-b73c-5bf05258d303     Bridge br-ex        Port  "qg-c4dff563-63"              Interface  "qg-c4dff563-63"                  type: internal         Port  "qg-62a3088b-40"              Interface  "qg-62a3088b-40"                  type: internal         Port  "qg-df2db69c-60"              interface  "qg-df2db69c-60"                  type: internal        port  "Eth0"              Interface  "Eth0"         port  br-ex            Interface br-ex                 type: internal[ [email protected] ~]# cat /proc/sys/net/ipv4/ip_forward            # #转发功能1

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/C4/wKiom1d7hSXwj1mVAAAQLlKyWX4805.png "style=" float: none; "title=" 2.png "alt=" Wkiom1d7hsxwj1mvaaaqllkywx4805.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/C3/wKioL1d7hSbTug-WAAGDLh0x_JY828.png "style=" float: none; "title=" 3.png "alt=" Wkiol1d7hsbtug-waagdlh0x_jy828.png "/>


[[email protected] ~]# cd /etc/nova/[[email protected] nova]# grep  Metadata nova.conf# number of metadata items allowed per instance   (integer value) #quota_metadata_items =128#enabled_apis=ec2,osapi_compute,metadata# openstack  metadata service manager  (string value) #metadata_manager = Nova.api.manager.metadatamanager# the ip address on which the metadata  API will listen.  (string value) #metadata_listen =0.0.0.0# the port on  which the metadata API will listen.  (Integer value) #metadata_listen_ port=8775# number of workers for metadata service. the default  will be the number of#metadata_workers=<none># list of metadata  Versions to skip placing into the config drive  (String#vendordata_driver=nova.api.metadata.vendordata_json. jsonfilevendordata# time in seconds to cache metadata; 0 to  disable metadata caching entirely# metadata api when under heavy  load. higher values may increase memoryusage# and result in  longer times for host metadata changes to take effect.  (integer# metadata_cache_expiration=15# the ip address for the metadata api  server  (string value) #metadata_host = $my _ipmetadata_host=192.168.1.201                  ############### #主机 # the port  for the metadata API port  (integer value) #metadata_port =8775# set  flag to indicate neutron  will proxy metadata requests and resolve#service_metadata_proxy=false# shared  secret to validate proxies Neutron metadata requests  (string  Value) #metadata_proxy_shared_secret  =


Instance Cloud Host

You can view the settings data for Metadate

Curl Htt://169.254.169.254/2009-04-04/meta-data/hostname local-ipv4public-ipv4seruity-groups Security Group





This article is from the "what-all" blog, please be sure to keep this source http://hequan.blog.51cto.com/5701886/1796041

OpenStack Learning note Five multi-node deployment RABBITMQ information hub and meta-data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.