what does it mean to 'assign user's web session to a dedicated container' on openvz
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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?
What users are those?
Logs into what webserver?
What session?
dafuq is "HN"? spell it out.
->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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.