Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to quickly deploy multiple nodes in openstack

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to quickly deploy multi-nodes in openstack. It is very detailed and has a certain reference value. Friends who are interested must finish it!

Install the CentOS6 operating system

Use floppy disk pass to burn and write the downloaded image, set the server to U disk to start and install.

Configure the network

At the control node

Cd / etc/sysconfig/network-scriptsvim ifcfg-eth0

After modification (public network)

Cat ifcfg-eth0 DEVICE=eth0TYPE=Ethernet BOOTPROTO=staticHWADDR=00:0C:29:13:D1:6FONBOOT=yesIPADDR=x.x.x.xGATEWAY=x.x.x.xDNS1=114.114.114.114 DNS2=8.8.8.8

Configure private network

Cd / etc/sysconfig/networ-scrriptsvim ifcfg-eth2

After the modification

Cat ifcfg-eth2 DEVICE=eth2TYPE=Ethernet BOOTPROTO=none HWADDR=00:0C:29:56:8CONBOOT=yes IPADDR=x.x.x.x NETMASK=255.255.255.0

Restart the network

Service network restart

Computing node

Except for the IP address, the rest are exactly the same as the control node (the MAC address is automatically assigned by the system and does not need to be modified)

Replacement network easy to open source (increase speed)

Cd / etc/yum.repos.dyum install-y wget wget http://mirrors.163.com/.help/CentOS6-Base-163.repo mv CentOS-Base.repo CentOS-Base.repo.bakmv CentOS6-Base-163.repo CentOS-Base.repo

Install the RDO source and EPEL remote data deployment package

Yum install-y epel-release-6-8.noarch.rpmyum install-y openstack-icehouse/rdo-release-icehouse-4.noarch.rpm

Note 1: because the URL cannot be added to the code, the correct path is http://mirrors.zju.edu.cn/epel//6/x86_64/epel-release-6-8.noarch.rpm

Note the correct address of the 2:rdo remote data deployment package is https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm

Create a yum cache

Yum clean allyum makecache yum update-yreboot-p

Note: execute the same command on the compute node

Installation file settings

Yum install-y openstack-packstack (both control node and compute node need to be executed)

Generate a configuration file (at the control node)

Packstack-gen-answer-file=myanswer.txt

Modify the following in the file

CONFIG_NOVA_COMPUTE_PRIVIF=eth2 CONFIG_NOVA_NETWORK_PRIVIF=eth2 CONFIG_COMPUTE_HOSTS=x.x.x.x (compute node ip) CONFIG_NETWORK_HOSTS=x.x.x.x (controller node ip)

Get rid of demo test network and users

CONFIG_PROVISION_DEMO=n

Start installation

Packstack-answer-file=myanswer.txt

Note: an ERROR error may occur midway, which is due to network reasons, just run the above command again.

These are all the contents of the article "how to quickly deploy multiple nodes in openstack". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report