Re: [ceph-disk]how to specific cluster name when active an osd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 13, 2016 at 3:36 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> On Thu, 13 Oct 2016, Ning Yao wrote:
>> Yeah,
>>
>> If we want to use a different cluster name instead of the default
>> cluster name 'ceph'. we need to modify the ceph-osd@.service file to
>> make sure the cluster name is what we use.
>> Any ideas to solve the issue under systemd?  @Loic
>
> I believe you can set the cluster name in /etc/default/ceph or
> /etc/sysconfig/ceph, but I'm not sure if it's tested.
>
> sage
>

FWIW, at least on CentOS this works fine:

$ grep CLUSTER /etc/sysconfig/ceph

CLUSTER="hlm1-ceph01"

I did need to add --cluster to various commands when setting up the
cluster though, for instance ceph-disk prepare --cluster $cluster.
There was no need to modify any systemd units after that.

Kind regards,

Ruben
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux