Operating System - OpenVMS
cancel
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?
6 REPLIES
Robert_Boyd
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.

Robert

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

Re: Monitoring a logical change

Shael,

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
Jim_McKinney
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!

Thanks
BR878588
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