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