HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

Monitoring a logical change

Shael Richmond
Frequent Advisor

Monitoring a logical change

Is there anyway to monitor when a logical name changes?

I found the set security/class=logical_name_table lnm$system_table.

But that doesn't really work. It gives too much information and doesn't tell me what I really need - it doesn't list the actual logical name that was changed.

Any suggestions?
Respected Contributor

Re: Monitoring a logical change

Unless the interlock mechanism has been refined further in recent releases, the locks on logical names are at a high level. In order to change a logical name the whole table is locked for the duration of the change. I'd be surprised if you could track it at the logical name level short of putting breakpoints on the memory locations where the logical name is stored. Maybe one of the internals gurus can suggest other possibilities.


Master you were right about 1 thing -- the negotiations were SHORT!
Robert Gezelter
Honored Contributor

Re: Monitoring a logical change


Check the list of events that can be monitored by the Audit Server (I would look right now, but something I was waiting for just finished).

- Bob Gezelter, http://www.rlgsc.com
Honored Contributor

Re: Monitoring a logical change

You should be able to audit for write access only. If this isn't adequate then you might consider isolating the logical name in a table of its own that you define into LNM$FILE_DEV.
Shael Richmond
Frequent Advisor

Re: Monitoring a logical change

No I couldn't find a class other then logical_name_table.

I did set security for write access but that generates a lot of audit messages and I still can't tell which logical name was changed.

It looks like I didn't miss anything unfortunated!

Occasional Visitor

Re: Monitoring a logical change

Any reason why you can't put the critical logical(s) into its (their) own specific table and set auditing on that specific table? If an audit event were to happen then you could translate the names and see what had changed.

Don't forget to protect write access to the table with ACLs.
Ian Miller.
Honored Contributor

Re: Monitoring a logical change

If your VMS version is recent enough there is the LNM SDA extension which traces logical name activity?

Are you trying to debug something or is this some sort of audit requirement?
Purely Personal Opinion