Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

6.3.3. Colocate 一組資源

使用以下指令來在一組資源上建立一項 colocation 限制。您可將 sequential 選項設為 true 或是 false 以表示這組已 colocate 的資源是否是一組已排序的資源。
colocation set resource1 resource2 [resourceN]... [setoptions name=value] ... [set resourceX resourceY ...] [setoptions name=value...]
您能為一個設為了 masterslave 的 colocation 設置 role 選項。欲取得有關於多狀態資源上的相關資訊,請參閱〈節 8.2, “多狀態資源:含有多重模式的資源”〉。