Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (812 octet)

1
#
2
# Template file for the Xen instance compute-node.
3
#
4

    
5
#
6
#  Kernel + memory size
7
#
8
kernel      = '__COMPUTE_NODE_KERNEL__'
9
ramdisk     = '__COMPUTE_NODE_RAMDISK__'
10

    
11
memory      = '__COMPUTE_NODE_MEMORY__'
12

    
13
# (V)CPU management
14

    
15
vcpus       = '__COMPUTE_NODE_VCPUS__'
16
cpus        = '__COMPUTE_NODE_CPUS__'
17

    
18
#
19
#  Disk device(s).
20
#
21
root        = '/dev/xvda2 ro'
22
disk        = [
23
                  'phy:__COMPUTE_NODE_SYSTEM_DISK__,xvda2,w',
24
                  'phy:__COMPUTE_NODE_SWAP_DISK__,xvda1,w',
25
              ]
26

    
27

    
28
#
29
#  Physical volumes
30
#
31

    
32

    
33
#
34
#  Hostname
35
#
36
name        = '__COMPUTE_NODE_HOST_NAME__'
37

    
38
#
39
#  Networking
40
#
41
vif         = [ 'ip=__COMPUTE_NODE_IP__,mac=__COMPUTE_NODE_MAC__,bridge=__COMPUTE_NODE_BRIDGE__', ]
42

    
43
#
44
#  Behaviour
45
#
46
on_poweroff = 'destroy'
47
on_reboot   = 'restart'
48
on_crash    = 'restart'
49

    
50

    
51