Copy to ClipboardCopied!Toggle word wrapToggle overflow
如果使用 --full 选项,命令会显示附加信息,包括约束 ID 和资源类型。
在以下示例中,有 3 个配置的资源: C、D 和 E。
pcs constraint order start C then start D
pcs constraint order start D then start E
pcs resource relations C
pcs resource relations D
pcs resource relations E
# pcs constraint order start C then start D
Adding C D (kind: Mandatory) (Options: first-action=start then-action=start)
# pcs constraint order start D then start E
Adding D E (kind: Mandatory) (Options: first-action=start then-action=start)
# pcs resource relations C
C
`- order
| start C then start D
`- D
`- order
| start D then start E
`- E
# pcs resource relations D
D
|- order
| | start C then start D
| `- C
`- order
| start D then start E
`- E
# pcs resource relations E
E
`- order
| start D then start E
`- D
`- order
| start C then start D
`- C
Copy to ClipboardCopied!Toggle word wrapToggle overflow
在以下示例中,有两个配置的资源:A 和 B。资源 A 和 B 是资源组 G 的一部分。
pcs resource relations A
pcs resource relations B
pcs resource relations G
# pcs resource relations A
A
`- outer resource
`- G
`- inner resource(s)
| members: A B
`- B
# pcs resource relations B
B
`- outer resource
`- G
`- inner resource(s)
| members: A B
`- A
# pcs resource relations G
G
`- inner resource(s)
| members: A B
|- A
`- B
Copy to ClipboardCopied!Toggle word wrapToggle overflow