-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
70 lines (54 loc) · 2.77 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
----------------------------------------------------------------------
Recluse - REdhat(ish) CLUster SEtup
Copyright (C) 2004-2008 Brett Pemberton ([email protected])
----------------------------------------------------------------------
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
----------------------------------------------------------------------
Install Instructions:
1) Install CentOS on management node
2) Check out recluse to /usr/local/recluse
svn co https://svn.vpac.org/recluse/trunk /usr/local/recluse
3) Check out kernel svn to /usr/local/recluse/centos/5/kernel
svn co https://svn.vpac.org/recluse-kernel-supermicro/trunk /usr/local/recluse/centos/5/kernel
or
svn co https://svn.vpac.org/recluse-kernel-generic/trunk /usr/local/recluse/centos/5/kernel
4) Create a config from config.example
5) Sync CentOS tree
bash /usr/local/recluse/rsync_updates.sh
6) Set this up for nightly syncs
ln -s /usr/local/recluse/rsync_updates.sh /etc/cron.daily/rsync_updates.sh
7) Check setup:
bash /usr/local/recluse/scripts/sbin/check_mgt_node_status
ERROR: xxx is installed
SOLUTION: Install RPMS the script says are missing, using yum
ERROR: xxx is not running
SOLUTION: /etc/init.d/xxx start; chkconfig --level 3 xxx on
ERROR: /usr/local is not exported
SOLUTION: create an /etc/exports entry for /usr/local
ERROR: tftpd is not enabled
SOLUTION: enable tftpd in /etc/xinetd.d/tftp
ERROR: tftpboot link not set up
SOLUTION: rm -rf /tftpboot; ln -s /usr/local/recluse/tftpboot /tftpboot
ERROR: centos www link not set up
SOLUTION: ln -s /usr/local/recluse/centos /var/www/html/centos
ERROR: ipmi password file not set up
SOLUTION: add IPMI admin user password to /etc/ipmi_pass
----------------------------------------------------------------------
Automatic target types:
Nodes can be defined with their target install types in '/usr/local/recluse/nodestatus/node_targets'
This should be of the form
nodename1 target_type
nodename2 target_type
nodename3 alternate_target
Nodes documented in this way can be installed via 'installnode' without specifying their target type
Nodes installed with 'installnode' will have their last install type documented in this file automatically