亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

openstack O版 配置compute節點 nova 和 Neutron安裝

發布時間:2020-06-29 01:22:38 來源:網絡 閱讀:472 作者:fxhlj 欄目:云計算
  1. 配置nova.conf
    [root@compute ~]# yum install openstack-selinux python-openstackclient yum-plugin-priorities openstack-nova-compute openstack-utils ntpdate -y
    [root@compute ~]# cp /etc/nova/nova.conf /etc/nova/nova.conf.bak
    [root@compute ~]# >/etc/nova/nova.conf
    [DEFAULT]
    auth_strategy = keystone
    my_ip = 192.168.0.112
    use_neutron = True
    firewall_driver = nova.virt.firewall.NoopFirewallDriver
    transport_url = rabbit://openstack:devops@controller
    [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 = devops
    [placement]
    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 = placement
    password = devops
    os_region_name = RegionOne
    [vnc]
    enabled = True
    keymap = en-us
    vncserver_listen = 0.0.0.0
    vncserver_proxyclient_address = 192.168.0.112
    novncproxy_base_url = http://192.168.0.111:6080/vnc_auto.html
    [glance]
    api_servers = http://controller:9292
    [oslo_concurrency]
    lock_path = /var/lib/nova/tmp
    [libvirt]
    virt_type = qemu
  2. 設置libvirtd.service 和openstack-nova-compute.service開機啟動
    [root@compute ~]# systemctl enable libvirtd.service openstack-nova-compute.service
    [root@compute ~]# systemctl restart libvirtd.service openstack-nova-compute.service
    [root@compute ~]# systemctl status libvirtd.service openstack-nova-compute.service
  3. 到controller上執行驗證
    [root@controller ~]# source admin-openrc
    [root@controller ~]# openstack compute service list
    openstack  O版  配置compute節點  nova 和 Neutron安裝
    二、安裝Neutron
  4. 安裝相關軟件包
    [root@compute ~]# yum install openstack-neutron-linuxbridge ebtables ipset -y
    [root@compute ~]# cp /etc/neutron/neutron.conf /etc/neutron/neutron.conf.bak
    [root@compute ~]# >/etc/neutron/neutron.conf
    [DEFAULT]
    auth_strategy = keystone
    advertise_mtu = True
    dhcp_agents_per_network = 2
    control_exchange = neutron
    nova_url = http://controller:8774/v2
    transport_url = rabbit://openstack:devops@controller
    [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 = neutron
    password = devops
    [oslo_concurrency]
    lock_path = /var/lib/neutron/tmp
  5. 配置/etc/neutron/plugins/ml2/linuxbridge_agent.ini
    [root@compute ~]# cat /etc/neutron/plugins/ml2/linuxbridge_agent.ini | grep -v "^#" | grep -v "^$"
    [DEFAULT]
    [agent]
    [linux_bridge]
    physical_interface_mappings = provider:ens33
    [securitygroup]
    enable_security_group = True
    firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
    [vxlan]
    enable_vxlan = True
    local_ip = 192.168.0.112
    l2_population = True
  6. 配置nova.conf
    [neutron]
    url = http://controller:9696
    auth_url = http://controller:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = nova
    password = devops
  7. 重啟和enable相關服務
    [root@compute ~]# systemctl restart libvirtd.service openstack-nova-compute.service
    [root@compute ~]# systemctl enable neutron-linuxbridge-agent.service
    [root@compute ~]# systemctl restart neutron-linuxbridge-agent.service
    [root@compute ~]# systemctl status libvirtd.service openstack-nova-compute.service neutron-linuxbridge-agent.service
    三.在controler上執行驗證
    [root@controller ~]# source admin-openrc
    [root@controller ~]# neutron agent-list
    openstack  O版  配置compute節點  nova 和 Neutron安裝
    [root@controller ~]# nova host-list
    openstack  O版  配置compute節點  nova 和 Neutron安裝
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

遵义县| 丽江市| 淮北市| 罗甸县| 牟定县| 盐池县| 宁都县| 临安市| 盘山县| 怀仁县| 宜兰市| 那坡县| 兴隆县| 清河县| 永福县| 濉溪县| 新和县| 郧西县| 德昌县| 扬中市| 冷水江市| 德化县| 桃园市| 赞皇县| 盱眙县| 资兴市| 塔城市| 区。| 德令哈市| 葫芦岛市| 建湖县| 满洲里市| 朝阳县| 山丹县| 石阡县| 嘉兴市| 怀仁县| 耒阳市| 二连浩特市| 会东县| 榆树市|