Re: How to ceph-volume on remote hosts?

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

 



Hello,

If you do it, like Sebastian told you, you would automatically deploy osd's.
For a beginner I would recommend to do it semi-automated, so you know a bit more what's going on.

So first do the "ceph orch device ls" which should print every disk, in all nodes.
Then I recommend to zap devices you want to use first, even if it says you can use them:
ceph orch device zap {node} /dev/sd? --force

And then you can add devices one by one:
ceph orch daemon add osd {node}:/dev/sd?

Just to top it off.

Regards,
Simon

-----Ursprüngliche Nachricht-----
Von: Sebastian Wagner [mailto:swagner@xxxxxxxx] 
Gesendet: Mittwoch, 24. Juni 2020 14:06
An: steven prothero <steven@xxxxxxxxxxxxxxx>; ceph-users@xxxxxxx
Betreff:  Re: How to ceph-volume on remote hosts?



Am 24.06.20 um 05:15 schrieb steven prothero:
> Hello,
> 
> I am new to CEPH and on a few test servers attempting to setup and 
> learn a test ceph system.
> 
> I started off the install with the "Cephadm" option and it uses podman 
> containers.
> Followed steps here:
> https://docs.ceph.com/docs/master/cephadm/install/
> 
> I ran the bootstrap, added remote hosts, added monitors and everything 
> is looking good.
> 
> Now I would like to add OSDs...
> 
> On the bootstrapped server i did a :
> 
> ceph-volume lvm prepare   --data /dev/sda6
>    and then the "activate" and "ceph orch daemon add osd (etc)" to add 
> it and it works...
> 
> But now I am ready to add OSDs on the remote nodes. I am not able to 
> find documentation or examples on how to do :
> 
>       ceph-volume lvm prepare & activate steps on the remote hosts.
> 
> How do we prepare & activate the remote hosts disks?

ceph orch apply osd

as described in
https://docs.ceph.com/docs/master/cephadm/install/#deploy-osds

should do the trick. In case it doesn't, what's the output of

ceph orch device ls

?

> 
> Thank you very much for your input,
> 
> Cheers
> Steve
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an 
> email to ceph-users-leave@xxxxxxx
> 

--
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg). Geschäftsführer: Felix Imendörffer

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux