From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QekxO-0000Ul-MC for garchives@archives.gentoo.org; Thu, 07 Jul 2011 09:33:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A472A21C0CE; Thu, 7 Jul 2011 09:31:35 +0000 (UTC) Received: from arsenic.logifi.fr (arsenic.logifi.fr [217.108.178.219]) by pigeon.gentoo.org (Postfix) with ESMTP id 2BC0F21C0CE for ; Thu, 7 Jul 2011 09:31:35 +0000 (UTC) Received: from nicolas-desktop (unknown [192.168.8.78]) by arsenic.logifi.fr (Postfix) with ESMTP id 3CDCB1FF72; Thu, 7 Jul 2011 10:29:10 +0200 (CEST) Date: Thu, 7 Jul 2011 11:31:34 +0200 From: Nicolas Sebrecht To: gentoo-user@lists.gentoo.org Cc: Nicolas Sebrecht Subject: [gentoo-user] Re: Managing multiple Gentoo systems Message-ID: <20110707093134.GB2441@nicolas-desktop> References: <20110704203953.GB14654@vidovic> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: dacd8ce75f899bbda86ffc3d3b472b7a The 06/07/11, Grant wrote: > >> After a frustrating experience with a Linksys WRT54GL, I've decided = to > >> stick with Gentoo routers. =A0This increases the number of Gentoo > >> systems I'm responsible for and they're nearing double-digits. =A0Wh= at > >> can be done to make the management of multiple Gentoo systems easier= ? > >> I think identical hardware in each system would help a lot but I'm n= ot > >> sure that's practical. =A0I need to put together a bunch of new > >> workstations and I'm thinking some sort of server/client arrangement > >> with the only Gentoo install being on the server could be appropriat= e. > > > > I maintain multiple Gentoo we mostly use as KVM hosts systems (and > > coming embedded routers). As KVM hosts, some of them are very sensibl= e. > > Due to the contracts to our customers, I have to do with various upda= te > > strategies on top of various hardware. >=20 > Thanks to everyone for some very juicy tidbits. I'm rearranging my > thinking on all of this. I think the key for me may be to combine > systems with separate functions in the same physical location into a > single system. Does the KVM thing work well? KVM itself works very well here, even with advanced features such as KSM pages sharing. The difficulties come with Microsoft products for both good integration and perfomance (I would recommend RAW format, iSCSI or plain physical partition instead of qcow2, for example). That beeing said, I finally have all working well for XP, NT2003 and 2008 servers. I use libvirt on top of KVM which is in the way to become very good AFA you don't rely on libvirt's API which tend to move a lot. > Running a bunch of > workstations as nothing more than wireless KVM setups on the same > system? I should be able to cut my Gentoo systems down to just a few. > Basically one at each physical location. I would be much sceptical for both workstations and wireless guests than for servers: 1) For workstations, things are currently changing with the very recent and "not much usable with Gentoo, yet" spice software. I expect a lot of improvments in the coming months for this use case. I would say it's not ready for production, yet. 2) About wireless virtualization it's highly depending on what you aim to do, especially if you intend to use the PCI passthrough feature to give your wireless card to a guest. For this to work, you MUST have your hardware (CPU, motherboard and PCI card) VT-d compatible which is currently NOT a piece of cake, today. It relies on industry and manufacturers moving not as fast as software. I would expect more widely VT-d cards in the coming _years_. Now, if you intend to use the wireless card from you hosts and share networks using bridge utilities it _MAY_ be OK: Linux bridging does not always work with all wireless cards (see http://tinyurl.com/ylcutwv for more information). In a more general approach, when I hear "routers" and "wireless" I'm more thinking _embedded_. KVM/qemu would only help you to build your target systems. For embedded (or tiny, at least) systems, I would not use LXC. The drawback with Gentoo is that the current official uclibc stage3 for embedded/tiny systems is obsolete and marked as experimental. In facts, it's very _hard_ if not impossible to use it these days. Making your own cross-compilation environment is not a piece of cake (too), even with dedicated tools such as crossdev. This topic would ask its own book. So, if you want to try Gentoo embedded save your time by working on unofficial stage3. --=20 Nicolas Sebrecht