Hi, We are currently using XenSource Express 4.1 with 3 VM. As we need more domU (limited on 4 on XenSource Express) and as we need PCI passtrought (Asterisk FXO/S pci card) we plan to "migrate" to a Xen 3.2 install. The question is: can we can reuse the VM build in XenSource without any change??? I didn''t found anything in wiki or faq regarding this point... Thanks, Nico -- View this message in context: http://www.nabble.com/Xensource-VM-in-Xen-tp18565204p18565204.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jul 23, 2008 at 12:43 PM, Nicod <nicolas.daneau@gmail.com> wrote:> > Hi, > > We are currently using XenSource Express 4.1 with 3 VM. As we need more domU > (limited on 4 on XenSource Express) and as we need PCI passtrought (Asterisk > FXO/S pci card) we plan to "migrate" to a Xen 3.2 install. The question is: > can we can reuse the VM build in XenSource without any change??? I didn''t > found anything in wiki or faq regarding this point... >From: http://support.citrix.com/article/ctx115815 Q: Can you convert a virtual machine (VM) from open source Xen to your products? A: There is currently no automated mechanism to move VMs from open source Xen to the XenServer commercial products. In the future the Open Virtual Appliance (OVA) format will allow VMs to be moved between different Xen environments. Citrix does have partners who are able to custom conversion work to transfer open source Xen virtual machines to the platform. Bottom line is that currently you need to convert the disk image into a format that the open source Xen can use. Find out the file format that Xen Express uses (try the file command in linux) and look into the qemu convert tool.>From what I have read, the Open format support should be available Q4 2008Let us know how it goes and if you run into any problems. Cheers, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jul 23, 2008 at 12:43 PM, Nicod <nicolas.daneau@gmail.com> wrote:> > Hi, > > We are currently using XenSource Express 4.1 with 3 VM. As we need more domU > (limited on 4 on XenSource Express) and as we need PCI passtrought (Asterisk > FXO/S pci card) we plan to "migrate" to a Xen 3.2 install. The question is: > can we can reuse the VM build in XenSource without any change??? I didn''t > found anything in wiki or faq regarding this point...yes.. it possible. but, not is easy !! :-( in resume, you need: - copy the LVM partitions of actual VM in the XENExpress for new machine (other LVM partition or image file) - create one new config file for this machine if you SO is windows, then you need too: - start VM in safe mode - remove XenTools softwares in panel control - restart the VM - install the GPLPV drivers for windows (see install docs) - and, caution with partitions DLM in windows/XenEnterprise... the XenOpenSource, don''t work.. mmm... in this moment, I just finish of migrate 6 VM (windows and linux) of Express for OpenSource.. and this result is good. P.S.: In one future no distant, I think write one howto. bye -- -- Victor Hugo dos Santos Linux Counter #224399 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>We are currently using XenSource Express with 3 VM. As we need more domU >(limited on 4 on XenSource Express) and as we need PCI passtrought (Asterisk >FXO/S pci card) we plan to "migrate" to a "pure" Xen. The question is: can >we can reuse the VM build in XenSource without any change??? I didn''t found >anything in wiki or faq regarding this point...Recent thread one this, I believe you can, just uninstall the tools first. Given that xensource uses lvm, you may be able to export the raw disc image out of lvm into a file for use on the xen server or even back into an lv. As for the Asterisk idea, my experience so far is that it sort of works, but not reliably enough for production, and I tried for a while. Don''t do it... jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jul 30, 2008 at 3:53 PM, Joseph L. Casale <JCasale@activenetwerx.com> wrote:>>We are currently using XenSource Express with 3 VM. As we need more domU >>(limited on 4 on XenSource Express) and as we need PCI passtrought (Asterisk >>FXO/S pci card) we plan to "migrate" to a "pure" Xen. The question is: can >>we can reuse the VM build in XenSource without any change??? I didn''t found >>anything in wiki or faq regarding this point... > > Recent thread one this, I believe you can, just uninstall the tools first. Given that xensource uses lvm, you may be able to export the raw disc image out of lvm into a file for use on the xen server or even back into an lv. >The volume group on the second partition of a logical volume is tricky to handle, but definitely doable (as mentioned earlier). Quick HOWTO Find the UUID of your vdi lvchange -a y /dev/<PV Name>-<sr-uuid>/LV-<vdi UUID> kpartx -av /dev/<PV Name>-<sr-uuid>/LV-<vdi UUID> now, /dev/mapper will contain two partitions, the first is the boot partition of the guest and the second is a LVM partition that has a VG in it. if you need the boot partition, then simply mount /dev/mapper/<PV Name>-<sr-uuid>/LV-<vdi UUID>p1 For the VG, simply do a vgscan to make it available. (usually VogGroup00) Then you can lvscan and lvchange -a y the root file system (usually LogVol00) then just mount the LogVol00 to get the data off. This is the rough idea, if noone posts a real HOWTO before I get a chance to then I can clean up the one I have been working on and post that.> As for the Asterisk idea, my experience so far is that it sort of works, but not reliably enough for production, and I tried for a while. Don''t do it... >Out of curiosity, what is the problem with Asterisk running on Xen? Cheers, Todd> jlc > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>> As for the Asterisk idea, my experience so far is that it sort of works, but not reliably enough for production, and I tried for a while. Don''t do it... >> > >Out of curiosity, what is the problem with Asterisk running on Xen?The timing issue which is theoretically only needed when using a hardware interface or conferencing and MOH from what I understand. Bottom line is the ztdummy hack when not using hardware (I don''t know of it will passthrough reliably) yields less then reliable results in xen. I tried many vanilla centos installs on different xen 3.2.0 setups that all produced an asterisk server that missed/dropped calls or just plain was not consistent. Moving the asterisk setup into a non virtualized environment produced more than one server with duplicate configs that all worked perfectly and have never missed a beat yet. jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I''ll try the lvm stuff, otherwise i''ll start from scratch, it should be cleaner and not so lore time consuming. Thanks for the feedback on Asterisk. As i understand well you always tried an asterisk install with ztdummy? Here i will use an hardware FXO/FXS card, so it will maybe be more stable. I''ll try however and let you know... As i''m will enjoy some holiday in the next weeks, you won''t have a direct feedback, just be patient! ;) Nicolas 2008/7/31, Joseph L. Casale <JCasale@activenetwerx.com>:> > >> As for the Asterisk idea, my experience so far is that it sort of works, > but not reliably enough for production, and I tried for a while. Don''t do > it... > >> > > > >Out of curiosity, what is the problem with Asterisk running on Xen? > > > The timing issue which is theoretically only needed when using a hardware > interface or conferencing and MOH from what I understand. > Bottom line is the ztdummy hack when not using hardware (I don''t know of it > will passthrough reliably) yields less then reliable results in xen. > > I tried many vanilla centos installs on different xen 3.2.0 setups that all > produced an asterisk server that missed/dropped calls or just plain was not > consistent. > > Moving the asterisk setup into a non virtualized environment produced more > than one server with duplicate configs that all worked perfectly and have > never missed a beat yet. > > > jlc > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Nicolas Daneau Rue Maurice Bertrand 543 5300 Landenne 0486/69.01.65 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>Thanks for the feedback on Asterisk. As i understand well you always tried an asterisk install with ztdummy? Here i will use an hardware FXO/FXS card, >so it will maybe be more stable. I'll try however and let you know...I wasn’t all that clear, but I think the most success would be had with ztdummy. With all the additional issues passthrough can impose, I am not sure it would work better ☺ You will also have some issues compiling zaptel. Jump on to the digium forum, lots of slick people there…>As i'm will enjoy some holiday in the next weeks, you won't have a direct feedback, just be patient! ;) >NicolasI do look forward to hearing of your progress, good luck! jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users