-
Notifications
You must be signed in to change notification settings - Fork 75
nautilus OSD operations
The following chapters will try to give an overview of the Scenarios we need to take care of when migrating from ceph-disk to ceph-volume (and the associated change in proposal-format)
In this scenario you are still running ceph-disk based OSDs and also use the legacy proposal format. Adding a new OSD consists of multiple steps:
- Add a new device to the node
At this point you can't use the old proposal-runner anymore, since it's removed. You will rather have to create a corresponding new-style proposal-format (ref#jans_wiki)
- Follow the normal procedure to deploy any disks
No actions have to be taken
No actions have to be taken. The replace from SES5 can be re-used.
The steps that are taken internally differ slightly.
- Remove (mark-destroy, ceph-volume zap.. which is encapsulated in the runner)
- Physically remove the disk
- Add a new disk
- Follow the normal procedure to deploy any disks
It should be noted that we try to no longer store information on-disk but rather try to compute/retrieve the data directly from the cluster. The information that is needed in this case is:
For a standalone OSD:
- osd_id
For a OSD with dedicated WAL/DB:
- osd_id
- wal disk & partition number
- db disk & partition number
Previously we stored the information in /etc/ceph/destroyedOSDs.yml.
Now we try to gather the osd_id
from ceph itself by querying OSDs that were 'mark-destoryed'
previously.
Regarding the wal/db detection; Since ceph-volume can also use partitions to create a VG on it, to subsequently use it as a wal/db, we can leverage this ability to re-use those partitions. ( If we have to specifically provide these partitions via the CLI, where do we get them from? Do we consult ceph-volume inventory?.. I pretty much forgot the solution we had here)..
This is a great chance to move to the new proposal-format. Nothing will change here.
- Prerequisites
- Manual Installation
- Custom Profiles
- Alternate Installations
- Automated Installation
- Purging
- Reinstallation
- Replacing an OSD
- Inspecting the Configuration
- Understanding Pathnames and Arguments
- Overriding Default Settings
- Overriding Default Steps
- Man Pages
- deepsea.1
- deepsea.7
- deepsea-commands.7
- deepsea-minions.7
- deepsea-monitor.1
- deepsea-policy.cfg.5
- deepsea-stage.1
- deepsea-stage-dry-run.1
- deepsea-stage-run.1
- deepsea-stages.7
- Backporting
- Testing
- Branches & Releases