Reserved Licences
Reserved Licences enable the System Administrator to reserve a configurable number of user licences for use by terminals designated as Privileged (PRIV) in the devices file.
The total number of concurrent connections to a Reality database is limited to the number of user licences installed. This Reserved Licence facility is particularly useful where there are more terminals than user licences and there are a small number of terminals, critical to the operation of system, which must be guaranteed a connection whenever it is needed.
Setting Up the Number of Reserved Licences
The number of user licences to be reserved for Privileged terminals is specified by the environment variable REALRESERVE, preferably in the realityrc file in . For example to reserve 20 licences add the following line to the file. \files
REALRESERVE=20
The central server reads this variable when it starts up. In order for a running server to notice any change, the Reality services must be stopped and started again.
Setting Up Privileged Ports
Privileged ports are those which may use the reserved licences. These are designated by specifying the PRIV keyword against the relevant entry in the devices file. For example:
INET-192.67.50.5-[00-100] 0 # Telnet (Ports 1 to 100)
INET-192.67.50.5-[101-120] 101 PRIV # Telnet (Ports 101 to 120)
INET-192.67.50.5-[121-199] 121 # Telnet (Ports 121 to 199)
defines ports 0 to 199 with twenty ports 101 to 120 being privileged.