
2
Configure Pacemaker to mount the file system on every node in the cluster.
configure
primitive fs ocf:heartbeat:Filesystem \
params device="/dev/sdb1" directory="/mnt/shared" fstype="ocfs2" \
op monitor interval=120s
clone fs-clone fs meta interleave="true" ordered="true"
3
Make sure that Pacemaker only starts the fs clone resource on nodes that also
have a clone of the o2cb resource already running:
colocation fs-with-o2cb INFINITY: fs-clone o2cb-clone
order start-fs-after-o2cb mandatory: o2cb-clone fs-clone
end
4
Upload the configuration to the cluster and exit the shell:
cib commit filesystem
quit
12.6 Additional Information
For information about using OCFS2, see the OCFS2 User Guide [
http://oss
.oracle.com/projects/ocfs2/documentation/
] on the OCFS2 project
at Oracle [
http://oss.oracle.com/projects/ocfs2/
].
Oracle Cluster File System 2
115
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......