on 03-11-2015 10:39 PM
Hi Team,
We are in the process of setting up alerts whenever DR is behind by some particular number of log files we would be reporting an alert. Now we have selected these two field to report the difference.
SHIPPED_LOG_POSITION | BIGINT | Shipped Log Positon |
LAST_LOG_POSITION | BIGINT | Current Log Pos |
The problem being is this we have given a condition where the difference between the two is greater than 100. What we wanted to understand is that what are the numbers indicated in the two fields. Is it a good indicator as to how we are achieving it.
We are getting frequent alerts where the log difference which is (last_log_position - shipped_log_position) "log difference is 245184" or some particular number. What i wanted to understand what exactly is a good number to start with for the alerting?
The log position is rather fine grained and not linked to the log files. I would recommend you to monitor the log shipping time delay instead, i.e. check columns SHIPPED_LOG_POSITION_TIME and LAST_LOG_POSITION_TIME. This approach is already used by the SAP HANA Mini Checks (SAP Note 1999993), Check 1815, threshold 60 seconds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SQL: "HANA_Replication_SystemReplication_Status" (SAP Note 1969700) provides both information about the hosts, the shipping delay and the SR status, e.g.:
-------------------------------------------------------------------------------------------------------
|PATH |HOSTS |PORT |SHIP_DELAY_H|MODE |STATUS|STATUS_DETAILS |
-------------------------------------------------------------------------------------------------------
|ha1 -> ha2|saphana2100 -> saphana2101|30205| 27.46|SYNCMEM|ERROR |Log shipping timeout occurred|
-------------------------------------------------------------------------------------------------------
Hello,
Your time to recover and system availability SLA dictates the good number you are looking for to start with alerting.
Rgds,
Mat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.