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