openstack-havana安装记录.docx

  1. 1、本文档共11页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
openstack-havana安装记录

0:基本架构控制节点(controller node)主机名配置:openstack-h1/etc/hosts : HOSTNAME=openstack-h1/etc/sysconfig/network: localhost localhost.localdomain localhost4 localhost4.localdomain4 openstack-h1 11 openstack-h1计算节点(compute node)网络节点(net node)准备工作,在每个节点上执行:#关闭防火墙service iptables stop#关闭selinuxvi /etc/selinux/configSELINUX=disabled1:ntp时钟服务器1.1安装ntpserver,并设置控制节点:[root@localhost ~]# rpm –qa |grep ntp #一般系统都已安装[root@localhost ~]# yum install ntp #若未安装则安装[root@localhost ~]# vi /etc/ntp.conf #编辑ntp服务器配置文件driftfile /var/lib/ntp/driftrestrict default kod nomodify notrap nopeer noqueryrestrict -6 default kod nomodify notrap nopeer noqueryrestrict restrict -6 ::1#server 0.#server 1.#server 2.server # local clockfudge stratum 0 includefile /etc/ntp/crypto/pwkeys /etc/ntp/keys[root@localhost ~]# service ntpd restart #重启ntpd服务[root@localhost ~]# chkconfig ntpd on #开机启动[root@localhost ~]# ntpstat #查看ntp服务器的状态,等到状态为syc...时为表示可以使用Other node:[root@localhost ~]# service ntpd stop #关闭ntp服务器[root@localhost ~]# chkconfig ntpd off #开机关闭[root@localhost ~]# ntpdate 11 #与服务器同步在出现时间格式不一致时(有的格式为CST有的为EST),可以这样设置:cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ,统一为CST[root@localhost ~]# hwclock –w #将系统时钟写进硬件时钟vi /etc/cron.daily/ntpdate #设置每日任务中,增加一个同步时钟的任务ntpdate 11hwclock -w2:mysql数据库2.1 数据库组件安装控制节点:[root@localhost ~]# yum install -y mysql mysql-server MySQL-Python #安装mysql客户端、服务器、python插件[root@localhost ~]# vi /etc/f#修改mysql服务器的配置文件,允许外部客户端连接服务器# Instead of skip-networking the default is now to listen only on# localhost which is more compatible and is not less secure.bind-address = 11[root@localhost ~]# service mysqld start[root@localhost ~]# chkconfig mysqld onOther node:[root@localhost ~]# yum install –y mysql mysql-server MySQL-Python #安装mysql客户端、python插件2.2 数据库初始设置控制节点:Mysql默认有个root用户,没有密码,所有首先要为root用户设置密码[root@localhost ~]# mysqladmin -u root password 1234563 :openstack工具包安装3.1配置yum源, Each Node[root@localhost ~]# yum install –y /repos/o

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档