Uniface Server Types (UST)

The Uniface Server Type (UST) is a named Uniface Server configuration. It is used by the Uniface Router to start and manage Uniface Servers and route client requests to the appropriate server or client application.

A UST is defined in the assignment file of the Uniface Router, in the [SERVERS] section. For example:

[SERVERS]
Sales= userver.exe /maxidle=120 /asn=sales.asn
HR=userver.exe  /asn=hr.asn

The UST can then be used in client assignment files to request a specific Uniface Server. Once defined, assignments can direct a client’s database requests, files, components, and applications through the Uniface Router to the appropriate Uniface Server.

A UST can also be provided in the command line of a Uniface Server that is started manually. In this case, the /ust command line switch provides part of the information that the Uniface Server uses to register with the Uniface Router. For example:

userver.exe /asn=sales.asn /dnp=TCP:ahost+13002 /ust=Sales /maxidle=120

On Windows, it is possible to dynamically define or modify USTs using the Uniface Router Monitor.

Default USTs

The following USTs are defined by default in the [SERVERS] section of the Uniface Router assignment file:

  • default—startup instructions for the default Uniface Server that is used if the client does not specify a UST, or specifies one that is not defined.
  • wasv—startup instructions for the Uniface Web Application Server used to execute server page components

If the UST is not defined in the Uniface Router assignment file or the Uniface Server command line, the Uniface Router uses the default UST definition.

If the default UST is not specified in the assignment file, a Uniface Server is started with the normal default settings:

  • /dir—working directory of the Uniface Router
  • /asn—assignment file usysadm:userver.asn
  • /max—unlimited
  • /maxreq—unlimited
  • /maxidle—unlimited

Related Topics