博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
OpenStack基于修改ip和配置文件的多节点部署
阅读量:4230 次
发布时间:2019-05-26

本文共 1864 字,大约阅读时间需要 6 分钟。

           OpenStack基于修改ip和配置文件的多节点部署

本文主要是提供一种新的思路。OpenStack的liberty版本比Juno更加容易部署,也使用了Linux bridge的方式,使得网络的问题进一步的减少。

那么本文提到的一种部署方式则是将OpenStack用命令行先在虚拟机上部署。然后可以导出为ova或者ovf格式的虚拟文件包。那么再另外的环境中只需要更改ip和配置文件,最后再更新数据库就可以了。

官方推荐controller和network节点放在一起,于是可以做2个虚拟文件。另一个是compute节点。基于的协议是ovf1.0可以导入virtualbox或者vmware的workstation或者vsphere(生产环境)

配置可以如下,Controller给2张或以上网卡,compute给1张或以上网卡(网卡桥接开混杂模式):

基本的步骤如下:

上述的步骤完全可以使用shell脚本和强大的文本编译工具sed和awk来搞定。最后甚至可以使用shell dialog设计对话框方便小白使用:

主菜单:
自动读取环境中网卡:
进行一系列的配置(省略接下去的几张配置图)
菜单一步步执行下来就会到最后一步install,等2-3分钟就安装完成了!
log在根目录suc.txt和err.txt中。

注:shell脚本暂不公开,但是这个方式是完全可以实现的,而且是多节点的方式,目前正在研究怎么在裸机上安装。

密码是admin/admin
OpenStack中的密码都是官方文档上的默认密码
Liberty中的拓扑有点萌啊,这样就装好了!

转载地址:http://gznqi.baihongyu.com/

你可能感兴趣的文章
Security Patterns : Integrating Security and Systems Engineering
查看>>
Cross-Platform Web Services Using C# & JAVA
查看>>
UML Xtra-Light: How to Specify Your Software Requirements
查看>>
Fundamentals of OOP and Data Structures in Java
查看>>
C++ Network Programming, Vol. 1: Mastering Complexity with ACE and Patterns
查看>>
The Ethical Hack: A Framework for Business Value Penetration Testing
查看>>
Agile Development with ICONIX Process: People, Process, and Pragmatism
查看>>
Practical Guide to Software Quality Management
查看>>
Real Process Improvement Using the CMMI
查看>>
GDI+ Programming in C# and VB .NET
查看>>
Implementing and Integrating Product Data Management and Software Configuration Management
查看>>
Software Configuration Management
查看>>
Agile Project Management: How to Succeed in the Face of Changing Project Requirements
查看>>
MySQL Bible
查看>>
Palm OS Programming Bible
查看>>
XSLT Quickly
查看>>
Inside XSLT
查看>>
Python & XML
查看>>
Java Cryptography
查看>>
J2EE Best Practices: Java Design Patterns, Automation, and Performance
查看>>