Show Table of Contents
7.6. 管理的资源
可将某个资源设定为非管理模式,即代表该资源仍在配置文件中,但 Pacemaker 不会管理该资源。
以下命令将所示资源设定为非管理模式。
pcs resource unmanage resource1 [resource2] ...
以下命令将资源设定为管理模式,即默认状态。
pcs resource manage resource1 [resource2] ...
可使用
pcs resource manage 或 pcs resource unmanage 命令指定资源组名称。该命令可在该组的所有资源操作,以便可使用单一命令管理或不管理某个组中的所有资源,然后分别管理所包含的资源。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.