Re: airgap install

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

 



Hi Zoran,

I'd like to have this properly documented in the Ceph documentation as
well.  I just created

https://github.com/ceph/ceph/pull/44346 to add the monitoring images to
that section. Feel free to review this one.

Sebastian

Am 17.12.21 um 11:06 schrieb Zoran Bošnjak:
> Kai, thank you for your answer. It looks like the "ceph config set mgr..." commands are the key part, to specify my local registry. However, I haven't got that far with the installation. I have tried various options, but I have problems already with the bootstrap step.
>
> I have documented the procedure (and the errors) here:
> https://github.com/zoranbosnjak/ceph-install#readme
>
> Would you please have a look and suggest corrections.
> Ideally, I would like to run administrative commands from a dedicated (admin) node... or alternatively to setup mon nodes to be able to run administrative commands...
>
> regards,
> Zoran
>
> ----- Original Message -----
> From: "Kai Stian Olstad" <ceph+list@xxxxxxxxxx>
> To: "Zoran Bošnjak" <zoran.bosnjak@xxxxxx>
> Cc: "ceph-users" <ceph-users@xxxxxxx>
> Sent: Thursday, December 16, 2021 9:40:22 AM
> Subject: Re:  airgap install
>
> On Mon, Dec 13, 2021 at 06:18:55PM +0000, Zoran Bošnjak wrote:
>> I am using "ubuntu 20.04" and I am trying to install "ceph pacific" version with "cephadm".
>>
>> Are there any instructions available about using "cephadm bootstrap" and other related commands in an airgap environment (that is: on the local network, without internet access)?
> Unfortunately they say cephadm is stable but I would call it beta because of
> lacking feature, bugs and missing documentation.
>
> I can give you some pointers.
>
> The best source to find the images you need is in cephadm code and for 16.2.7
> you find it here [1].
>
> cephadm bootstrap has the --image option to specify what image to use.
> I also run the bootstrap with --skip-monitoring-stack, if not it fails since it
> can't find the images.
>
> After that you can update the monitor containers to you registry.
> cephadm shell
> ceph config set mgr mgr/cephadm/container_image_prometheus <url to your image>
> ceph config set mgr mgr/cephadm/container_image_node_exporter <url to your image>
> ceph config set mgr mgr/cephadm/container_image_grafana <url to your image>
> ceph config set mgr mgr/cephadm/container_image_alertmanager <url to your image>
>
> Check the result with
> ceph config get mgr
>
> To deploy the monitoring
> ceph mgr module enable prometheus
> ceph orch apply node-exporter '*'
> ceph orch apply alertmanager --placement ...
> ceph orch apply prometheus --placement ...
> ceph orch apply grafana --placement ...
>
>
> This should be what you need to get Ceph running in an isolated network.
>
> [1] https://github.com/ceph/ceph/blob/v16.2.7/src/cephadm/cephadm#L50-L61
>
_______________________________________________
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