what does it mean to 'assign user's web session to a dedicated container' on openvz
I have heard that OpenVZ container can be used in educational environment by assigning each student his own container.How is this exactly done
I now have OpenVZ containers in my host machine in a LAN,which afcourse can be managed using vzctl.How can a user login to a container from another system in the same network. I am really new to all this and may sound dumb,but could anyone please provide suggestions. |
Quote:
Quote:
Quote:
|
Thanks for those suggestions.But I had gone through all those sites before and had found no answer to my questions.As for that web panel,i have already installed it.My current situation is
1.In the LAN i m working from,the hardware node(HN) on which OpenVZ is installed has ip address 192.168.2.152. 2.three containers have been created so far with ip in the range 192.168.0.101/28. 3.SNAT and DNAT configurations have been made with the destination address as the external ip address of the LAN router. 4.Apache and MySQL has been installed on the HN. 5.Apache has been installed on a container(101). 6.Other systems in the LAN are able to view the website hosted on apache of HN by typing the ip address on the browser. Now 1.How do I "assign a user session to a container" 2.How can containers be created dynamically so that when the user logs into the webserver,his session is assigned to a container 3.Does this require all the containers to run Apache(which is an overhead) and run similar application as in the HN 4.Will there be any dependency between the web server instance on the container and the HN ie will any updates made on the website hosted in Apache running on HN,be reflected in all the web server instances running on containers. 5.If a user telnets a container IP from another system in the network,what must she see? 6.Does all this involve bridging? |
Quote:
Quote:
Logs into what webserver? What session? dafuq is "HN"? spell it out. User Guide/Operations on Virtual Private Servers User Guide/Operations on Containers Container have no users until you give an ip of a container to a user and that would be root. root then is the user. Apache will be whatever version is in the Template |
->Users as in anyone trying to access the website hosted on apache,installed on the "Host Node(HN)", like the students on in an educational environment as mentioned in the beginning of this thread.
->session= web session ->HN=Host Node(OpenVZ host) |
You don't need to put the containers in a separate subnet and do address translation; a much more easy option is to assign the containers to IPs from the main network. It will work transparently.
But, like others, I recommend that you first read the OpenVZ wiki or basically any resource explaining what virtualization is. Container ~= virtual machine. |
All times are GMT -5. The time now is 10:33 PM. |