Scalability Testing: Sun Rays and Windows


This is part one in a series of scalability testing of Sun Rays as Windows Based Terminals

One of the most common requests we get in Sun Ray Engineering is for scalability numbers of Sun Ray Server running full screen Windows session in Controlled Access Mode (aka Kiosk Mode).  While most thin client folks know sizing Windows terminal varies greatly not only due to different application sets, user types, etc. in a Sun Ray environment there is another type of sizing to consider.   The server selected to act as the Sun Ray Server is also going to have a very big impact on scalabilty and performance.  As you can imagine, a v100 is going to be slower and not run as many sessions as x4100 would.

Currently the most asked about servers with regards to Sun Ray Server Sizing are the CoolThreads which run the UltraSPARC T1 chip.  While floating point is a weakness for this chip, we're not doing any by just running a RDP or Citrix client.  This chip is a process/thread monster and a lot of users equals a lot of processes.  One would think we could get a lot of users on one of these servers running fullscreen Windows in CAM mode, bringing the Sun Ray cost model even lower than it already is.  But thinking about it and proving it are two different things.  We need to walk the walk and prove it.  I'll be documenting these tests and methodologies in a series of blog posts starting with this one.

Scalability testing can be a pain.  Luckily, Sun Ray Server and CAM makes this particular test easy to accomplish.  There are two ways to go about generating load on the Sun Ray Server, using a lot of smart cards or a lot of Sun Rays.

The first is the most common which is to have a few Sun Rays and a bunch of Smart Cards.  Insert the smart card to initiate the session, then remove it and insert another.  Lather, rinse, repeat until you have the desired number of sessions on the server. The downside to this approach is that you don't generate a true network load from the Sun Ray Server to the Sun Ray.  Even though the smart card is removed the sessions keeps chugging away on the server so you get good data on server load however, so at least in this regard this method is valid.

The second method is to have several hundred Sun Rays at your disposal.  While many customers have 1000's of Sun Rays, not many have them deployed in a lab environment.  Luckily, we have this environment at Sun in our Sun Ray Engineering labs.  We've nicknamed these racks and racks of Sun Rays "Death Valley".  As each Sun Ray comes up it connects to the Sun Ray server and runs your CAM script.
 
In these tests our CAM script will initiate a Windows Terminal Server session via RDP or ICA and run applications using tools such as AutoIT, Winbench, or WinTask.  My favorite is AutoIT, not only because it is powerful, but because it is Free!  Citrix also has their own test suite called the Citrix Server Test Kit (CSTK) , however it is only useable if coming in via ICA connections so it won't work with RDP.  Brian Madden has a great how to on his site regarding what to test and what to look for on the Windows side of the houser on his website.  Check it out, it's great info.

But before you can launch an automated scripting tool, you need each Sun Ray login to the windows server.  Since you don't want to have to run around and type in 300 or more usernames and passwords, you'll want to automate this.  So what username should be used?  I'm sure a lot of folks would think to just use the same username for all the connections.  Possible?  Sure, as long as you change the default behavior of Terminal server to restrict each user to one session.  However, I've never been a fan of using the same username for all connection on terminal server.  Moreover I believe the process of creating the users profile, copying down roaming profiles, accessing different file structures, etc lends more authenticity to a sizing test.  Another consideration to consider is that certain applications only allow  each user to run one instance of the applications, for this alone you'll need each session to be logged in with a unique username.

So how do we have each Sun Ray session present a different username to Windows?  When Sun Ray server is in  Controlled Access Mode, each Sun Ray automatically logs in with a locked account that gets configured when CAM is enabled via utconfig.    The names of these accounts by default are utcu0 - utcuxxx, depending on how many CAM users you told utconfig to create.  So from an automation standpoint the easiest thing to do is to use the $USER variable of the unix session as the windows username and pass that argument in your CAM script.  With RDesktop your command line argument would look like -u $USER  and with Citrix it would look like this -username $USER.

So we need to create a lot of user accounts in Windows that match up to the CAM User ID.  Not only that, but we want to set the password as well and make sure that the user is enabled.    Sounds like a lot of work, but fortunately we can automate this too.  Here are a couple examples of methods I use.

Active Directory

With Windows Server 2003 Microsoft released a great utility called dsadd which is a godsend to those who were heavy into windows scripting host and ADSI.  In this script you will have to change your FQDN and the OU that you want the users created it.  Bold text marks the entries to change.  This example will create 500 users starting at utcu0 through utcu499.  Create text file called AddADUsers.cmd and paste the following into that file.  Note that there are no line breaks, it must be one line.

FOR /L %%i in (0,1,500) DO dsadd user "cn=utcu%%i,ou=Test,dc=corona,dc=sfbay,dc=sun,dc=com" -samid utcu%%i -upn utcu%%i@corona.sfbay.sun.com -fn CAM -ln User%%i -display "CAM User%%i" -pwd SunRay123 -disabled no

Stand Alone Server(s)

If you are using a stand alone server(s) (i.e. not part of a AD Domain), you can use a vbscript that uses a CSV file to import the username, Full Name, Password, Description, and whether or not they are an administrator

First is the vb script called CreateLocalUsers.vbs.  The only two things you would need to change on this is the server name an the location of your csv file.  I've bolded the two parts you would want to change.

'Bulk Create Local User v1.0
''
'-----------
'Description
'-----------
'Bulk Create Local User is a script to automate the creation of multiple local users from a CSV file
'This is especially useful for duplication of users between standalone servers and workstations.
'
'To use this, you need to create a CSV file in C:\\ called USERS.CSV.
'
'The fields for USERS.CSV are as follows
'
'UserName,Fullname,Password,Description,AdminTrueFalse
'
'eg. TestUser,Test User,mytestpassword,A Test User for the local machine,True
'
'Only UserName and Fullname are mandatory. If you choose not to use other fields, you must retain the commas, so:
'
'Leaving out all but Username and Fullname: TestUser,Test User,,,,
'Leaving out just the description: TestUser, Test User,password,,0
'
'The AdminTrueFalse field, if set to True, will add the user to the local Administrators group. The value for this field can be True, False, 1, or 0.
'If the Password field is left blank, a password of password will be set.
'
'A log file will be created, C:\\usersresults.TXT, which will permit review of the users created. This file includes information on whether the password
'was customized (ie. not set to password), whether a description was set, and whether the user was made an Administrator.

'----------------
'Revision History
'----------------
'v1.0 Created

Option Explicit
Dim FSO, CSVFile, LogFile, User, UserObject, Computer, X, UsersCreated, UserAttributes, Data, UserName, Fullname, Password, Description, Result, IsAdmin
Dim AdminGroup, UserGroup, CreateUser
Const Computername = "WINTS-3"

SET FSO=CreateObject("Scripting.FileSystemObject")
SET Computer= GetObject("WinNT://"&Computername&",computer")
SET AdminGroup = GetObject("WinNT://"&Computername&"/Administrators,group")
SET UserGroup = GetObject("WinNT://"&Computername&"/Users,group")

Computer.Filter = Array("user")

UserName = ""
Password = ""
FullName = ""
Description = ""

Set CSVFile = fso.OpenTextFile("C:\\users.csv",1)
Set LogFile = fso.OpenTextFile("C:\\usersresults.TXT",2,True)

X = 0
UsersCreated=0

Do While CSVFile.AtEndOfStream <> True
 Result = ""
 
 X = X + 1
 Data = CSVFile.Readline
 UserAttributes = Split(Data, ",")
 If Ubound(UserAttributes,1) >= 4 Then
  IsAdmin = False

  UserName = UserAttributes(0)
  Fullname = UserAttributes(1)
  Password = UserAttributes(2)
  Description = UserAttributes(3)
  IsAdmin = UserAttributes(4)
  If Not (IsAdmin = "False") and Not (IsAdmin = "True") and Not (IsAdmin = "0") and Not (IsAdmin = "1") Then IsAdmin = False
  CreateUser = True

  For Each UserObject In Computer
   If UCASE(UserObject.name) = UCASE(UserName) Then
    LogFile.Writeline("User "&Username&" ("&Fullname&") already existed.")
    CreateUser = False
   End If
  Next

  If CreateUser Then
   Set User = Computer.Create("user", UserName)
   If Password <> "" Then User.SetPassword Password else User.SetPassword "password"
   If Description <> "" Then User.Description = Description
   User.Fullname = Fullname
   User.SetInfo

   UserGroup.Add User.ADsPath
   If IsAdmin Then AdminGroup.Add User.ADsPath

   Result = UserName&" ("&Fullname&") was created. "
   If Password <> "" Then Result = Result + "Password was given a custom entry." else Result = Result + "Password was set to ""password""."
   If Description <> "" Then Result = Result + " Description was set."
   If IsAdmin Then Result = Result + " User was made a member of Administrators."
   Result = Result + Chr(13)
   LogFile.Writeline(Result)
   UsersCreated = UsersCreated + 1
  End If
 Else
  LogFile.Writeline("The entry on line "&X&" has less than 5 elements (Username,Fullname,Password,Description,AdminTrueFalse) and will not be processed.")
  LogFile.Writeline("Username and Fullname are mandatory, the other elements can be null (ie. ,,), but the correct number of commas must be present.")
 End If
Loop

CSVFile.Close
LogFile.Close
Result = "Done!"&Chr(13)&X&" lines of CSV file processed - "&UsersCreated&" Users Created!"&Chr(13)&"See the log file in C:\\usersresults.TXT for details!"
wsh.echo Result


Here is what the users.csv file would look like:

utcu0,CAM User,Sunray123,CAM Test Account,False
utcu1,CAM User,Sunray123,CAM Test Account,False
utcu2,CAM User,Sunray123,CAM Test Account,False
utcu3,CAM User,Sunray123,CAM Test Account,False
utcu4,CAM User,Sunray123,CAM Test Account,False
utcu5,CAM User,Sunray123,CAM Test Account,False
utcu6,CAM User,Sunray123,CAM Test Account,False
utcu7,CAM User,Sunray123,CAM Test Account,False
utcu8,CAM User,Sunray123,CAM Test Account,False
utcu9,CAM User,Sunray123,CAM Test Account,False
utcu10,CAM User,Sunray123,CAM Test Account,False
utcu11,CAM User,Sunray123,CAM Test Account,False
utcu12,CAM User,Sunray123,CAM Test Account,False
utcu13,CAM User,Sunray123,CAM Test Account,False
utcu14,CAM User,Sunray123,CAM Test Account,False
utcu15,CAM User,Sunray123,CAM Test Account,False
utcu16,CAM User,Sunray123,CAM Test Account,False
utcu17,CAM User,Sunray123,CAM Test Account,False
utcu18,CAM User,Sunray123,CAM Test Account,False
utcu19,CAM User,Sunray123,CAM Test Account,False
utcu20,CAM User,Sunray123,CAM Test Account,False
utcu21,CAM User,Sunray123,CAM Test Account,False
utcu22,CAM User,Sunray123,CAM Test Account,False
utcu23,CAM User,Sunray123,CAM Test Account,False
utcu24,CAM User,Sunray123,CAM Test Account,False
utcu25,CAM User,Sunray123,CAM Test Account,False
utcu26,CAM User,Sunray123,CAM Test Account,False
utcu27,CAM User,Sunray123,CAM Test Account,False
utcu28,CAM User,Sunray123,CAM Test Account,False
utcu29,CAM User,Sunray123,CAM Test Account,False
utcu30,CAM User,Sunray123,CAM Test Account,False
utcu31,CAM User,Sunray123,CAM Test Account,False
utcu32,CAM User,Sunray123,CAM Test Account,False
utcu33,CAM User,Sunray123,CAM Test Account,False
utcu34,CAM User,Sunray123,CAM Test Account,False
utcu35,CAM User,Sunray123,CAM Test Account,False
utcu36,CAM User,Sunray123,CAM Test Account,False
utcu37,CAM User,Sunray123,CAM Test Account,False
utcu38,CAM User,Sunray123,CAM Test Account,False
utcu39,CAM User,Sunray123,CAM Test Account,False
utcu40,CAM User,Sunray123,CAM Test Account,False
utcu41,CAM User,Sunray123,CAM Test Account,False
utcu42,CAM User,Sunray123,CAM Test Account,False
utcu43,CAM User,Sunray123,CAM Test Account,False
utcu44,CAM User,Sunray123,CAM Test Account,False
utcu45,CAM User,Sunray123,CAM Test Account,False
utcu46,CAM User,Sunray123,CAM Test Account,False
utcu47,CAM User,Sunray123,CAM Test Account,False
utcu48,CAM User,Sunray123,CAM Test Account,False
utcu49,CAM User,Sunray123,CAM Test Account,False
utcu50,CAM User,Sunray123,CAM Test Account,False
utcu51,CAM User,Sunray123,CAM Test Account,False
utcu52,CAM User,Sunray123,CAM Test Account,False
utcu53,CAM User,Sunray123,CAM Test Account,False
utcu54,CAM User,Sunray123,CAM Test Account,False
utcu55,CAM User,Sunray123,CAM Test Account,False
utcu56,CAM User,Sunray123,CAM Test Account,False
utcu57,CAM User,Sunray123,CAM Test Account,False
utcu58,CAM User,Sunray123,CAM Test Account,False
utcu59,CAM User,Sunray123,CAM Test Account,False
utcu60,CAM User,Sunray123,CAM Test Account,False
utcu61,CAM User,Sunray123,CAM Test Account,False
utcu62,CAM User,Sunray123,CAM Test Account,False
utcu63,CAM User,Sunray123,CAM Test Account,False
utcu64,CAM User,Sunray123,CAM Test Account,False
utcu65,CAM User,Sunray123,CAM Test Account,False
utcu66,CAM User,Sunray123,CAM Test Account,False
utcu67,CAM User,Sunray123,CAM Test Account,False
utcu68,CAM User,Sunray123,CAM Test Account,False
utcu69,CAM User,Sunray123,CAM Test Account,False
utcu70,CAM User,Sunray123,CAM Test Account,False
utcu71,CAM User,Sunray123,CAM Test Account,False
utcu72,CAM User,Sunray123,CAM Test Account,False
utcu73,CAM User,Sunray123,CAM Test Account,False
utcu74,CAM User,Sunray123,CAM Test Account,False
utcu75,CAM User,Sunray123,CAM Test Account,False
utcu76,CAM User,Sunray123,CAM Test Account,False
utcu77,CAM User,Sunray123,CAM Test Account,False
utcu78,CAM User,Sunray123,CAM Test Account,False
utcu79,CAM User,Sunray123,CAM Test Account,False
utcu80,CAM User,Sunray123,CAM Test Account,False
utcu81,CAM User,Sunray123,CAM Test Account,False
utcu82,CAM User,Sunray123,CAM Test Account,False
utcu83,CAM User,Sunray123,CAM Test Account,False
utcu84,CAM User,Sunray123,CAM Test Account,False
utcu85,CAM User,Sunray123,CAM Test Account,False
utcu86,CAM User,Sunray123,CAM Test Account,False
utcu87,CAM User,Sunray123,CAM Test Account,False
utcu88,CAM User,Sunray123,CAM Test Account,False
utcu89,CAM User,Sunray123,CAM Test Account,False
utcu90,CAM User,Sunray123,CAM Test Account,False
utcu91,CAM User,Sunray123,CAM Test Account,False
utcu92,CAM User,Sunray123,CAM Test Account,False
utcu93,CAM User,Sunray123,CAM Test Account,False
utcu94,CAM User,Sunray123,CAM Test Account,False
utcu95,CAM User,Sunray123,CAM Test Account,False
utcu96,CAM User,Sunray123,CAM Test Account,False
utcu97,CAM User,Sunray123,CAM Test Account,False
utcu98,CAM User,Sunray123,CAM Test Account,False
utcu99,CAM User,Sunray123,CAM Test Account,False
utcu100,CAM User,Sunray123,CAM Test Account,False
utcu101,CAM User,Sunray123,CAM Test Account,False
utcu102,CAM User,Sunray123,CAM Test Account,False
utcu103,CAM User,Sunray123,CAM Test Account,False
utcu104,CAM User,Sunray123,CAM Test Account,False
utcu105,CAM User,Sunray123,CAM Test Account,False
utcu106,CAM User,Sunray123,CAM Test Account,False
utcu107,CAM User,Sunray123,CAM Test Account,False
utcu108,CAM User,Sunray123,CAM Test Account,False
utcu109,CAM User,Sunray123,CAM Test Account,False
utcu110,CAM User,Sunray123,CAM Test Account,False
utcu111,CAM User,Sunray123,CAM Test Account,False
utcu112,CAM User,Sunray123,CAM Test Account,False
utcu113,CAM User,Sunray123,CAM Test Account,False
utcu114,CAM User,Sunray123,CAM Test Account,False
utcu115,CAM User,Sunray123,CAM Test Account,False
utcu116,CAM User,Sunray123,CAM Test Account,False
utcu117,CAM User,Sunray123,CAM Test Account,False
utcu118,CAM User,Sunray123,CAM Test Account,False
utcu119,CAM User,Sunray123,CAM Test Account,False
utcu120,CAM User,Sunray123,CAM Test Account,False
utcu121,CAM User,Sunray123,CAM Test Account,False
utcu122,CAM User,Sunray123,CAM Test Account,False
utcu123,CAM User,Sunray123,CAM Test Account,False
utcu124,CAM User,Sunray123,CAM Test Account,False
utcu125,CAM User,Sunray123,CAM Test Account,False
utcu126,CAM User,Sunray123,CAM Test Account,False
utcu127,CAM User,Sunray123,CAM Test Account,False
utcu128,CAM User,Sunray123,CAM Test Account,False
utcu129,CAM User,Sunray123,CAM Test Account,False
utcu130,CAM User,Sunray123,CAM Test Account,False
utcu131,CAM User,Sunray123,CAM Test Account,False
utcu132,CAM User,Sunray123,CAM Test Account,False
utcu133,CAM User,Sunray123,CAM Test Account,False
utcu134,CAM User,Sunray123,CAM Test Account,False
utcu135,CAM User,Sunray123,CAM Test Account,False
utcu136,CAM User,Sunray123,CAM Test Account,False
utcu137,CAM User,Sunray123,CAM Test Account,False
utcu138,CAM User,Sunray123,CAM Test Account,False
utcu139,CAM User,Sunray123,CAM Test Account,False
utcu140,CAM User,Sunray123,CAM Test Account,False
utcu141,CAM User,Sunray123,CAM Test Account,False
utcu142,CAM User,Sunray123,CAM Test Account,False
utcu143,CAM User,Sunray123,CAM Test Account,False
utcu144,CAM User,Sunray123,CAM Test Account,False
utcu145,CAM User,Sunray123,CAM Test Account,False
utcu146,CAM User,Sunray123,CAM Test Account,False
utcu147,CAM User,Sunray123,CAM Test Account,False
utcu148,CAM User,Sunray123,CAM Test Account,False
utcu149,CAM User,Sunray123,CAM Test Account,False
utcu150,CAM User,Sunray123,CAM Test Account,False
utcu151,CAM User,Sunray123,CAM Test Account,False
utcu152,CAM User,Sunray123,CAM Test Account,False
utcu153,CAM User,Sunray123,CAM Test Account,False
utcu154,CAM User,Sunray123,CAM Test Account,False
utcu155,CAM User,Sunray123,CAM Test Account,False
utcu156,CAM User,Sunray123,CAM Test Account,False
utcu157,CAM User,Sunray123,CAM Test Account,False
utcu158,CAM User,Sunray123,CAM Test Account,False
utcu159,CAM User,Sunray123,CAM Test Account,False
utcu160,CAM User,Sunray123,CAM Test Account,False
utcu161,CAM User,Sunray123,CAM Test Account,False
utcu162,CAM User,Sunray123,CAM Test Account,False
utcu163,CAM User,Sunray123,CAM Test Account,False
utcu164,CAM User,Sunray123,CAM Test Account,False
utcu165,CAM User,Sunray123,CAM Test Account,False
utcu166,CAM User,Sunray123,CAM Test Account,False
utcu167,CAM User,Sunray123,CAM Test Account,False
utcu168,CAM User,Sunray123,CAM Test Account,False
utcu169,CAM User,Sunray123,CAM Test Account,False
utcu170,CAM User,Sunray123,CAM Test Account,False
utcu171,CAM User,Sunray123,CAM Test Account,False
utcu172,CAM User,Sunray123,CAM Test Account,False
utcu173,CAM User,Sunray123,CAM Test Account,False
utcu174,CAM User,Sunray123,CAM Test Account,False
utcu175,CAM User,Sunray123,CAM Test Account,False
utcu176,CAM User,Sunray123,CAM Test Account,False
utcu177,CAM User,Sunray123,CAM Test Account,False
utcu178,CAM User,Sunray123,CAM Test Account,False
utcu179,CAM User,Sunray123,CAM Test Account,False
utcu180,CAM User,Sunray123,CAM Test Account,False
utcu181,CAM User,Sunray123,CAM Test Account,False
utcu182,CAM User,Sunray123,CAM Test Account,False
utcu183,CAM User,Sunray123,CAM Test Account,False
utcu184,CAM User,Sunray123,CAM Test Account,False
utcu185,CAM User,Sunray123,CAM Test Account,False
utcu186,CAM User,Sunray123,CAM Test Account,False
utcu187,CAM User,Sunray123,CAM Test Account,False
utcu188,CAM User,Sunray123,CAM Test Account,False
utcu189,CAM User,Sunray123,CAM Test Account,False
utcu190,CAM User,Sunray123,CAM Test Account,False
utcu191,CAM User,Sunray123,CAM Test Account,False
utcu192,CAM User,Sunray123,CAM Test Account,False
utcu193,CAM User,Sunray123,CAM Test Account,False
utcu194,CAM User,Sunray123,CAM Test Account,False
utcu195,CAM User,Sunray123,CAM Test Account,False
utcu196,CAM User,Sunray123,CAM Test Account,False
utcu197,CAM User,Sunray123,CAM Test Account,False
utcu198,CAM User,Sunray123,CAM Test Account,False
utcu199,CAM User,Sunray123,CAM Test Account,False
utcu200,CAM User,Sunray123,CAM Test Account,False
utcu201,CAM User,Sunray123,CAM Test Account,False
utcu202,CAM User,Sunray123,CAM Test Account,False
utcu203,CAM User,Sunray123,CAM Test Account,False
utcu204,CAM User,Sunray123,CAM Test Account,False
utcu205,CAM User,Sunray123,CAM Test Account,False
utcu206,CAM User,Sunray123,CAM Test Account,False
utcu207,CAM User,Sunray123,CAM Test Account,False
utcu208,CAM User,Sunray123,CAM Test Account,False
utcu209,CAM User,Sunray123,CAM Test Account,False
utcu210,CAM User,Sunray123,CAM Test Account,False
utcu211,CAM User,Sunray123,CAM Test Account,False
utcu212,CAM User,Sunray123,CAM Test Account,False
utcu213,CAM User,Sunray123,CAM Test Account,False
utcu214,CAM User,Sunray123,CAM Test Account,False
utcu215,CAM User,Sunray123,CAM Test Account,False
utcu216,CAM User,Sunray123,CAM Test Account,False
utcu217,CAM User,Sunray123,CAM Test Account,False
utcu218,CAM User,Sunray123,CAM Test Account,False
utcu219,CAM User,Sunray123,CAM Test Account,False
utcu220,CAM User,Sunray123,CAM Test Account,False
utcu221,CAM User,Sunray123,CAM Test Account,False
utcu222,CAM User,Sunray123,CAM Test Account,False
utcu223,CAM User,Sunray123,CAM Test Account,False
utcu224,CAM User,Sunray123,CAM Test Account,False
utcu225,CAM User,Sunray123,CAM Test Account,False
utcu226,CAM User,Sunray123,CAM Test Account,False
utcu227,CAM User,Sunray123,CAM Test Account,False
utcu228,CAM User,Sunray123,CAM Test Account,False
utcu229,CAM User,Sunray123,CAM Test Account,False
utcu230,CAM User,Sunray123,CAM Test Account,False
utcu231,CAM User,Sunray123,CAM Test Account,False
utcu232,CAM User,Sunray123,CAM Test Account,False
utcu233,CAM User,Sunray123,CAM Test Account,False
utcu234,CAM User,Sunray123,CAM Test Account,False
utcu235,CAM User,Sunray123,CAM Test Account,False
utcu236,CAM User,Sunray123,CAM Test Account,False
utcu237,CAM User,Sunray123,CAM Test Account,False
utcu238,CAM User,Sunray123,CAM Test Account,False
utcu239,CAM User,Sunray123,CAM Test Account,False
utcu240,CAM User,Sunray123,CAM Test Account,False
utcu241,CAM User,Sunray123,CAM Test Account,False
utcu242,CAM User,Sunray123,CAM Test Account,False
utcu243,CAM User,Sunray123,CAM Test Account,False
utcu244,CAM User,Sunray123,CAM Test Account,False
utcu245,CAM User,Sunray123,CAM Test Account,False
utcu246,CAM User,Sunray123,CAM Test Account,False
utcu247,CAM User,Sunray123,CAM Test Account,False
utcu248,CAM User,Sunray123,CAM Test Account,False
utcu249,CAM User,Sunray123,CAM Test Account,False


Pulling it all together
So now we can have our CAM Script launch a RPD or ICA connection to a Windows Terminal Server providing a unique username and common password.   The next step is to have you automated windows scripts start up for each user.  You can decide which method is the best for you, but the easiest is to just put it in the Startup program group.

A few caveats:

  • If using Citrix, you must pass the password using the -clearpassword argument.
  • Ensure that Always Prompt for Password is NOT set for each protocol under the Logon Settings Tab using the Terminal Services Configuration Connections Snapin
  • To have the tests continually run, set your CAM application to critical and have your automated windows script performs a logoff at the end of the routine, the Sun Ray will cycle and start process again.

To Be Continued...


Comments:

Post a Comment:
Comments are closed for this entry.
About

Think Thin is a collection of bloggers that work with Oracle's Virtual Desktop portfolio of products.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today