<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Monitoring Rdb replication in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636753#M71443</link>
    <description>It's more general than Rdb ...&lt;BR /&gt;&lt;BR /&gt;I've had a similar situation, but with Oracle on TRU64. Each hour, a job was run to cycle the logfile, copy all closed logfiles to a safe location (for backup) and to the remote system, where another job, running 20 minutes later, would integrate these into the standby database. &lt;BR /&gt;&lt;BR /&gt;For RdB I could thing of using JCC's Logminer - where all committed transactions can immediately be stored in the standby database, so it will be up-to-date to the second.&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Sep 2005 05:32:18 GMT</pubDate>
    <dc:creator>Willem Grooters</dc:creator>
    <dc:date>2005-09-28T05:32:18Z</dc:date>
    <item>
      <title>Monitoring Rdb replication</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636752#M71442</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;This is more Rdb than purely Vms, but I guess some regular posters have Rdb and may know the answer.&lt;BR /&gt;&lt;BR /&gt;I have setup a Rdb  Hot Standby at a customer's site. It works fine.&lt;BR /&gt;&lt;BR /&gt;In order to monitor that the replication is still active, I looked in the docs, but failed to find a procedure to do the job.&lt;BR /&gt;&lt;BR /&gt;I ended with the following dirty hack, which may be late to detect the problem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ !'f$ver(1)&lt;BR /&gt;$ set noon&lt;BR /&gt;$ if  F$TRNLNM("wait_hot","LNM$SYSTEM",0,"SUPERVISOR",,).eqs.""&lt;BR /&gt;$   then&lt;BR /&gt;$   define/sys wait_hot "0 00:01:00.00"&lt;BR /&gt;$ endif&lt;BR /&gt;$ def tcpip$smtp_from "Admin Vms"&lt;BR /&gt;$ node == f$getsyi("nodename")&lt;BR /&gt;$ boucle:&lt;BR /&gt;$  pipe rmu/dump base | sea sys$pipe -&lt;BR /&gt;"Database is currently being replicated","Master"/match=and&lt;BR /&gt;$ if $severity.eq.1&lt;BR /&gt;$    then&lt;BR /&gt;$    def/group  surv_hot ok&lt;BR /&gt;$    else&lt;BR /&gt;$    def/sys wait_hot  "0 01:00:00.00"&lt;BR /&gt;$ endif&lt;BR /&gt;$  log = F$TRNLNM("surv_hot","LNM$GROUP",0,"SUPERVISOR",,)&lt;BR /&gt;$ if log.eqs.""&lt;BR /&gt;$    then&lt;BR /&gt;$    ti == f$time()&lt;BR /&gt;$    mail nl: dupont@dupont.com -&lt;BR /&gt;        /subj=" replication base xx stopped on ''node' at ''ti' "&lt;BR /&gt;$ endif&lt;BR /&gt;$ wait 'F$TRNLNM("wait_hot","LNM$SYSTEM",0,"SUPERVISOR",,)&lt;BR /&gt;$ deas/group surv_hot&lt;BR /&gt;$ goto boucle&lt;BR /&gt;$ exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I then thought about having all Rdb Hot standby messages go to OPERn, and use a program like opcom_catcher to intercept that.&lt;BR /&gt;&lt;BR /&gt;I think there must be a much better way ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Gérard&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 03:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636752#M71442</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2005-09-28T03:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Rdb replication</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636753#M71443</link>
      <description>It's more general than Rdb ...&lt;BR /&gt;&lt;BR /&gt;I've had a similar situation, but with Oracle on TRU64. Each hour, a job was run to cycle the logfile, copy all closed logfiles to a safe location (for backup) and to the remote system, where another job, running 20 minutes later, would integrate these into the standby database. &lt;BR /&gt;&lt;BR /&gt;For RdB I could thing of using JCC's Logminer - where all committed transactions can immediately be stored in the standby database, so it will be up-to-date to the second.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Sep 2005 05:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636753#M71443</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-09-28T05:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Rdb replication</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636754#M71444</link>
      <description>Willem,&lt;BR /&gt;&lt;BR /&gt;I think labadie is already doing that using RDB hotstandby facility and wants a tool to monitor the status of hotstandby,&lt;BR /&gt;whereas Logminer is a tool to extract data out of the AIJ instead of the database itself.&lt;BR /&gt;&lt;BR /&gt;As far as labadie is concerned, I do not know of such a tool, sorry...&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Wed, 28 Sep 2005 06:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636754#M71444</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-09-28T06:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Rdb replication</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636755#M71445</link>
      <description>The extracted data can than be used to update the standby database - actually, the replication is a continuous process ;-)</description>
      <pubDate>Thu, 29 Sep 2005 01:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636755#M71445</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-09-29T01:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Rdb replication</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636756#M71446</link>
      <description>The replication can stop for various reasons (Aij problem, remote node /network unavailable...). So I would like to know it quickly if this happens, and not learn it 2 months later :-)&lt;BR /&gt;&lt;BR /&gt;I guess the Dutch Borse, for example, monitor it. I think I am not the first one to look for such a procedure :-)</description>
      <pubDate>Thu, 29 Sep 2005 06:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636756#M71446</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2005-09-29T06:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Rdb replication</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636757#M71447</link>
      <description>You need to monitor both the live and standby side (assuming it's on different machines)&lt;BR /&gt;&lt;BR /&gt;I'm not familair with RdB and Oracle DBA is too long ago (and I never dug deep enough into it), so just a few wild shot (besides what I have done in the past):&lt;BR /&gt;&lt;BR /&gt;* I guess that the replication are separate processes on both the live and standby database, that will end as soon as replication is finshed? Or can it be started that way?&lt;BR /&gt;If so, it might be an idea to check existance of the process. Have it register it's name and/or PID in a logical and use that for F$GETJPI in the monitoring process, and if the process is finished normally, have it removed the logical. &lt;BR /&gt;The monitoring process would just check the logical, if is exist check the PID for proces information; if still active, Ok; If non existent, it's wrong. If logical does no longer exist, it's Ok.&lt;BR /&gt;If applicable, the same would apply to te process integrating the data in the satndby database.&lt;BR /&gt;&lt;BR /&gt;It may be that this data in some system table, so it may be an easy check (ReadOnly).&lt;BR /&gt;&lt;BR /&gt;A hint I'd put anyway:&lt;BR /&gt;Since you use MAIL for signalling, consider messages in case of both success (just a subject line) and failure (full log). If it takes hours to run, consider intermediate messages to notify progress. In any case, no message is alarming as well.&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Thu, 29 Sep 2005 07:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/monitoring-rdb-replication/m-p/3636757#M71447</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-09-29T07:42:37Z</dc:date>
    </item>
  </channel>
</rss>

