Hi,

In my environment I have 3 hosts, every host has 2 network interfaces:

public: 192.168.2.0/24
cluster: 192.168.100.0/24

The hostname "vdicnode01", "vdicnode02" and "vdicnode03" are resolved by
public DNS through the public interface, that means the "ping vdicnode01"
will resolve 192.168.2.1.

In my environment the "admin" node is the first node vdicnode01 and I'd
like all the deployment "ceph-deploy" and all osd traffic to go from the
cluster network.

1) To begin with, I create the cluster and I want all traffic to go from
the cluster network:
ceph-deploy --username vdicceph new vdicnode01 --cluster-network
192.168.100.0/24 --public-network 192.168.100.0/24

2) The problem comes when I have to launch my commands to the other hosts
for example, from node vdicnode01 I execute:

2.1) ceph-deploy --username vdicceph osd create vdicnode02:sdb
--> Finishes Ok but communication goes through the public interface

2.2) ceph-deploy --username vdicceph osd create vdicnode02.local:sdb
--> vdicnode02.local is added manually in /etc/hosts (assigned a cluster IP)
--> It raises some errors/warnings becase vdicnod02.local is not the real
hostname. Some files are created with vdicnode02.local in the middle of the
name of the file and some errors appear when starting up the osd service
related to "file does not exist"

2.3) ceph-deploy --username vdicceph osd create vdicnode02-priv:sdb
--> vdicnode02-priv is added manually in /etc/hosts (assigned a cluster IP)
--> It raises some errors/warnings becase vdicnod02-priv is not the real
hostname. Some files are created with vdicnode02-priv in the middle of the
name of the file and some errors appear when starting up the osd service
related to "file does not exist"

What would be the right way to achieve my objective?

If is there any documentation I have not found, please redirect me...

Thanks a lot for your help in advance.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to