From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 20:44:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70921065672 for ; Sun, 10 Jan 2010 20:44:14 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 32ED78FC0A for ; Sun, 10 Jan 2010 20:44:14 +0000 (UTC) Received: from [IPv6:2001:470:9099:0:31af:12a0:dc17:a1b1] ([IPv6:2001:470:9099:0:31af:12a0:dc17:a1b1]) (authenticated bits=0) by unsane.co.uk (8.14.3/8.14.3) with ESMTP id o0AKjwIp058514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Jan 2010 20:46:06 GMT (envelope-from vince@unsane.co.uk) Message-ID: <4B4A3C15.7030806@unsane.co.uk> Date: Sun, 10 Jan 2010 20:44:05 +0000 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Kaya Saman References: <4B49D937.9050902@netscape.net> In-Reply-To: <4B49D937.9050902@netscape.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Possible to run 2 instances of Bind DNS server in jails?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 20:44:14 -0000 The only bit I'm not certain on is dedicating a nic to a jail (more because I havent tried than because I believe it cant be done, I'd expect that the network stack virtualization in 8+ should allow this.) You can most definately run seperate instances of applications in jails. I'd recomend subscribing to the freebsd-jails mailing list (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail specific questions as I've only dabbled with them a little. But a 10 second example [root@seaurchin ~]# jls JID IP Address Hostname Path 1 10.20.0.3 womble /var/jails/womble 2 10.20.0.2 foobar /var/jails/foobar [root@seaurchin ~]# jexec 1 ps ax PID TT STAT TIME COMMAND 8166 ?? SsJ 0:06.69 /usr/sbin/syslogd -s 8231 ?? SsJ 1:00.94 sendmail: accepting connections (sendmail) 8235 ?? IsJ 0:00.92 sendmail: Queue runner@00:30:00 for /var/spool/client 8241 ?? SsJ 0:08.55 /usr/sbin/cron -s 79334 ?? IsJ 0:00.06 /usr/sbin/named -u bind 79559 0 R+J 0:00.00 ps ax [root@seaurchin ~]# jexec 2 ps ax PID TT STAT TIME COMMAND 8504 ?? IsJ 0:01.15 sendmail: Queue runner@00:30:00 for /var/spool/client 8510 ?? SsJ 0:08.35 /usr/sbin/cron -s 79447 ?? IsJ 0:00.07 /usr/sbin/named -u bind 79584 0 R+J 0:00.00 ps ax Hope that helps Vince Kaya Saman wrote: > Hi, > > I'm just reading through a thread right now on a discussion or debate > whether to ports Solaris Zones to FreeBSD. My main Google search > criteria was basically that I wanted to know if FreeBSD had something > similar..... > > In this discussion it was mentioned that FreeBSD Jails where the sudo > 'equivalent' to Zones but of course behave much more like a chroot > environment. > > I have to ask if it's possible since I'm coming over from Solaris to > dedicate NICs to Jails and run separate instances of applications in > there, the one I am looking for primarily is Bind. As I would like to > use a Sun Fire V480 server as a mainframe but stuck between the > application advantages of FreeBSD and some of the virtualization > technologies within Solaris. > > Has anyone got any advice or comments as to whether I can achieve my > goal?? > > Many thanks, > > Kaya > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"