Displaying 20 results from an estimated 25 matches for "xendomains_save".
2007 Jun 29
3
[PATCH] Make xendomains ignore lost+found
...1
Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>
--- xendomains.orig 2006-06-17 14:35:48.000000000 +1000
+++ xendomains 2006-06-17 14:45:29.000000000 +1000
@@ -207,10 +207,11 @@
if [ "$XENDOMAINS_RESTORE" = "true" ] &&
contains_something "$XENDOMAINS_SAVE"
then
+ XENDOMAINS_SAVED=`/bin/ls $XENDOMAINS_SAVE/* | grep -v ''lost+found''`
mkdir -p $(dirname "$LOCKFILE")
touch $LOCKFILE
echo -n "Restoring Xen domains:"
- for dom in $XENDOMAINS_SAVE/*; do
+ for dom in $XENDOMAINS_SAVED; do
ech...
2012 Jun 24
3
Bug#678719: xen-utils-common: please label all created directories for SE Linux
...e "$XENSTORED_PIDFILE" --exec "$XENSTORED" -- \
$XENSTORED_ARGS --pid-file="$XENSTORED_PIDFILE" \
--- /etc/init.d/xendomains.orig 2012-06-24 10:29:08.000000000 +1000
+++ /etc/init.d/xendomains 2012-06-24 10:30:05.000000000 +1000
@@ -152,6 +152,7 @@
{
[ -n "$XENDOMAINS_SAVE" ] || return
[ -d "$XENDOMAINS_SAVE" ] || mkdir -m 0700 -p "$XENDOMAINS_SAVE"
+ [ -x /sbin/restorecon ] && /sbin/restorecon "$XENDOMAINS_SAVE"
while read id name rest; do
log_action_begin_msg "Saving Xen domain $name ($id)"
-- Syst...
2014 Dec 06
1
Bug#772274: xen-utils-common: when upgrading package: insserv: Service xenstored has to be enabled to start service xendomains
...215-7
ii xenstore-utils 4.4.1-5
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- Configuration Files:
/etc/default/xendomains changed:
XENDOMAINS_SYSRQ=""
XENDOMAINS_USLEEP=100000
XENDOMAINS_CREATE_USLEEP=5000000
XENDOMAINS_MIGRATE=""
XENDOMAINS_SAVE=""
XENDOMAINS_SHUTDOWN="--wait"
XENDOMAINS_SHUTDOWN_ALL="--all --wait"
XENDOMAINS_RESTORE=false
XENDOMAINS_AUTO=/etc/xen/auto
XENDOMAINS_AUTO_ONLY=true
XENDOMAINS_STOP_MAXWAIT=300
/etc/init.d/xendomains changed:
. /etc/xen/scripts/hotplugpath.sh
CMD=${SBINDIR}/xm
HEAD...
2014 Mar 23
1
Bug#742397: xen-utils-common: /etc/init.d/dom0weight is hardcoded to use xm
...;&$COPROC_OUT
exec <&$COPROC_OUT-
}
timeout_domain()
{
name="$1"
TIMEOUT="$2"
for no in $(seq 0 $TIMEOUT); do
if ! check_running "$name"; then return 0; fi
sleep 1
log_action_cont_msg
done
return 1
}
do_start_restore()
{
[ -n "$XENDOMAINS_SAVE" ] || return
[ -d "$XENDOMAINS_SAVE" ] || return
[ -n "$XENDOMAINS_RESTORE" ] || return
for file in $XENDOMAINS_SAVE/*; do
if [ -f $file ] ; then
name="${file##*/}"
log_action_begin_msg "Restoring Xen domain $name (from $file)"...
2011 Nov 08
3
ubuntu 11.10, system V runlevel compatability
...600 --word=8 --parity=no --stop=1"
GRUB_TERMINAL="console serial"
GRUB_CMDLINE_XEN="com1=9600,8n1 console=com1,vga"
GRUB_CMDLINE_LINUX="console=tty0 console=hvc0"for the new menu entries and xend-config.sxp
4) made the following changes to /etc/default/xendomains:
XENDOMAINS_SAVE=""
XENDOMAINS_RESTORE=false
5) rebooted
Then, as mentioned, the new boot sequence hangs indefinitely at "stopping system V runlevel compatibility" . Has anyone else seen this with 11.10 server (there are some results in google about this happening with previous, multi-boot and...
2009 Mar 10
0
Bug#519064: xen-utils-common: hvm migration fails because of missing /var/lib/xen/save
...ot;)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py", line 53, in read_exact
raise XendError(errmsg)
XendError: invalid device model signature read
After some debugging I found out, that /etc/default/xendomains references a not
existing directory:
srv-vm01:~# grep ^XENDOMAINS_SAVE /etc/default/xendomains
XENDOMAINS_SAVE=/var/lib/xen/save
After then I created /var/lib/xen/save on both hosts per hand, and migration worked
in both directions.
Cheers,
Andreas
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: a...
2012 May 06
1
Bug#671750: Configuration of domain save/restore broken
Package: xen-utils-common
Version: 4.1.2-5
Severity: grave
Hi,
Between 4.1.2-3 and 4.1.2-5, the sanity checks on the variables
defined in /etc/default/xendomains (XENDOMAINS_SAVE,
XENDOMAINS_RESTORE, etc.) was lost. I can't check exactly when because
there's no Vcs defined for this package.
4.1.2-3 had in /etc/init.d/xendomains for restore:
if [ "$XENDOMAINS_RESTORE" = "true" ] &&
contains_something "$XENDOMAINS_SAVE"...
2007 May 09
3
CentOS 5 Xen Files Left in /var/lib/xen ..
...n all guests are
gracefully shut down .. and additional ones get created when they are
next started.
The end result, of course, is that the root file system fills up. So ..
how can I prevent this from happening?
I've got SELinux disabled and I have Guest files in /XenGuests. I've
also set XENDOMAINS_SAVE="" in /etc/sysconfig/xendomains
Any ideas?
--
Graham Jenkins +61 3 9925 4909
Victorian Partnership for Advanced Computing http://www.vpac.org/
PO Box 201, Carlton South, Vic. 3053, Australia
2013 May 21
7
[Patch[ xl problems with xendomains
...073 +0100
@@ -28,10 +28,12 @@
### END INIT INFO
CMD=xm
++HEADCOMP="LinuxGuestRecord"
$CMD list &> /dev/null
if test $? -ne 0
then
CMD=xl
+ HEADCOMP="Xen saved domain"
fi
$CMD list &> /dev/null
@@ -255,7 +257,7 @@
for dom in $XENDOMAINS_SAVE/*; do
if [ -f $dom ] ; then
HEADER=`head -c 16 $dom | head -n 1 2> /dev/null`
- if [ $HEADER = "LinuxGuestRecord" ]; then
+ if [ "$HEADER" = "$HEADCOMP" ]; then
echo -n " ${dom#...
2009 Feb 04
6
Mixed dom0/domU usage?
Hi,
I'm wondering about the impact of using both dom0 and domU's on a server at
the same time. I'm worried about the performance impact of running a Mysql
server in a domU and now I'm thinking about moving the Mysql part of a LAMP
setup into dom0 and running a few Apache guests as domUs. Since the Apaches
will serve mostly from an NFS share they won't have much impact on
2013 Jan 07
4
Xendomains always broken for me, nobody else?
...[ "$1" = ''(domain'' ]] || [[ "$1" = "{" ]]; then
name=;id=
elif [[ "$1" =~ ''(name'' ]]; then
name=$(echo $1 | sed -e ''s/^.*(name \(.*\))$/\1/'')
@@ -255,7 +257,7 @@
for dom in $XENDOMAINS_SAVE/*; do
if [ -f $dom ] ; then
HEADER=`head -c 16 $dom | head -n 1 2> /dev/null`
- if [ $HEADER = "LinuxGuestRecord" ]; then
+ if [ "$HEADER" = "$HEADCOMP" ]; then
echo -n " ${dom##*/...
2012 Jan 12
3
Bug#655581: xen-utils-common: network-bridge breaks the network setup when using ethernet bonding.
...1-4 Xenstore utilities for Xen
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- Configuration Files:
/etc/default/xendomains changed:
XENDOMAINS_SYSRQ=""
XENDOMAINS_USLEEP=100000
XENDOMAINS_CREATE_USLEEP=5000000
XENDOMAINS_MIGRATE=""
XENDOMAINS_SAVE=
XENDOMAINS_SHUTDOWN="--halt --wait"
XENDOMAINS_SHUTDOWN_ALL="--all --halt --wait"
XENDOMAINS_RESTORE=true
XENDOMAINS_AUTO=/etc/xen/auto
XENDOMAINS_AUTO_ONLY=false
XENDOMAINS_STOP_MAXWAIT=300
/etc/xen/xend-config.sxp changed:
(network-script network-bridge)
(vif-script vif-brid...
2013 Jun 18
33
DomU suspension/hibernation
Hey,
I thought there was supposed to be an ability for domU''s to be put into a hibernated state (E.g. current running tasks and memory) when dom0 is shutdown or rebooted. When
I look in my /etc/default/xendomains file, I have the variable''s "XENDOMAINS_SAVE=/var/lib/xen/save" and "XENDOMAINS_RESTORE=true". However, when I reboot, I always have
to restart my domains manually and their state was not saved.
My current configuration is as follows: Xen 4.2.1, dom0: Debian 7.0, domU:Debian 7.0, dom0 kernel 3.2.0-4
Any idea on what I need to...
2014 Mar 12
0
Bug#741456: xen-utils-common: Starting domUs with xm fails - unable to find xenbr0. Works with xl.
...+dfsg-2.1
ii lsb-base 4.1+Debian12
ii python 2.7.5-5
ii ucf 3.0027+nmu1
ii udev 204-7
ii xenstore-utils 4.3.0-3+b1
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- Configuration Files:
/etc/default/xendomains changed:
XENDOMAINS_SAVE=""
XENDOMAINS_RESTORE=false
XENDOMAINS_AUTO=/etc/xen/auto
XENDOMAINS_STOP_MAXWAIT=300
/etc/xen/xend-config.sxp changed:
(network-script 'network-bridge bridge=xenbr0')
(vif-script vif-bridge)
(dom0-min-mem 512)
(enable-dom0-ballooning no)
(total_available_memory 0)
(dom0-cpus 0)...
2008 Feb 28
1
xen domU shutdown and save
Hi There,
Having some trouble discovering how to shutdown domU's without saving
them. I have some awful power from the grid causing the backup battery
system to initiate shutdown's on dom0, which is the desired result,
however domU's are saving (which I don't want) and this takes a very
long time (for whatever reason). As they shutdown, console does this
2009 Jun 13
4
Unable to create WinXP DomU
Hi,
Since a week or two I can''t create two of my three WinXP DomU''s anymore, the
third one starts just fine.
This is the basic error message I get:
# xm create WinXPViaLilaGeert
Using config file "./WinXPViaLilaGeert".
Error: Creating domain failed: name=WinXPViaLilaGeert
There is little information in this error message. /var/log/xen/xend.log has a
little more:
2012 Jul 25
0
Bug#682750: xen-utils-common: guests detection broken for shutdown
...1-5.2 Xenstore utilities for Xen
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- Configuration Files:
/etc/default/xendomains changed:
XENDOMAINS_SYSRQ=""
XENDOMAINS_USLEEP=100000
XENDOMAINS_CREATE_USLEEP=5000000
XENDOMAINS_MIGRATE=""
XENDOMAINS_SAVE=""
XENDOMAINS_SHUTDOWN="--halt --wait"
XENDOMAINS_SHUTDOWN_ALL="--all --halt --wait"
XENDOMAINS_RESTORE=true
XENDOMAINS_AUTO=/etc/xen/auto
XENDOMAINS_AUTO_ONLY=false
XENDOMAINS_STOP_MAXWAIT=20
/etc/xen/xend-config.sxp changed:
(xend-unix-server yes)
(vif-script vif-br...
2013 Jun 18
3
Bug#712661: xen-utils-common: xl start HVM domU instead of PV if disk placed on file
...lsb-base 4.1+Debian8+deb7u1
ii python 2.7.3-4
ii ucf 3.0025+nmu3
ii udev 175-7.2
ii xenstore-utils 4.1.4-3+deb7u1
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- Configuration Files:
/etc/default/xendomains changed:
XENDOMAINS_SAVE=
XENDOMAINS_RESTORE=false
XENDOMAINS_AUTO=/etc/xen/auto
XENDOMAINS_STOP_MAXWAIT=300
/etc/xen/xend-config.sxp changed:
(#xend-unix-server yes)
(vif-script vif-bridge)
(dom0-min-mem 196)
(enable-dom0-ballooning yes)
(total_available_memory 0)
(dom0-cpus 0)
(vncpasswd '')
/etc/xen/xl.conf c...
2010 May 11
1
xml files in xend database corrupted and xend failed to start solved now but read to diagnose
Hi,
I am posting this message because past 36 hours have been nightmare for me.
I finally have solved the problem I by temporarily moving put the xml
files from /var/lib/xend directories reboot then xend started.
And DomU''s were failing to start the above xml files I kept back and
got all DomU''s back.
I am very very surprised.I do not have any logical answer to this some
one
2010 Jan 06
2
changing behavior of xendomains stop
I''m running xen 3.1.2 as bastardized by RedHat on a redhat
clone operating system. I''m using the xendomains script
as it came out of the box to start my domU''s at boot
and stop them at shutdown.
There are three problems right now:
1) left to its own devices,
service xendomains stop
attempts to do "xm save" on each of the domU''s. that
takes quite a