Actions
Feature #3807
closedcrush: simple commands to create common rules
Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:
Description
These should be in CrushWrapper or similar, and available via crushtool and via some 'ceph osd crush ...' commands.
Even something like "ceph osd rule add take default chooseleaf host emit" is way better than exporting/decompiling/editing/compiling/inserting the map.
Or 'ceph osd rule new simple root=default failure_domain=host'.
Updated by Sage Weil about 11 years ago
ceph osd crush rule list
ceph osd crush rule create-simple <name> <root> <failure domain>
ceph osd crush rule create-complex <name> [ruleset=<ruleset>] <steps ...>
step is
take <name>
chooseleaf [<number>] <type>
emit
ceph osd crush rule rm <name>
(will verify it is not in use)
Updated by Sage Weil about 11 years ago
- Status changed from 12 to Fix Under Review
see wip-osd-commands
Updated by Sage Weil about 11 years ago
- Status changed from Fix Under Review to Resolved
commit:9eff2ee13dc03f245a11c91f4ed7d5bc15c55aef
Updated by Greg Farnum almost 7 years ago
- Project changed from Ceph to RADOS
- Category deleted (
10)
Actions