Configure redundant runtime environments.
Reference → Solution → Deployment → Runtime | Server | Client Types | Container | Redundancy | Security
Redundancy(Reference): Implementing redundancy and failover for mission-critical systems.
[Primary Server] [Secondary Server]
TServer.exe <--> TServer.exe
(Active) (Standby)
| |
[Shared Storage or Database Sync]Synchronization Methods:
xml
<redundancy>
<role>Primary</role>
<partner>192.168.1.101</partner>
<heartbeat>1000</heartbeat>
<timeout>5000</timeout>
</redundancy>xml
<redundancy>
<role>Secondary</role>
<partner>192.168.1.100</partner>
<syncMode>Full</syncMode>
</redundancy>Heartbeat Monitoring:
Failover Process:
For maintenance:
cmd
FrameworXCmd.exe /switchover /target:secondaryConfiguration:
sql
ALTER AVAILABILITY GROUP [FrameworX_AG]
ADD DATABASE [FrameworX_Production];For SQL Server Standard:
sql
ALTER DATABASE FrameworX
SET PARTNER = 'TCP://Secondary:5022'Client Failover:
xml
<connectionList>
<primary>192.168.1.100:10108</primary>
<secondary>192.168.1.101:10108</secondary>
<retryInterval>5000</retryInterval>
</connectionList>cmd
Stop-Service "FrameworX Runtime"cmd
Start-Service "FrameworX Runtime"Monitor during failover: