[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-ansible
Subject:    Re: [Ceph-ansible] How to remove OSD
From:       Satish Patel <satish.txt () gmail ! com>
Date:       2019-09-25 17:03:05
Message-ID: CAPgF-fqAcdDrBApfgDEmmPyiogOErC-02X=uecrcpHdiz99+ZA () mail ! gmail ! com
[Download RAW message or body]

Thanks Guillaume

On Wed, Sep 25, 2019 at 10:45 AM Guillaume Abrioux <gabrioux@redhat.com> wrote:
> 
> that playbook works pretty well, but yes, you can still check what it does and run \
> commands manually if you are concerned. 
> Guillaume Abrioux
> Senior Software Engineer
> 
> 
> Le mer. 25 sept. 2019 à 16:41, Satish Patel <satish.txt@gmail.com> a écrit :
> > 
> > Hmm! interesting, little worried to run that playbook that if it do
> > something else then?
> > 
> > Can i remove OSD by hand and later remove configuration from
> > ceph-ansible yml file?
> > 
> > Using following commands?
> > $ ceph osd out <ID>
> > $ service ceph stop osd.<ID>
> > $ ceph osd crush remove osd.<ID>
> > $ ceph auth del osd.<ID>
> > $ ceph osd rm <ID>
> > 
> > On Wed, Sep 25, 2019 at 2:36 AM Guillaume Abrioux <gabrioux@redhat.com> wrote:
> > > 
> > > Hi Satish,
> > > 
> > > you are probably looking for this playbook provided in ceph-ansible: \
> > > https://github.com/ceph/ceph-ansible/blob/master/infrastructure-playbooks/shrink-osd.yml
> > >  
> > > Regards,
> > > 
> > > Guillaume Abrioux
> > > Senior Software Engineer
> > > 
> > > 
> > > Le mer. 25 sept. 2019 à 03:47, Satish Patel <satish.txt@gmail.com> a écrit :
> > > > 
> > > > Folks,
> > > > 
> > > > I have deployed my small ceph cluster using ceph-ansible and life is
> > > > good but today i want to decommissioned some OSD so question is how do
> > > > i decommissioned OSD using Ceph-Ansible playbooks?
> > > > 
> > > > I have this configuration at present, and i want to remove /dev/sdf &
> > > > /dev/sdg  (I have already down those OSD in command line but how do i
> > > > do that using playbook?
> > > > 
> > > > If playbook doesn't support removing OSD then how do i manually remove
> > > > them from nodes?
> > > > 
> > > > ---
> > > > osd_objectstore: bluestore
> > > > osd_scenario: lvm
> > > > lvm_volumes:
> > > > - data: /dev/sdb
> > > > - data: /dev/sdc
> > > > - data: /dev/sdd
> > > > - data: /dev/sde
> > > > - data: /dev/sdf
> > > > - data: /dev/sdg
> > > > _______________________________________________
> > > > Ceph-ansible mailing list
> > > > Ceph-ansible@lists.ceph.com
> > > > http://lists.ceph.com/listinfo.cgi/ceph-ansible-ceph.com
_______________________________________________
Ceph-ansible mailing list
Ceph-ansible@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-ansible-ceph.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic