文件名称:配置基础环境-笛卡尔 谈谈方法
文件大小:419KB
文件格式:PDF
更新时间:2024-07-02 04:30:14
OpenStack Mitaka HA
二、配置基础环境 1、配置主机解析 2、配置ssh互信 controller(VIP) 192.168.10.100 controller01 192.168.10.101, 10.0.0.1 controller02 192.168.10.102, 10.0.0.2 controller03 192.168.10.103, 10.0.0.3 compute01 192.168.10.104, 10.0.0.4 compute02 192.168.10.105, 10.0.0.5 在对应节点上配置主机名: hostnamectl set‐hostname controller01 hostname contoller01 hostnamectl set‐hostname controller02 hostname contoller02 hostnamectl set‐hostname controller03 hostname contoller03 hostnamectl set‐hostname compute01 hostname compute01 hostnamectl set‐hostname compute02 hostname compute02 在controller01上配置主机解析: [root@controller01 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.10.100 controller 192.168.10.101 controller01 192.168.10.102 controller02 192.168.10.103 controller03 192.168.10.104 compute01 192.168.10.105 compute02