Project

General

Profile

Documentation #14730

description of upgrade procedure - stopping/starting OSDs

Added by Ben England about 8 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
documentation
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

In URL:

http://docs.ceph.com/docs/master/rados/troubleshooting/troubleshooting-osd/#stopping-w-out-rebalancing

The page tells you to stop & start OSDs with the (shell?) command:

stop ceph-osd id={num}
start ceph-osd id={num}

This is not a valid shell command (in RHEL at least) so what is this referring to? Should it be something like:

service ceph stop osd.num
service ceph start osd.num

Or systemctl equivalent?

History

#1 Updated by Ben England almost 6 years ago

Should I submit a PR on the documentation? This seems very important to document. it's been 2 years. By now systemd is pretty widespread so I think we could just document how to do it with the "systemctl" command and be done with it, right?

#2 Updated by Nathan Cutler almost 6 years ago

Ben England wrote:

Should I submit a PR on the documentation?

PRs are always welcome. In this case, your PR should target the "master" branch.

#3 Updated by Anthony D'Atri over 3 years ago

Those are old-school Upstart service management commands.

The doc could use an update. Since services are managed throughout the doc tree, a case could be made that we should abstract service management into a separate document. That would describe the various init systems, and we would refer to it throughout the docs rather than replicating the same if/then/else clutter throughout the tree again. Realistically, though, I think that today supported OSes for supported releases have been borgged by `systemd`, so converting these to use `systemctl` would be the path of least resistance.

https://github.com/ceph/ceph/pull/38195
@zdover23

#4 Updated by Zac Dover over 3 years ago

  • Status changed from New to Resolved
  • Pull request ID set to 38195

anthonyeleven (Anthony D'Atri) put this one down.

Also available in: Atom PDF