In IRIS log, what does “Active server not defined, cannot redirect mirror connection” mean?
From IRIS log, I found lots of following content
05/05/22-01:05:11:375 (16166) 0 [Generic.Event] ECP: Mirror Connection request from 'SM25SDLMIIRROR:LOCALHOST.LOCALDOMAIN:IRIS' (10.xxx.xxx.27:33040)
05/05/22-01:05:11:376 (16166) 1 [Generic.Event] ECP: Active server not defined, cannot redirect mirror connection
Could any one explain a little bit for me?
Is the IRIS instance whose log this comes from set up as a member of a mirror?
John should be on the right track here, but to elaborate here are the relevant docs:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=GHA_mirror_set_config#GHA_mirror_set_configecp
A mirrored ECP connection will try to connect to the primary, but your message is telling you that you don't have an active primary mirror member. You should investigate the mirror status / messages.log.
Yes, there are primary server, backup server and an arbiter. Recently servers experienced some network connection issue, lots of primary/backup switch happened. In the log, I found lots of above log content.
"
[Generic.Event] ECP: Mirror Connection request from 'SM25SDLMIIRROR:LOCALHOST.LOCALDOMAIN:IRIS' (10.xxx.xxx.27:33040)
05/05/22-01:05:11:376 (16166) 1 [Generic.Event] ECP: Active server not defined, cannot redirect mirror connection
"
Also, there are lots of similar content like following:
Ivan,
What you're saying generally makes sense. Because the mirror was flipping over and because of your network issues, the ECP connections didn't know where to connect. Do you understand the behavior now or did you still have an outstanding question?