This content has been marked as final. Show 1 reply
I have around 600 Sun Ray Clients against WTS 2008 R2. We are just using a load balancer pointing to a WTS so all sun rays use a load balancer kiosk out-of-the-box something like
-bash-3.00# utkiosk -e session
KIOSK_SESSION_ARGS=-t 300 -- -l de_DE -r disk:USBDRVS=$HOME/USBDRVS -E wallpaper -E theming -E fontsmoothing -r scard:on ts2008
One problem is, that the uttsc session restarts every 30 secs. which drives the WTS nuts if done from 600 sessions constantly. I found a nice idea on the sun ray forum, you maybe like
root> : /etc/opt/SUNWkio/sessions/uttsc > grep -n zenity uttsc
123: zenity info text "Maximum number of connections made without a logon. Press OK to continue."
if [ $theDifference -ge $theTimeout ] ; then
logger -i -p user.debug -t $theModule \
"Timeout '$theTimeout' has elapsed - exiting."
zenity info text "Maximum number of connections made without a logon. Press OK to continue."
So after the timeout of 300 secs. see above the user gets a dialogbox and needs to enter actively OK so the box resumes. This has lowered the load on the WTS dramatic, because I otherwise I have constantly hitting the following error message
Mar 26 10:14:42 Sun Ray Connector proxy:: [ID 855542 user.error] Child closed socket prematurely, session shutdown
Mar 26 10:15:15 Sun Ray Connector proxy:: [ID 855542 user.error] Child closed socket prematurely, session shutdown
Mar 26 10:15:46 Sun Ray Connector proxy:: [ID 855542 user.error] Child closed socket prematurely, session shutdown
If you have this error messages like hell, you know what to do ...