Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by derek.li2 · Jun 28, 2016 at 05:38 AM · treprfarfa-apiconfiguration

RFA warm standby parameters

can someone tell me if my RFA warm standby parameters are set up correctly?

\Logger\AppLogger\useInternalLogStrings                      = true
\Logger\AppLogger\fileLoggerEnabled                          = false

\Connections\Connection_RSSL\connectionType                 = "RSSL"
\Connections\Connection_RSSL\traceMsgToFile                 = false
\Connections\Connection_RSSL\rsslPort                       = "Port"
\Connections\Connection_RSSL\serverList                     = "WarmStandbyGroup"
\StandbyLists\WarmStandbyGroup\serverList                   = "IPAddress1,IPAddress2, IPAddress3"

People who like this

0 Show 1
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
derek.li2 · Jun 28, 2016 at 05:56 AM 0
Share

If my application gets disconnect by IPAdress1, will RFA lib automatically switch over to IPAddress2 without my application code doing anything?

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Jun 28, 2016 at 06:19 AM

Yes, the configurations look correct.

If ADS servers support warm standby, RFA will connect to all servers in the serverList. You can verify the server support from the login refresh in RSSL tracing. The value of SupportStandby must be one.

<refreshMsg domainType="RSSL_DMT_LOGIN" streamId="1" containerType="RSSL_DT_NO_DATA" ...>
    <key  flags="0x26 (RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE|RSSL_MKF_HAS_ATTRIB)"  ...>
        <attrib>
            <elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
          ...
                <elementEntry name="SupportStandby" dataType="RSSL_DT_UINT" data="1"/>
...
            </elementList>
        </attrib>
    </key>
    <dataBody>
    </dataBody>
</refreshMsg>

With WarmStandby, one is designated as an active server and the rest are standby servers. RFA will internally request the same items from both active and standby servers.

The consumer application receives updates only on the item streams opened on the active server; it does not get updates, status, unsolicited refreshes, and generic messages from the standby server(s). If the active server fails, RFA notifies one of the standby servers that it is the new active server. That server then begins sending data without the consumer application needing to re-request the items.

For more information, please refer to 16.2 Warm Standby in RFA Developers Guide.

Comment

People who like this

0 Show 3 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
derek.li2 · Jun 28, 2016 at 06:43 AM 0
Share

Is there a simple c++ consumer example which handles failover(with on warm standby) ?

avatar image
REFINITIV
veerapath.rungruengrayubkul ♦♦ derek.li2 · Jun 28, 2016 at 06:57 AM 0
Share

If you mean consumer example for Warm Standby, you can use any consumer example application (i.e. StarterConsumer, Consumer example). The Warm Standby failover is done by RFA, so there is no additional implementation required in application code.

Once the failover occurs, consumer application will receive unsolicited refresh and then update from new active server.

avatar image
derek.li2 veerapath.rungruengrayubkul ♦♦ · Jun 28, 2016 at 07:19 AM 0
Share

no, i meant how to do failover by myself without relying on warm standby.

avatar image
REFINITIV
Answer by Jirapongse · Jun 28, 2016 at 10:43 PM

RFA uses session to manage the connections. The RFA application can't directly manage the connections. The connections can be disconnected by releasing the session and then reconnected by acquiring a new session. However, this method will increase the complexity of the application.

If you would like to directly manage the connections, I suggest to use other APIs, such as UPA or EMA.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Zuka · Oct 25, 2016 at 03:31 AM 0
Share

How about RFA/Java? I configured startingActiveServer for primary and serverList for Standby. I am seeing user mount(connection) to primary and standby ADSs but OpenItens only count up on primary ADS. standby keeps "0" OpenItems.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

RFAJ8.0 ConfigDb, unable to acquire a Session

Multiple servers and services in a single RFA configuration file

RFA.Net ValueAdd configuration issues

Disable Error message box in RFA

Explain RSSL serverList parameter behavior

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges