Philippe, Thanks for the reply.
I am not aware of NLB. I will need to look into it further. But I am mostly interested in determining if a selected WTS is available for a RDP session prior to initiating a session. Brad's script does that very well. The second issue is load balancing, preferably some sort of intelligent method. I basically use a round robin approach. If the WTS can decide based on actual loading, then that would be best. Regards, Tom -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Philippe Schwarz Sent: Saturday, January 16, 2010 7:19 AM To: SunRay-Users mailing list Subject: EXTERNAL:Re: [SunRay-Users] WTS health check before uttsc Brad Lackey a écrit : > Here's how I do it... > > /usr/sbin/ping $TS 2 2> /dev/null > if [ $? -eq 0 ]; then > CHECK=`telnet $TS 3389 2>/dev/null << 1` > RDP_AVAIL=`echo $CHECK | nawk '/Connected/ {print "true"}'` > if [ "$RDP_AVAIL" = "true" ]; then > /op/SUNWuttsc/bin/uttsc -m -b -E theming $TS > > else > echo "RDP service not running on $i" > fi > fi > > Brad > > On Jan 13, 2010, at 2:43 PM, Anderson, Thomas B (IT Solutions) wrote: > >> I am looking to do some load balancing to a group of WTSs via uttsc. >> >> I would like to determine if a selected WTS is up and ready for a RDP >> session. Doing a ping is OK, but sometimes a WTS will respond to a ping but >> still not accept a RDP connection. >> >> What would be a good way to check a WTS to determine if it is available to >> establish a new RDP session. Currently, I use uttsc with the -t option and >> if the uttsc fails I try another WTS server. >> >> Is there a better way? I would like to check before I issue a uttsc. >> >> Solaris 10 SPARC, 4.2, 2.2 >> >> Thanks, Tom >> Hello, why not use a built-in feature of Windows servers ? NLB : Network Load Balancing Each of the WS TS farm share a unique IP wich is the IP of the service TS adressed by the SRray clients. No need to script, free of charge, real-time redundancy. My 2 cts. Best regards. _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
