source: lvs/doc/install-howto @ 563

Last change on this file since 563 was 563, checked in by quentin, 16 years ago
Basic instructions to install an LVS cluster node
File size: 1.6 KB
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- Edit lvs/config/etc/ha.d/ in SVN to add "node foo", where foo is the new machine's hostname as reported by uname -n
6- Synchronize /etc out of SVN by running
7cd /; svn co
8and moving files/directories out of the way as it checks out.
9- aptitude update; aptitude install heartbeat ldirectord; # should install version >= 2.1.2
10- aptitude install munin-node
11- Copy /etc/ha.d/authkeys from an existing LVS node
12- svn up on each existing LVS node and then run /etc/init.d/heartbeat reload
13- Run /etc/init.d/heartbeat start on the new node
14- No services will be allocated to this node. To allocate scripts_LVS to it, run
15cibadmin -M -X '
16       <rsc_location id="rsc_location_scripts_LVS_all" rsc="scripts_LVS">
17         <rule id="prefered_rsc_location_scripts_LVS_all" score="-INFINITY" boolean_op="and">
18           <expression attribute="#uname" id="733286ca-cde9-4941-bab0-59af8bd6b55a" operation="ne" value="rack-forward"/>
19           <expression attribute="#uname" id="55373ba0-9e5e-43de-adf6-ac77bfe5bac6" operation="ne" value="not-backward"/>
20           <expression attribute="#uname" id="UNIQUE_ID" operation="ne" value="new-node"/>
21         </rule>
22       </rsc_location>
24- TO REENABLE HEARTBEAT, run crm_attribute -n is_managed_default -v true
25- Watch /var/log/messages and /var/log/syslog to make sure heartbeat is working
Note: See TracBrowser for help on using the repository browser.