Re: cephadm:: how to change the image for services

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

 



> 在 2021年4月5日,20:48,Adrian Sevcenco <Adrian.Sevcenco@xxxxxxx> 写道:
> 
> On 4/5/21 3:27 PM, 胡 玮文 wrote:
>>>> 在 2021年4月5日,19:29,Adrian Sevcenco <Adrian.Sevcenco@xxxxxxx> 写道:
>>> 
>>> Hi! How/where can i change the image configured for a service?
>>> I tried to modify /var/lib/ceph/<fsid>/<service_name>/unit.{image,run}
>>> but after restarting
>>> ceph orch ps shows that the service use the same old image.
>> Hi Adrian,
> Hi!
> 
>> Try “ceph config set <target> container_image <your image>” where <target> can be global, osd, osd.1, etc. Then redeploy 
> yup, i did
> 
>> it with “ceph orch” series commands.
> well, already tried .. unfortunately because this is a test "cluster" on my desktop
> i have a single mgr, and it seems that there is a requirement of having a second standby mgr.

Ceph is designed to be a distributed system. I think set up some VMs to experiment with ceph can be easier.

> i tried to start a second mgr, but because of listening port clash i can't... and i see not such option
> in ceph config show
> 
> so, i was hopping to be able to make the service (podman) to restart with the new image ..
> and no joy so far ..
> 
> Thanks a lot!
> Adrian
> 
>>> What other configuration locations are there for the ceph components
>>> beside /etc/ceph (which is quite sparse) and /var/lib/ceph/<fsid> ?
>> Monitor configuration database.
>> https://docs.ceph.com/en/latest/rados/configuration/ceph-conf/#monitor-configuration-database <https://docs.ceph.com/en/latest/rados/configuration/ceph-conf/#monitor-configuration-database>
>> Weiwen Hu
>>> Thank you!
>>> Adrian
> 
_______________________________________________
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