root / trunk / shell / compute-node-003.cfg @ 57
Historique | Voir | Annoter | Télécharger (757 octet)
1 | 3 | storres | # |
---|---|---|---|
2 | 3 | storres | # Template file for the Xen instance compute-node. |
3 | 3 | storres | # |
4 | 3 | storres | |
5 | 3 | storres | # |
6 | 3 | storres | # Kernel + memory size |
7 | 3 | storres | # |
8 | 3 | storres | kernel = '/boot/vmlinuz-2.6.32-5-xen-amd64' |
9 | 3 | storres | ramdisk = '/boot/initrd.img-2.6.32-5-xen-amd64' |
10 | 3 | storres | |
11 | 3 | storres | memory = '3072' |
12 | 3 | storres | |
13 | 3 | storres | # (V)CPU management |
14 | 3 | storres | |
15 | 3 | storres | vcpus = '2' |
16 | 3 | storres | cpus = '7,15' |
17 | 3 | storres | |
18 | 3 | storres | # |
19 | 3 | storres | # Disk device(s). |
20 | 3 | storres | # |
21 | 3 | storres | root = '/dev/xvda2 ro' |
22 | 3 | storres | disk = [ |
23 | 3 | storres | 'phy:/dev/vg_guests/compute-node-003-disk,xvda2,w', |
24 | 3 | storres | 'phy:/dev/vg_guests/compute-node-003-swap,xvda1,w', |
25 | 3 | storres | ] |
26 | 3 | storres | |
27 | 3 | storres | |
28 | 3 | storres | # |
29 | 3 | storres | # Physical volumes |
30 | 3 | storres | # |
31 | 3 | storres | |
32 | 3 | storres | |
33 | 3 | storres | # |
34 | 3 | storres | # Hostname |
35 | 3 | storres | # |
36 | 3 | storres | name = 'compute-node-003' |
37 | 3 | storres | |
38 | 3 | storres | # |
39 | 3 | storres | # Networking |
40 | 3 | storres | # |
41 | 3 | storres | vif = [ 'ip=192.168.1.3,mac=00:16:3E:0F:6A:03,bridge=internal', ] |
42 | 3 | storres | |
43 | 3 | storres | # |
44 | 3 | storres | # Behaviour |
45 | 3 | storres | # |
46 | 3 | storres | on_poweroff = 'destroy' |
47 | 3 | storres | on_reboot = 'restart' |
48 | 3 | storres | on_crash = 'restart' |
49 | 3 | storres | |
50 | 3 | storres |