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 install openstack Enterprise High availability Cluster in kolla-ansible

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

Share

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

one。 Environment prepares 1.hosts Settings

Two network cards per device:

The first piece: NAT mode, used to download software packages, set up IP to surf the Internet

The second block: bridge mode, for External networks, for virtual machines to connect to external networks, without setting IP

Hosts:

Hosteth0eth2deploy9.110.187.130

Controller019.110.187.131 does not need IPcontroller029.110.187.132, does not need IPcompute019.110.187.133, does not need IPcompute029.110.187.134, does not need IPstorage9.110.187.135, does not need IP2.ssh secret login ssh-keygenssh-copy-id root@controller01ssh-copy-id root@controller02ssh-copy-id root@compute01ssh-copy-id root@compute02ssh-copy-id root@storage3. Storage node configuration

To start the cinder storage service, you need to add a new hard disk, and then create pv and vg

[root@storage ~] # pvcreate / dev/sdb [root@storage ~] # vgcreate cinder-volumes / dev/sdb / / vg is named cinder-volumes, which is mainly the same as the vg name in the kolla configuration file

Only vm instances are allowed to access block storage volumes, setting possible exceptions in LVM

Vim / etc/lvm/lvm.conf

Configure domestic PIP feeds

Mkdir ~ / .pipcat ~ / .pip/ pip.conf.global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple/[install]trusted-host=pypi.tuna.tsinghua.edu.cnEOF5. Install PIP# installation depends on yum install-y python-devel libffi-devel gcc openssl-devel libselinux-python# install PIPyum install-y python-pippip install-- upgrade pip6. Install docker

All nodes are installed

Yum install-y yum-utils device-mapper-persistent-data lvm2yum-config-manager-- add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repoyum install docker-ce

Mkdir / etc/systemd/system/docker.service.d tee / etc/systemd/system/docker.service.d/kolla.conf

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