summaryrefslogtreecommitdiffstats
path: root/config.sample
blob: f7793e1ffb8dcdcf9b8fa8871f8aae7ecadec973 (plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# this is a sample autocluster config file
# you should create your own config file like this:
#
#      . config.sample
#      NAME=myname
#      VIRTBASE=/virtual
# 
# Look through config.sample and see what variables you want to override

# where virtual machines are stored on this host
VIRTBASE=/virtual

# the name of the base RHEL install image that the nodes will be based on
# a kvm image called $VIRTBASE/$BASENAME.img will be created
# that will form the basis file for the images for each of the nodes
BASENAME="SoFS-1.5-base"

# what timezone to put the nodes in
TIMEZONE="Australia/Canberra"

# what keyboard type to setup
KEYBOARD="us"

# the base ISO to install from
ISO="/virtual/ISO/RHEL5.2-Server-20080430.0-x86_64-DVD.iso"

# the yum repositories to use
YUM_REPOS='
[SoFS-1.5]
name=SoFS-1.5
baseurl=http://9.155.61.11/mediasets/SoFS-1.5
enabled=1
gpgcheck=0

[SoFS-Stable]
name=SOFS-Stable
baseurl=http://9.155.61.11/mediasets/SOFS-Stable
enabled=1
gpgcheck=0

[SOFS]
name=Scale Out File Services Repo with GPFS, CTDB and Samba Packages
baseurl=http://9.155.61.11/mediasets/SOFS
enabled=1
gpgcheck=0

[RHEL5.2]
name=Red Hat Enterprise Linux 5.2
baseurl=http://9.155.61.11/mediasets/RHEL5.2/x86_64/
enabled=1
gpgcheck=0

[SoFS-additional]
name=SOFS-additional
baseurl=http://9.155.61.11/mediasets/SOFS-additional
enabled=1
gpgcheck=0

[SoFS-daily]
name=SoFS-daily
baseurl=http://9.155.61.11/mediasets/SoFS-daily
enabled=1
gpgcheck=0
'

# any extra packages to install. List one on each line. To force a package
# not to be installed, list it with a leading - 
EXTRA_PACKAGES='
emacs
'


# RHEL install key
INSTALLKEY="2515-dd4e-2152-25dd"

# the kvm binary to use - should be a very recent version
# I am using a git snapshot from http://kvm.qumranet.com/kvmwiki/Code
KVM="/usr/local/bin/qemu-system-x86_64"

# memory for each node
MEM=250000

# memory for the node that will run the SoFS GUI
GUIMEM=700000

# a directory on the host which will be mounted via NFS onto the 
# nodes, as /root/SOFS giving a nice common area independent of GPFS
# This is useful for compiles, RPMs, devel scripts etc
# you need to add this to your /etc/exports and run exportfs -av yourself
# on the host
NFSSHARE="10.0.0.1:/home/SOFS"

# windows domain name the nodes will be part of
DOMAIN="VSOFS1.COM"

# DNS name server. Usually set this to the
# kvm host, then setup DNS on the kvm host to direct 
# queries for the windows domain name to the w2003 server
NAMESERVER="10.0.0.1"

# any extra domains to add to the search list
DNSSEARCH="$DOMAIN mainz.de.ibm.com ozlabs.au.ibm.com"

# set the first two octets of the IPs we will use
# the 3rd and 4th octets are controlled by the node setup scripts
IPBASE="10.0"

# the nodes will get IPs starting at this number 
# the TSM server will get $FIRSTIP, then the first node will get
# the next IP etc
# so if IPBASE is 10.0 and FIRSTIP is 20 then
# you will get nodes like this:
#     tsmserver   10.0.0.20
#     1st node    10.0.0.21
#     2nd node    10.0.0.22
# etc etc
FIRSTIP="20"

# a caching web proxy that can get to the fscc-install.mainz.de.ibm.com server
# from the nodes. If you don't have one on the local network then look in
# host_setup/etc/squid for an example setup you can install on the kvm host
# the web proxy must cache large objects, and have room for several G of cache
WEBPROXY="http://10.0.0.1:3128/"

# IP gateway (the IP of the kvm host for the clients)
GATEWAY="10.0.0.1"

# how many nodes to build
# this doesn't include the TSM server
NUMNODES=4

# how much disk space to use on each node
# note that it will only use what is actually occupied,
# so start this larger than you think you'll need
DISKSIZE="20G"

# size of root partition in megabytes
ROOTSIZE=15000

# size of swap partition in megabytes
SWAPSIZE=2000

# the size of the 3 GPFS shared disks
SHAREDDISKSIZE="10G"

# the size of the TSM storage disk
TSMDISKSIZE="50G"

# what network adapter to use
NICMODEL="e1000"

# where we will log serial consoles to
KVMLOG="/var/log/kvm"

# initial root password
ROOTPASSWORD="test01"

# install language - make it the same as the installers by default
LANGUAGE="$LANG"

# name of the system in CIFS protocol
CIFSNAME="Samba01"

# the name that the nodes will use to talk to the TSM server
TSMNAME="SOFS01"

# how big should the TSM database be
TSM_DB_SIZE=100

# how big should the TSM space management pool be
TSM_SPACE_MGMT_SIZE=1024

# how big should the TSM backup pool be
TSM_BACKUP_POOL_SIZE=100

# how big should the TSM archive pool be
TSM_ACRHIVE_POOL_SIZE=100