On 04/06/2016 03:05 PM, 胡茂荣 wrote:
My problem is :
       my environment :
    [root@node44 bin]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.8.93 node93.gluster.com
192.168.8.44 node44.gluster.com
192.168.8.45 node45.gluster.com
192.168.1.93 node93.host.com
192.168.1.44 node44.host.com
192.168.1.45 node45.host.com
192.168.1.9  node9.engine.com
  and  glusterfs peer :
Hostname: node45.gluster.com
Hostname: node93.gluster.com
Hostname: node44.gluster.com

 ovirtmgmt port :
Hostname: node45.host.com
Hostname: node93.host.com
Hostname: node44.host.com

Then I want create glusterfs volume by ovirt webmin UI , but webmin UI show only ovirtmgmt port :

how can I use glusterfs peer port create glusterfs volume by ovirt webmin UI ?


You can use a separate network for bricks when you create a gluster volume.

To do this:

1. Create a logical network (non-VM)
2. Assign "gluster" network role and add it to the cluster.
3. From Host -> Networks sub tab, click on Set up networks, and assign the network with "gluster" network role to the interface that you want to use for the bricks. Make sure that an IP address is assigned to the interface, and the gluster network role is correctly assigned on the UI.

Now, when creating a volume, the bricks will use the interface's IP in Step 3.

(Ovirt cannot work with multiple hostnames for a host currently, so there's no support to create the brick with alternate FQDN, only alternate IP addresses will work for the bricks)


















_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to