Hi, I have a .vdi format used in VBox. Is there a way to convert this to .img format which I can use in Xen? Thanks, Dhanesh. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi. El 23/05/13 05:50, Jaya Dhanesh escribió:> I have a .vdi format used in VBox. Is there a way to convert this to > .img format which I can use in Xen?Dumb approach: boot your machine under VBox using a LiveCD, make a "dd" of your disk, save elsewhere. They also say it''s possible to make a conversion using specialized tools: http://www.turnkeylinux.org/blog/convert-vdi-vmdk http://en.wikibooks.org/wiki/QEMU/Images#Exchanging_images_with_VirtualBox -- Alexandre Kouznetsov
Hi, I am using Xen and want to configure DHCP server on Dom0 so that all DomU coming up will get the ip address from DHCP. I have a bridge on which one interfcae from all the DomU will be connected. I have configured an IP to the bridge and have an entry for the same subnet in the dhcpd.conf. My host is suse11. I see the DHCP request coming from DomU to the bridge, but no DHCP responses. Can I have a DHCP server configured on Dom0 for an subnet configured on a bridge? Thanks, Dhanesh. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Fri, May 24, 2013 at 12:43 PM, Jaya Dhanesh <jaya.dhanesh@ericsson.com> wrote:> > Hi, > > I am using Xen and want to configure DHCP server on Dom0 so that all DomU coming up will get the > ip address from DHCP. I have a bridge on which one interfcae from all the DomU will be connected. > I have configured an IP to the bridge and have an entry for the same subnet in the dhcpd.conf. My host is suse11. I see the DHCP request coming from DomU to the bridge, but no DHCP responses. Can I have > a DHCP server configured on Dom0 for an subnet configured on a bridge? >In general, you can. However there are things that can make it a bit complicated. For example, bridge forwarding delay. What does the log of your dhcp server say? Does it receive the request? Does it send dhcp offer? -- Fajar
Found it, the dhcp server by default is configured to listen only on br0. I added my bridge to it and it started to work. Thanks, Dhanesh. On 05/24/2013 12:13 PM, Fajar A. Nugraha wrote:> On Fri, May 24, 2013 at 12:43 PM, Jaya Dhanesh > <jaya.dhanesh@ericsson.com> wrote: >> Hi, >> >> I am using Xen and want to configure DHCP server on Dom0 so that all DomU coming up will get the >> ip address from DHCP. I have a bridge on which one interfcae from all the DomU will be connected. >> I have configured an IP to the bridge and have an entry for the same subnet in the dhcpd.conf. My host is suse11. I see the DHCP request coming from DomU to the bridge, but no DHCP responses. Can I have >> a DHCP server configured on Dom0 for an subnet configured on a bridge? >> > > In general, you can. However there are things that can make it a bit > complicated. For example, bridge forwarding delay. > > What does the log of your dhcp server say? Does it receive the > request? Does it send dhcp offer? > > -- > Fajar
Hi, I need to have a group of DomUs behind a NAT. The ip address is also fixed for the DomU. The default gateway will be through Dom0. How do I do this on Xen? Thanks, Dhanesh. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Am Freitag, 24. Mai 2013, 17:47:00 schrieb Jaya Dhanesh:> I need to have a group of DomUs behind a NAT. The ip address is also > fixed for the DomU. > The default gateway will be through Dom0. > How do I do this on Xen?As you do this with "real" machines - your Dom0 is the "NAT router". The only different thing is that your DomUs interfaces are dynamically up/down and handled by xen. See vif-route for that part: http://wiki.xen.org/wiki/Vif-route hth, best regards, Niels. -- --- Niels Dettenbach Syndicat IT & Internet http://www.syndicat.com PGP: https://syndicat.com/pub_key.asc --- _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi Jaya, take a look here http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2 Jan Dne 24.5.2013 14:17, Jaya Dhanesh napsal(a):> Hi, > > I need to have a group of DomUs behind a NAT. The ip address is also > fixed for the DomU. > The default gateway will be through Dom0. > How do I do this on Xen? > > Thanks, > Dhanesh. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
I got a .iso image, used virt-install (GUI) to create a VM. This created disk0.raw image. I tried to use this .raw image to create a new VM using xm create. Create was successful, but Iam not able to login to the console. I think its not able to find the boot location. Will the created .raw image cant be used to create another VM? Thanks, Dhanesh. On 05/23/2013 10:02 PM, Alexandre Kouznetsov wrote:> Hi. > > El 23/05/13 05:50, Jaya Dhanesh escribió: >> I have a .vdi format used in VBox. Is there a way to convert this to >> .img format which I can use in Xen? > > Dumb approach: boot your machine under VBox using a LiveCD, make a > "dd" of your disk, save elsewhere. > > They also say it''s possible to make a conversion using specialized tools: > http://www.turnkeylinux.org/blog/convert-vdi-vmdk > http://en.wikibooks.org/wiki/QEMU/Images#Exchanging_images_with_VirtualBox > >
Hello. El 27/05/13 00:13, Jaya Dhanesh escribió:> I got a .iso image, used virt-install (GUI) to create a VM. This created > disk0.raw image.Well, .iso are usually CD/DVD images, quite different from a disk image. From what you say I would assume you have used a .iso image of a OS installation media to deploy a whole new VM. I thought your goal was to move a existing VirtualBox VM to Xen.> I tried to > use this .raw image to create a new VM using xm create. Create was > successful, but Iam not able to > login to the console.So, do you have a DomU console but can''t login? Any error message?> I think its not able to find the boot location.In that case, it would specifically say so. Try "-c" option for xm create, it will attach the VM''s console to your terminal. Paste here the console output, an the config file for you VM.> Will the created .raw image cant be used to create another VM?No idea. What do you mean? -- Alexandre Kouznetsov
I have worked on VB and there is a commands which will take care of assigning ip address to the interfaces in VMs and also configure the default route. VBoxManage modifyvm "VM name" --natnet1 "nw_addr/mask" This will assign IP address from the nw_addr and a default route as nw_addr.2. How do I achieve this in Xen? Thanks, Dhanesh. On 05/24/2013 05:59 PM, Jan Hejl wrote:> Hi Jaya, > > take a look here > http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2 > > Jan > Dne 24.5.2013 14:17, Jaya Dhanesh napsal(a): >> Hi, >> >> I need to have a group of DomUs behind a NAT. The ip address is also >> fixed for the DomU. >> The default gateway will be through Dom0. >> How do I do this on Xen? >> >> Thanks, >> Dhanesh. >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Another question? What version of Xen you use - 4.1+ or older? And what toolstack xm or xl? Dne 29.5.2013 06:43, Jaya Dhanesh napsal(a):> I have worked on VB and there is a commands which will take care of > assigning ip address to the interfaces in VMs and also configure the > default route. > > VBoxManage modifyvm "VM name" --natnet1 "nw_addr/mask" > This will assign IP address from the nw_addr and a default route as > nw_addr.2. How do I achieve this in Xen? > > Thanks, > Dhanesh. > On 05/24/2013 05:59 PM, Jan Hejl wrote: >> Hi Jaya, >> >> take a look here >> http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2 >> >> Jan >> Dne 24.5.2013 14:17, Jaya Dhanesh napsal(a): >>> Hi, >>> >>> I need to have a group of DomUs behind a NAT. The ip address is also >>> fixed for the DomU. >>> The default gateway will be through Dom0. >>> How do I do this on Xen? >>> >>> Thanks, >>> Dhanesh. >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
xl has been the default toolstack since 4.1. But you should use xm in the older version than 4.1, Yeonki Choi Sent from my iPad 2013. 5. 29. 오후 6:08 "Jan Hejl" <jh@excello.cz> 작성:> Another question? What version of Xen you use - 4.1+ or older? And what toolstack xm or xl? > > Dne 29.5.2013 06:43, Jaya Dhanesh napsal(a): >> I have worked on VB and there is a commands which will take care of assigning ip address to the interfaces in VMs and also configure the default route. >> >> VBoxManage modifyvm "VM name" --natnet1 "nw_addr/mask" >> This will assign IP address from the nw_addr and a default route as nw_addr.2. How do I achieve this in Xen? >> >> Thanks, >> Dhanesh. >> On 05/24/2013 05:59 PM, Jan Hejl wrote: >>> Hi Jaya, >>> >>> take a look here http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2 >>> >>> Jan >>> Dne 24.5.2013 14:17, Jaya Dhanesh napsal(a): >>>> Hi, >>>> >>>> I need to have a group of DomUs behind a NAT. The ip address is also fixed for the DomU. >>>> The default gateway will be through Dom0. >>>> How do I do this on Xen? >>>> >>>> Thanks, >>>> Dhanesh. >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
linux-qzez:~rpm -qa | grep xen xen-4.1.2_14-0.5.5 sles-xen_en-pdf-11.2-0.41.1 xen-doc-html-4.1.2_14-0.5.5 kernel-xen-devel-3.0.13-0.27.1 xen-libs-4.1.2_14-0.5.5 kernel-xen-base-3.0.13-0.27.1 xen-libs-32bit-4.1.2_14-0.5.5 xen-tools-4.1.2_14-0.5.5 kernel-xen-3.0.13-0.27.1 xen-doc-pdf-4.1.2_14-0.5.5 I use xm Thanks, Dhanesh. On 05/29/2013 02:34 PM, Jan Hejl wrote:> Another question? What version of Xen you use - 4.1+ or older? And > what toolstack xm or xl? > > Dne 29.5.2013 06:43, Jaya Dhanesh napsal(a): >> I have worked on VB and there is a commands which will take care of >> assigning ip address to the interfaces in VMs and also configure the >> default route. >> >> VBoxManage modifyvm "VM name" --natnet1 "nw_addr/mask" >> This will assign IP address from the nw_addr and a default route as >> nw_addr.2. How do I achieve this in Xen? >> >> Thanks, >> Dhanesh. >> On 05/24/2013 05:59 PM, Jan Hejl wrote: >>> Hi Jaya, >>> >>> take a look here >>> http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2 >>> >>> Jan >>> Dne 24.5.2013 14:17, Jaya Dhanesh napsal(a): >>>> Hi, >>>> >>>> I need to have a group of DomUs behind a NAT. The ip address is >>>> also fixed for the DomU. >>>> The default gateway will be through Dom0. >>>> How do I do this on Xen? >>>> >>>> Thanks, >>>> Dhanesh. >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
xl is officialy default since Xen 4.2 and i''ve seen lot of people using xm toolstack thanks to laziness, lack of time to upgrade or many howtos which describe Xen setup with xm. Dne 29.5.2013 11:22, Yeonki Choi napsal(a):> xl has been the default toolstack since 4.1. But you should use xm in > the older version than 4.1, > > Yeonki Choi > Sent from my iPad > > 2013. 5. 29. 오후 6:08 "Jan Hejl" <jh@excello.cz > <mailto:jh@excello.cz>> 작성: > >> Another question? What version of Xen you use - 4.1+ or older? And >> what toolstack xm or xl? >> >> Dne 29.5.2013 06:43, Jaya Dhanesh napsal(a): >>> I have worked on VB and there is a commands which will take care of >>> assigning ip address to the interfaces in VMs and also configure >>> the default route. >>> >>> VBoxManage modifyvm "VM name" --natnet1 "nw_addr/mask" >>> This will assign IP address from the nw_addr and a default route as >>> nw_addr.2. How do I achieve this in Xen? >>> >>> Thanks, >>> Dhanesh. >>> On 05/24/2013 05:59 PM, Jan Hejl wrote: >>>> Hi Jaya, >>>> >>>> take a look here >>>> http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2 >>>> >>>> Jan >>>> Dne 24.5.2013 14:17, Jaya Dhanesh napsal(a): >>>>> Hi, >>>>> >>>>> I need to have a group of DomUs behind a NAT. The ip address is >>>>> also fixed for the DomU. >>>>> The default gateway will be through Dom0. >>>>> How do I do this on Xen? >>>>> >>>>> Thanks, >>>>> Dhanesh. >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xen.org >>>>> http://lists.xen.org/xen-users >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org <mailto:Xen-users@lists.xen.org> >> http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Automatic address should work via vif-script called vif-nat in case your dom0 runs properly set ISC DHCP server. VIF-NAT script should tell DHCPd to assign IP you''ve defined in domU config to MAC domU address. Dne 29.5.2013 11:30, Jaya Dhanesh napsal(a):> linux-qzez:~rpm -qa | grep xen > xen-4.1.2_14-0.5.5 > sles-xen_en-pdf-11.2-0.41.1 > xen-doc-html-4.1.2_14-0.5.5 > kernel-xen-devel-3.0.13-0.27.1 > xen-libs-4.1.2_14-0.5.5 > kernel-xen-base-3.0.13-0.27.1 > xen-libs-32bit-4.1.2_14-0.5.5 > xen-tools-4.1.2_14-0.5.5 > kernel-xen-3.0.13-0.27.1 > xen-doc-pdf-4.1.2_14-0.5.5 > > I use xm > > Thanks, > Dhanesh. > On 05/29/2013 02:34 PM, Jan Hejl wrote: >> Another question? What version of Xen you use - 4.1+ or older? And >> what toolstack xm or xl? >> >> Dne 29.5.2013 06:43, Jaya Dhanesh napsal(a): >>> I have worked on VB and there is a commands which will take care of >>> assigning ip address to the interfaces in VMs and also configure >>> the default route. >>> >>> VBoxManage modifyvm "VM name" --natnet1 "nw_addr/mask" >>> This will assign IP address from the nw_addr and a default route as >>> nw_addr.2. How do I achieve this in Xen? >>> >>> Thanks, >>> Dhanesh. >>> On 05/24/2013 05:59 PM, Jan Hejl wrote: >>>> Hi Jaya, >>>> >>>> take a look here >>>> http://wiki.kartbuilding.net/index.php/Xen_Networking#Routed_Networking_with_NAT_2 >>>> >>>> Jan >>>> Dne 24.5.2013 14:17, Jaya Dhanesh napsal(a): >>>>> Hi, >>>>> >>>>> I need to have a group of DomUs behind a NAT. The ip address is >>>>> also fixed for the DomU. >>>>> The default gateway will be through Dom0. >>>>> How do I do this on Xen? >>>>> >>>>> Thanks, >>>>> Dhanesh. >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xen.org >>>>> http://lists.xen.org/xen-users >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hi, I have a piece of software which will use pipes and sockets to communicate with the console. How do I make DomU to write to this socket instead of the default console o/p so that I can read this in my app and process them. Similary the DomU should read from the socket that my app will write to. VBox supports this and is this possible in xen? What does the serial config option specify? Can I use this option to achieve mentioned above? Thanks, Dhanesh. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, May 29, 2013 at 11:35:02PM +0530, Jaya Dhanesh wrote:> Hi, > > I have a piece of software which will use pipes and sockets to > communicate with the console. How do > I make DomU to write to this socket instead of the default console > o/p so that I can read this in my app and process them. Similary the > DomU should read from the socket that my app will write to. VBox > supports this and is this possible in xen? > > What does the serial config option specify? Can I use this option to > achieve mentioned above? >I think you can just read from / write to the pts created by xenconsoled, everything should work. I just tried "screen /dev/pts/1" (pts/1 is a console for one of my DomU) and it worked. You can grab the corresponding console device for a specific domain from xenstore. Wei.> Thanks, > Dhanesh.> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
On Wed, May 29, 2013 at 11:35:02PM +0530, Jaya Dhanesh wrote:> Hi, > > I have a piece of software which will use pipes and sockets to > communicate with the console. How do > I make DomU to write to this socket instead of the default console > o/p so that I can read this in my app and process them. Similary the > DomU should read from the socket that my app will write to. VBox > supports this and is this possible in xen? > > What does the serial config option specify? Can I use this option to > achieve mentioned above? >And one more thing, please don''t hijack other thread. Post a new thread for a new question, please. Wei.> Thanks, > Dhanesh.> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users