CentOS 7部署OpenStack(5)—部署Nova計算節點

來源:互聯網
上載者:User

標籤:centos7   nova   openstack   計算節點   

安裝基礎環境

[[email protected] ~]# yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

[[email protected] ~]# yum install -y centos-release-openstack-liberty

[[email protected] ~]# yum install -y python-openstackclient

安裝nova-compute

[[email protected] ~]# yum install -y openstack-nova-compute sysfsutils

配置nova compute

控制節點和計算節點的配置幾乎一模一樣,只需修改一小部分,因此可以直接將控制節點的設定檔拷貝到計算節點即可。也可按照控制節點的步驟再來一次。

[[email protected] ~]# scp /etc/nova/nova.conf compute:/etc/nova/

[[email protected] ~]# vim /etc/nova/nova.conf

124 my_ip=192.168.1.12

1819 novncproxy_base_url=http://192.168.1.11:6080/vnc_auto.html

1827 vncserver_listen=0.0.0.0

1834 vnc_enabled=true

1837 vnc_keymap=en-us

2333 host=192.168.1.11

2726 virt_type=kvm    //要確定支援kvm,不支援可以改成qemu

啟動服務

[[email protected] ~]# systemctl enable libvirtd openstack-nova-compute

[[email protected] ~]# systemctl start libvirtd openstack-nova-compute

查看驗證

   在控制節點上進行查看

[[email protected] ~]# openstack host list

+------------+-------------+----------+

| Host Name  | Service     | Zone    |

+------------+-------------+----------+

| controller | consoleauth | internal |

| controller | scheduler   |internal |

| controller | cert        |internal |

| controller | conductor   |internal |

| compute    | compute     | nova    |

+------------+-------------+----------+

如果出現最後一行即表明安裝成功

Linux營運開發群:298324302

北京linux營運求職招聘群:153677549

本文出自 “黑夜路人” 部落格,請務必保留此出處http://kevinhao.blog.51cto.com/5204735/1729835

CentOS 7部署OpenStack(5)—部署Nova計算節點

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.