Thanks, that get me part of the way.
I can ssh in to the application server and run X applications, that works fine.
But the whole rsh thing is causing troubles
Do I need to have NIS setup and working ?
Should I have /home/ mounted on the application server?
I'm probably missing a crucial step here.
Here's a terminal log,
[mstevens mercury mstevens]$ ping earth PING earth (192.168.0.253) 56(84) bytes of data. 64 bytes from earth (192.168.0.253): icmp_seq=1 ttl=64 time=0.335 ms 64 bytes from earth (192.168.0.253): icmp_seq=2 ttl=64 time=0.321 ms 64 bytes from earth (192.168.0.253): icmp_seq=3 ttl=64 time=0.273 ms 64 bytes from earth (192.168.0.253): icmp_seq=4 ttl=64 time=0.251 ms
--- earth ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3070ms rtt min/avg/max/mdev = 0.251/0.295/0.335/0.034 ms
[mstevens mercury mstevens]$ xhost +earth earth being added to access control list
[mstevens mercury mstevens]$ rsh earth "export DISPLAY=$DISPLAY; gcalctool" earth: Connection refused
On Wed, 2004-01-28 at 08:12, Nathan Shaffer wrote:
Sorry for the lag time in the response. With my real job schedule crazier than this volunteer computer gig, Mondays tend to be a fiasco.
We built a static hardware connection between the two servers (applications and labserver) due to the fact that rsh is a VERY non-secure connection unlike ssh, with no encryption to slow down the process. So with a 3rd nic card on our desktop server connected with a crossover cable to the applications server, we built a 2 ip class c static network between the two servers. /etc/hosts was updated to reflect the new connection.
My cohort in crime created a wrapper script in /usr/local/bin to run applications remotely which looks something like this:
#!/bin/bash # wrapper script to run mozilla remotely from appserver
xhost +appserver rsh appserver "export DISPLAY=$DISPLAY; mozilla"
This allows the program to run on the server +appserver with the second line setting up the display and exporting it to the desktop server. With this running OpenOffice, Mozilla and other things, we've managed to successfully balance the load of the two servers and response times for everything is vastly improved. The appserver's (applications) 2nd nic card is connected to the rest of the network for other services. With 30 students logged in using OO1.1, I've never seen either servers' load average over 1.2 where before just running 25 students on 1 dual 733 server would get nasty. We were seeing loads averages as high as 12.0 with lots of swap being used. Neither server touches swap now. /home/users is mounted on a third server running all the ldap stuff.
Hope this helps.
Nathan Shaffer St. John the Apostle School Oregon City, OR nathan grandvache com
_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>