会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
云数据中心
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2020年6月29日
第一个简单yaml文件用ansile-playbook运行
摘要: 为何要学习yaml和json呢?这玩意在生产环境尤为重要。 一、编写yaml文件 - hosts: all tasks: - name: Install httpd yum: name=httpd state=present - name: test copy template: src=/root
阅读全文
posted @ 2020-06-29 22:46 云数据中心
阅读(351)
评论(0)
推荐(0)
2020年6月27日
ceph crush 改正默认写入全部硬盘
摘要: ceph crush 改正默认写入全部硬盘 高德置地 王锦雄 一、ceph crush 策略配置 1 获取crushmap二进制文件 ceph osd getcrushmap -o a.map 2 将二进制文件转成文本文件 crushtool -d a.map -o b 3 修改rules vi b
阅读全文
posted @ 2020-06-27 22:27 云数据中心
阅读(406)
评论(0)
推荐(0)
python fabric安装
摘要: 1 安装epel wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 2 安装pip yum install python-pip -y pip install --upgrade pip 3 安
阅读全文
posted @ 2020-06-27 22:24 云数据中心
阅读(323)
评论(0)
推荐(0)
2020年4月27日
shell脚本不区分参数大小写
摘要: 在脚本内容添加shopt -u nocasematch
阅读全文
posted @ 2020-04-27 15:32 云数据中心
阅读(1569)
评论(0)
推荐(0)
2020年3月15日
ceph对象存储RADOSGW安装与使用
摘要: 本文章ceph版本为luminous,操作系统为centos7.7,ceph安装部署方法可以参考本人其他文章。 [root@ceph1 ceph-install]# ceph -v ceph version 12.2.13 (584a20eb0237c657dc0567da126be145106aa
阅读全文
posted @ 2020-03-15 16:43 云数据中心
阅读(3375)
评论(0)
推荐(0)
2020年2月24日
Centos7 GRE Tunnel
摘要: 一、关闭防火墙及selinux 二、CentOS7默认不加载gre内核模块,加载gre内核模块 # modprobe ip_gre 临时加载gre模块(重启后失效) # lsmod |grep gre 进行确认 三、两端添加gre1网卡 主机一: [root@centos7 ~]# cat /etc
阅读全文
posted @ 2020-02-24 16:32 云数据中心
阅读(1913)
评论(0)
推荐(0)
centos 7 增加永久静态路由
摘要: 1 在 /etc/sysconfig/network-scripts/ 目录下添加route-eth3,eth3为实际网卡名称。 [root@compute1 ~]# cat /etc/sysconfig/network-scripts/route-eth3 121.14.46.1/32 via 1
阅读全文
posted @ 2020-02-24 15:57 云数据中心
阅读(1480)
评论(0)
推荐(0)
2020年2月22日
ceph bluestore与 filestore 数据存放的区别
摘要: 一、 filestore 对象所在的PG以文件方式放在xfs文件中 1 查看所有的osd硬盘,跟其他linux其他硬盘一样,被挂载一个目录中。 [root@hz-storage1 ~]# df -h | grep -i ceph /dev/sda1 3.7T 112G 3.6T 3% /var/li
阅读全文
posted @ 2020-02-22 17:21 云数据中心
阅读(2987)
评论(0)
推荐(0)
2020年2月21日
swift对象存储安装
摘要: 对象存储服务概览 OpenStack对象存储是一个多租户的对象存储系统,它支持大规模扩展,可以以低成本来管理大型的非结构化数据,通过RESTful HTTP 应用程序接口。 它包含下列组件: 代理服务器(swift-proxy-server) 接收OpenStack对象存储API和纯粹的HTTP请求
阅读全文
posted @ 2020-02-21 15:26 云数据中心
阅读(1318)
评论(0)
推荐(0)
2020年2月20日
ESXi开启虚拟化
摘要: 修改vmware *.vmx文件,添加 vhv.enable = "TRUE"
阅读全文
posted @ 2020-02-20 00:10 云数据中心
阅读(293)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告