· Aug 5, 2022

IRIS Mirror Status from Linux server command line

I want to get Mirror Status and copy this report into a file for audit purposes.

I have a Linux servers for IRIS DB with this layout:
LIVETC01           Backup
LIVETC02           Primary
LIVEDR             Async Copy

I understand that this will get me the mirror status
# sudo -u irisowner iris session LIVETC01

1) Mirror Status
2) Mirror Management
3) Mirror Configuration

Option? 1

1) List mirrored databases
2) Display mirror status of this node
3) Display journal file info
4) Status Monitor

Option? 4
Status of Mirror LIVETC at 14:25:22 on 08/05/2022
Incoming Journal Transfer Rate for This Member (over refresh interval)
 --- (will be displayed on refresh)

Arbiter Connection Status:
     Arbiter Address:|2188
     Failover Mode:     Arbiter Controlled
     Connection Status: Both failover members are connected to the arbiter

                                       Journal Transfer
Member Name+Type            Status        Latency       Dejournal Latency
--------------------------  ---------  ---------------  --------------
     Disaster Recovery      Connected  Caught up        1 second behind
     Failover               Backup     Active           Caught up
     Failover               Primary    N/A              N/A

Is it possible to do the same procedure from the OS Linux command line as a single command without the user interaction?
Auditing will be done by appending the output to a file.

Discussion (6)1
Log in or sign up to continue