Failover mechanism

The following guide provide information about how FlexiSpooler Failover mechanism works.

To fulfill requirements for reliability, failover mechanism has been implemented in case FlexiSpooler looses connection to Spooler Controller or FlexiSpooler Server. Basically, the failover is an ability of FlexiSpooler to reconnect to the first available server if the current one is unreachable.

There is a strict requirement that FlexiSpooler Spooling Server expects Spooler Controller to be on the same machine.

Please read before continuing:

Spooler Controller Discovery based on DHCP Option 9

Please check the following image, example scenarios are based on this image:

images/download/attachments/153633020/image2016-6-28_17_24_20.png

Example scenario 1: The connection to Spooler Controller is lost in current user's location

  • We have three locations, only one of them has two Spooler Controllers.

  • In case Spooler Controller in Bratislava is down, FlexiSpooler Clients will wait until connection will be restored.

    • Failover will not work because there is no other SpoolerController where FlexiSpooler Client can reconnect.

  • In case one of the Spooler Controller in London is down, all FlexiSpooler Clients which lost connection to it will be reconnected to second one.

Example scenario 2: The user moved to different location and automatic location switch didn't work properly (DHCP Option 9)

  • User was in Prague and moved to Bratislava for a business trip.

  • DHCP server occurs some problems and Option 9 was not propagated.

  • FlexiSpooler Client is trying to connect Spooler Controller in Prague but it's not accessible.

  • The user didn't noticed this problem and the user printed the document.

  • Document is queued and waiting for successful connection.

Example scenario 3: The user moved to different location, Spooler Controller Discovery is not set up - locations map was defined during installation

  • The user was in Prague and moved to Bratislava for business trip.

  • The user didn't noticed this problem and he printed the document.

  • Document is queued and waiting for successful connection.

Example scenario 4: The user is moving to airport from Prague office, public FlexiSpooler Server is configured

  • The user was in Prague office and is going to fly to London office.

  • The user forgot to print document so the user is printing it in taxi on the way to airport, without internet connection.

    • FlexiSpooler Client does not have connection to Prague Spooler Controller, nor to public one because he's not connected to internet.

    • Document is queued and waiting for successful connection.

    • The user comes to the airport and connects to public wifi.

      • Configured public FlexiSpooler Server is used for connection.

    • Queued job is transferred through Public FlexiSpooler Server to one of the FlexiSpooler Servers in data center.

      • Job is not spooled locally.

    • When the user arrives to London office and authenticate on printer, document is ready to print.

      • Job will be transferred from data center's FlexiSpooler Server.

Limitations

If a user have jobs saved on multiple site servers (FlexiSpoolers), and use print all or select and print multiple jobs, the order of printed jobs is not guaranteed.