From: Aneesh K. K.V <ane...@hp...> - 2004-09-16 03:54:48
|
Brian J. Watson wrote: > Update of /cvsroot/ci-linux/ci > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27803 > > Added Files: > INSTALL > Log Message: > Make CI instructions generic for all distros > > > --- NEW FILE: INSTALL --- > Installing Cluster Infrastructure ("CI") > > These instructions describe how to install a CI cluster with > minimal hardware requirements. All you need is two or more > computers, connected with a private ethernet network. This > network is called the "interconnect", and should be private for > security and performance reasons. Each individual computer in > the cluster is called a "node". > > CI contains a subset of the functionality of OpenSSI > (http://OpenSSI.org). It provides an in-kernel CLuster Membership > Service ("CLMS") and Internode Communication Subsystem ("ICS"). > > CLMS keeps track of nodes joining and leaving the cluster and > guarantees an identical view of cluster membership on every node. > An included library, libcluster, allows access to CLMS information > from user-mode. Various man pages document the libcluster API. > There are also several programs that provide command-line access > to the libcluster API. > > CLMS depends on ICS, which is a protocol for passing Remote > Procedure Calls ("RPCs") between nodes, using node numbers as > addresses. ICS stacks on top of TCP, and is architected so that it > can be ported on top of other reliable transport protocols. There > is currently no API for using ICS from user-mode, although > docs/enhancing.txt discusses how to use both ICS and CLMS from > kernel-mode. > > These instructions assume you are doing a fresh install of > CI. They must be followed for each node you wish to add to > the cluster. > > 1. Install your Linux distribution. > > 2. When configuring your firewall, do one of the following: > > (a) designate as "trusted" the interface for the cluster interconnect > > (b) open the port for tftp-server (port 69) > > (c) disable the firewall > > 3. Extract the CI tarball and run the ./install script. It will > install the necessary packages, and prompt you to reboot. > Select the CI kernel during boot. > > 4. Create a /etc/cluster.conf file. This will contain the boot > parameters used by cluster_config to add the node to the cluster. > Each boot parameter should be on a line of its own. > > IFCONFIG=eth<x>:<ipaddr>:<netmask> > CLUSTER_MASTER=<y>:<clms_ipaddr1>[,<z>:<clms_ipaddr2>] > CLUSTER_NODENUM=<a> > [ICS_ROUTE="default"|<host ipaddr>:<gateway ipaddr>:<metric>] > > It should be INTERFACES=eth0 and i guess we dropped ICS_ROUTE . We are now configuring everying using ifconfig from user space IIUC. -aneesh |