On 06/20/2012 10:59 AM, Stefan Priebe - Profihost AG wrote:
Hello list,
i've some problems to find the correct combination of ceph.conf,
/etc/hosts for the init script to work correctly.
My systems are named:
ssdstor000i
ssdstor001i
ssdstor002i
What does hostname | cut -d . -f 1 say?
This is looked up by the init script, see: /usr/lib/ceph/ceph_common.sh
These names point to the public external IP.
These systems also have an alias (ssdstor000,ssdstor001) pointing to the
internal IP which should be used by ceph.
My ceph.conf looks like this:
...
[osd.10]
host= ssdstor000
[osd.11]
host= ssdstor000
...
The ceph.init Script looks now for an entry called ssdstor000i but can't
find one and so it does not start or stop any services.
My /etc/hosts file:
192.168.0.100 ssdstor000.XYZ.de ssdstor000i
10.0.255.100 ssdstor000
What is the correct way to archieve that the default hostname is still
the public one but ceph uses the internal one?
You can specify --hostname with the init script, but I recommend using
the hostnames which is set in /etc/hostname in your ceph.conf
Wido
Greets
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html