Re: [ceph-users] Shutting down a cluster fully and powering it back up

2015-03-02 Thread Daniel Schneller

On 2015-02-28 20:46:15 +, Gregory Farnum said:


Sounds good!
-Greg
On Sat, Feb 28, 2015 at 10:55 AM David 
da...@visions.se wrote:

Hi!



We did that a few weeks ago and it mostly worked fine.
However, on startup of one of the 4 machines, it got stuck
while starting OSDs (at least that's what the console
output indicated), while the others started up just
fine.

After waiting for more than 20 minutes with the other
3 machines already back up we hit ctrl-alt-del via
the server console. The signal got caught, the OS restarted
and came up without problems the next time.

Unfortunately, as this was in the middle of the night
after a very long day of moving hardware around in the
datacenter we did not manage to save the logs before
they were rotated...

Daniel


___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Shutting down a cluster fully and powering it back up

2015-02-28 Thread Gregory Farnum
Sounds good!
-Greg
On Sat, Feb 28, 2015 at 10:55 AM David da...@visions.se wrote:

 Hi!

 I’m about to do maintenance on a Ceph Cluster, where we need to shut it
 all down fully.
 We’re currently only using it for rados block devices to KVM Hypervizors.

 Are these steps sane?

 Shutting it down

 1. Shut down all IO to the cluster. Means turning off all clients (KVM
 Hypervizors in our case).
 2. Set cluster to noout by running: ceph osd set noout
 3. Shut down the MON nodes.
 4. Shut down the OSD nodes.

 Starting it up

 1. Start the OSD nodes.
 2. Start the MON nodes.
 3. Check ceph -w to see the status of ceph and take actions if something
 is wrong.
 4. Start up the clients (KVM Hypervizors)
 5. Run ceph osd unset noout

 Kind Regards,
 David
 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com