openstack icehouse部署学习笔记

这篇博客详细记录了OpenStack Icehouse在三节点环境(Controller Node, Network Node, Compute Node)的部署过程,包括各节点的基础环境配置、网络接口设置、管理IP地址、主机名设定以及网络服务的启动和停止。内容涵盖了从结构图到具体配置步骤,为读者提供了全面的部署参考。" 113568722,10296908,neo4j数据导入与备份恢复详解,"['图数据库', '数据迁移', '数据恢复', '数据库管理']
摘要由CSDN通过智能技术生成

第一部分 结构图


2.三节点图


3.三节点基础环境配置

support several minimal CirrOS instances:

  • Controller Node: 1 processor, 2 GB memory, and 5 GB storage

  • Network Node: 1 processor, 512 MB memory, and 5 GB storage

  • Compute Node: 1 processor, 2 GB memory, and 10 GB storage


Controller node
  To configure networking:
  • Configure the first interface as the management interface:

    IP address: 10.0.0.11

    Network mask: 255.255.255.0 (or /24)

    Default gateway: 10.0.0.1

  To configure name resolution:
  1. Set the hostname of the node to controller.

  2. Edit the /etc/hosts file to contain the following:

    # controller
    10.0.0.11       controller
    
    # network
    10.0.0.21       network
    
    # compute1
    10.0.0.31       compute1

Network node
 

To configure networking:

  1. Configure the first interface as the management interface:

    IP address: 10.0.0.21

    Network mask: 255.255.255.0 (or /24)

    Default gateway: 10.0.0.1

  2. Configure the second interface as the instance tunnels interface:

    IP address: 10.0.1.21

    Network mask: 255.255.255.0 (or /24)

  3. The external interface uses a special configuration without an IP address assigned to it. Configure the third interface as the external interface:

    Replace INTERFACE_NAME with the actual interface name. For example, eth2 or ens256.

    1. Edit the /etc/network/interfaces file to contain the following:

      # The external network interface
      auto INTERFACE_NAME
      iface INTERFACE_NAME inet manual
              up ip link set dev $IFACE up
              down ip link set dev $IFACE down
  4. Restart networking:

    # service networking stop && service networking start
 

To configure name resolution:

  1. Set the hostname of the node to network.

  2. Edit the /etc/hosts file to contain the following:

    # network
    10.0.0.21       network
    
    # controller
    10.0.0.11       controller
    
    # compute1
    10.0.0.31       compute1
 Compute node
 

To configure networking:

  1. Configure the first interface as the management interface:

    IP address: 10.0.0.31

    Network mask: 255.255.255.0 (or /24)

    Default gateway: 10.0.0.1


  2. Configure the second interface as the instance tunnels interface:

    IP address: 10.0.1.31

    Network mask: 255.255.255.0 (or /24)

 

To configure name resolution:

  1. Set the hostname of the node to compute1.

  2. Edit the /etc/hosts file to contain the following:

    # compute1
    10.0.0.31       compute1
    
    # controller
    10.0.0.11       controller
    
    # network
    10.0.0.21       network

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值