Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1781622
  • 博文数量: 276
  • 博客积分: 1574
  • 博客等级: 上尉
  • 技术积分: 2894
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-26 23:23
个人简介

生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

分类: 虚拟化

2016-03-14 16:00:38

创建glusterfs卷ISO作为ISO存储域
[root@ovirthost14.skyovirt.com ~]# gluster volume create ISO replica 3 192.168.184.11:/opt/ISO 192.168.184.13:/opt/ISO 192.168.184.14:/opt/ISO  
volume create: ISO: success: please start the volume to access data
[root@ovirthost14.skyovirt.com ~]# gluster volume set ISO cluster.quorum-type auto
volume set: success
[root@ovirthost14.skyovirt.com ~]# gluster volume set ISO network.ping-timeout 10
volume set: success
[root@ovirthost14.skyovirt.com ~]# gluster volume set ISO auth.allow \*
volume set: success
[root@ovirthost14.skyovirt.com ~]# gluster volume set ISO group virt
volume set: success
[root@ovirthost14.skyovirt.com ~]# gluster volume set ISO storage.owner-uid 36
volume set: success
[root@ovirthost14.skyovirt.com ~]# gluster volume set ISO storage.owner-gid 36
volume set: success
[root@ovirthost14.skyovirt.com ~]# gluster volume set ISO server.allow-insecure on
volume set: success
[root@ovirthost14.skyovirt.com ~]# gluster volume start ISO
volume start: ISO: success

[root@ovirthost14.skyovirt.com  ~]# gluster volume status ISO
Status of volume: ISO
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick 192.168.184.11:/opt/ISO               49157     0          Y       15688
Brick 192.168.184.13:/opt/ISO               49157     0          Y       14166
Brick 192.168.184.14:/opt/ISO               49157     0          Y       5136 
NFS Server on localhost                     2049      0          Y       15708
Self-heal Daemon on localhost               N/A       N/A        Y       15716
NFS Server on 192.168.184.14                2049      0          Y       5156 
Self-heal Daemon on 192.168.184.14          N/A       N/A        Y       5168 
NFS Server on 192.168.184.13                2049      0          Y       14186
Self-heal Daemon on 192.168.184.13          N/A       N/A        Y       14194
 
Task Status of Volume ISO
------------------------------------------------------------------------------
There are no active volume tasks
在树中选择数据中心->default->存储->新建域

域功能选择ISO,名称我这里取了ISO,存储类型选择GlusterFS,使用主机会从主机列表中自动选择一个.
路径中输入glusterfs的完整路径ovirthost14.skyovirt.com:/ISO

存储域会自动附加到default数据中心,如果没有附加,执行下面的操作手工附加.

在树中选择数据中心->default->存储->附加ISO
 


阅读(4178) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~