
2b
Create the DLM service and have it run on all machines in the cluster:
configure
primitive dlm ocf:pacemaker:controld op monitor interval=120s
clone dlm-clone dlm meta globally-unique=false interleave=true
end
2c
Verify the changes you made to the cluster before commiting them:
cib diff
configure verify
2d
Upload the configuration to the cluster and exit the shell:
cib commit stack-glue
quit
3
Add the O2CB configuration with crm.
3a
Start the crm shell and create a new scratch configuration:
crm
cib new oracle-glue
3b
Configure Pacemaker to start the o2cb service on every node in the cluster.
configure
primitive o2cb ocf:ocfs2:o2cb op monitor interval=120s
clone o2cb-clone o2cb meta globally-unique=false interleave=true
3c
Make sure that Pacemaker only starts the o2cb service on nodes that also
have a copy of the dlm service already running:
colocation o2cb-with-dlm INFINITY: o2cb-clone dlm-clone
order start-o2cb-after-dlm mandatory: dlm-clone o2cb-clone
end
3d
Upload the configuration to the cluster and exit the shell:
Oracle Cluster File System 2
111
Summary of Contents for LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Page 10: ......
Page 11: ...Part I Installation and Setup...
Page 12: ......
Page 28: ......
Page 38: ......
Page 39: ...Part II Configuration and Administration...
Page 40: ......
Page 68: ......
Page 108: ......
Page 114: ......
Page 115: ...Part III Storage and Data Replication...
Page 116: ......
Page 126: ......
Page 140: ......
Page 141: ...Part IV Troubleshooting and Reference...
Page 142: ......
Page 148: ......
Page 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Page 202: ......
Page 210: ......
Page 285: ...Part V Appendix...
Page 286: ......