Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
9.7. リソースの場所の確定にルールを使用する
次のコマンドを使用するとルールを使ってリソースの場所を確定することができます。
pcs resource constraint location resource_id rule [rule_id] [role=master|slave] [score=score expression]
expression には以下のいずれかを使用します。
defined|not_defined attribute
attribute lt|gt|lte|gte|eq|ne value
date [start=start [end=end operation=gt|lt|in-range
date-spec date_spec_options