CentOS 7.3 分布式存储Glusterfs部署使用(二)
2017-03-03 20:43
393 查看
Glusterfs_Client:
以上用例仅供参考,具体参数根据实际环境配置
一、配置hosts
cat <<EOF> /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.101.8 makekvm01 192.168.101.5 glusterfs1 192.168.101.6 glusterfs2 192.168.101.7 glusterfs3 192.168.101.12 glusterfs4 EOF
二、配置YUM源
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm wget -P /etc/yum.repos.d https://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.19/CentOS/glusterfs-epel.repo
三、安装glusterfs软件包
yum -y install glusterfs glusterfs-fuse
四、挂载gfs
mkdir /mnt/gv0 mount.glusterfs glusterfs1:/gv0 /mnt/gv0 echo 'gluster1:/gv0 /mnt/gv0 glusterfs defaults,_netdev 0 0' >> /etc/fstab
五、附加存储IO测试用例
#顺序读 fio -filename=/mnt/gv0/test -iodepth=64 -ioengine=libaio -direct=1 -rw=read -bs=512 -size=5G -numjobs=64 -runtime=30 -group_reporting -name=test-read #顺序写 fio -filename=/mnt/gv0/test -iodepth=64 -ioengine=libaio -direct=1 -rw=write -bs=512 -size=5G -numjobs=64 -runtime=30 -group_reporting -name=test-write #顺序读写 fio -filename=/mnt/gv0/test -iodepth=64 -ioengine=libaio -direct=1 -rw=rw -bs=512 -size=5G -numjobs=64 -runtime=30 -group_reporting -name=test-rw #随机读 fio -filename=/mnt/gv0/test -iodepth=64 -ioengine=libaio -direct=1 -rw=randread -bs=512 -size=5G -numjobs=64 -runtime=30 -group_reporting -name=test-randread #随机写 fio -filename=/mnt/gv0/test -iodepth=64 -ioengine=libaio -direct=1 -rw=randwrite -bs=512 -size=5G -numjobs=64 -runtime=30 -group_reporting -name=test-randwrite #随机读写 fio -filename=/mnt/gv0/test -iodepth=64 -ioengine=libaio -direct=1 -rw=randrw -bs=512 -size=5G -numjobs=64 -runtime=30 -group_reporting -name=test-randrw
以上用例仅供参考,具体参数根据实际环境配置
相关文章推荐
- CentOS 7.3 分布式存储Glusterfs部署使用(一)
- 使用ceph-deploy安装部署线上ceph分布式存储集群(centos6.6)
- GlusterFS 分布式存储部署使用
- CentOS5.5部署zlib导致yum使用不了,报错Yum Segmentation Fault (core Dumped)
- Win7下使用maven远程部署工程至CentOS的Tomcat6
- centos 6.6 使用tomcat6部署solr5.3.1
- centos 下 jenkins 使用phing 部署php项目
- 阿里云使用笔记-SVN安装与部署-centos7
- Centos6.3 下使用 Tomcat-6.0.43 非root用户 jsvc模式部署 生产环境 端口80 vsftp
- Centos6.3 下使用 Tomcat-6.0.43 非root用户 部署 生产环境 端口转发方式
- CentOS 6.5安装部署Glusterfs
- 记从安装centos系统在到使用mono3.2部署MVC过程遇到的问题
- CentOS 6 部署GlusterFS
- 使用Kickstart安装脚本全自动快速部署CentOS 6.0
- Centos6.5_使用salt自动部署zabbix-2.4.4(适合没什么linux基础使用,加了很多注释)
- CentOS5.5部署zlib导致yum使用不了,报错Yum Segmentation Fault (core Dumped)
- centos6.3下2T以上大硬盘如何部署和使用
- 在Microsoft Azure上使用CentOS虚拟机部署Mongo数据库高可用集群
- Centos 7 使用Apache部署Redmine。
- OpenStack 部署总结之:在CentOS 6.5上使用RDO单机安装icehouse(Ml2+GRE)