Advertisement
Guest User

Untitled

a guest
Jun 4th, 2014
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <cluster config_version="178" name="itc">
  3. <clusternodes>
  4. <clusternode name="itc-srv1.jhuapl.edu" nodeid="1">
  5. <fence>
  6. <method name="VMware">
  7. <device name="itc-srv1_fence" port="itc-srv1" ssl="on"/>
  8. </method>
  9. </fence>
  10. </clusternode>
  11. <clusternode name="itc-srv2.jhuapl.edu" nodeid="2">
  12. <fence>
  13. <method name="VMware">
  14. <device name="itc-srv2_fence" port="itc-srv2" ssl="on"/>
  15. </method>
  16. </fence>
  17. </clusternode>
  18. <clusternode name="itc-srv3.jhuapl.edu" nodeid="3">
  19. <fence>
  20. <method name="itc-srv3_fence">
  21. <device name="itc-srv3_fence"/>
  22. </method>
  23. </fence>
  24. </clusternode>
  25. <clusternode name="itc-srv4.jhuapl.edu" nodeid="4">
  26. <fence>
  27. <method name="itc-srv4_fence">
  28. <device name="itc-srv4_fence"/>
  29. </method>
  30. </fence>
  31. </clusternode>
  32. </clusternodes>
  33. <cman>
  34. <multicast addr="239.199.10.1"/>
  35. </cman>
  36. <rm>
  37. <failoverdomains>
  38. <failoverdomain name="itc" restricted="1">
  39. <failoverdomainnode name="itc-srv1.jhuapl.edu"/>
  40. <failoverdomainnode name="itc-srv2.jhuapl.edu"/>
  41. <failoverdomainnode name="itc-srv4.jhuapl.edu"/>
  42. </failoverdomain>
  43. <failoverdomain name="virtual" ordered="1" restricted="1">
  44. <failoverdomainnode name="itc-srv1.jhuapl.edu" priority="1"/>
  45. <failoverdomainnode name="itc-srv2.jhuapl.edu" priority="2"/>
  46. </failoverdomain>
  47. <failoverdomain name="physical" ordered="1" restricted="1">
  48. <failoverdomainnode name="itc-srv3.jhuapl.edu" priority="1"/>
  49. <failoverdomainnode name="itc-srv4.jhuapl.edu" priority="2"/>
  50. </failoverdomain>
  51. <failoverdomain name="b1" ordered="1" restricted="1">
  52. <failoverdomainnode name="itc-srv1.jhuapl.edu" priority="2"/>
  53. <failoverdomainnode name="itc-srv3.jhuapl.edu" priority="1"/>
  54. </failoverdomain>
  55. <failoverdomain name="b17" ordered="1" restricted="1">
  56. <failoverdomainnode name="itc-srv2.jhuapl.edu" priority="2"/>
  57. <failoverdomainnode name="itc-srv4.jhuapl.edu" priority="1"/>
  58. </failoverdomain>
  59. </failoverdomains>
  60. <resources>
  61. <ip address="10.70.100.100/24" sleeptime="2"/>
  62. <script file="/etc/init.d/sshd" name="itc_ssh"/>
  63. <script file="/etc/cluster/init/itc_services.init" name="itc_services.init"/>
  64. <clusterfs device="/dev/vg_itc-stor1/lv_html" fsid="3992" fstype="gfs2" mountpoint="/itc/html" name="gfs_html"/>
  65. <clusterfs device="/dev/vg_itc-stor1/lv_db" fsid="54404" fstype="gfs2" mountpoint="/itc/db" name="gfs_db"/>
  66. <clusterfs device="/dev/vg_itc-stor1/lv_data" fsid="1054" fstype="gfs2" mountpoint="/itc/data" name="gfs_data"/>
  67. <script file="/etc/init.d/xinetd" name="itc_xinetd"/>
  68. <apache config_file="/itc/db/config/httpd.conf" name="itc_apache" server_root="/etc/httpd" shutdown_wait="3"/>
  69. <script file="/etc/init.d/rsyslog" name="itc_rsyslog"/>
  70. <script file="/etc/init.d/netman-monitor" name="netman-monitor"/>
  71. <samba config_file="/itc/db/samba/smb.conf" name="itc_smb" shutdown_wait="5" smbd_options="-D"/>
  72. <script file="/etc/init.d/elasticsearch" name="itc-elasticsearch"/>
  73. <script file="/etc/init.d/vsftpd" name="itc-ftp"/>
  74. <script file="/etc/init.d/netman-model" name="netman-model"/>
  75. <script file="/etc/init.d/dns-monitor" name="dns-monitor"/>
  76. <mysql config_file="/itc/db/config/my.cnf" name="itc_mysql" shutdown_wait="10" startup_wait="10"/>
  77. </resources>
  78. <service domain="itc" name="itc_services" recovery="relocate">
  79. <ip ref="10.70.100.100/24"/>
  80. <apache ref="itc_apache"/>
  81. <mysql ref="itc_mysql"/>
  82. <script ref="itc_ssh"/>
  83. <script ref="itc_rsyslog"/>
  84. <clusterfs ref="gfs_html"/>
  85. <clusterfs ref="gfs_data"/>
  86. <clusterfs ref="gfs_db"/>
  87. <script ref="itc_xinetd"/>
  88. <script __failure_expire_time="8" __independent_subtree="2" __max_failures="3" __max_restarts="3" __restart_expire_time="8" ref="netman-monitor"/>
  89. <samba __failure_expire_time="5" __independent_subtree="2" __max_failures="3" __max_restarts="3" __restart_expire_time="5" ref="itc_smb"/>
  90. <script __failure_expire_time="5" __independent_subtree="2" __max_failures="3" __max_restarts="3" __restart_expire_time="5" ref="itc-elasticsearch"/>
  91. <script __failure_expire_time="5" __independent_subtree="2" __max_failures="3" __max_restarts="3" __restart_expire_time="5" ref="itc-ftp"/>
  92. <script __failure_expire_time="8" __independent_subtree="2" __max_failures="3" __max_restarts="3" __restart_expire_time="8" ref="dns-monitor"/>
  93. </service>
  94. </rm>
  95. <fencedevices>
  96. <fencedevice agent="fence_vmware_soap" ipaddr="itc-esxi1.jhuapl.edu" login="********" name="itc-srv1_fence" passwd="********"/>
  97. <fencedevice agent="fence_vmware_soap" ipaddr="itc-esxi2.jhuapl.edu" login="********" name="itc-srv2_fence" passwd="********"/>
  98. <fencedevice agent="fence_ipmilan" auth="password" ipaddr="itc-srv3-ipmi.jhuapl.edu" lanplus="on" login="********" name="itc-srv3_fence" passwd="********" privlvl="OPERATOR"/>
  99. <fencedevice agent="fence_ipmilan" auth="password" ipaddr="itc-srv4-ipmi.jhuapl.edu" lanplus="on" login="********" name="itc-srv4_fence" passwd=“********" privlvl="OPERATOR"/>
  100. </fencedevices>
  101. <dlm log_debug="1"/>
  102. <logging to_syslog="no">
  103. <logging_daemon logfile="/var/log/cluster/rgmanager.log" name="rgmanager" to_syslog="no"/>
  104. <logging_daemon name="qdiskd" to_syslog="no"/>
  105. <logging_daemon logfile="/var/log/cluster/corosync.log" name="corosync" to_syslog="no"/>
  106. <logging_daemon name="fenced" to_syslog="no"/>
  107. <logging_daemon name="groupd" to_syslog="no"/>
  108. <logging_daemon name="dlm_controld" to_syslog="no"/>
  109. <logging_daemon name="gfs_controld" to_syslog="no"/>
  110. <logging_daemon name="corosync" subsys="CLM" to_syslog="no"/>
  111. <logging_daemon name="corosync" subsys="CPG" to_syslog="no"/>
  112. <logging_daemon name="corosync" subsys="MAIN" to_syslog="no"/>
  113. <logging_daemon name="corosync" subsys="SERV" to_syslog="no"/>
  114. <logging_daemon name="corosync" subsys="CMAN" syslog_priority="debug" to_logfile="no"/>
  115. <logging_daemon name="corosync" subsys="TOTEM" to_syslog="no"/>
  116. <logging_daemon name="corosync" subsys="QUORUM" to_syslog="no"/>
  117. <logging_daemon name="corosync" subsys="CONFDB" to_syslog="no"/>
  118. <logging_daemon name="corosync" subsys="CKPT" to_syslog="no"/>
  119. <logging_daemon name="corosync" subsys="EVT" to_syslog="no"/>
  120. </logging>
  121. <fence_daemon post_fail_delay="4"/>
  122. </cluster>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement