Documente Academic
Documente Profesional
Documente Cultură
======
The following procedure describes how to remove a specific application package from
the SoftGrid cache on a client PC.
1. Open the SoftGrid Client Management Console (e.g., Start à Settings à Control Panel à
Administrative Tools à SoftGrid Client Management).
3. A- Right-click on the name of the application that you want to remove from the cache
and select Unload from the drop-down menu. This maintains the application shortcuts
and file associations.
or
B- Right-click on the name of the application that you want to remove completely and
select Delete from the drop-down menu.
Note: You must have administrative rights on the client PC to fully remove the
application from the SoftGrid client cache. If a user that lacks administrative rights the
“Unload” and “Delete” commands will not be available. A non-administrator will have
the option to “Clear” an application which will remove the program shortcuts and file
types for the current user.
The following command line will remove ALL applications and file types from the
SoftGrid cache on a client PC:
Note: The person running the above command must have administrative rights on the
client PC.
1. Logon to the client PC with a user account that has administrative rights.
HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid
Client\CurrentVersion\AppFS\State
The following procedure describes how to extend the maximum size of the SoftGrid
client cache:
HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid
Client\CurrentVersion\AppFS\State
Value=0
HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid
Client\CurrentVersion\AppFS\FileSize
Value=4096* *Desired maximum cache size in KB
· Always pre-load all applications that will be delivered through a particular Terminal
Server. This will reduce latency for users. See Section 3.2 for details of scripting a
solution.
· To relieve memory fragmentation, restart the client computer at least one time a month.
Restart more frequently if the computer starts more than 1,500 applications per day.
· Set the Run Settings to “Do not show the SoftGrid Client” to allow a clean shutdown of
the user profile.
HKEY_CURRENT_USER\Software\Softricity\CurrentVersion\CustomSettings\TrayVisi
bility=0
This section describes several SoftGrid log files that contain information that can be
helpful in troubleshooting issues with SoftGrid application delivery and execution.
Note: The SoftGrid software only writes events to the log files listed below. SoftGrid does
not log events to the System Event log or Application Event log.
%ProgramFiles%\Softricity\SoftGrid Server\logs\sft-server.log
The location of the server log file may differ depending on where the SoftGrid server
software was installed.
· The main log to consult is sftlog.txt. This log does not wrap around and therefore the
size of this file should be monitored and reset if necessary. Sftlist.exe /resetlog will
archive the logs current contents to sftlog000#.txt, increasing the number on each
execution. A batch process can collect or delete these files. .
· The default locations of the log files for the SoftGrid client for Windows desktops
follows:
· The default locations of the log files for the SoftGrid client for terminal servers follows:
The SoftGrid Management Console log file is disabled by default and must be enabled as
follows:
HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Management
Console\LogLevel = 1
· Verify that the SoftGrid Virtual Application Service is running at all times
Note: The thresholds for acceptable CPU, Memory and Disk Utilization for a SoftGrid
server are the same as for other Windows servers (e.g., file servers, web servers, etc.).
Where local profiles are used, no specific SoftGrid related profile maintenance should be
required.
Where roaming profiles are used, the following recommendations should be considered:
· Configure the SoftGrid client to redirect virtualized user application settings to a
centralized location such as a subdirectory in the user’s network home directory.
· Consider using the Microsoft User Profile Hive Cleanup (UPHClean) service to
improve the stability of roaming user profiles (this is a general recommendation and is
not specifically related to SoftGrid). The UPHClean service is available for free
download from the following web site:
http://www.microsoft.com/downloads/details.aspx?familyid=1B286E6D-8912-4E18-
B570-42470E2F3582&displaylang=en
· Consider monitoring and if necessary running a script to occasionally clean out the Icon
cache. Over time, orphaned icons can accumulate. By default, user specific icons are
located in "%APPDATA%\SoftGrid Client\Icon Cache and global icons are located
%ALLUSERSPROFILE%\Documents\SoftGrid Client\Icon Cache.
Each SoftGrid server has a registry setting pointing to its Content Repository root and the
SoftGrid database points to the location of each package. It is important that each
SoftGrid server sees the Content Repository in a similar structure. There are different
replication technologies that can accomplish this task. Whichever replication technology
is used it is important that you are able to confirm that replication has completed to all
SoftGrid servers before publishing an application. It can also be helpful to compare the
states of the Content Repositories by using a directory compare tool such as comp.exe or
Beyond Compare. Below are two replication topologies to consider.
· DFS
http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032289011&
EventCategory=3&culture=en-US&CountryCode=US
DfsAdmin.exe The DfsAdmin.exe is new for the Distributed File System (DFS) in the
Microsoft® Windows Server™ 2003 R2 operating system. Use this tool to administer
DFS replication from the command line. The DfsrAdmin.exe tool is often used in scripts
to configure and manage DFS replication.
DfsrDiag.exe The Dfsrdiag.exe is new for the Distributed File System (DFS) in the
Microsoft® Windows Server™ 2003 R2 operating system. Dfsrdiag.exe is a command-
line tool that can generate a backlog count or trigger a propagation test. Both show the
state of replication. Propagation shows you if files are being replicated to all nodes.
Backlog shows you how many files still need to replicate before two computers are in
sync. The backlog count is the number of updates that a replication group member has
not processed.
http://www.microsoft.com/downloads/details.aspx?familyid=49caf978-49e9-4eb6-9cc9-
72b5dd160505&displaylang=en
http://technet2.microsoft.com/WindowsServer/f/?en/library/ae08acaa-148d-41eb-a693-
35d80c4590751033.mspx
· Robocopy
4.5.1 Backup
All the metadata for the SoftGrid environment is stored in the SoftGrid Database. This
includes data about the published applications, file associations, licensing and package
versioning. In addition, usage data is also stored in the database. The metadata is
relatively small, often less than 10mb but the usage data is based on the number of users.
Each application event (Launch or Shutdown) generates 1kb. So 1000 users launching 10
apps per day would generate about 20MBs a day.
It is recommended to keep the SoftGrid server logging set to its default level of
“Warnings/Errors” and to not forward client log messages to the SoftGrid database.
A proper backup strategy would be to perform a complete backup nightly. You may also
back up the database after any significant updates in the Management Console so as not
to lose any publication or configuration changes.
In addition to backing up the database and log, you should also back up the Softricity
Jobs and Alerts.
2.5.2 Restore
In the event of a disaster or the need to move to a new physical SQL server, the SoftGrid
database can be restored. If you do not have a backup of master database, be sure to
recreate the login information for the Domain\SoftGrid Administrators and the
SOFTRICTY account. The following kb article references migrating to a new database
server but also applies to a recovery situation.
http://support.microsoft.com/kb/932136/en-us
Microsoft has completed the process of migrating data off of the old Softricity knowledge
base. The knowledge base contains useful information regarding planning,
implementation and troubleshooting SoftGrid. A link to the Microsoft Knowledge Base
follows:
http://support.microsoft.com
Error Code Formats: When searching the knowledge base for error codes, be aware that
the first 12 digits are unique to the version of the SoftGrid client software. The ending 8
digits of the error code remain constant between all client versions.
When you search for an error code such as 410038-15601C2A-00002AFC, enter the last
8 digits 00002AFC.
http://support.microsoft.com/kb/940163/
· SoftGrid Client Installation Guide
======