Seth Galitzer | 1 Sep 23:07 2009

testing network latency

I've got 24 Sunray 2FS DTUs hanging off a single SRSS server (whitebox, 
2x Xeon 2.6GHz CPU, 6GB RAM, Solaris 10).  By default, they connect to a 
Windows Terminal Server (SunFire X4600, 4x Opteron 8218 2.6GHz CPU, 16GB 
RAM, Windows Server 2003) via srwc.  The DTUs are on a completely 
separate subnet from the rest of my network.  The SRSS host has a single 
interface that is on this subnet that is used for all DTU communication. 
  The SRSS host also has a direct cable link (crossover cable) to the 
WTS host.  Both the SRSS host interfaces and the WTS interface are all 
1Gbps.

This setup is used in a classroom lab setting.  During class, there can 
be anywhere from 10-20 students using the lab at the same time.  We are 
a computer science program, so students use development platform 
applications, such as Eclipse, Visual Studio, and Rational System 
Architect (formerly Rational Rose), among others.  In my second year of 
running this system, we seem to be having significant performance 
problems with a large number of users trying to load applications 
simultaneously.  eg, if a class comes in and they all login and try to 
load eclipse, the system will grind to a halt and become completely 
unresponsive until the app is loaded for everybody.  This can take up to 
30 min before the DTUs are usable.

I've been monitoring resource usage on the WTS host using Sysinternals 
Process Explorer 
(http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx).  As far 
as I can tell when the system gets bogged down like this, I am not 
seeing any CPU. memory, or I/O wait causing the latency.  The CPU 
utilization jumps around between 20-60%, and I only see usage spikes on 
2 of the 8 CPU cores.  RAM utilization stays absolutely stable, right 
around 4GB of my 16 available.  File I/O is barely noticeable.
(Continue reading)

Kaya Saman | 2 Sep 00:29 2009
Picon

Re: testing network latency

Seth Galitzer wrote:
> I've got 24 Sunray 2FS DTUs hanging off a single SRSS server 
> (whitebox, 2x Xeon 2.6GHz CPU, 6GB RAM, Solaris 10).  By default, they 
> connect to a Windows Terminal Server (SunFire X4600, 4x Opteron 8218 
> 2.6GHz CPU, 16GB RAM, Windows Server 2003) via srwc.  The DTUs are on 
> a completely separate subnet from the rest of my network.  The SRSS 
> host has a single interface that is on this subnet that is used for 
> all DTU communication.  The SRSS host also has a direct cable link 
> (crossover cable) to the WTS host.  Both the SRSS host interfaces and 
> the WTS interface are all 1Gbps.
>
> This setup is used in a classroom lab setting.  During class, there 
> can be anywhere from 10-20 students using the lab at the same time.  
> We are a computer science program, so students use development 
> platform applications, such as Eclipse, Visual Studio, and Rational 
> System Architect (formerly Rational Rose), among others.  In my second 
> year of running this system, we seem to be having significant 
> performance problems with a large number of users trying to load 
> applications simultaneously.  eg, if a class comes in and they all 
> login and try to load eclipse, the system will grind to a halt and 
> become completely unresponsive until the app is loaded for everybody.  
> This can take up to 30 min before the DTUs are usable.
>
> I've been monitoring resource usage on the WTS host using Sysinternals 
> Process Explorer 
> (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx).  As 
> far as I can tell when the system gets bogged down like this, I am not 
> seeing any CPU. memory, or I/O wait causing the latency.  The CPU 
> utilization jumps around between 20-60%, and I only see usage spikes 
> on 2 of the 8 CPU cores.  RAM utilization stays absolutely stable, 
(Continue reading)

Kaya Saman | 2 Sep 00:58 2009
Picon

Re: testing network latency

[...]
>>
>>
>> If anybody has any good load-balancing tips for my situation, I'd 
>> love to hear them.  I'm running SRSS 4.1 and srwc 2.1, I have not yet 
>> updated to the latest release.  I love my SunRays, but if this 
>> continues to be a problem, I'll have to scrap them and go back to 
>> maintaining 24 PCs again.  I want to avoid this at all cost.
>>
>> Thanks.
>> Seth
>>
[...]

Although not very experienced with Sun Ray infrastructures as I only 
have one at home, in a standard network topology after the baselining 
has been completed and you know where your blockages are if any the best 
thing to increase bandwidth is usually to add more NICs to the 
infrastructure. If say your server has 4 NICs you may want to add 2 to 
the Ray interconnect since you are using a dedicated interconnect or 
another link to the MS server.

I'm not sure if having a failover group with the Rays will actually 
distribute load between both servers and hence both NICs - best wait for 
a more experienced persons response to that one but if it does that 
might be another option.

Another alternative would be to add a 10GigE link between both servers 
if that's where the bottleneck is if things are really bad.

(Continue reading)

Craig Bender | 2 Sep 05:18 2009
Picon

Re: testing network latency

Is it possible that this application that you are using is a single 
threaded application?  I run into this all the time, it can't take 
advantage of the server you have it in and you'd be far better off 
upping your RAM on the WTS server and turning it into a VDI host.  None 
of the apps listed are very good candidates for WTS and they all scream 
for VDI.  Doesn't Visual Studio alone want a GB of RAM?

The Sun Ray side isn't doing any of the heavy lifting so I'd seriously 
doubt that's were the trouble lies.  Nor does this sound like anything 
with the network, but if you think you might be dropping packets check 
out utcapture.  There are a million guides out there for solaris perf 
tuning (again, I doubt your problems are here).  Start with prstat, and 
go from there. Man netstat, iostat, sar, grab a Solaris version of Top 
even.

Seth Galitzer wrote:
> I've got 24 Sunray 2FS DTUs hanging off a single SRSS server (whitebox, 
> 2x Xeon 2.6GHz CPU, 6GB RAM, Solaris 10).  By default, they connect to a 
> Windows Terminal Server (SunFire X4600, 4x Opteron 8218 2.6GHz CPU, 16GB 
> RAM, Windows Server 2003) via srwc.  The DTUs are on a completely 
> separate subnet from the rest of my network.  The SRSS host has a single 
> interface that is on this subnet that is used for all DTU communication. 
>  The SRSS host also has a direct cable link (crossover cable) to the WTS 
> host.  Both the SRSS host interfaces and the WTS interface are all 1Gbps.
> 
> This setup is used in a classroom lab setting.  During class, there can 
> be anywhere from 10-20 students using the lab at the same time.  We are 
> a computer science program, so students use development platform 
> applications, such as Eclipse, Visual Studio, and Rational System 
> Architect (formerly Rational Rose), among others.  In my second year of 
(Continue reading)

Niki W. Waibel | 2 Sep 11:35 2009
Picon
Picon

sunray DTU resets every 24h

hi,

we see sunray DTU resets (almost exactly) every 24 hours. it is not a big deal, but i wonder if someone else has
seen this.

it happens on all DTUs (as far as i can make out), but not exactly at the same time. the only almost exact thing
is the 24h -- on which it happens again. all sessions survive, just the screensaver appears.

we run srss-4.1 on solaris10/sparc, CDE desktop, utpolicy -D -a -g -m -r card, 2FS clients, fog with 3 servers.

it may have something to do with:
===/var/dt/Xerrors===
Wed Sep  2 11:02:19 2009
info (pid 1095): Rebuilding default language list from /usr/lib/locale

Wed Sep  2 11:02:19 2009
info (pid 1095): Rescanning both config and servers files

Wed Sep  2 11:02:41 2009
info (pid 1095): Rebuilding default language list from /usr/lib/locale

Wed Sep  2 11:02:41 2009
info (pid 1095): Rescanning both config and servers files

Wed Sep  2 11:07:45 2009
info (pid 1095): Rebuilding default language list from /usr/lib/locale

Wed Sep  2 11:07:45 2009
info (pid 1095): Rescanning both config and servers files

(Continue reading)

ZyXEL Abrakadabra | 2 Sep 11:56 2009
Picon

SRSS with SRWC and Win2008 TS Licensing per device

Hi,

I've been struggling to make srwc to work correctly with windows 2008
TS licensing set to "per device" mode. Every time sunray connects to
win2k8 terminal- event id 1004 shows up and TS CAL isn't issued.
I've tried every possible workaround found on the Internet (mostly
from citrix people): changed registry to issue 512-bit keys, gone
through every step in
http://technet.microsoft.com/en-us/library/cc775148(WS.10).aspx and so
on... Nothing worked. Done even http://support.microsoft.com/kb/957068
(although it's for "per user" based TS Lic.).

Tested with:
Solaris 10 (latest with all patches)
Windows 2008 STD/ENT SP2, Windows 2008 STD/ENT R2
SRSS 4.1 with SRWC 2.1 (with all available patches)
SRSS 4.2 (EA1) with SRWC 2.2
SunRay 2 (devices)

nothing worked, sunray logs are clean, windows shows up 1004 event id:
The terminal server cannot issue a client license. It was unable to
issue the license due to a changed (mismatched) client license,
insufficient memory, or an internal error. Further details for this
problem may have been reported at the client's computer.

Has anyone done this setup (SunRay->Solaris->Win2k8 with "per device" CALs)?

Regards,
Giedrius
(Continue reading)

Joerg Barfurth | 2 Sep 12:32 2009
Picon

Re: sunray DTU resets every 24h

Niki W. Waibel schrieb:
> hi,
> 
> we see sunray DTU resets (almost exactly) every 24 hours. it is not a big deal, but i wonder if someone else
has seen this.
> 

This may be DHCP leases that don't get renewed. Check your DHCP server 
configuration and/or logs, if leases expire after 24 hrs and are not 
renewed.

- Jörg
hai_vu | 2 Sep 15:44 2009

Re: Trouble with SRSS 4.1 / SRCW 2.1 latest patches on RHEL 5.3


Hi, I am a colleague of Peter's and he asked me to look into this matter while he's away on vacation (happy sailing Pete). So I poked around the affected system a bit and decided to change some permission, particularly of the directory /var/opt/SUNWkio from root-root to root-utkiosk, and for some magical reason the problem went away.  Later when changing the permission of said directory back to root-root the problem did not come back. This is quite baffling.  In any case after a fresh reinstall of SRSS/SRWC + all the patches (I blew away the /var/opt/SUNW* directories before reinstalling) no more problem were observed. So perhaps it was a botched installation of SRSS/SRWC, or application of patches thereof that caused the problems (there were many manual steps in one of the patches, one of which may have been missed).

In any case I think we got the problem licked.

Hai Vu
Mitel Networks
http://www.mitel.com
mailto:hai_vu <at> mitel.com
613-592-5660 x2853


peter_blatherwick <at> mitel.com
Sent by: sunray-users-bounces <at> filibeto.org

08/26/2009 01:40 PM

Please respond to
SunRay-Users mailing list <sunray-users <at> filibeto.org>

To
SunRay-Users mailing list <sunray-users <at> filibeto.org>
cc
Subject
Re: [SunRay-Users] Trouble with SRSS 4.1 / SRCW 2.1 latest patches        on        RHEL 5.3






OOPS, ignore that last one -- stupidly forgot to set executable permissions back on the initsession script ... my bad.  

Now getting exact same dialogs as before, even with the .dmrc file now having permissions = 644.  

-- Peter


peter_blatherwick <at> mitel.com
Sent by: sunray-users-bounces <at> filibeto.org

26/08/2009 12:41
Please respond to SunRay-Users mailing list

       
       To:        SunRay-Users mailing list <sunray-users <at> filibeto.org>
       cc:        
       Subject:        Re: [SunRay-Users] Trouble with SRSS 4.1 / SRCW 2.1 latest patches        on        RHEL 5.3





Thanks Joerg,  

> ... In any case there should be a $HOME/.dmrc file for the kiosk user. It
> should be owned by the kiosk user, but permissions should be 600. ...
> Can you check that file?

Checked it.  $HOME/.dmrc exists at time we're seeing the error dialogs, permissions = 600.  

> If the .dmrc error is indeed the one causing your problem, you can try
> to change the line that says 'chmod 600 $_theDMRCFile' in the
> /opt/SUNWkio/lib/initsession script to say '644' in place of '600' to
> work around the problem.

So, I tried that, inside setGDMSessionStarter () function (right?) and am now getting a different error dialogs at session start:
 "Error starting Kiosk session: invalid Kiosk session configuration. [OK]"
then a little later
 "Authentication failed. [OK]"

At that time, also see the following in SRSS logs
"
utauthd: SessionManager0 NOTICE: EMPTY: ACTIVE session
kiosk:utkioskconfig:refresh[22134]: Enabled Kiosk Mode for display ':13'
gdm[19493]: pam_kiosk: pam_sm_authenticate: Initiating Kiosk session with user utku4
gdm[19493]: pam_kiosk: pam_sm_setcred: Child process /opt/SUNWkio/lib/initsession failed with exit code 2.
"

During the new error dialogs. $HOME does not exist for the kiosk user (/var/opt/SUNWkio/home/ is empty).  

Note, /var/opt/SUNWkio/home/ has permissions 750, so expected that the chmod may be flunking.  However, still get same result even with this dir set to permissions 777.  Unsure if it is safe to change permissions of the ../home/ dir anyway, seems like could easily have bad side-effects.  

I'm attempting tracing down what specifically is complaining.  Where should I look for output of logError?  (Expect that's a dumb question ;^)

-- Peter
_______________________________________________
SunRay-Users mailing list
SunRay-Users <at> filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
SunRay-Users <at> filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users

_______________________________________________
SunRay-Users mailing list
SunRay-Users <at> filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
Adam Williams | 2 Sep 17:00 2009

Re: SRSS with SRWC and Win2008 TS Licensing per device

We are having the same issue, but when you use 64-bit in per device mode
with SP-2, after about 48 hours of use, the terminal server will no longer
accept connections from the SRWC client, and the client returns with no
error message or return value.  Windows Event log gives same error message.
I know that this isn't an answer to the question, but more of an FYI on
64-bit with SP2, when you set it to per user mode, the Terminal Server will
accept the connection.  This of course doesn't allow us to use the per
device CALS that were purchased.

Adam

-----Original Message-----
From: sunray-users-bounces <at> filibeto.org
[mailto:sunray-users-bounces <at> filibeto.org] On Behalf Of ZyXEL Abrakadabra
Sent: Wednesday, September 02, 2009 3:57 AM
To: sunray-users <at> filibeto.org
Subject: [SunRay-Users] SRSS with SRWC and Win2008 TS Licensing per device

Hi,

I've been struggling to make srwc to work correctly with windows 2008
TS licensing set to "per device" mode. Every time sunray connects to
win2k8 terminal- event id 1004 shows up and TS CAL isn't issued.
I've tried every possible workaround found on the Internet (mostly
from citrix people): changed registry to issue 512-bit keys, gone
through every step in
http://technet.microsoft.com/en-us/library/cc775148(WS.10).aspx and so
on... Nothing worked. Done even http://support.microsoft.com/kb/957068
(although it's for "per user" based TS Lic.).

Tested with:
Solaris 10 (latest with all patches)
Windows 2008 STD/ENT SP2, Windows 2008 STD/ENT R2
SRSS 4.1 with SRWC 2.1 (with all available patches)
SRSS 4.2 (EA1) with SRWC 2.2
SunRay 2 (devices)

nothing worked, sunray logs are clean, windows shows up 1004 event id:
The terminal server cannot issue a client license. It was unable to
issue the license due to a changed (mismatched) client license,
insufficient memory, or an internal error. Further details for this
problem may have been reported at the client's computer.

Has anyone done this setup (SunRay->Solaris->Win2k8 with "per device" CALs)?

Regards,
Giedrius
_______________________________________________
SunRay-Users mailing list
SunRay-Users <at> filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
ZyXEL | 2 Sep 17:41 2009
Picon

Re: SRSS with SRWC and Win2008 TS Licensing per device

Yes, I've forgot to mention that Windows was 64-bit, SunRays get
connected (even without the license) but I didn't wait for 48h to test
"not connecting" stage...

2009/9/2 Adam Williams <adam.williams <at> thinid.com>:
> We are having the same issue, but when you use 64-bit in per device mode
> with SP-2, after about 48 hours of use, the terminal server will no longer
> accept connections from the SRWC client, and the client returns with no
> error message or return value.  Windows Event log gives same error message.
> I know that this isn't an answer to the question, but more of an FYI on
> 64-bit with SP2, when you set it to per user mode, the Terminal Server will
> accept the connection.  This of course doesn't allow us to use the per
> device CALS that were purchased.
>
>
>
> Adam
>
>
>
>
> -----Original Message-----
> From: sunray-users-bounces <at> filibeto.org
> [mailto:sunray-users-bounces <at> filibeto.org] On Behalf Of ZyXEL Abrakadabra
> Sent: Wednesday, September 02, 2009 3:57 AM
> To: sunray-users <at> filibeto.org
> Subject: [SunRay-Users] SRSS with SRWC and Win2008 TS Licensing per device
>
> Hi,
>
> I've been struggling to make srwc to work correctly with windows 2008
> TS licensing set to "per device" mode. Every time sunray connects to
> win2k8 terminal- event id 1004 shows up and TS CAL isn't issued.
> I've tried every possible workaround found on the Internet (mostly
> from citrix people): changed registry to issue 512-bit keys, gone
> through every step in
> http://technet.microsoft.com/en-us/library/cc775148(WS.10).aspx and so
> on... Nothing worked. Done even http://support.microsoft.com/kb/957068
> (although it's for "per user" based TS Lic.).
>
> Tested with:
> Solaris 10 (latest with all patches)
> Windows 2008 STD/ENT SP2, Windows 2008 STD/ENT R2
> SRSS 4.1 with SRWC 2.1 (with all available patches)
> SRSS 4.2 (EA1) with SRWC 2.2
> SunRay 2 (devices)
>
> nothing worked, sunray logs are clean, windows shows up 1004 event id:
> The terminal server cannot issue a client license. It was unable to
> issue the license due to a changed (mismatched) client license,
> insufficient memory, or an internal error. Further details for this
> problem may have been reported at the client's computer.
>
> Has anyone done this setup (SunRay->Solaris->Win2k8 with "per device" CALs)?
>
> Regards,
> Giedrius
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users <at> filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users
>
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users <at> filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users
>
_______________________________________________
SunRay-Users mailing list
SunRay-Users <at> filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users

Gmane