Thanks Chiradeep and Pedro for your replies. My $dayjob requires me to work
with baremetal servers, in fact almost all our infra consists of baremetal
servers which at times is difficult to work with, therefore I'm exploring
ways to introduce docker/lxc (containers), mesos (cluster management), etcd
(conf/locking) and a manager/controller (cloudstack?).

Pedro's idea is great, I've been reading about the concept of idempotent
servers (I think it was Chad Fowler and others) where you deploy a server
once and it sort of becomes immutable so you don't upgrade it, change its
config once in production and in case you need some changes you create a
new one and destroy old ones.



On Wed, Apr 30, 2014 at 10:20 AM, Pedro Roque Marques <
pedro.r.marq...@gmail.com> wrote:

> Rohit,
>
> On Apr 29, 2014, at 12:07 PM, Rohit Yadav <bhais...@apache.org> wrote:
> > This looks great, Chiradeep can you share with us how the networking will
> > work in case of using systemvms in LXC containers, how it will
> communicate
> > with outside world and with other instances running in shared/separate
> LXC
> > containers.
>
> LXC networking can be configured to work just like a VM; one typically
> associates the LXC with a linux network namespace and uses a "veth" port
> instead of a "tap" interface.
>
> For examples of how configure OpenContrail to use netns see:
>  1. https://github.com/pedro-r-marques/opencontrail-netns; (no
> orchestration system)
>  2.
> https://github.com/pedro-r-marques/nova-docker/blob/opencontrail/novadocker/virt/docker/opencontrail.py;
> (openstack + docker).
>
> The same recipes can be used to configure bridged interfaces or OVS;
>
> In the case of using OpenContrail you get the added benefit that it
> integrates functionality such as "security-groups", dhcp, vpc support all
> in one... so you don't need to worry about ip-chains and L3 agents.
>
> > Will we need a loadbalancer (like nginx) for reverse proxying
> > and example or use case of a infra deployment.
>
> The OpenStack crowd typically implements the load balancer and external
> router (aka cloudstack domain router) as an app running inside a netns.
>
> > Lastly, will we have feature
> > of moving containers across machines and some distributed locking service
> > that the systemvms or agent may implement?
>
> The neat thing about containers is how fast they start (and how little
> overhead they have) compared to VMs. To move containers, just kill one and
> start the other;
>
>   Pedro.

Reply via email to