OpenStack Dashboard是基于Web的界面,由一些分开安装的关键项目组成。这些项目会根据你的云环境需要相互协作,包括计算、认证、网络、镜像、块存储、对象存储、告警、编排和数据库服务等,以实现云资源的创建、管理和监控等功能。
OpenStack通过多种互补服务提供laaS (Infrastructure-as-a-Service)解决方案。每个服务都提供了一个应用程序编程接口(API)来促进这种集成。
controller/compute01
hostnamectl set-hostname controller
hostnamectl set-hostname compute01
su
cd /etc/sysconfig/network-scripts/
修改第一张网卡:
vi ifcfg-ens32
BOOTPROTO="static"
IPADDR=192.168.63.11
NETMASK=255.255.255.0
GATEWAY=192.168.63.2
DNS1=8.8.8.8
DNS2=114.114.114.114
修改第二张网卡:
vi ifcfg-ens34
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.0.63.11
NETMASK=255.255.255.0
修改hosts文件:
vi /etc/hosts
内容:
192.168.63.11 controller
192.168.63.12 compute01
重启网卡:
systemctl restart network
关闭防火墙:
systemctl stop firewalld
systemctl disable firewalld
setenforce 0
vi /etc/selinux/config
SELINUX=disabled
或者
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
测试网络:
ping controller
ping compute01
ping qq.com