Révision 50 trunk/shell/templates/etc/xen/compute-node.cfg

compute-node.cfg (revision 50)
1 1
#
2
# Template file for the Xen instance compute-node.
2
# Template file for the Xen compute node model, created
3
# by xen-tools 4.2 on Mon Feb 28 17:41:00 2011.
3 4
#
4 5

  
5 6
#
......
8 9
kernel      = '__COMPUTE_NODE_KERNEL__'
9 10
ramdisk     = '__COMPUTE_NODE_RAMDISK__'
10 11

  
12
vcpus       = '__COMPUTE_NODE_VCPUS_NUM__'
13
cpus        = '__COMPUTE_NODE_CPUS__'
11 14
memory      = '__COMPUTE_NODE_MEMORY__'
12 15

  
13
# (V)CPU management
14

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

  
18 16
#
19
#  Disk device(s).
17
#  Disk device(s) and swap.
20 18
#
21
root        = '/dev/xvda2 ro'
19
# Root device.
20
__XEN_SYSTEM_DISK_ROOT_DEVICE_STANZA__
21
# Disks.
22 22
disk        = [
23
                  'phy:__COMPUTE_NODE_SYSTEM_DISK__,xvda2,w',
24
                  'phy:__COMPUTE_NODE_SWAP_DISK__,xvda1,w',
23
                  __COMPUTE_NODE_SYSTEM_DISK_STANZA__,
24
                  __COMPUTE_NODE_SWAP_DISK_STANZA__
25 25
              ]
26 26

  
27

  
27
__COMPUTE_NODE_NOSWAP__
28 28
#
29 29
#  Physical volumes
30 30
#
......
38 38
#
39 39
#  Networking
40 40
#
41
vif         = [ 'ip=__COMPUTE_NODE_IP__,mac=__COMPUTE_NODE_MAC__,bridge=__COMPUTE_NODE_BRIDGE__', ]
41
__XEN_DHCP_STANZA__
42 42

  
43
__VIF_STANZA__
43 44
#
44 45
#  Behaviour
45 46
#
......
47 48
on_reboot   = 'restart'
48 49
on_crash    = 'restart'
49 50

  
51
__EXTRA_STANZA__
50 52

  
51

  

Formats disponibles : Unified diff