Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Tomorrow's computers some time next month. -- DEC


computers / comp.os.vms / Re: RMS journaling - how it works (for dummies)

SubjectAuthor
* RMS journaling - how it works (for dummies)d45 n0x8!7
+* Re: RMS journaling - how it works (for dummies)Jan-Erik Söderholm
|`* Re: RMS journaling - how it works (for dummies)d45 n0x8!7
| `- Re: RMS journaling - how it works (for dummies)plugh
`* Re: RMS journaling - how it works (for dummies)Hein RMS van den Heuvel
 +* Re: RMS journaling - how it works (for dummies)d45 n0x8!7
 |+* Re: RMS journaling - how it works (for dummies)plugh
 ||`* Re: RMS journaling - how it works (for dummies)El SysMan
 || `* Re: RMS journaling - how it works (for dummies)Hein RMS van den Heuvel
 ||  `- Re: RMS journaling - how it works (for dummies)VMS-oldboy
 |`- Re: RMS journaling - how it works (for dummies)plugh
 `- Re: RMS journaling - how it works (for dummies)Brian Schenkenberger

1
RMS journaling - how it works (for dummies)

<8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28830&group=comp.os.vms#28830

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4714:b0:762:4134:c1be with SMTP id bs20-20020a05620a471400b007624134c1bemr67657qkb.9.1689504710753;
Sun, 16 Jul 2023 03:51:50 -0700 (PDT)
X-Received: by 2002:a05:6808:208a:b0:3a4:1e93:8984 with SMTP id
s10-20020a056808208a00b003a41e938984mr12960976oiw.1.1689504710388; Sun, 16
Jul 2023 03:51:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 16 Jul 2023 03:51:49 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=213.108.211.135; posting-account=rjYWYgoAAABQP7KKBPVuH-e-dJkAbn9-
NNTP-Posting-Host: 213.108.211.135
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
Subject: RMS journaling - how it works (for dummies)
From: noxbit...@gmail.com (d45 n0x8!7)
Injection-Date: Sun, 16 Jul 2023 10:51:50 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1123
 by: d45 n0x8!7 - Sun, 16 Jul 2023 10:51 UTC

Hello Old$Boys!

Can u help me to search a reference to info about of RMS journaling? May be DEC Journal or something other ?

Re: RMS journaling - how it works (for dummies)

<u90nvt$p1ps$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28831&group=comp.os.vms#28831

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: RMS journaling - how it works (for dummies)
Date: Sun, 16 Jul 2023 14:31:56 +0200
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <u90nvt$p1ps$1@dont-email.me>
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 16 Jul 2023 12:31:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8b27a8a44e89f2e4bc7cd4539245f9c7";
logging-data="821052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RodSS2SS1Egzgl3q2wjKc"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:hKAui8HNk3AYHMz2/GvOdAsIGWU=
In-Reply-To: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
Content-Language: sv
 by: Jan-Erik Söderholm - Sun, 16 Jul 2023 12:31 UTC

Den 2023-07-16 kl. 12:51, skrev d45 n0x8!7:
> Hello Old$Boys!
>
> Can u help me to search a reference to info about of RMS journaling? May be DEC Journal or something other ?

Maybe: https://docs.vmssoftware.com/rms-journaling-for-openvms-manual/

Re: RMS journaling - how it works (for dummies)

<546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28837&group=comp.os.vms#28837

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4548:b0:763:ce7e:f280 with SMTP id u8-20020a05620a454800b00763ce7ef280mr77128qkp.11.1689519177434;
Sun, 16 Jul 2023 07:52:57 -0700 (PDT)
X-Received: by 2002:a05:6870:8c32:b0:1ba:5296:a985 with SMTP id
ec50-20020a0568708c3200b001ba5296a985mr4302487oab.6.1689519177001; Sun, 16
Jul 2023 07:52:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 16 Jul 2023 07:52:56 -0700 (PDT)
In-Reply-To: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.234.171.161; posting-account=U1iMPAoAAAC9r8wm0KaW63EcF8sfjFeH
NNTP-Posting-Host: 73.234.171.161
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: heinvand...@gmail.com (Hein RMS van den Heuvel)
Injection-Date: Sun, 16 Jul 2023 14:52:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Hein RMS van den Heu - Sun, 16 Jul 2023 14:52 UTC

On Sunday, July 16, 2023 at 6:51:52 AM UTC-4, d45 n0x8!7 wrote:
> Hello Old$Boys!
>
> Can u help me to search a reference to info about of RMS journaling? May be DEC Journal or something other ?

For full understanding you should start with the documentation as per Jen-Erik's link.
It may be useful to point out that RMS Journaling is based on physical 'buckets', not logical records in the files.
The implication of that is that there is potentially much more data being journaled than there is data changed.
It's goal is to present a consistent file for a given point in time.
AI journaling to re-apply changing up to a selectable time starting from a backup.
BI journaling to 'undo' changes back to a selectable time starting from a live file
RU journaling to create transactional semantics across files allowing a single commit (or rollback) for multiple record changes.

Did you just want an explanation (how deep?) or do you have a business requirement for which you think RMS-Journaling might offer a solution? What is the exact problem you are trying to solve (if any).

A relatively common Journaling desire is Change Data Capture (CDC) which RMS Journaling does NOT offer.
The desire there being to have access to individual changed to records, either for auditing purposes (who changed what when) or to be able to forward such changes to another system or to a database.

There is a Commercial product called RMS-CDC owned by Brian Schenkenberger which can do full CDC for any and all file changes including before-images based on a magic RMS intercept.

VSI has a prototype CDC based on the standard SSI (System Service Intercept) which required the programs to cooperate and declare they want they actions to be intercepted. It has good potential but does not offer Before Images (which may or might not be critical).

Hope this helps,
Hein.

Re: RMS journaling - how it works (for dummies)

<06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28839&group=comp.os.vms#28839

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:2a03:b0:765:9914:a338 with SMTP id o3-20020a05620a2a0300b007659914a338mr66201qkp.12.1689523684157;
Sun, 16 Jul 2023 09:08:04 -0700 (PDT)
X-Received: by 2002:a05:6808:130b:b0:39e:b6a2:98c7 with SMTP id
y11-20020a056808130b00b0039eb6a298c7mr12497774oiv.8.1689523683948; Sun, 16
Jul 2023 09:08:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 16 Jul 2023 09:08:03 -0700 (PDT)
In-Reply-To: <546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=213.108.211.135; posting-account=rjYWYgoAAABQP7KKBPVuH-e-dJkAbn9-
NNTP-Posting-Host: 213.108.211.135
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com> <546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: noxbit...@gmail.com (d45 n0x8!7)
Injection-Date: Sun, 16 Jul 2023 16:08:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2151
 by: d45 n0x8!7 - Sun, 16 Jul 2023 16:08 UTC

On Sunday, July 16, 2023 at 5:52:59 PM UTC+3, Hein RMS van den Heuvel wrote:
> Did you just want an explanation (how deep?) or do you have a business requirement for which you think RMS-Journaling might offer a solution? What is the exact problem you are trying to solve (if any).

As deep as possible.
I'm need to implement (in pure C of course, not in BLISS :-) ) a logic for atomic write for 4k block on several physical devices (with 512 bytes granularity) in Soft. Def. Stor. project.
In a couple words: I/O request for 4k block should be spread over 4-8 disks as "atomic" action.
There is "start TX" phase - and "end TX" phase. My driver accept an I/O request for the particular block and wait for "end TX" signal.

> Hope this helps,
> Hein.
Thanks a lot for answer.

PS: Sorry, but this project is for Snack Oil OS but not for OpenVMS.

Re: RMS journaling - how it works (for dummies)

<014a16ab-387e-4687-85d2-9b62e6eabffdn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28840&group=comp.os.vms#28840

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:57d2:0:b0:635:e19a:6cc4 with SMTP id y18-20020ad457d2000000b00635e19a6cc4mr90332qvx.2.1689523791645;
Sun, 16 Jul 2023 09:09:51 -0700 (PDT)
X-Received: by 2002:a05:6871:6a8a:b0:1ba:50ed:9ed3 with SMTP id
zf10-20020a0568716a8a00b001ba50ed9ed3mr4559901oab.4.1689523791397; Sun, 16
Jul 2023 09:09:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sun, 16 Jul 2023 09:09:50 -0700 (PDT)
In-Reply-To: <u90nvt$p1ps$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=213.108.211.135; posting-account=rjYWYgoAAABQP7KKBPVuH-e-dJkAbn9-
NNTP-Posting-Host: 213.108.211.135
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com> <u90nvt$p1ps$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <014a16ab-387e-4687-85d2-9b62e6eabffdn@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: noxbit...@gmail.com (d45 n0x8!7)
Injection-Date: Sun, 16 Jul 2023 16:09:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1666
 by: d45 n0x8!7 - Sun, 16 Jul 2023 16:09 UTC

On Sunday, July 16, 2023 at 3:32:01 PM UTC+3, Jan-Erik Söderholm wrote:
> Den 2023-07-16 kl. 12:51, skrev d45 n0x8!7:
> > Hello Old$Boys!
> >
> > Can u help me to search a reference to info about of RMS journaling? May be DEC Journal or something other ?
> Maybe: https://docs.vmssoftware.com/rms-journaling-for-openvms-manual/
Thanks!
In my past live as VMS-boys I used RMS journaling in programs, but ... never mind how it works internally.

Re: RMS journaling - how it works (for dummies)

<d56e4746-5733-431f-859f-e8dce38b88c0n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28852&group=comp.os.vms#28852

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:171e:b0:762:51f7:1f8d with SMTP id az30-20020a05620a171e00b0076251f71f8dmr68704qkb.15.1689594004971;
Mon, 17 Jul 2023 04:40:04 -0700 (PDT)
X-Received: by 2002:a9d:6d19:0:b0:6b4:4ea2:4371 with SMTP id
o25-20020a9d6d19000000b006b44ea24371mr9866485otp.2.1689594004639; Mon, 17 Jul
2023 04:40:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 17 Jul 2023 04:40:04 -0700 (PDT)
In-Reply-To: <014a16ab-387e-4687-85d2-9b62e6eabffdn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=172.110.168.213; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 172.110.168.213
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
<u90nvt$p1ps$1@dont-email.me> <014a16ab-387e-4687-85d2-9b62e6eabffdn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d56e4746-5733-431f-859f-e8dce38b88c0n@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: jchim...@gmail.com (plugh)
Injection-Date: Mon, 17 Jul 2023 11:40:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: plugh - Mon, 17 Jul 2023 11:40 UTC

On Sunday, July 16, 2023 at 9:09:53 AM UTC-7, d45 n0x8!7 wrote:
> On Sunday, July 16, 2023 at 3:32:01 PM UTC+3, Jan-Erik Söderholm wrote:
> > Den 2023-07-16 kl. 12:51, skrev d45 n0x8!7:
> > > Hello Old$Boys!
> > >
> > > Can u help me to search a reference to info about of RMS journaling? May be DEC Journal or something other ?
> > Maybe: https://docs.vmssoftware.com/rms-journaling-for-openvms-manual/
> Thanks!
> In my past live as VMS-boys I used RMS journaling in programs, but ... never mind how it works internally.

I know I'm going to regret this:

I thnk you're talking about some RAID configuration, not journaling. Besides, you're writing for Unix, not VMS. The filesystem tools are quite a bit .... different

Re: RMS journaling - how it works (for dummies)

<af11ae24-111c-4137-9b4f-46e73683a27cn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28853&group=comp.os.vms#28853

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4553:b0:765:9dc7:4bc2 with SMTP id u19-20020a05620a455300b007659dc74bc2mr68496qkp.5.1689594176806;
Mon, 17 Jul 2023 04:42:56 -0700 (PDT)
X-Received: by 2002:a05:6808:2219:b0:39c:cd8e:998f with SMTP id
bd25-20020a056808221900b0039ccd8e998fmr15039581oib.0.1689594176481; Mon, 17
Jul 2023 04:42:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 17 Jul 2023 04:42:56 -0700 (PDT)
In-Reply-To: <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=172.110.168.213; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 172.110.168.213
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
<546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com> <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <af11ae24-111c-4137-9b4f-46e73683a27cn@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: jchim...@gmail.com (plugh)
Injection-Date: Mon, 17 Jul 2023 11:42:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2569
 by: plugh - Mon, 17 Jul 2023 11:42 UTC

On Sunday, July 16, 2023 at 9:08:06 AM UTC-7, d45 n0x8!7 wrote:
> On Sunday, July 16, 2023 at 5:52:59 PM UTC+3, Hein RMS van den Heuvel wrote:
> > Did you just want an explanation (how deep?) or do you have a business requirement for which you think RMS-Journaling might offer a solution? What is the exact problem you are trying to solve (if any).
> As deep as possible.
> I'm need to implement (in pure C of course, not in BLISS :-) ) a logic for atomic write for 4k block on several physical devices (with 512 bytes granularity) in Soft. Def. Stor. project.
> In a couple words: I/O request for 4k block should be spread over 4-8 disks as "atomic" action.
> There is "start TX" phase - and "end TX" phase. My driver accept an I/O request for the particular block and wait for "end TX" signal.

I forgot to add -
This looks like a roll-your-own 2-phase commit that's missing "commit / rollback" logic. What you're describing is an in-line protocol that's also missing a time-out, i.e. what happens when "end TX" never arrives?

anyway...
>
>
> > Hope this helps,
> > Hein.
> Thanks a lot for answer.
>
>
> PS: Sorry, but this project is for Snack Oil OS but not for OpenVMS.

Re: RMS journaling - how it works (for dummies)

<a7ce6ca8-8507-4212-85e1-8f05d376e84an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28854&group=comp.os.vms#28854

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:345:b0:403:e8a7:bd9b with SMTP id r5-20020a05622a034500b00403e8a7bd9bmr23361qtw.11.1689594246939;
Mon, 17 Jul 2023 04:44:06 -0700 (PDT)
X-Received: by 2002:a05:6808:1385:b0:3a4:1f25:7508 with SMTP id
c5-20020a056808138500b003a41f257508mr15999266oiw.0.1689594246688; Mon, 17 Jul
2023 04:44:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 17 Jul 2023 04:44:06 -0700 (PDT)
In-Reply-To: <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=172.110.168.213; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 172.110.168.213
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
<546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com> <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a7ce6ca8-8507-4212-85e1-8f05d376e84an@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: jchim...@gmail.com (plugh)
Injection-Date: Mon, 17 Jul 2023 11:44:06 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2365
 by: plugh - Mon, 17 Jul 2023 11:44 UTC

On Sunday, July 16, 2023 at 9:08:06 AM UTC-7, d45 n0x8!7 wrote:
> On Sunday, July 16, 2023 at 5:52:59 PM UTC+3, Hein RMS van den Heuvel wrote:
> > Did you just want an explanation (how deep?) or do you have a business requirement for which you think RMS-Journaling might offer a solution? What is the exact problem you are trying to solve (if any).
> As deep as possible.
> I'm need to implement (in pure C of course, not in BLISS :-) ) a logic for atomic write for 4k block on several physical devices (with 512 bytes granularity) in Soft. Def. Stor. project.
> In a couple words: I/O request for 4k block should be spread over 4-8 disks as "atomic" action.
> There is "start TX" phase - and "end TX" phase. My driver accept an I/O request for the particular block and wait for "end TX" signal.
>
>
> > Hope this helps,
> > Hein.
> Thanks a lot for answer.
>
>
> PS: Sorry, but this project is for Snack Oil OS but not for OpenVMS.

For those playing along at home, it's "Snakeoil OS"

Re: RMS journaling - how it works (for dummies)

<27134ddb-7294-4797-80ef-cff6b308576cn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28855&group=comp.os.vms#28855

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:1854:b0:635:eb77:1074 with SMTP id d20-20020a056214185400b00635eb771074mr72129qvy.9.1689597204673;
Mon, 17 Jul 2023 05:33:24 -0700 (PDT)
X-Received: by 2002:a05:6808:1b0c:b0:3a3:c492:9be6 with SMTP id
bx12-20020a0568081b0c00b003a3c4929be6mr13552127oib.2.1689597204450; Mon, 17
Jul 2023 05:33:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 17 Jul 2023 05:33:24 -0700 (PDT)
In-Reply-To: <af11ae24-111c-4137-9b4f-46e73683a27cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=213.108.211.135; posting-account=9f7q1AoAAABDPsFEcWiRS6khkDURMqEt
NNTP-Posting-Host: 213.108.211.135
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
<546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com> <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
<af11ae24-111c-4137-9b4f-46e73683a27cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <27134ddb-7294-4797-80ef-cff6b308576cn@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: aaa....@gmail.com (El SysMan)
Injection-Date: Mon, 17 Jul 2023 12:33:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2571
 by: El SysMan - Mon, 17 Jul 2023 12:33 UTC

On Monday, July 17, 2023 at 2:42:58 PM UTC+3, plugh wrote:
> > I'm need to implement (in pure C of course, not in BLISS :-) ) a logic for atomic write for 4k block on several physical devices (with 512 bytes granularity) in Soft. Def. Stor. project.
> > In a couple words: I/O request for 4k block should be spread over 4-8 disks as "atomic" action.
> > There is "start TX" phase - and "end TX" phase. My driver accept an I/O request for the particular block and wait for "end TX" signal.
> I forgot to add -
> This looks like a roll-your-own 2-phase commit that's missing "commit / rollback" logic. What you're describing is an in-line protocol that's also missing a time-out, i.e. what happens when "end TX" never arrives?

Thanks!
I reading the RMS docs to refresh my knowledge about of possible variants ....
U r right there is missing "rollback" and i'm need to think about this.

Some other question: Is the RMS journaling allows nested transactions ?
Hein RMS (The) told that RMS journaling is performed at bucket level not for records, so ... how is resolved a situation when from other tread (FAB/RAB) is coming request to update the same bucket ?

Re: RMS journaling - how it works (for dummies)

<de6fcdde-537b-4c54-adf3-3b6fe8b962d8n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28862&group=comp.os.vms#28862

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:b13:b0:635:de09:2058 with SMTP id u19-20020a0562140b1300b00635de092058mr79928qvj.3.1689605405270;
Mon, 17 Jul 2023 07:50:05 -0700 (PDT)
X-Received: by 2002:a05:6808:1a21:b0:3a1:eb8a:203d with SMTP id
bk33-20020a0568081a2100b003a1eb8a203dmr17463790oib.11.1689605404937; Mon, 17
Jul 2023 07:50:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 17 Jul 2023 07:50:04 -0700 (PDT)
In-Reply-To: <27134ddb-7294-4797-80ef-cff6b308576cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.234.171.161; posting-account=U1iMPAoAAAC9r8wm0KaW63EcF8sfjFeH
NNTP-Posting-Host: 73.234.171.161
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
<546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com> <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
<af11ae24-111c-4137-9b4f-46e73683a27cn@googlegroups.com> <27134ddb-7294-4797-80ef-cff6b308576cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <de6fcdde-537b-4c54-adf3-3b6fe8b962d8n@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: heinvand...@gmail.com (Hein RMS van den Heuvel)
Injection-Date: Mon, 17 Jul 2023 14:50:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2171
 by: Hein RMS van den Heu - Mon, 17 Jul 2023 14:50 UTC

On Monday, July 17, 2023 at 8:33:26 AM UTC-4, El SysMan wrote:
> Some other question: Is the RMS journaling allows nested transactions ?

No, one "RunUnit" per process

> Hein RMS (The) told that RMS journaling is performed at bucket level not for records, so ... how is resolved a situation when from other tread (FAB/RAB) is coming request to update the same bucket ?

I was sloppy, not knowing where the questions were going. The AI and BI journalling record buckets (up to the free byte mark).
RU journalling is record based and impacted Records stay locked for the duration of the transaction.
The picture in the Journaling manual under "5.2.4 Transaction states" may be helpful there.

Hein.

Re: RMS journaling - how it works (for dummies)

<e37f2dfc-bb67-4754-ba32-1f61b602f9e0n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28865&group=comp.os.vms#28865

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:5609:b0:635:f079:8dcd with SMTP id mg9-20020a056214560900b00635f0798dcdmr71826qvb.6.1689608353876;
Mon, 17 Jul 2023 08:39:13 -0700 (PDT)
X-Received: by 2002:a05:6214:1907:b0:635:ea62:9842 with SMTP id
er7-20020a056214190700b00635ea629842mr72712qvb.6.1689608353589; Mon, 17 Jul
2023 08:39:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 17 Jul 2023 08:39:13 -0700 (PDT)
In-Reply-To: <de6fcdde-537b-4c54-adf3-3b6fe8b962d8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=213.108.211.135; posting-account=rjYWYgoAAABQP7KKBPVuH-e-dJkAbn9-
NNTP-Posting-Host: 213.108.211.135
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com>
<546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com> <06815508-27a6-45c7-ad26-4ca3f25e3aden@googlegroups.com>
<af11ae24-111c-4137-9b4f-46e73683a27cn@googlegroups.com> <27134ddb-7294-4797-80ef-cff6b308576cn@googlegroups.com>
<de6fcdde-537b-4c54-adf3-3b6fe8b962d8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e37f2dfc-bb67-4754-ba32-1f61b602f9e0n@googlegroups.com>
Subject: Re: RMS journaling - how it works (for dummies)
From: noxbit...@gmail.com (VMS-oldboy)
Injection-Date: Mon, 17 Jul 2023 15:39:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2423
 by: VMS-oldboy - Mon, 17 Jul 2023 15:39 UTC

On Monday, July 17, 2023 at 5:50:07 PM UTC+3, Hein RMS van den Heuvel wrote:
> On Monday, July 17, 2023 at 8:33:26 AM UTC-4, El SysMan wrote:
> > Some other question: Is the RMS journaling allows nested transactions ?
> No, one "RunUnit" per process
> > Hein RMS (The) told that RMS journaling is performed at bucket level not for records, so ... how is resolved a situation when from other tread (FAB/RAB) is coming request to update the same bucket ?
> I was sloppy, not knowing where the questions were going. The AI and BI journalling record buckets (up to the free byte mark).
> RU journalling is record based and impacted Records stay locked for the duration of the transaction.
> The picture in the Journaling manual under "5.2.4 Transaction states" may be helpful there.
>
> Hein.

Can u recollect any related publications in the Digital journal or something else?

Thanks a lot!

Re: RMS journaling - how it works (for dummies)

<u98lkb$255u6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=28908&group=comp.os.vms#28908

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mai...@SendSpamHere.ORG (Brian Schenkenberger)
Newsgroups: comp.os.vms
Subject: Re: RMS journaling - how it works (for dummies)
Date: Wed, 19 Jul 2023 08:40:43 -0400
Organization: Tmesis Software
Lines: 68
Message-ID: <u98lkb$255u6$1@dont-email.me>
References: <8190f91b-5197-43e9-96f3-42e4a66f6400n@googlegroups.com> <546cc6d1-a4b7-45df-81d7-c1c64a85ec39n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="3426d19516d48f4c345da32a440c6d03";
logging-data="2267078"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18j8nEcPFUqHykrAhpeb8TF"
User-Agent: Unison/2.2
Cancel-Lock: sha1:oHm8lQy3WAQnUUBh8jAueXgitDk=
 by: Brian Schenkenberger - Wed, 19 Jul 2023 12:40 UTC

On 2023-07-16 14:52:56 +0000, Hein RMS van den Heuvel said:

> On Sunday, July 16, 2023 at 6:51:52 AM UTC-4, d45 n0x8!7 wrote:
>> Hello Old$Boys!>> Can u help me to search a reference to info about of
>> RMS journaling? May be DEC Journal or something other ?
> {...snip...}
>
> A relatively common Journaling desire is Change Data Capture (CDC)
> which RMS Journaling does NOT offer.
> The desire there being to have access to individual changed to records,
> either for auditing purposes (who changed what when) or to be able to
> forward such changes to another system or to a database.
>
> There is a Commercial product called RMS-CDC owned by Brian
> Schenkenberger which can do full CDC for any and all file changes
> including before-images based on a magic RMS intercept.

The "intercept" isn't "magic", it's the only way to do this and do this
properly! ANY and ALL RMS operations that can affect a file's contents
must be captured. The record's data is obtained from the bowels of RMS.
Not everything to be recorded or "captured" is passed as an argument!
The BEFORE IMAGE is the real magic!

BEFOE IMAGE??? What's in the record BEFORE an $UPDATE? What WAS in the
record BEFORE a $DELETE? It's all magic from deep in the bowels of RMS.
Believe me, it's not simple and it's not as simple as performing a $GET
before doing an $UPDATE or a $DELETE. There's a lot of unpleasant
shhh..tuff in those bowels. Indexed files are expecially onerous
because a $GET, which would seem an obvious way to obtain the BEFORE
IMAGE, can and will corrupt the record pointers for the $UPDATE and or
$DELETE. It has/had to be done without affecting the actual RMS call's
functional operation. It's also done ***without*** performing
additional I/O!

> VSI has a prototype CDC based on the standard SSI (System Service
> Intercept) which required the programs to cooperate and declare they
> want they actions to be intercepted. It has good potential but does not
> offer Before Images (which may or might not be critical).

I can't see how that can/could work. SSI calls need to be conciously
incorporated into an/the image that would be doing the RMS calls.
Could/would this capture RMS from DCL, CONVERT, etc? without code
modification? What about the BEFORE IMAGE? Good luck there without
privileged code.

RMS-CDC works without any code modification needed. It's installed and
loaded, and then the files that are of interest for change data capture
are added to RMS-CDC's files-of-interest database. From that point on,
anything that can and will modifiy a file's contents is captured and
squirreled away in a log file for consumption for whatever purpose --
as Hein mentioned such as auditing or database or forwarding to other
systems not necessarily VMS systems -- deemed necessary.

If a system is in a cluster, RMS-CDC needs to be on every node of the
cluster because files can be accessed from every node in the cluster.
This requires special syncronization and sequencing to keep all CDC
data coordinated.

I know that Hein knows all of this because I'd worked closely with him
for several years to implement RMS-CDC. This reply is for the
enlightenment of others.

— VAXman

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor