root / trunk / shell / c-i-a-b.common @ 22
Historique | Voir | Annoter | Télécharger (3,35 ko)
1 | 17 | storres | # ST - 2012-03-09 |
---|---|---|---|
2 | 16 | storres | # Constants that no one should not change. |
3 | 18 | storres | CONST_NULL_DISK_SIZE=0G # For several configuration files. |
4 | 21 | storres | CONST_NO_DHCP="NO_DHCP" |
5 | 3 | storres | # |
6 | 18 | storres | # Constant that may change with another Xen version. |
7 | 22 | storres | CONST_XEN_DHCP_STANZA="dhcp= ='dhcp'" |
8 | 21 | storres | CONST_XEN_DOM0_CPUS_ALL="(dom0-cpus 0)" |
9 | 21 | storres | CONST_XEN_DOM0_NAME=Domain-0 |
10 | 21 | storres | CONST_XEN_NOSWAP="noswap = 1" # For /etc/xen-tools/xen-tools.conf. |
11 | 21 | storres | CONST_XEN_NETWORK_SCRIPT_KEYWORD=network-script # For /etc/xen/xend-config.sxp. |
12 | 18 | storres | # |
13 | 16 | storres | # Common user defined configuration variables |
14 | 16 | storres | # |
15 | 18 | storres | CLUSTER_ARCH=amd64 |
16 | 21 | storres | CLUSTER_BRIDGE_NAME=internal |
17 | 18 | storres | CLUSTER_BRIDGE_SCRIPT=network-bridge-internal |
18 | 22 | storres | CLUSTER_BRIDGE_STANZA="($CONST_NETWORK_SCRIPT_KEYWORD $CLUSTER_BRIDGE_SCRIPT)" |
19 | 22 | storres | CLUSTER_EXTERNAL_ADDRESSES_BY_DHCP=1 |
20 | 18 | storres | CLUSTER_IMAGE=full |
21 | 3 | storres | CLUSTER_DOMAIN_NAME=ciab.lip.ens-lyon.fr |
22 | 21 | storres | CLUSTER_NOSWAP="$CONST_XEN_NOSWAP" |
23 | 3 | storres | CLUSTER_STATIC_NETWORK_PREFIX="192.168.1" |
24 | 18 | storres | CLUSTER_SWAP_SIZE=$CONST_NULL_DISK_SIZE |
25 | 21 | storres | COMPUTE_NODE_BRIDGE=$CLUSTER_BRIDGE_NAME |
26 | 3 | storres | COMPUTE_NODE_CPUS_FILE=compute-nodes-cpus |
27 | 3 | storres | COMPUTE_NODE_DISK_MOUNT_POINT=/mnt/compute-node-system-disk |
28 | 16 | storres | COMPUTE_NODE_INTERFACES_TEMPLATE=interfaces.compute-node |
29 | 3 | storres | COMPUTE_NODE_KERNEL=/boot/vmlinuz-`uname -r` |
30 | 3 | storres | COMPUTE_NODE_RAMDISK=/boot/initrd.img-`uname -r` |
31 | 3 | storres | COMPUTE_NODE_MAC_ADDRESS_PREFIX="00:16:3E:0F:6A" |
32 | 3 | storres | COMPUTE_NODE_MAX_NUM=250 |
33 | 3 | storres | COMPUTE_NODE_MEMORY=3072 |
34 | 21 | storres | COMPUTE_NODE_MODEL_EXTERNAL_MAC_ADDRESS="00:16:3E:33:A6:01" |
35 | 3 | storres | COMPUTE_NODE_MODEL_STATIC_NETWORK_POSTFIX=252 |
36 | 21 | storres | COMPUTE_NODE_MODEL_STATIC_IP_EXTERNAL= |
37 | 3 | storres | COMPUTE_NODE_MODEL_NAME="compute-node-model" |
38 | 3 | storres | COMPUTE_NODE_NAME_PREFIX="compute-node-" |
39 | 3 | storres | COMPUTE_NODE_STATIC_NETWORK_PREFIX=$CLUSTER_STATIC_NETWORK_PREFIX |
40 | 3 | storres | DHCP_HOSTSFILE_BASENAME=dhcp-hostsfile |
41 | 18 | storres | DOM0_CPUS_LIST="0 4" |
42 | 18 | storres | DOM0_CPUS_NUM=2 |
43 | 18 | storres | DOM0_CPUS_CLAUSE="(dom0-cpus $DOM0_CPUS_NUM)" |
44 | 21 | storres | FRONT_END_CPUS_LIST="8 12 16" |
45 | 21 | storres | FRONT_END_EXTERNAL_MAC_ADDRESS="00:16:3E:33:A6:02" |
46 | 20 | storres | FRONT_END_MEMORY=8G |
47 | 16 | storres | FRONT_END_HOME_DISK_SIZE=512G |
48 | 17 | storres | FRONT_END_HOME_VOLUME_GROUP=vg_slow |
49 | 17 | storres | FRONT_END_HOME_VOLUME_GROUP_DEVICE="/dev/$FRONT_END_HOME_VOLUME_GROUP" |
50 | 22 | storres | FRONT_END_HOST_NAME="front-end" |
51 | 21 | storres | FRONT_END_INTERFACES_TEMPLATE=interfaces.front-end |
52 | 21 | storres | FRONT_END_KERNEL=/boot/vmlinuz-`uname -r` |
53 | 21 | storres | FRONT_END_RAMDISK=/boot/initrd.img-`uname -r` |
54 | 3 | storres | FRONT_END_STATIC_NETWORK_POSTFIX=251 |
55 | 21 | storres | FRONT_END_STATIC_IP_CLUSTER="$CLUSTER_STATIC_NETWORK_PREFIX.$FRONT_END_STATIC_NETWORK_POSTFIX" |
56 | 21 | storres | FRONT_END_STATIC_IP_EXTERNAL="$CLUSTER_STATIC_NETWORK_PREFIX.$FRONT_END_STATIC_NETWORK_POSTFIX" |
57 | 16 | storres | FRONT_END_SWAP_DISK="frontend-swap" |
58 | 17 | storres | #FRONT_END_SWAP_DISK_SIZE=$CONST_NULL_DISK_SIZE # 0G means no swap disk. |
59 | 17 | storres | FRONT_END_SWAP_DISK_SIZE=1G # 0G means no swap disk. |
60 | 21 | storres | FRONT_END_SWAP_VOLUME_GROUP=vg_fast |
61 | 21 | storres | FRONT_END_SWAP_VOLUME_GROUP_DEVICE="/dev/$FRONT_END_SWAP_VOLUME_GROUP" |
62 | 16 | storres | FRONT_END_SYSTEM_DISK="frontend-system-disk" |
63 | 16 | storres | FRONT_END_SYSTEM_DISK_SIZE=46G |
64 | 16 | storres | FRONT_END_SYSTEM_DISK_FILE_SYSTEM=ext3 |
65 | 16 | storres | FRONT_END_SYSTEM_DISK_MOUNT_POINT=/mnt/frontend-system-disk |
66 | 17 | storres | FRONT_END_SYSTEM_VOLUME_GROUP=vg_fast |
67 | 17 | storres | FRONT_END_SYSTEM_VOLUME_GROUP_DEVICE="/dev/$FRONT_END_SYSTEM_VOLUME_GROUP" |
68 | 21 | storres | FRONT_END_VCPUS_NUM=3 |
69 | 3 | storres | HOSTS_FILE_BASENAME=hosts |
70 | 16 | storres | SWAP_DISK_LOGICAL_VOLUME=/dev/vg_fast |
71 | 3 | storres | SWAP_DISK_POSTFIX="-swap" |
72 | 3 | storres | SWAP_DISK_PREFIX="compute-node-" |
73 | 3 | storres | SWAP_DISK_SIZE=1G |
74 | 3 | storres | SYSTEM_DISK_CLONE_POSTFIX="-disk" |
75 | 3 | storres | SYSTEM_DISK_CLONE_PREFIX=$COMPUTE_NODE_NAME_PREFIX |
76 | 3 | storres | SYSTEM_DISK_CLONE_SIZE=20G # Half of the master size. |
77 | 3 | storres | SYSTEM_DISK_FILE_SYSTEM=ext3 |
78 | 16 | storres | SYSTEM_DISK_LOGICAL_VOLUME=/dev/vg_slow |
79 | 3 | storres | SYSTEM_DISK_MASTER=$SYSTEM_DISK_LOGICAL_VOLUME/compute-node-model-disk |
80 | 3 | storres | TEMPLATES_DIR=templates |
81 | 3 | storres | USERS_HOME_DISK="users-home-disk" |
82 | 3 | storres | USERS_HOME_DISK_SIZE=40G |