Ovirt添加ISO存储域

创建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->存储->新建域
Ovirt添加ISO存储域
域功能选择ISO,名称我这里取了ISO,存储类型选择GlusterFS,使用主机会从主机列表中自动选择一个.
路径中输入glusterfs的完整路径ovirthost14.skyovirt.com:/ISO
Ovirt添加ISO存储域
存储域会自动附加到default数据中心,如果没有附加,执行下面的操作手工附加.

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

上一篇:快速排序


下一篇:快速排序——PowerShell版