Enabling application failover on Terminal Pro 4

Application failover configuration

YSoft SafeQ Terminal Pro 4 is communicating to the YSoft SafeQ Spooler Controller via YSoft SafeQ Terminal Server. In case that YSoft SafeQ Terminal Server becomes unavailable and there is another YSoft SafeQ Terminal Server configured and currently available then YSoft SafeQ Terminal Pro 4 starts using the another one for further communication. If there is a outage of YSoft SafeQ Terminal Server during user session then the user session is lost. However when YSoft SafeQ Terminal Pro 4 successfully switches to another available YSoft SafeQ Terminal Server then the user can login again right away the login screen is displayed on the screen of YSoft SafeQ Terminal Pro 4.

Standard procedures for the load balancing and failover via Microsoft Cluster Server or Failover using Windows Network Load Balancing Services (NLB) does not apply YSoft SafeQ Terminal Pro 4.

Multiple failover IP addresses configuration

YSoft SafeQ Terminal Pro 4 failover is enabled in SafeQ by default provided that there is more than one IP address of YSoft SafeQ Terminal Server configured. Multiple IP addresses for application failover is configurable via Spooler Controller Group. Follow Near Roaming section in Configuring Print Roaming. The configuration of multiple IP addresses is propagated to the YSoft SafeQ Terminal Pro 4 either by reinstallation of YSoft SafeQ Terminal Pro 4 or upon every user logout operation. The administrator can check whether all configured IP addresses were properly propagated to YSoft SafeQ Terminal Pro 4 in the service menu.

Primary node selection

Default primary node is the one which is used during YSoft SafeQ Terminal Pro 4 installation. The primary node can be changed in the service menu of YSoft SafeQ Terminal Pro 4.

On the picture below administrator can select one primary server.

images/download/attachments/160481600/select_primary_server.PNG

Application failover behavior

If the primary YSoft SafeQ Terminal Server becomes unavailable, YSoft SafeQ Terminal Pro 4 will automatically find another YSoft SafeQ Terminal Server according to strategy selected in configuration. Then the YSoft SafeQ Terminal Pro 4 will use the resolved YSoft SafeQ Terminal Server as the primary until it becomes unavailable or until some preconfigured time interval passes. Then another server is found and selected as primary in dependency on selected failover strategy. With some strategies, the YSoft SafeQ Terminal Pro 4 may automatically switch back to a preferred YSoft SafeQ Terminal Server if its functionality is restored.

Limitations

  • This failover configuration does not provide Load-balancing.

  • When the copy job is in progress and current YSoft SafeQ Terminal Server becomes unavailable then the job is not accounted.

Strategies for server selection for YSoft SafeQ Terminal Pro 4

Default strategy

With this strategy, the YSoft SafeQ Terminal Pro 4 will always check for the YSoft SafeQ Terminal Server server with the fastest response. The servers are checked for their availability in parallel and the first YSoft SafeQ Terminal Server which responses is taken as the primary for all ongoing communication.

Primary node preferred

With this strategy, the primary node is always preferred. In this scenario, the primary node is the YSoft SafeQ Terminal Server from which the YSoft SafeQ Terminal Pro 4 was originally installed. If the primary node is not available, another server is selected using the default strategy described above. If the "primary node" becomes available, the YSoft SafeQ Terminal Pro 4 will connect to it when the current one becomes unavailable or after the preconfigured time interval passes.

Configuring failover strategy for YSoft SafeQ Terminal Pro 4

  1. Log in to the YSoft SafeQ management interface with sufficient rights to administer printers (for example, "admin")

  2. Go to System > Configuration from the menu

  3. Set enableNetworkLoadBalancer property to enabled

  4. Set srteFailoverStrategy property to required strategy. The option determines how the primary server is resolved in the case when the current server becomes unavailable. The strategies are described in the section above.

  5. Set srteFailoverCheckInterval property to required value. It sets the maximal time (in minutes) after which the primary YSoft SafeQ Terminal server is resolved according to selected strategy. The minimal allowed value of this property is one.

  6. Save the configuration and reinstall all affected YSoft SafeQ Terminal Pro 4. Alternatively login in and logout at YSoft SafeQ Terminal Pro 4. Configuration is propagated upon user logout operation.

On the screens below, you can see failover in progress. On the first picture, there is information that current connection to the server is lost and the new server is being searched for. On the second picture, there is information that new active server was found.

images/download/attachments/160481600/snipp.PNG

images/download/attachments/160481600/dva.PNG