摘要: 在cinder节点,cinder-volume使用的磁盘(/dev/sdb),需要在/etc/lvm/lvm.conf中配置:devices {...filter = [ "a/sdb/", "r/.*/"]如果cinder节点的操作系统也安装在lvm上,则还需要(在cinder节点操作):filt... 阅读全文
posted @ 2015-12-30 11:34 Endoresu 阅读(3141) 评论(0) 推荐(0) 编辑
摘要: source admin-openrc.shkeystone user-create --name=demo --pass=123456keystone tenant-create --name=demo --description="Demo Tenant"keystone user-role-a... 阅读全文
posted @ 2015-12-30 10:14 Endoresu 阅读(1764) 评论(0) 推荐(0) 编辑
摘要: 配置ntp服务器:# vi /etc/ntp.confdriftfile /var/lib/ntp/driftrestrict -4 default kod notrap nomodifyrestrict -6 default kod notrap nomodifyrestrict 127.0.0.... 阅读全文
posted @ 2015-12-30 09:27 Endoresu 阅读(338) 评论(0) 推荐(0) 编辑
摘要: https://docs.mirantis.com/openstack/fuel/fuel-6.1/由于在测试高可用时,我是用esxi虚拟机测试,测试过程中遇到了网络问题:虚拟机间网络不通,故从网络上找到了在vSwitch中抓包的方法。1、首先先打开ESXi主机的ssh。2、ssh连接ESXi主机,... 阅读全文
posted @ 2015-12-29 16:33 Endoresu 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 查看fuel日志:# less /var/log/docker-logs/remote/node-1.domain.tld/puppet-apply.log2015-12-25T17:26:22.134118+00:00 debug: Waiting 600 seconds for service ... 阅读全文
posted @ 2015-12-28 18:03 Endoresu 阅读(648) 评论(0) 推荐(0) 编辑
摘要: # source demo-openrc.sh# ssh-keygenGenerating public/private rsa key pair.Enter file in which to save the key (/root/.ssh/id_rsa):Enter passphrase (em... 阅读全文
posted @ 2015-12-17 17:51 Endoresu 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 先简述cinder存储节点的配置: 1、IP地址是10.0.0.41; 2、主机名被设置为block1; 3、所有节点的hosts文件已添加相应条目; 4、已经配置了ntp时间同步; 5、已安装lvm2,并设置为开机自动启动; 6、已经挂载了新的存储设备/dev/sdb。在存储节点执行下列命令:pv... 阅读全文
posted @ 2015-12-17 15:50 Endoresu 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 在任一控制节点创建用户:mysql -u root -pCREATE DATABASE cinder;GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'localhost' IDENTIFIED BY '123456';GRANT ALL PRIVILEGE... 阅读全文
posted @ 2015-12-17 15:07 Endoresu 阅读(460) 评论(0) 推荐(0) 编辑
摘要: cp -a /etc/neutron/neutron.conf /etc/neutron/neutron.conf.bakcp -a /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugins/ml2/ml2_conf.ini.bakmkdi... 阅读全文
posted @ 2015-12-17 14:48 Endoresu 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 在计算节点配置内核参数:vi /etc/sysctl.confnet.ipv4.conf.all.rp_filter=0net.ipv4.conf.default.rp_filter=0在计算节点使内核参数立即生效:sysctl -p在计算节点安装软件:yum install -y openstac... 阅读全文
posted @ 2015-12-17 14:30 Endoresu 阅读(545) 评论(0) 推荐(0) 编辑