...
If replicated HA profile needs to be used, then open FioranoMQ_HA_rpl/HAPrimary and FioranoMQ_HA_rpl/HASecondary profile in Studio Profile Manager. Right-click on the profile and click on FMQ Replicated HA. The FMQ Replicated HA wizard appears.
You can configure all the required values from the wizard. After configuring the wizard, right-click the node and select Save option from the pop-up menu.
The following properties are available in the FMQ HA replicated wizard.
...
PassiveLockAcquisitionInterval:
This parameter indicates the wait Interval for the passive server to acquire the lock when the link between active and passive server is down. This value should be greater than '2*ActiveLockReacquisitionInterval', otherwise an exception will be thrown. Server won't start if this value is not set properly.
All IP addresses, ports should represent the correct values. Without modifying any of these values HAPrimary and HASecondary can run on a single machine.
Take the scenario of running HAPrimary on a machine with IPAddress: 192.169.1.22 and HASecondary on a machine with IPAddress: 192.169.1.200. Gatewayserver address is given as 192.169.1.16 which is present in the network. If LockFile, say Lock.dat, has been shared from third system and mounted to /home/fmq1 on 192.168.1.22 system and to /home/fmq2 on 192.168.1.200 system, then HAPrimary wizard looks like:
And HASecondary wizard looks like
Anchor | ||||
---|---|---|---|---|
|
...
This property can be found under:
Fiorano > HA > HAConnectionManager > FioranoHAConnectionManager > config through studio.
Figure: Configuring Port, NagleAlgo and SocketInitializationTimeout parameters from studio
...
This property can be found under:
Fiorano > HA > HAManager > FioranoHAManager > config through studio.
BackupRMIServerPort
...
Studio
If shared HA needs to be used, then open FioranoMQ_HA_shared/HAPrimary and FioranoMQ_HA_shared/HASecondary profile in Studio Profile Manager. Right-click on the profile and click on FMQ Shared HA. The FMQ Shared HA wizard appears.
You can configure all the required values from the wizard. After configuring the wizard, right-click the node and select Save option from the pop-up menu.
The following properties are available in the FMQ HA replicated wizard.
...
PassiveLockReAcquisitionInterval
This parameter indicates the wait Interval for the passive server to acquire the lock when the link between active and passive server is down. This value should be greater than '2*ActiveLockReacquisitionInterval', otherwise an exception will be thrown. Server won't start if this value is not set properly. Default value for this parameter is 60000.
All IP addresses, ports should represent the correct values. Without modifying any of these values HAPrimary and HASecondary can run on a single machine.
Take the scenario of running HAPrimary on a machine with IPAddress: 192.169.1.22 and HASecondary on a machine with IPAddress: 192.169.1.200. Gatewayserver address is given as 192.169.1.16 which is present in the network. If LockFile, say Lock.dat, has been shared from third system and mounted to /home/fmq1 on 192.168.1.22 system and to /home/fmq2 on 192.168.1.200 system, then HAPrimary wizard looks like:
And HASecondary wizard looks like:
Anchor | ||||
---|---|---|---|---|
|
...
This property can be found under:
Fiorano > HA > HAConnectionManager > FioranoHAConnectionManager > config through studio.
Figure: Configuring Port, NagleAlgo and SocketInitializationTimeout parameters from studio
...
Units: Milliseconds
Valid Value: Positive integer value
Default Value: 10000
BackupRMIServerPort
...