[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] VM Persistence?


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Eric <epretorious@xxxxxxxxx>
  • Date: Tue, 26 Feb 2013 22:46:22 -0800 (PST)
  • Delivery-date: Wed, 27 Feb 2013 06:47:28 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nVIVOfJ9zy41V9mV47YlhLOP5/sJv9qMe9C8F/+Tzbcf7fLgiT93YchgwWrm+kguOQ9MdMHNhMpeNIAcZ6jjl1rk2a1dl40AvpsHHEqoGzYd30ifeMEWxSXaSJ0SSfmR3BcrCxIF2WRY6aPgTrJN3/SZqvqVoQWn11qg5+FtHRI=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

I created a couple of OL6-U3 PVM's on a SuSE-Xen host (using virt-install) and 
manually migrated the VM's to my Oracle VM Server host. The migration was 
successful. However, the VM's aren't persistent. i.e., the VM's won't survive a 
reboot:

>  [root@xen3 ~]# xm list
>  Name                                        ID   Mem VCPUs      State   
>Time(s)
>  Domain-0                                     0   568     2     r-----  
>34467.9
>  oracle1                                      1   786     1     -b----     
>58.2
>  oracle2                                      3   786     1     -b----     
>58.2
>   
>  [root@xen3 ~]# xenstore-ls | grep '   name ='
>     name = "Domain-0"
>     name = "oracle1"
>     name = "oracle2"
>     name = "Pool-0"
>   
>  [root@xen3 ~]# xm shutdown oracle1
>  [root@xen3 ~]# xm shutdown oracle2
>   
>  [root@xen3 ~]# xm list
>  Name                                        ID   Mem VCPUs      State   
>Time(s)
>  Domain-0                                     0   568     2     r-----  
>34564.1
>   
>  [root@xen3 ~]# xm start oracle1
>  Error: Domain 'oracle1' does not exist.

I've noticed that there aren't any configuration files in /etc/xen:

>  [root@xen3 ~]# ls -1 /etc/xen
>  auto
>  cpupool
>  README
>  README.incompatibilities
>  scripts
>  xend-config.sxp
>  xend-pci-permissive.sxp
>  xend-pci-quirks.sxp
>  xl.conf
>  xm-config.xml
>  xmexample1
>  xmexample2
>  xmexample3
>  xmexample.hvm
>  xmexample.hvm-stubdom
>  xmexample.nbd
>  xmexample.pv-grub
>  xmexample.vti
> 

>  [root@xen3 ~]# ls -1 /etc/xen/auto/


...and that if I try the method recommended in Chapter 5.3, Configuring a 
Virtual Machine by Modifying its Xend Settings, of the SuSE manual 
Virtualization with Xen, Xend complains:

>  [root@xen3 ~]# xm new -F ~/oracle1.cfg
>  Unexpected error: exceptions.ImportError
>   
>  Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
>  Traceback (most recent call last):
>    File "/usr/sbin/xm", line 7, in ?
>      main.main(sys.argv)
>    File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 3983, in 
>main
>      _, rc = _run_cmd(cmd, cmd_name, args)
>    File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 4007, in 
>_run_cmd
>      return True, cmd(args)
>    File "<string>", line 1, in <lambda>
>    File "/usr/lib64/python2.4/site-packages/xen/xm/main.py", line 1518, in 
>xm_importcommand
>      cmd = __import__(command, globals(), locals(), 'xen.xm')
>    File "/usr/lib64/python2.4/site-packages/xen/xm/new.py", line 26, in ?
>      from xen.xm.xenapi_create import *
>    File "/usr/lib64/python2.4/site-packages/xen/xm/xenapi_create.py", line 
>25, in ?
>      from lxml import etree
>  ImportError: No module named lxml


How can I make these VM's persistent?

Eric Pretorious
Truckee, CA


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.