Hi guys,
I already have installed ORS cluster of ORS 2 nodes primary-backup successfully on my Lab. But, I would like to installation ORS cluster of ORS 4 nodes(4 Primary, 2 Primary on one data center).
Is there anyone who can help me explain a few questions as below:
1. How to URS chose ORS to work with it? While both two ORS are running primary? I understand for the scenarios ORS using primary- backup on one data center. URS always working with ORS primary, then it will work with ORS backup if ORS primary failed.
2. I know Cassandra stores information regarding active sessions, as well as scheduled activities, but when I'm checking logs ORS as well as select data from DB of Cassandra. I didn't find any data here.
Logs:
cqlsh:orchestration> describe tables;
sessionidserverinforindex ors8130000 schedulebysessionid
recoversessionidserverinforindex sessionidserverinfo document
schedulebytimeinterval session
cqlsh:orchestration> select * from session;
key
-----
(0 rows)
cqlsh:orchestration> select * from recoversessionidserverinforindex;
key
-----
(0 rows)
09:36:25.283 {Persistence:1} PersistenceManager::HandleDataFromThread - Cassandra store is not available .. session recovery and scheduled tasks will not be available after failover
09:37:23.255 {SelfMonitoring:1} Current alarms values:
Active Sessions (1000.0): 0.50 +/-0.50 [0.00,1.00] #4
Active Calls (1000.0): 0.50 +/-0.50 [0.00,1.00] #4
09:37:23.271 {Persistence:3} PersistenceManagerCassandra::GetScheduledSessionList queueing first time[1501209263000] to last time[1501209623000] for PERSISTENCE_GET_SCHEDULED_SESSIONS
09:37:23.271 {Schedule:1} Schedule::StartPersistRetrieveTimer time_interval(60000)
09:37:23.271 [T:4268] {Persistence:3} PMCWorker[0x000000000de1b3e0]::PerformWork tdelta to entry[0]
09:37:23.271 [T:4268] {Persistence:1} PMCWorker[0x000000000de1b3e0]::PerformWork - failed cassandra not available - reason: No hosts available.
09:37:25.299 [T:4268] {ThreadSync:1} CONNECTED(1124)
09:37:25.299 [T:4268] {Persistence:3} PMCWorker[0x000000000de1b3e0]::PerformWork tdelta cassandra[2028]
09:37:25.299 ==>CGCLLConnector::ConnEventHandler Port=0 Proto=0 CallBack=<00000000016d6390>
===>event: event_id=0, id=0 handle=1116, datasize=0
09:37:25.299 ==>CGCLLConnector::ConnEventHandler Port=0 Proto=0 CallBack=<00000000016d6390>
===>event: event_id=1, id=0 handle=1116, datasize=0
09:37:25.299 {ThreadSync:1} CMLTSListener:ACCEPTED(1116)
09:37:25.299 CGCLLListener[788]: Set new CallBack <000000000e9950d0>, handle=1116
09:37:25.299 CGCLLConnector[1116]: Connected
09:37:25.299 ==>CGCLLConnector::ConnEventHandler Port=0 Proto=0 CallBack=<000000000e9950d0>
===>event: event_id=3, id=0 handle=1116, datasize=24
09:37:25.299 {ThreadSync:3} HandleThreadData: << 24 bytes <<
09:37:25.299 {Persistence:3} PersistenceManager::HandleDataFromThread: enter threadId(1116), type(11004), pData(0000000000000000) >>>>>>>>>>>>>>>>>>>>>>>
09:37:25.299 {Persistence:1} PersistenceManager::HandleDataFromThread - Cassandra store is not available .. session recovery and scheduled tasks will not be available after failover