Statistiques
| Révision :

root / trunk / shell / templates / etc / xen / compute-node.cfg @ 23

Historique | Voir | Annoter | Télécharger (812 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      = '__COMPUTE_NODE_KERNEL__'
9 3 storres
ramdisk     = '__COMPUTE_NODE_RAMDISK__'
10 3 storres
11 3 storres
memory      = '__COMPUTE_NODE_MEMORY__'
12 3 storres
13 3 storres
# (V)CPU management
14 3 storres
15 3 storres
vcpus       = '__COMPUTE_NODE_VCPUS__'
16 3 storres
cpus        = '__COMPUTE_NODE_CPUS__'
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:__COMPUTE_NODE_SYSTEM_DISK__,xvda2,w',
24 3 storres
                  'phy:__COMPUTE_NODE_SWAP_DISK__,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_HOST_NAME__'
37 3 storres
38 3 storres
#
39 3 storres
#  Networking
40 3 storres
#
41 3 storres
vif         = [ 'ip=__COMPUTE_NODE_IP__,mac=__COMPUTE_NODE_MAC__,bridge=__COMPUTE_NODE_BRIDGE__', ]
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