Re: [Lxc-users] Weirdness with lxc.network.hwaddr and connectivity loss

2011-05-24 Thread Manuel de Ferran
On Mon, May 23, 2011 at 10:24 PM, Daniel Lezcano daniel.lezc...@free.frwrote:

 On 05/23/2011 12:31 PM, Manuel de Ferran wrote:

 Greetings lxc-users,

 I'm running lxc 0.7.4-0ubuntu7 on an ubuntu 11.04 with kernel
 2.6.38-8-generic.

 There is something I don't understand with the lxc.network.hwaddr. I was
 expecting to have the veth MAC addr set to it, but it appears that is only
 setting the vm ethernet.

 If we can not use this parameter to set the veth MAC address, how do you
 deal with the bridge switch to lowest MAC ? This switch implies a
 connectivity loss on lxc-stop


 Hi Manuel,

 may be you can find a work around with this post:


 http://backreference.org/2010/07/28/linux-bridge-mac-addresses-and-dynamic-ports/


Great ! That's better than my workaround : I added a dummy interface with a
minimal hw addr to the bridge.

Thanks
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] LXC vs ESX

2011-05-24 Thread Ulli Horlacher
On Mon 2011-05-23 (19:28), Geordy wrote:

 Which 10 gb adapter did you use in the esx box?

Onboard Intel (Fujitsu RX300 Server), but it is only 1 GB/s, I was in
mistake first.


 i do not know this tool

I know it, because I have written it :-)
http://fex.rus.uni-stuttgart.de/

It does HTTP POST

This is the same test on the VM local without (ethernet) networking:

fex@fex:~$ fexsend /tmp/2GB.tmp .
Server/User: http://fex.uni-stuttgart.de/f...@fex.uni-stuttgart.de
/tmp/2GB.tmp : 2048 MB in 83 s (25266 kB/s)



-- 
Ullrich Horlacher  Server- und Arbeitsplatzsysteme
Rechenzentrum  E-Mail: horlac...@rus.uni-stuttgart.de
Universitaet Stuttgart Tel:++49-711-685-65868
Allmandring 30 Fax:++49-711-682357
70550 Stuttgart (Germany)  WWW:http://www.rus.uni-stuttgart.de/

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Cannot see a login console on start

2011-05-24 Thread Roberto
Hi Ulli,

 I have written a setup for LXC on Ubuntu 10.04:

 http://fex.rus.uni-stuttgart.de/lxc-ubuntu


I've just tried your tutorial, but it ends up with the following:

root@my_host:~/bin# ./lxc -b ubuntu
./lxc: cannot determine container ip

Not sure why this happens. Also note that the host is a VirtualBox VM,
not physical hardware. Any idea?

Cheers,

Roberto

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Cannot see a login console on start

2011-05-24 Thread Ulli Horlacher
On Tue 2011-05-24 (12:25), Roberto wrote:
 Hi Ulli,
 
  I have written a setup for LXC on Ubuntu 10.04:
 
  http://fex.rus.uni-stuttgart.de/lxc-ubuntu
 
 
 I've just tried your tutorial, but it ends up with the following:
 
 root@my_host:~/bin# ./lxc -b ubuntu
 ./lxc: cannot determine container ip

You need a valid DNS record for your container.
My setup does not support DHCP (which ise useless for servers).


-- 
Ullrich Horlacher  Server- und Arbeitsplatzsysteme
Rechenzentrum  E-Mail: horlac...@rus.uni-stuttgart.de
Universitaet Stuttgart Tel:++49-711-685-65868
Allmandring 30 Fax:++49-711-682357
70550 Stuttgart (Germany)  WWW:http://www.rus.uni-stuttgart.de/

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Cannot see a login console on start

2011-05-24 Thread Serge Hallyn
Quoting Roberto (prof...@gmail.com):
  Not sure exactly what that tutorial is doing.  Didn't see anything
  obviously wrong with it.  You might try verifying it by doing
 
   lxc-create -f /usr/share/doc/lxc/examples/lxc-macvlan.conf -t ubuntu -n u1
   lxc-start -n u1
 
 Except the lxc-ubuntu script is not present on my machine :S

What version is installed?  If you don't have the lxc-ubuntu or
lxc-lucid templates, then get them from the package...  Without an idea
of whether the known-good formulas work, I'll only say that since
lxc-checkconfig shows everything enabled, without looking at the
details, what you're doing should work.

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users