root / trunk / shell / templates / etc / xen / front-end.cfg @ 17
Historique | Voir | Annoter | Télécharger (812 octet)
1 | 17 | storres | # |
---|---|---|---|
2 | 17 | storres | # Template file for the Xen instance compute-node. |
3 | 17 | storres | # |
4 | 17 | storres | |
5 | 17 | storres | # |
6 | 17 | storres | # Kernel + memory size |
7 | 17 | storres | # |
8 | 17 | storres | kernel = '__COMPUTE_NODE_KERNEL__' |
9 | 17 | storres | ramdisk = '__COMPUTE_NODE_RAMDISK__' |
10 | 17 | storres | |
11 | 17 | storres | memory = '__COMPUTE_NODE_MEMORY__' |
12 | 17 | storres | |
13 | 17 | storres | # (V)CPU management |
14 | 17 | storres | |
15 | 17 | storres | vcpus = '__COMPUTE_NODE_VCPUS__' |
16 | 17 | storres | cpus = '__COMPUTE_NODE_CPUS__' |
17 | 17 | storres | |
18 | 17 | storres | # |
19 | 17 | storres | # Disk device(s). |
20 | 17 | storres | # |
21 | 17 | storres | root = '/dev/xvda2 ro' |
22 | 17 | storres | disk = [ |
23 | 17 | storres | 'phy:__COMPUTE_NODE_SYSTEM_DISK__,xvda2,w', |
24 | 17 | storres | 'phy:__COMPUTE_NODE_SWAP_DISK__,xvda1,w', |
25 | 17 | storres | ] |
26 | 17 | storres | |
27 | 17 | storres | |
28 | 17 | storres | # |
29 | 17 | storres | # Physical volumes |
30 | 17 | storres | # |
31 | 17 | storres | |
32 | 17 | storres | |
33 | 17 | storres | # |
34 | 17 | storres | # Hostname |
35 | 17 | storres | # |
36 | 17 | storres | name = '__COMPUTE_NODE_HOST_NAME__' |
37 | 17 | storres | |
38 | 17 | storres | # |
39 | 17 | storres | # Networking |
40 | 17 | storres | # |
41 | 17 | storres | vif = [ 'ip=__COMPUTE_NODE_IP__,mac=__COMPUTE_NODE_MAC__,bridge=__COMPUTE_NODE_BRIDGE__', ] |
42 | 17 | storres | |
43 | 17 | storres | # |
44 | 17 | storres | # Behaviour |
45 | 17 | storres | # |
46 | 17 | storres | on_poweroff = 'destroy' |
47 | 17 | storres | on_reboot = 'restart' |
48 | 17 | storres | on_crash = 'restart' |
49 | 17 | storres | |
50 | 17 | storres |