Displaying 5 results from an estimated 5 matches for "list_grep".
2014 Jul 22
0
DomUs error when stopping xendomains
...)............
 xen103(save).
An error occurred while saving domain:
Error: Domain '11' does not exist.
!
(shut).
An error occurred while shutting down domain:
Error: Domain '11' does not exist.
!
After reading a bit on Google I've found that this can be fixed by changing
the LIST_GREP in xendomains:
+LIST_GREP='^(domain$\|(domid\|(name\|^{$\|"name":\|"domid":'
-LIST_GREP='((domain\|(domid\|(name\|^{$\|"name":\|"domid":'
This fix works. Is this a known bug in the xen4centos release?
Karl
-------------- next part ---------...
2013 Jan 07
4
Xendomains always broken for me, nobody else?
...@
 #                    boots / shuts down.
 ### END INIT INFO
+HEADCOMP="LinuxGuestRecord"
 CMD=xm
 $CMD list &> /dev/null
 if test $? -ne 0
 then
        CMD=xl
+       HEADCOMP="Xen saved domain"
 fi
 $CMD list &> /dev/null
@@ -202,10 +204,10 @@
     done
 }
-LIST_GREP=''((domain\|(domid\|(name\|^{$\|"name":\|"domid":''
+LIST_GREP=''((domain$\|(domid\|(name\|^{$\|"name":\|"domid":''
 parseln()
 {
-    if [[ "$1" =~ ''(domain'' ]] || [[ "$1" = "{"...
2014 Dec 06
1
Bug#772274: xen-utils-common: when upgrading package: insserv: Service xenstored has to be enabled to start service xendomains
...name": "\(.*\)",$/\1/p')
}
rdnames()
{
    NAMES=
    if ! contains_something "$XENDOMAINS_AUTO"
    then 
	return
    fi
    for dom in $XENDOMAINS_AUTO/*; do
	rdname $dom
	if test -z $NAMES; then 
	    NAMES=$NM; 
	else
	    NAMES="$NAMES|$NM"
	fi
    done
}
LIST_GREP='(domain\|(domid\|(name\|^    {$\|"name":\|"domid":'
parseln()
{
    if [[ "$1" =~ '(domain' ]] || [[ "$1" = "{" ]]; then
        name=;id=
    elif [[ "$1" =~ '(name' ]]; then
        name=$(echo $1 | sed -e 's...
2013 Jun 30
18
Xen 4.2.2 /etc/init.d/xendomains save and restore of domains does not work
...1
                 echo -e .
                 usleep 1000
+               name=;id=
                 continue
             fi
         fi
@@ -446,6 +447,7 @@
             fi
             kill $WDOG_PID >/dev/null 2>&1
         fi
+       name=;id=
      done < <($CMD list -l | grep $LIST_GREP)
      # NB. this shuts down ALL Xen domains (politely), not just the ones in
------END Attachment ---------------------------------------------
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