@@ -2531,7 +2531,6 @@ Commands for resources are:
2531
2531
- `monitor`
2532
2532
- `group`
2533
2533
- `clone` (promotable clones)
2534
- - `ms`/`master` (master-slave) (deprecated)
2535
2534
2536
2535
In order to streamline large configurations, it is possible to
2537
2536
define a template which can later be referenced in primitives:
@@ -2869,7 +2868,7 @@ edit [xml] changed
2869
2868
****************************
2870
2869
The edit command sometimes cannot properly handle modifying
2871
2870
element ids. In particular for elements which belong to group or
2872
- ms resources. Group and ms resources themselves also cannot be
2871
+ promotable resources. Group and promotable resources themselves also cannot be
2873
2872
renamed. Please use the `rename` command instead.
2874
2873
****************************
2875
2874
@@ -3231,58 +3230,6 @@ monitor apcfence 60m:60s
3231
3230
Note that after executing the command, the monitor operation may
3232
3231
be shown as part of the primitive definition.
3233
3232
3234
- [[cmdhelp_configure_ms,define a master-slave resource (deprecated)]]
3235
- ==== `ms` (`master`)
3236
-
3237
- The `ms` command creates a master/slave resource type. It may contain a
3238
- single primitive resource or one group of resources.
3239
-
3240
- Usage:
3241
- ...............
3242
- ms <name> <rsc>
3243
- [description=<description>]
3244
- [meta attr_list]
3245
- [params attr_list]
3246
-
3247
- attr_list :: [$id=<id>] <attr>=<val> [<attr>=<val>...] | $id-ref=<id>
3248
- ...............
3249
- Example:
3250
- ...............
3251
- ms disk1 drbd1 \
3252
- meta notify=true globally-unique=false
3253
- ...............
3254
-
3255
- .Note on `ms` deprecated
3256
- ****************************
3257
- From Pacemaker-2.0, the resource type referred to as "master/slave",
3258
- "stateful", or "multi-state" is no longer a separate resource type,
3259
- but a variation of clone now referred to as a "promotable clone".
3260
- For backward compatibility, above configurations are also accepted.
3261
- ...............
3262
- clone disk1 drbd1 \
3263
- meta promotable=true notify=true globally-unique=false
3264
- ...............
3265
- ****************************
3266
-
3267
- .Note on `id-ref` usage
3268
- ****************************
3269
- Instance or meta attributes (`params` and `meta`) may contain
3270
- a reference to another set of attributes. In that case, no other
3271
- attributes are allowed. Since attribute sets' ids, though they do
3272
- exist, are not shown in the `crm`, it is also possible to
3273
- reference an object instead of an attribute set. `crm` will
3274
- automatically replace such a reference with the right id:
3275
-
3276
- ...............
3277
- crm(live)configure# primitive a2 www-2 meta $id-ref=a1
3278
- crm(live)configure# show a2
3279
- primitive a2 apache \
3280
- meta $id-ref=a1-meta_attributes
3281
- [...]
3282
- ...............
3283
- It is advisable to give meaningful names to attribute sets which
3284
- are going to be referenced.
3285
- ****************************
3286
3233
3287
3234
[[cmdhelp_configure_node,define a cluster node]]
3288
3235
==== `node`
@@ -3471,6 +3418,26 @@ primitive A ocf:pacemaker:Dummy \
3471
3418
op_meta 1: timeout=60s
3472
3419
...............
3473
3420
3421
+ .Note on `id-ref` usage
3422
+ ****************************
3423
+ Instance or meta attributes (`params` and `meta`) may contain
3424
+ a reference to another set of attributes. In that case, no other
3425
+ attributes are allowed. Since attribute sets' ids, though they do
3426
+ exist, are not shown in the `crm`, it is also possible to
3427
+ reference an object instead of an attribute set. `crm` will
3428
+ automatically replace such a reference with the right id:
3429
+
3430
+ ...............
3431
+ crm(live)configure# primitive a2 www-2 meta $id-ref=a1
3432
+ crm(live)configure# show a2
3433
+ primitive a2 apache \
3434
+ meta $id-ref=a1-meta_attributes
3435
+ [...]
3436
+ ...............
3437
+ It is advisable to give meaningful names to attribute sets which
3438
+ are going to be referenced.
3439
+ ****************************
3440
+
3474
3441
[[cmdhelp_configure_property,set a cluster property]]
3475
3442
==== `property`
3476
3443
@@ -3708,7 +3675,7 @@ The order of resources is significant: it is assumed that later
3708
3675
resources depend on earlier ones.
3709
3676
3710
3677
If a resource is multi-state, it is assumed that the role on
3711
- which later resources depend is master .
3678
+ which later resources depend is Promoted .
3712
3679
3713
3680
Tests are run sequentially to prevent running the same resource
3714
3681
on two or more nodes. Tests are carried out only if none of the
@@ -3869,7 +3836,7 @@ show [xml] [<id>
3869
3836
| obscure:<glob>
3870
3837
...]
3871
3838
3872
- type :: node | primitive | group | clone | ms | rsc_template
3839
+ type :: node | primitive | group | clone | rsc_template
3873
3840
| location | colocation | order
3874
3841
| rsc_ticket
3875
3842
| property | rsc_defaults | op_defaults
@@ -4789,7 +4756,7 @@ refresh [force]
4789
4756
Show actions and any failures that happened on all specified
4790
4757
resources on all nodes. Normally, one gives resource names as
4791
4758
arguments, but it is also possible to use extended regular
4792
- expressions. Note that neither groups nor clones or master/slave
4759
+ expressions. Note that neither groups nor clones or promotable clone
4793
4760
names are ever logged. The resource command is going to expand
4794
4761
all of these appropriately, so that clone instances or resources
4795
4762
which are part of a group are shown.
0 commit comments