Hello,
In order to use Tango for mission critical system where single moments of failure is not allowed, hot-backup architecture needs to be considered.
On my mind, there possibily are two plans.
[quote]Plan A
- Active Tango server keeps scanning sensors/devices.
- Standby Tango server constantly updated status from active server.
- If active Tango server failed, the standby Tango server takes over scanning sensors/devices from the failed one.
Which means the standby role now changed to active automatically. - Tango clients always switching to the active Tango server transparently.
- Commands from Tango clients always forwarded to active Tango server.[/quote]
[quote]Plan B
- Primary Tang server and backup Tango server scanning sensors/devices at the same time.
So there’s no need for the backup Tango server sync status from the primary server. - The Tango clients choosing primary initially dedicated explicitly.
- If the primary failed, then client changed to backup immediately
Which means the backup role now changed to primary automatically. - Command from Tango clients always forwarded to the primary server[/quote]
I know we can assign multiple databases at TANGO_HOST.
But it seems only for using two separate database servers when building device server initially.
Please guide me how to do this.