cluster.conf 구조
- Basic configuration : 일반적인 RHCS 구성 (3노드 이상) Node + Fence 구조
- Basic Two-Node configuration : Node + Fence 구조
- Add-ons configuration : Node + Fence + resource 구조
Basic configuration
cluster.conf|
<cluster name="mycluster" config_version=1"> <clusternodes> <clusternode name="node01" nodeid=1"> <fence> </fence> </clustercode> <clusternode name="node02" nodeid=2"> <fence> </fence> </clustercode> <clusternode name="node03" nodeid=3"> <fence> </fence> </clustercode> <clusternodes> <fencedevices> </fencedevices> <rm> </rm> </cluster>
Basic Two-Nodes Configuration
cluster.conf|
<cluster name="mycluster" config_version="2"> <cman two_node="1" expected_votes="1"/> <clusternodes> <clusternode name="node01" nodeid="1"> <fence> </fence> </clusternode> <clusternode name="node02" nodeid="2"> <fence> </fence> </clusternode> </clusternodes> <fencedevices> </fencedevices> <rm> </rm> </cluster>
로그인하면 댓글을 남길 수 있습니다.