LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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



Reply
 
Search this Thread
Old 05-01-2013, 05:51 AM   #1
charmin
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
Question 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.
 
Old 05-01-2013, 02:54 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,811
Blog Entries: 54

Rep: Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987Reputation: 2987
Quote:
Originally Posted by charmin View Post
I have heard that OpenVZ container can be used in educational environment by assigning each student his own container.How is this exactly done
http://openvz.org/Category:Concepts and the rest of the OpenVZ Wiki?


Quote:
Originally Posted by charmin View Post
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.
Configure its network like assigning an IP address and host name, etc, etc? See http://openvz.org/User_Guide/Operati...ring_Container or http://www.howtoforge.com/howtos/virtualization/openvz or http://wiki.centos.org/HowTos/Virtualization/OpenVZ ?


Quote:
Originally Posted by charmin View Post
I am really new to all this and may sound dumb,but could anyone please provide suggestions.
You maybe may also be interested in http://code.google.com/p/ovz-web-panel/.
 
Old 05-02-2013, 12:37 PM   #3
charmin
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-02-2013, 01:17 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,622
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
http://openvz.org/Category:Concepts and the rest of the OpenVZ Wiki?
+1.

Quote:
Originally Posted by charmin View Post
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.

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

Last edited by Habitual; 05-02-2013 at 01:18 PM.
 
Old 05-02-2013, 02:06 PM   #5
charmin
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
->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)
 
Old 06-16-2013, 01:21 PM   #6
gdr
Member
 
Registered: Jun 2013
Distribution: Mint KDE
Posts: 34

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transport container from Virtuozzo to OpenVZ refileman Linux - Virtualization and Cloud 0 04-16-2013 02:44 PM
OpenVZ container networking coelhoapm Linux - Virtualization and Cloud 3 10-25-2012 12:17 PM
OpenVZ Container Backup vzxen Linux - Virtualization and Cloud 5 09-22-2010 01:53 AM
Reinstall OpenVZ Container OS vzxen Linux - Virtualization and Cloud 0 07-21-2010 02:23 PM
PPTPclient in openVZ container laurens Linux - Newbie 0 03-24-2009 10:32 AM


All times are GMT -5. The time now is 05:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration