Debian Codegraph @

debian/xen-utils-common.xendomains.default

raw
1
2 # Set this to a non-empty string if you want to migrate virtual machines
3 # on shutdown. The string will be passed to the xm migrate DOMID command
4 # as is: It should contain the target IP address of the physical machine
5 # to migrate to and optionally parameters like --live. Leave empty if
6 # you don't want to try virtual machine relocation on shutdown.
7 # If migration succeeds, neither SAVE nor SHUTDOWN will be executed for
8 # that domain.
9 #
10 XENDOMAINS_MIGRATE=""
11
12 # Directory to save running domains to when the system (dom0) is
13 # shut down. Will also be used to restore domains from if # XENDOMAINS_RESTORE
14 # is set (see below). Leave empty to disable domain saving on shutdown
15 # (e.g. because you rather shut domains down).
16 # If domain saving does succeed, SHUTDOWN will not be executed.
17 #
18 XENDOMAINS_SAVE=/var/lib/xen/save
19
20 # This variable determines whether saved domains from XENDOMAINS_SAVE
21 # will be restored on system startup.
22 #
23 XENDOMAINS_RESTORE=true
24
25 # This variable sets the directory where domains configurations
26 # are stored that should be started on system startup automatically.
27 # Leave empty if you don't want to start domains automatically
28 # (or just don't place any xen domain config files in that dir).
29 # Note that the script tries to be clever if both RESTORE and AUTO are
30 # set: It will first restore saved domains and then only start domains
31 # in AUTO which are not running yet.
32 # Note that the name matching is somewhat fuzzy.
33 #
34 XENDOMAINS_AUTO=/etc/xen/auto
35
36 # On xendomains stop, a number of xm commands (xm migrate, save, shutdown,
37 # shutdown --all) may be executed. In the worst case, these commands may
38 # stall forever, which will prevent a successful shutdown of the machine.
39 # If this variable is non-zero, the script will set up a watchdog timer
40 # for every of these xm commands and time it out after the number of seconds
41 # specified by this variable.
42 # Note that SHUTDOWN_ALL will not be called if no virtual machines or only
43 # zombies are still running, so you don't need to enable this timeout just
44 # for the zombie case.
45 # The setting should be large enough to make sure that migrate/save/shutdown
46 # can succeed. If you do live migrations, keep in mind that live migration
47 # of a 1GB machine over Gigabit ethernet may actually take something like
48 # 100s (assuming that live migration uses 10% of the network # bandwidth).
49 # Depending on the virtual machine, a shutdown may also require a significant
50 # amount of time. So better setup this variable to a huge number and hope the
51 # watchdog never fires.
52 #
53 XENDOMAINS_STOP_MAXWAIT=300
54