From owner-freebsd-questions Fri Jan 11 6:46:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 2F65B37B402 for ; Fri, 11 Jan 2002 06:46:24 -0800 (PST) Received: from barbish ([63.70.155.122]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Fri, 11 Jan 2002 09:49:10 -0500 From: "Joe & Fhe Barbish" To: Cc: "FBSD Questions" Subject: RE: Virtual Servers Date: Fri, 11 Jan 2002 09:46:20 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <3C3EF0A5.DF26C000@jwebmedia.com> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Put your business client on his own box so he is not affected by outages around him. All ways protect the money maker. Virtual server is not the solution for you in this case. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Joseph Koenig Sent: Friday, January 11, 2002 9:03 AM Cc: freebsd-questions@freebsd.org Subject: Re: Virtual Servers I've so far gotten 2 responses that say to use jail, so I'm betting that is the way to go, but let me explain a little further. By client I mean one of my clients. So, what I'm looking for is a way to 'set off' an area on the server so that it thinks there is only 128MB of RAM when there's really 1GB and only 800MB of drive space when there's 30GB and that it can only use 20% of the processor time. Those are just examples. But this in little 'virtual' server, there would be an instance of Apache, sendmail, MySQL, etc. that would only server that area. I guess it would be one user, "virtualUser1" or something, that would be the owner of all processes in that area. That way if my main apache server goes down, this client (my business client) is not affected. I don't want to lock resources so they can't be used by other parts of the machine, but I do want to limit what the client (mine) has access to, in terms of resources, and keep their processes completely seperate from the rest of the machine. I think a combination of user limits and jail will do this. Is this correct? Thanks, Joe Mike Makonnen wrote: > > Do you mean you want x% of cpu and y% of ram dedicated soley to one client (btw is client a user or an application?) and if that client isn't doing any work those locked resources can't be used at all? Or do you mean you don't want the client to use any more than x amount of cpu and y amount of RAM? If you mean the former I don't think it's doable, but if it's the latter: man login.conf > > Cheers, > mike makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message