LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-06-2014, 05:08 AM   #1
kaushikmaji
LQ Newbie
 
Registered: Aug 2014
Posts: 3

Rep: Reputation: Disabled
Multiple Apache Instances on RHEL


Hi Friends,

We are a multi tenant hosting provider and use Apache on RHEL 5 servers. As the environment is shared, as of now, we didn't provide users access to directly change their site vhosts. But now we wish to make the process flexible and were thinking of having multiple Apache instances for each of the sites on the server. This will ensure that each site user will have access to change vhosts, restart apache etc for his her respective instance.
Can you please suggest if having multiple Apache instances on a single RHEL 5 server was possible?

thanks and regards,
Kaushik
 
Old 08-06-2014, 05:34 AM   #2
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18
It is possible to run multiple apache instances with different ports. But it may not what you want for multi-tenant setup. You may start think of container based virtualization.
 
Old 08-06-2014, 06:41 AM   #3
kaushikmaji
LQ Newbie
 
Registered: Aug 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi Myatthu,

Many thanks for your reply and suggestions.

May you please elaborate on "container based virtualization"?
We basically want the users to have access to their site's respective vhosts and are able to safely restart Apache to reflect new config changes i.e. without affecting other sites on the server.

Currently(in our old system) we have a virtual RHEL server with single Apache instance and multiple virtualhosts with varying IP-Port combinations.

Thanks and Regards,
Kaushik
 
Old 08-06-2014, 06:53 AM   #4
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18
Multiple Apache Instances on RHEL

I am recommending to create separate vm for your different customer.
if your user based is not much, it should be fine. But definitely you need more system resource for each customer.
you can look at openvz for container.
www.openvz.org
Good Luck
 
Old 08-06-2014, 08:01 AM   #5
kaushikmaji
LQ Newbie
 
Registered: Aug 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi Myatthu,

Thanks again for your reply. This kernel virtualization offered by OpenVZ is new to me. I will explore this further.
Is it the most effective way how multi tenant hosting providers allocate independent shells to users?

Thanks and Regards,
Kaushik
 
Old 08-06-2014, 11:09 PM   #6
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18
You should take a look on this project. It will be more relevant for your requirement.
http://www.webmin.com/virtualmin.html
Cheer
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Multiple instances of Fetchmail on RHEL Kumud Kumar Singh Linux - Enterprise 9 08-16-2013 02:58 AM
Running Multiple Apache Instances? sjfast911 Linux - Software 3 02-18-2013 07:21 AM
How do I manage CPU affinity FBO multiple instances of an application in RHEL v5.x? Kevin McLeod Linux - Newbie 2 02-05-2009 05:40 PM
Multiple Apache Instances piforever Red Hat 4 10-05-2008 08:18 AM
Multiple Apache instances on Debian solferino Debian 2 08-23-2005 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration