wgseligman

crm configure show 20130103

Jan 10th, 2013
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. node hypatia.nevis.columbia.edu
  2. node orestes.nevis.columbia.edu
  3. primitive AdminDrbd ocf:linbit:drbd \
  4. params drbd_resource="admin" \
  5. op monitor interval="59s" role="Master" timeout="30s" \
  6. op monitor interval="60s" role="Slave" timeout="30s" \
  7. op stop interval="0" timeout="100" \
  8. op start interval="0" timeout="330" \
  9. meta target-role="Master"
  10. primitive AdminLvm ocf:heartbeat:LVM \
  11. params volgrpname="ADMIN" \
  12. op monitor interval="30" timeout="100" depth="0" \
  13. op start interval="0" timeout="30s" \
  14. op stop interval="0" timeout="30s"
  15. primitive CronAmbientTemperature ocf:heartbeat:symlink \
  16. description="Shutdown cluster if A/C stops" \
  17. op monitor interval="60" timeout="15" \
  18. op start interval="0" timeout="15" \
  19. op start interval="0" timeout="15" \
  20. params link="/etc/cron.d/ambient-temperature" target="/var/nevis/etc/cron.d/ambient-temperature" backup_suffix=".original" \
  21. meta target-role="Started"
  22. primitive CronBackupVirtualDiskImages ocf:heartbeat:symlink \
  23. description="Periodically save copies of the virtual machines" \
  24. op monitor interval="60" timeout="15" \
  25. op start interval="0" timeout="15" \
  26. op start interval="0" timeout="15" \
  27. params link="/etc/cron.d/backup-virtual-disk-images" target="/var/nevis/etc/cron.d/backup-virtual-disk-images" backup_suffix=".original"
  28. primitive Dhcpd lsb:dhcpd \
  29. op monitor interval="30" timeout="15" \
  30. meta target-role="Started"
  31. primitive ExportMail ocf:heartbeat:exportfs \
  32. description="Export all of /mail to mail server" \
  33. op start interval="0" timeout="40" \
  34. op stop interval="0" timeout="120" \
  35. params clientspec="franklin.nevis.columbia.edu" directory="/mail" fsid="30" options="rw,no_root_squash,async" rmtab_backup="none" \
  36. meta target-role="Started" is-managed="true"
  37. primitive ExportMailFolders ocf:heartbeat:exportfs \
  38. op start interval="0" timeout="40" \
  39. op stop interval="0" timeout="120" \
  40. params clientspec="@linux-hosts" directory="/mail/folders" fsid="50" options="rw,no_root_squash,async,nohide" rmtab_backup="none"
  41. primitive ExportMailForward ocf:heartbeat:exportfs \
  42. op start interval="0" timeout="40" \
  43. op stop interval="0" timeout="120" \
  44. params clientspec="@linux-hosts" directory="/mail/forward" fsid="60" options="rw,no_root_squash,async,nohide"
  45. primitive ExportMailInbox ocf:heartbeat:exportfs \
  46. op start interval="0" timeout="40" \
  47. op stop interval="0" timeout="120" \
  48. params clientspec="@linux-hosts" directory="/mail/inbox" fsid="40" options="rw,no_root_squash,async,nohide" rmtab_backup="none"
  49. primitive ExportMailProcmailrc ocf:heartbeat:exportfs \
  50. op start interval="0" timeout="40" \
  51. op stop interval="0" timeout="120" \
  52. params clientspec="@linux-hosts" directory="/mail/procmailrc" fsid="70" options="rw,no_root_squash,async,nohide" rmtab_backup="none"
  53. primitive ExportUsrNevis ocf:heartbeat:exportfs \
  54. description="Site-wide applications installed in /usr/nevis" \
  55. op start interval="0" timeout="40" \
  56. op stop interval="0" timeout="120" \
  57. params clientspec="*.nevis.columbia.edu" directory="/usr/nevis" fsid="20" options="ro,no_root_squash,async" rmtab_backup="none"
  58. primitive ExportUsrNevisHermes ocf:heartbeat:exportfs \
  59. description="Export /usr/nevis to hermes read-write" \
  60. op start interval="0" timeout="40" \
  61. op stop interval="0" timeout="120" \
  62. params clientspec="hermes.nevis.columbia.edu" directory="/usr/nevis" fsid="19" options="rw,no_root_squash,async" rmtab_backup="none"
  63. primitive ExportUsrNevisOffsite ocf:heartbeat:exportfs \
  64. description="Include potential off-site systems, e.g., the Annex" \
  65. op start interval="0" timeout="40" \
  66. op stop interval="0" timeout="120" \
  67. params clientspec="@linux-hosts" directory="/usr/nevis" fsid="25" options="ro,no_root_squash,async" rmtab_backup="none"
  68. primitive ExportWWW ocf:heartbeat:exportfs \
  69. description="Export /var/nevis/www to virtual machines that need it" \
  70. op start interval="0" timeout="40" \
  71. op stop interval="0" timeout="120" \
  72. params clientspec="@www-hosts" directory="/var/nevis/www" fsid="10" options="rw,no_root_squash,async" rmtab_backup="none"
  73. primitive FSMail ocf:heartbeat:Filesystem \
  74. params device="/dev/mapper/ADMIN-mail" directory="/mail" fstype="gfs2" options="defaults,noatime,nodiratime" \
  75. op monitor interval="20" timeout="40" depth="0" \
  76. op start interval="0" timeout="60" \
  77. op stop interval="0" timeout="60"
  78. primitive FSUsrNevis ocf:heartbeat:Filesystem \
  79. params device="/dev/mapper/ADMIN-usr" directory="/usr/nevis" fstype="gfs2" options="defaults,noatime,nodiratime" \
  80. op monitor interval="20" timeout="40" depth="0" \
  81. op start interval="0" timeout="60" \
  82. op stop interval="0" timeout="60"
  83. primitive FSVarNevis ocf:heartbeat:Filesystem \
  84. params device="/dev/mapper/ADMIN-var" directory="/var/nevis" fstype="gfs2" options="defaults,noatime,nodiratime" \
  85. op monitor interval="20" timeout="40" depth="0" \
  86. op start interval="0" timeout="60" \
  87. op stop interval="0" timeout="60"
  88. primitive FSVirtualMachines ocf:heartbeat:Filesystem \
  89. params device="/dev/mapper/ADMIN-xen" directory="/xen" fstype="gfs2" options="defaults,noatime,nodiratime" \
  90. op monitor interval="20" timeout="40" depth="0" \
  91. op start interval="0" timeout="60" \
  92. op stop interval="0" timeout="60"
  93. primitive FSWork ocf:heartbeat:Filesystem \
  94. params device="/dev/mapper/ADMIN-work" directory="/work" fstype="gfs2" options="defaults,noatime,nodiratime" \
  95. op monitor interval="20" timeout="40" depth="0" \
  96. op start interval="0" timeout="60" \
  97. op stop interval="0" timeout="60"
  98. primitive IP_cluster ocf:heartbeat:IPaddr2 \
  99. params ip="129.236.252.11" cidr_netmask="32" nic="eth0" \
  100. op monitor interval="30s" \
  101. meta resource-stickiness="0"
  102. primitive IP_cluster_local ocf:heartbeat:IPaddr2 \
  103. params ip="10.44.7.11" cidr_netmask="32" nic="eth2" \
  104. op monitor interval="31s" \
  105. meta resource-stickiness="0"
  106. primitive IP_cluster_sandbox ocf:heartbeat:IPaddr2 \
  107. params ip="10.43.7.11" cidr_netmask="32" nic="eth0.3" \
  108. op monitor interval="32s" \
  109. meta resource-stickiness="0"
  110. primitive IP_dhcp ocf:heartbeat:IPaddr2 \
  111. params ip="10.44.107.11" cidr_netmask="32" nic="eth2" \
  112. op monitor interval="40s" \
  113. meta target-role="Started"
  114. primitive Libvirtd lsb:libvirtd \
  115. op monitor interval="30s"
  116. primitive StonithHypatia stonith:fence_nut \
  117. description="How to shut down hypatia via its UPS" \
  118. params stonith-timeout="120s" pcmk_host_check="static-list" pcmk_host_list="hypatia.nevis.columbia.edu" ups="hypatia-ups" username="admin" password="acdc" cycledelay="20" ondelay="20" offdelay="20" noverifyonoff="1" debug="1"
  119. primitive StonithOrestes stonith:fence_nut \
  120. description="How to shut down orestes via its UPS" \
  121. params stonith-timeout="120s" pcmk_host_check="static-list" pcmk_host_list="orestes.nevis.columbia.edu" ups="orestes-ups" username="admin" password="acdc" cycledelay="20" ondelay="20" offdelay="20" noverifyonoff="1" debug="1" \
  122. meta target-role="Started"
  123. primitive SymlinkDhcpdConf ocf:heartbeat:symlink \
  124. description="/etc/dhcpd/dhcpd.conf" \
  125. op monitor interval="60" timeout="15" \
  126. op start interval="0" timeout="15" \
  127. op start interval="0" timeout="15" \
  128. params link="/etc/dhcp/dhcpd.conf" target="/var/nevis/etc/dhcpd.conf" backup_suffix=".original"
  129. primitive SymlinkDhcpdLeases ocf:heartbeat:symlink \
  130. description="/var/lib/dhcpd" \
  131. op monitor interval="60" timeout="15" \
  132. op start interval="0" timeout="15" \
  133. op stop interval="0" timeout="15" \
  134. params link="/var/lib/dhcpd" target="/var/nevis/dhcpd" backup_suffix=".original"
  135. primitive SymlinkEtcLibvirt ocf:heartbeat:symlink \
  136. op monitor interval="60" timeout="15" \
  137. op start interval="0" timeout="15" \
  138. op stop interval="0" timeout="15" \
  139. params link="/etc/libvirt" target="/var/nevis/etc/libvirt" backup_suffix=".original"
  140. primitive SymlinkQemuSnapshot ocf:heartbeat:symlink \
  141. op monitor interval="60" timeout="15" \
  142. op start interval="0" timeout="15" \
  143. op stop interval="0" timeout="15" \
  144. params link="/var/lib/libvirt/qemu/snapshot" target="/var/nevis/lib/libvirt/qemu/snapshot" backup_suffix=".original"
  145. primitive SymlinkSysconfigDhcpd ocf:heartbeat:symlink \
  146. description="/etc/sysconfig/dhcpd" \
  147. op monitor interval="60" timeout="15" \
  148. op stop interval="0" timeout="15" \
  149. op start interval="0" timeout="15" \
  150. params link="/etc/sysconfig/dhcpd" target="/var/nevis/etc/sysconfig/dhcpd" backup_suffix=".original"
  151. primitive SymlinkTftp ocf:heartbeat:symlink \
  152. description="/etc/xinetd.d/tftp" \
  153. op monitor interval="60" timeout="15" \
  154. op start interval="0" timeout="15" \
  155. op stop interval="0" timeout="15" \
  156. params link="/etc/xinetd.d/tftp" target="/var/nevis/etc/xinetd.d/tftp" backup_suffix=".original"
  157. primitive VM_ada ocf:heartbeat:VirtualDomain \
  158. params config="/etc/libvirt/qemu/ada.xml" migration_transport="ssh" \
  159. op start interval="0" timeout="180s" \
  160. op stop interval="0" timeout="180s" \
  161. op monitor interval="30" timeout="60" depth="0" \
  162. op migrate_from interval="0" timeout="120" \
  163. op migrate_to interval="0" timeout="180" \
  164. meta allow-migrate="true" target-role="Started"
  165. primitive VM_franklin ocf:heartbeat:VirtualDomain \
  166. params config="/etc/libvirt/qemu/franklin.xml" migration_transport="ssh" \
  167. op start interval="0" timeout="180s" \
  168. op stop interval="0" timeout="180s" \
  169. op monitor interval="30" timeout="60" depth="0" \
  170. op migrate_from interval="0" timeout="120" \
  171. op migrate_to interval="0" timeout="180" \
  172. meta allow-migrate="true" target-role="Started"
  173. primitive VM_hogwarts ocf:heartbeat:VirtualDomain \
  174. params config="/etc/libvirt/qemu/hogwarts.xml" migration_transport="ssh" \
  175. op start interval="0" timeout="180s" \
  176. op stop interval="0" timeout="180s" \
  177. op monitor interval="30" timeout="60" depth="0" \
  178. op migrate_from interval="0" timeout="120" \
  179. op migrate_to interval="0" timeout="180" \
  180. meta allow-migrate="true" target-role="Started"
  181. primitive VM_nagios ocf:heartbeat:VirtualDomain \
  182. params config="/etc/libvirt/qemu/nagios.xml" migration_transport="ssh" \
  183. op start interval="0" timeout="180s" \
  184. op stop interval="0" timeout="180s" \
  185. op monitor interval="30" timeout="60" depth="0" \
  186. op migrate_from interval="0" timeout="120" \
  187. op migrate_to interval="0" timeout="180" \
  188. meta allow-migrate="true" target-role="Started"
  189. primitive VM_proxy ocf:heartbeat:VirtualDomain \
  190. params config="/etc/libvirt/qemu/proxy.xml" migration_transport="ssh" \
  191. op start interval="0" timeout="180s" \
  192. op stop interval="0" timeout="180s" \
  193. op monitor interval="30" timeout="60" depth="0" \
  194. op migrate_from interval="0" timeout="120" \
  195. op migrate_to interval="0" timeout="180" \
  196. meta allow-migrate="true" target-role="Started"
  197. primitive VM_sullivan ocf:heartbeat:VirtualDomain \
  198. params config="/etc/libvirt/qemu/sullivan.xml" migration_transport="ssh" \
  199. op start interval="0" timeout="180s" \
  200. op stop interval="0" timeout="180s" \
  201. op monitor interval="30" timeout="60" depth="0" \
  202. op migrate_from interval="0" timeout="120" \
  203. op migrate_to interval="0" timeout="180" \
  204. meta allow-migrate="true" target-role="Started"
  205. primitive VM_tango ocf:heartbeat:VirtualDomain \
  206. params config="/etc/libvirt/qemu/tango.xml" migration_transport="ssh" \
  207. op start interval="0" timeout="180s" \
  208. op stop interval="0" timeout="180s" \
  209. op monitor interval="30" timeout="60" depth="0" \
  210. op migrate_from interval="0" timeout="120" \
  211. op migrate_to interval="0" timeout="180" \
  212. meta allow-migrate="true" target-role="Started"
  213. primitive VM_wordpress ocf:heartbeat:VirtualDomain \
  214. params config="/etc/libvirt/qemu/wordpress.xml" migration_transport="ssh" \
  215. op start interval="0" timeout="180s" \
  216. op stop interval="0" timeout="180s" \
  217. op monitor interval="30" timeout="60" depth="0" \
  218. op migrate_from interval="0" timeout="120" \
  219. op migrate_to interval="0" timeout="180" \
  220. meta allow-migrate="true" target-role="Started"
  221. primitive Xinetd lsb:xinetd \
  222. description="Used for tftp"
  223. group DhcpGroup SymlinkDhcpdConf SymlinkSysconfigDhcpd SymlinkDhcpdLeases Dhcpd IP_dhcp \
  224. meta target-role="Started"
  225. group ExportsGroup ExportMail ExportMailInbox ExportMailFolders ExportMailForward ExportMailProcmailrc ExportUsrNevisHermes ExportUsrNevis ExportUsrNevisOffsite ExportWWW
  226. group FilesystemGroup AdminLvm FSUsrNevis FSVarNevis FSVirtualMachines FSMail FSWork
  227. group IPGroup IP_cluster IP_cluster_local IP_cluster_sandbox
  228. group LibvirtdGroup SymlinkEtcLibvirt SymlinkQemuSnapshot Libvirtd
  229. group TftpGroup SymlinkTftp Xinetd
  230. ms AdminClone AdminDrbd \
  231. meta master-max="2" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" interleave="true"
  232. clone ExportsClone ExportsGroup \
  233. meta interleave="true" target-role="Started"
  234. clone FilesystemClone FilesystemGroup \
  235. meta interleave="true" target-role="Started"
  236. clone IPClone IPGroup \
  237. meta globally-unique="true" clone-max="2" clone-node-max="2" interleave="false" target-role="Started"
  238. clone LibvirtdClone LibvirtdGroup \
  239. meta interleave="true" target-role="Started"
  240. clone TftpClone TftpGroup \
  241. meta interleave="true"
  242. location StonithHypatia_Location StonithHypatia -inf: hypatia.nevis.columbia.edu
  243. location StonithOrestes_Location StonithOrestes -inf: orestes.nevis.columbia.edu
  244. colocation BackupImages_With_Filesystem inf: CronBackupVirtualDiskImages FilesystemClone
  245. colocation Dhcp_With_Filesystem inf: DhcpGroup FilesystemClone
  246. colocation Exports_With_Filesystem inf: ExportsClone FilesystemClone
  247. colocation Filesystem_With_Admin inf: FilesystemClone AdminClone:Master
  248. colocation IP_With_Filesystem inf: IPClone FilesystemClone
  249. colocation Libvirtd_With_Filesystem inf: LibvirtdClone FilesystemClone
  250. colocation Mail_With_Libvirtd inf: VM_franklin LibvirtdClone
  251. colocation Temperature_With_Filesystem inf: CronAmbientTemperature FilesystemClone
  252. colocation Tftp_With_Filesystem inf: TftpClone FilesystemClone
  253. colocation VM_ada_With_Libvirtd inf: VM_ada LibvirtdClone
  254. colocation VM_hogwarts_With_Libvirtd inf: VM_hogwarts LibvirtdClone
  255. colocation VM_nagios_With_Libvirtd inf: VM_nagios LibvirtdClone
  256. colocation VM_proxy_With_Libvirtd inf: VM_proxy LibvirtdClone
  257. colocation VM_sullivan_With_Libvirtd inf: VM_sullivan LibvirtdClone
  258. colocation VM_tango_With_Libvirtd inf: VM_tango LibvirtdClone
  259. colocation VM_wordpress_With_Libvirtd inf: VM_wordpress LibvirtdClone
  260. order Admin_Before_Filesystem inf: AdminClone:promote FilesystemClone:start
  261. order Exports_Before_Libvirtd inf: ExportsClone LibvirtdClone
  262. order Filesystem_Before_BackupImages inf: FilesystemClone CronBackupVirtualDiskImages
  263. order Filesystem_Before_Dhcp inf: FilesystemClone DhcpGroup
  264. order Filesystem_Before_Exports inf: FilesystemClone ExportsClone
  265. order Filesystem_Before_IP inf: FilesystemClone IPClone
  266. order Filesystem_Before_Temperature inf: FilesystemClone CronAmbientTemperature
  267. order Filesystem_Before_Tftp inf: FilesystemClone TftpClone
  268. order Libvirtd_Before_Mail inf: LibvirtdClone VM_franklin
  269. order Libvirtd_Before_VM_ada inf: LibvirtdClone VM_ada
  270. order Libvirtd_Before_VM_hogwarts inf: LibvirtdClone VM_hogwarts
  271. order Libvirtd_Before_VM_nagios inf: LibvirtdClone VM_nagios
  272. order Libvirtd_Before_VM_proxy inf: LibvirtdClone VM_proxy
  273. order Libvirtd_Before_VM_sullivan inf: LibvirtdClone VM_sullivan
  274. order Libvirtd_Before_VM_tango inf: LibvirtdClone VM_tango
  275. order Libvirtd_Before_VM_wordpress inf: LibvirtdClone VM_wordpress
  276. property $id="cib-bootstrap-options" \
  277. dc-version="1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558" \
  278. cluster-infrastructure="cman" \
  279. stonith-enabled="true" \
  280. last-lrm-refresh="1351776622" \
  281. pe-error-series-max="100" \
  282. pe-warn-series-max="100" \
  283. pe-input-series-max="100" \
  284. stonith-action="reboot" \
  285. expected-quorum-votes="2" \
  286. stonith-timeout="120s"
RAW Paste Data