1 | - TO TEMPORARILY DISABLE HEARTBEAT: on an existing node, run |
---|
2 | crm_attribute -n is_managed_default -v false |
---|
3 | - confirm that the change occurred with crm_attribute -n is_managed_default -G |
---|
4 | - Install Debian 4.0 from a minimal Debian install CD |
---|
5 | - aptitude install openssh-server krb5-user krb5-clients |
---|
6 | - dpkg-reconfigure krb5-config |
---|
7 | - Set GSSAPIAuthentication yes in /etc/ssh/sshd_config |
---|
8 | - Add keytab and .k5login |
---|
9 | - Edit lvs/debian/config/etc/ha.d/ha.cf in SVN to add "node foo", where foo is the new machine's hostname as reported by uname -n |
---|
10 | - Synchronize /etc out of SVN by running |
---|
11 | svn co https://scripts.mit.edu:1111/lvs/config/etc /etc |
---|
12 | and moving files/directories out of the way as it checks out. |
---|
13 | - aptitude update; aptitude install heartbeat ldirectord; # should install version >= 2.1.2 |
---|
14 | - aptitude install munin-node |
---|
15 | - Copy /etc/ha.d/authkeys from an existing LVS node |
---|
16 | - svn up on each existing LVS node and then run /etc/init.d/heartbeat reload |
---|
17 | - Run /etc/init.d/heartbeat start on the new node |
---|
18 | - No services will be allocated to this node. To allocate scripts_LVS to it, run |
---|
19 | cibadmin -M -X ' |
---|
20 | <rsc_location id="rsc_location_scripts_LVS_all" rsc="scripts_LVS"> |
---|
21 | <rule id="prefered_rsc_location_scripts_LVS_all" score="-INFINITY" boolean_op="and"> |
---|
22 | <expression attribute="#uname" id="733286ca-cde9-4941-bab0-59af8bd6b55a" operation="ne" value="rack-forward"/> |
---|
23 | <expression attribute="#uname" id="55373ba0-9e5e-43de-adf6-ac77bfe5bac6" operation="ne" value="not-backward"/> |
---|
24 | <expression attribute="#uname" id="UNIQUE_ID" operation="ne" value="new-node"/> |
---|
25 | </rule> |
---|
26 | </rsc_location> |
---|
27 | ' |
---|
28 | - TO REENABLE HEARTBEAT, run crm_attribute -n is_managed_default -v true |
---|
29 | - Watch /var/log/messages and /var/log/syslog to make sure heartbeat is working |
---|
30 | - Add machine to noc/munin/munin.conf (hodge-podge:/etc/munin/munin.conf) |
---|