Re: Steps to stop/restart entire ceph cluster

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

 



Below steps are taken from redhat documentation:

Follow the below procedure for Shutting down the Ceph Cluster:
1.    Stop the clients from using the RBD images/Rados Gateway on this
cluster or any other clients.
2.    The cluster must be in healthy state before proceeding.
3.    Set the noout, norecover, norebalance, nobackfill, nodown and pause flags
#ceph osd set noout
#ceph osd set norecover
#ceph osd set norebalance
#ceph osd set nobackfill
#ceph osd set nodown
#ceph osd set pause
4.    Shutdown osd nodes one by one
5.    Shutdown monitor nodes one by one
6.    Shutdown admin node

For Bringing up follow the below order:
1.    Power on the admin node
2.    Power on the monitor nodes
3.    Power on the osd nodes
4.    Wait for all the nodes to come up , Verify all the services are
up and the connectivity is fine between the nodes.
5.    Unset all the noout,norecover,noreblance, nobackfill, nodown and
pause flags.
#ceph osd unset noout
#ceph osd unset norecover
#ceph osd unset norebalance
#ceph osd unset nobackfill
#ceph osd unset nodown
#ceph osd unset pause
6.    Check and verify the cluster is in healthy state, Verify all the
clients are able to access the cluster.



On Fri, Apr 7, 2017 at 11:47 AM, TYLin <wooertim@xxxxxxxxx> wrote:
> Hi all,
>
> We’re trying to stop and then restart our ceph cluster. Our steps are as following:
>
> stop cluster:
>         stop mds -> stop osd -> stop mon
>
> restart cluster:
>         start mon -> start osd -> start mds
>
> Our cluster will stuck in cephfs degraded and mds is replaying journal. After restart mds again, cluster status becomes HEALTH_OK. What is the correct (or recommend) steps to stop/restart cluster?
>
> Thanks,
> Tim
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[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