The ZDLRA Development team just released a very nifty little script that is available via
ZDLRA Activity script: 09-Jun-2017
Oracle suggests Enterprise Manager as the proper tool for monitoring
a Zero Data Loss Recovery Appliance. However, this simple script
provides a different perspective on activity on the system and
can be another aid in understanding system activity.
The intention is that this script is run daily and only provides
a short history of events
-------------------------------
This is followed by the version of the ZDLRA Software you are running.
VERSION NAME
---------------------------------------------------------------------- ---------
22-05-2017 10:06:57 ZDLRA_12.1.1.1.8.201705_LINUX.X64_RELEASE ZDLRA
In This case this is the release of 12.1.1.1.8 that was released on 22nd of May
The you will see the General State of the system and in a Healthy Environment. there will be idling schedulers and the oldest work will be displayed. Typically the oldest work should be be a couple of hours /days old . If not that might point to some discrepancy and an SR should be opened to evaluate this situation
STATE SCHEDULERS CURRENT_TIMER_ACTION RESOURCE_WAIT_TASK OLD_WORK
----- ---------- ------------------------- -------------------- ------------
ON 176 Idling UNLIMITED 21-JUN-2017
Then this is followed up by an examination of what is running on the system. On a regular system you will see both Work and Maintenance tasks.
TASK_TYPE STATE CURRENT_COUNT LAST_EXECUTE_TIME WORK_TYPE MIN_CREATION
---------- ----- ------------- -------------------- ----------- ------------
PURGE_DUP RUNNING 1 09-JUL-2017 10:46:47 Work 09-JUL-2017
CROSSCHECK_DB TASK_WAIT 1 Maintenance 09-JUL-2017
VALIDATE TASK_WAIT 1 Maintenance 09-JUL-2017
Next Section Displays the State of Storage on the Recovery Appliance and can be used as a measure of understanding how much space has been used on the Recovery Appliance.
TOTAL_SPACE USED_SPACE FREESPACE FREESPACE_GOAL
------------- ------------- ------------- --------------
596048.371 321061.930 274986.051 5960.484
The next Sections include Status of Replication Server and Task History for the last day. This is particularly helpful to assess how things are running.
There are also sections that include that state of each Database and how many days of Backups are available , Locally and replicated as well as sections that show all the incidents in the system and if any config changes were made to the system that were non default.
While Enterprise Manager is still the preferred way of ensuring you see , manage and get alerted on the Recovery Appliance. This handy little script is a nice way to see the overall status a Recovery Appliance really quickly