Consultor Eletrônico



Kbase P39336: Installation Notes for Windows NT Terminal Server Edition w/
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/29/2003
Status: Unverified

GOAL:

Installation Notes for Windows NT Terminal Server Edition w/ Citrix MetaFrame 1.x

FACT(s) (Environment):

Progress 8.x

FACT(s) (Environment):

Progress 9.x

FACT(s) (Environment):

Citrix MetaFrame 1.0 for Windows NT 4.0 Terminal Server

FACT(s) (Environment):

Citrix MetaFrame 1.8 for Windows NT 4.0 Terminal Server

FACT(s) (Environment):

SUMMARY:

This solution describes the way Progress must be installed on both
Microsoft Windows NT Terminal Server Edition and Terminal Server with
There is no difference in the way the installation is done on a Terminal Server or a Terminal Server with MetaFrame installed. The benefit of having MetaFrame is that you have the ICA protocol with its better performance and capabilities.

As with the Citrix WinFrame server, it is important that each user has it's own working directory set up and maybe mapped to X: so that any
temporary files are stored separately for each user (This would be
done by setting the following in a .pf -T X:)

To prepare the ini-mapper for an installation, a command prompt should
be opened (and stay open during the installation). Type the following:

C:\CHANGE USER /INSTALL

then run the installation program for the Progress version that should
be installed. When this has finished type, at the same command prompt:

CHANGE USER /EXECUTE

This sets the system to execute mode, and the ini-mapper stops it's
recording of changes done to the registry.

Windows Client tuning (prowin32.exe):

Some applications constantly look for keyboard input even while
they appear to be doing nothing, thereby consuming system CPU
usage. MetaFrame has built-in logic to detect this behavior.
When the type of behavior is detected, the application's
execution is suspended in order to allow other applications to
use the CPU.

In order to avoid having Progress applications suspended and to
allow them to use more of the CPU resources, you must change the
compatibility bits.

For WinFrame the compatibility bits are stored in:


/HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Compatibility\Applications\
prowin32

For MetaFrame they are stored in:

/HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
TerminalServer\Compatibility\Applications\prowin32

NOTE: After you install Progress, there are no such entries in
this Registry key. You must manually create them if you want to
perform tuning. A copy of these values is in the
.\Compatibility\Applications\SETUP key. With the SETUP subkey
highlighted:

1) Select Save Key from the Registry menu.

2) Create a subkey for PROWIN32. The extension (.exe) is not
used.

3) Highlight the Application subkey.

4) Choose Add Key on the Edit menu.

5) To copy the values from the SETUP subkey, select your new
subkey PROWIN32 and choose Restore from the Registry
menu.

6) Choose the filename you created.

The following are descriptions of the Registry entry components:

- FirstCountMsgQPeeksSleepBadApp

The number of times the application monitors the message
queue before it decides that it is ill-behaved. Decreasing
this value puts the application to sleep more often so it
uses less CPU time.

- MsgQBadAppSleepTimeInMillisec

The number of milliseconds the application is put to sleep
once it is determined that it is ill-behaved. Increasing
this value causes the application to use less CPU time.

- NthCountMsgQPeeksSleepBadApp

The number of times the application monitors the message
queue after it is determined that it is an ill-behaved
application for it to be put to sleep again. Decreasing this
value causes the application to use less CPU time.

- Flags

Control the type of application to which the bad application
flags apply.

0x8 for 32-bit applications only
0x4 for 16-bit applications only
0xC for both 16- and 32-bit applications

- Settings

If MsgQBadAppSleepTimeInMillisec value is zero, polling
detection is disabled. Set this value to zero and the. Flags
to 0x8 to get better performance. Do this for all
executables. Currently the most used executables are:

PROWIN32
_MPROSRV
_PROGRES
PRORE32
PRORB32
_PROAPSV
PROCTRL

But in theory, each .exe file could be registered because it
most likely improves performance.

**These Registry entries are not used with Windows 2000
Terminal Server.

This completes the installation and after a reboot everything should work..