openstack

1、  html

https://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/keystone-openrc.html          (官方文檔)web

https://blog.51cto.com/mrdeng/2086303api

https://blog.csdn.net/Kim_Weir/article/details/80463131   安裝rabbitmq須要注意使用如下方法dom

(1)安裝rabbitmq:
yum install rabbitmq-server -y
啓動服務:
systemctl enable rabbitmq-server.service
systemctl start rabbitmq-server.service
建立用戶和受權:
rabbitmqctl add_user openstack openstack
rabbitmqctl set_permissions openstack "." "." ".*"
將openstack加入administrator組 要否則web界面沒法登錄
rabbitmqctl set_user_tags openstack administrator
啓動web界面插件:
rabbitmq-plugins enable rabbitmq_management
重啓rabbitmq
systemctl restart rabbitmq-serveride

web界面登錄測試:
http://192.168.147.50:15672 使用openstack登錄便可memcached

 (2)注意memcacheoop

OPTIONS="-l 127.0.0.1,::1,controller"測試

(3)注意在compute節點配置的時候用到的rabbitmq密碼,ui

若是不對,就先經過網頁用用戶openstack登錄,而後修改密碼,改爲123456(日了,這塊兒修改了兩天)url

nova.conf配置文件以下

 

[DEFAULT]

 

enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:123456@controller
my_ip = 192.168.182.138
virt_type = qemu
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
[api]
auth_strategy = keystone
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = 123456
[vnc]
enabled = True
server_listen = 0.0.0.0
server_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html
[glance]
api_servers = http://controller:9292
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[placement]
os_region_name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://controller:35357/v3
username = placement
password = 123456

 

————————————————————————————————

2、one step:  https://blog.csdn.net/u012999810/article/details/78210014

all in one :https://blog.csdn.net/songqier/article/details/78709002

相關文章
相關標籤/搜索