LTSP server as Application

teverth

New Member
Jun 30, 2010
7
0
1
I am testing Proxmox at the moment. Installed the Ubuntu Hardy vritual appliance.
Now I want to install LTSP.
For this I want to have the Hardy server use both ethernet cards in the host machine, eth0 for internet and eth1 for the thin clients.
I could not find enough information about the Proxmox networking model to do this.
Is there anywhere a guide on how to configure the networking model correctly?
The only way I could get Hardy to connect to anything was the venet way using eth0.
I can not find a way in the Proxmox VM management panel to specify the second network connection.

Thanks!
Thomas
 
Hi Tom!

I read that page and watched the videos but its not enough to tell me what I should be doing.
The Ubuntu needs to use two eth ports. One for internet the other for the private net of its LTSP clients, its own DHCP server etc.
Nothing in the docu allows me to see how this is configured. In the Server Proxmox Gui is only a field for one network connection to be set up. How do I connect the second one?
Thomas
 
see vzctl (CLI).
 
Hi Tom!

Thanks for the hint. I get it, grazing of the gui cliff then... has been the constant experience for anything but trivial incursions into the Linux world for me....

So far here is my experience trying to get an LTSP server running for our school:
1) Install Proxmox: Sweet!
2) Installed Edubuntu 10.04 LTSP as KVM from DVD. Runs but after a while Proxmox throws up disk errors on the console. The hardware is sweet band new and no faults. Did not get far enough to tinker with the LTSP.
3) Installed your Hardy Appliance. Sweet but no GUI. Tried to apt get a gui but so far no luck. Of cause I need the full x-server gui and all to make it into an LTSP.
4) Installed Edubuntu 10.04 directly on the machine. Runs (no disk errors) and works as LTSP. But after update all hell breaks loos. Clients wired. Hours later unresloveable...
5) Got myself K12 Fedora LTSP (said to install in minutes) but hangs during first boot (seems a common feat according to the blogs)
6) Back to Proxmox... Has anybody got a good LTSP install running on Proxmox? KVM or OpenVZ? Which Linux flavour?
7) Perhaps I'll check out VMware ESXi...

Cheers!

Thomas
 
stuff VMWare... its incompatible with my hardware NICs

Back to Proxmox:

I can connect a sever using the venet model. I give it one IP address in your GUI and I am on the internet from within Hardy appliance. Cool but I need two venets (eth0 and eth1)

If I configure the appliance using the veth model I select vmbr0. It says IP Address unknown in your GUI.
There seems to be no way to get a connection from the hardy appliance to the network as its not seeing any network adapter at all.

Server GUI:
I tried sudo apt-get install ubuntu-desktop on the hardy appliance but about 15% into the 2.5 hr process of downloading etc... the server disconnects from your console (perhaps crashes?) and the process terminates. Tried a couple of times...

Sever Container Configuration:
Why don't you have a Tab on your GUI for VM configuration that says: Edit Server Config File -> brings up a text form field with the proxmox VM config parameters to manually edit. Bingo!

Thomas
 
Last edited:
Bam, again: After about 30 minutes or so into a remote console connection to hardy running the apt-get install ubuntu-desktop command the vritual console says: "Network error: remote side closed connection" and the script is terminated. It almost seems that Proxmox has a time out function that kills whatever is running on the console to the VM???? What a hoot!
 
you cannot install ubuntu-desktop on a container (why? see http://openvz.org). I suggest you go for KVM as this is full virtualization and easier for beginners. And go for the 2.6.32 Kernel branch as we got here the latest KVM (but no containers).
(see http://pve.proxmox.com/wiki/Proxmox_VE_Kernel)

after you the upgrade, post the output of 'pveversion -v' to check if you got the latest packages.

And I suggest you dig a bit deeper before you think of any conspiracy theories ...
 
Thanks! I got Edubuntu 10.04 running now again as KVM virtual server. This time no hd errors. Fingers crossed.
Before that I played around with the hardy container a bit more. Indeed using the virtual console from the Proxmox GUI you are logged out (session forcefully terminated) every 30 minutes as your GUI logs the user out. So when you run a long apt-get whatever script, you will never finish! This is a 'feature' of your proxmox gui as it seems.... I see others have asked where one can tweak the automatic log out chron or whatever it is but I can not find any answer.

I used Putty finally and that gave me an uninterrupted session for hours...

But I abandoned the OpenVZ hardy as you suggested.

So back to KVM. I have the Edubuntu 10.04 as KVM running but with only one eth port: eth0.
I am still lost as how to configure the second real eth port of the host, eth1, so its available for the KVM server and recognized there as eth1.
Surely this must be something simple to do. Staring at vzctl (CLI) for a while did not help.
Can you elaborate?
Thanks!
Thomas
 
Thanks! I got Edubuntu 10.04 running now again as KVM virtual server. This time no hd errors. Fingers crossed.
Before that I played around with the hardy container a bit more. Indeed using the virtual console from the Proxmox GUI you are logged out (session forcefully terminated) every 30 minutes as your GUI logs the user out. So when you run a long apt-get whatever script, you will never finish! This is a 'feature' of your proxmox gui as it seems....

yes, that's behavior by design. you should connect via ssh if you want permanent session.

I see others have asked where one can tweak the automatic log out chron or whatever it is but I can not find any answer.

I used Putty finally and that gave me an uninterrupted session for hours...

But I abandoned the OpenVZ hardy as you suggested.

So back to KVM. I have the Edubuntu 10.04 as KVM running but with only one eth port: eth0.
I am still lost as how to configure the second real eth port of the host, eth1, so its available for the KVM server and recognized there as eth1.
Surely this must be something simple to do. Staring at vzctl (CLI) for a while did not help.
Can you elaborate?
Thanks!
Thomas

vzctl is the commandline tool for OpenVZ.

an example how to configure the second physical NIC on the host, see this http://pve.proxmox.com/wiki/Bridge_configuration_(Video)

if you need a second NIC in your KVM guest, just add one and connect it to the second bridge - see http://pve.proxmox.com/wiki/Hardware_setup_for_KVM_guests_(Video) (btw, the command line tool for KVM is qm).
 
Hi Tom! Great!

I had missed that you can click on the red down arrow on the server panel to add hardware! Now its all up and running, without grazing of the GUI cliff!! :-)
A hint to the disk errors I had prior: I had upgraded to your 2.6.24 kernel from your website. With that the 10.04 Ubuntu did cause disk errors. Now I am using your 1.5 from the CD unpatched and its fine.
I am running the OS selection as 'Other'. Before I had selected Linux 2.6

Thanks!
Thomas