🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: vmsnet.networks.management.misc
3 messages
3 total messages Started by Dan Evans Fri, 08 Jan 1993 21:53
Help with NCP and LAVCs needed
#6
Author: Dan Evans
Date: Fri, 08 Jan 1993 21:53
65 lines
2617 bytes
Hello and Happy New Year!

I hope this will be an easy question for some of you to answer.
I'm no DECnet wiz, so the following is my perceptions of what is going
on, please excuse me if I'm wrong.

We have a LAVC running VMS 5.5-2.  It is a single system disk cluster.
The NCP database (for remote hosts) is stored in a common area
	SYS$COMMON:[SYSEXE]NETNODE_REMOTE.DAT
so all the systems can share it.  (Or so the VMS Networking (Vol 5A)
manual claims on pg 5-42.)

The problem I'm having is, whenever I update the database on one node in
the cluster, the new information is not reflected on the other nodes.
Even though they all use the same file to load their database.

For example,  here I change a node name to reflect a change in address:

I make the changes on NODE1...

NODE1$ MC NCP
NCP> SHO NODE XYZ
Node Volatile Summary as of  8-JAN-1993 13:14:27
 
    Node           State      Active  Delay   Circuit     Next node
                              Links
 
5.10 (XYZ)                             	       SVA-0        24.474

NCP> CLEAR NODE XYZ ALL
NCP> PURGE NODE XYZ ALL
NCP> SET NODE XYZ 5.12
NCP> DEF NODE XYZ 5.12
NCP> SHO NODE XYZ
Node Volatile Summary as of  8-JAN-1993 13:16:27
 
    Node           State      Active  Delay   Circuit     Next node
                              Links
 
5.12 (XYZ)                             	       SVA-0        24.474


Now I go over to NODE2...

NODE2$ MC NCP
NCP> SHO NODE XYZ
Node Volatile Summary as of  8-JAN-1993 13:18:27
 
    Node           State      Active  Delay   Circuit     Next node
                              Links
 
5.10 (XYZ)                             	       SVA-0        24.474


Why is this happening?  
Any help would be appreciated.

Dan 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Daniel V. Evans			||  Internet: 	evans@pan.arc.nasa.gov
Mail Stop 245-3			||DECnet/NSI: 	24609::EVANS
NASA/Ames Research Center	||     Phone: 	(415) 604 4882
Moffett Field, CA 94035-1000	||	 Fax: 	(415) 604 6779
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: Help with NCP and LAVCs needed
#7
Author: Aaron Leonard
Date: Fri, 08 Jan 1993 23:30
46 lines
2307 bytes
In article <1993Jan8.215322.16191@riacs.edu>, evans@pan.arc.nasa.gov (Dan Evans) writes:
 
| I hope this will be an easy question for some of you to answer.
| I'm no DECnet wiz, so the following is my perceptions of what is going
| on, please excuse me if I'm wrong.
| 
| We have a LAVC running VMS 5.5-2.  It is a single system disk cluster.
| The NCP database (for remote hosts) is stored in a common area
| 	SYS$COMMON:[SYSEXE]NETNODE_REMOTE.DAT
| so all the systems can share it.  (Or so the VMS Networking (Vol 5A)
| manual claims on pg 5-42.)
| 
| The problem I'm having is, whenever I update the database on one node in
| the cluster, the new information is not reflected on the other nodes.
| Even though they all use the same file to load their database.
| 
| For example,  here I change a node name to reflect a change in address:

[ example omitted ]

Dan,

You should make your change(s) to the permanent database via an
NCP PURGE/DEFINE on a single node.  Then use SYSMAN to update everyone's
volatile database using NCP CLEAR/SET.

So if you want to get rid of node XYZ, then re-add it with addr 5.10 (per your
example):

$ MC NCP
NCP> PURGE NODE XYZ ALL
NCP> DEF NODE XYZ ADDR 5.10
NCP> ^Z
$ MC SYSMAN
SYSMAN> SET ENV/CLUS
SYSMAN> DO MC NCP CLEAR NODE XYZ ALL
SYSMAN> DO MC NCP SET NODE XYZ ADDR 5.10
SYSMAN> ^Z

I hope the above has been helpful.  If you need further assistance,
please feel free to call Bob Gezelter. :-)

Aaron

Aaron Leonard (AL104), <Leonard@Arizona.EDU>
University of Arizona Network Operations, Tucson AZ 85721
Re: Help with NCP and LAVCs needed
#8
Author: Terry Poot
Date: Fri, 08 Jan 1993 23:35
36 lines
1908 bytes
In article <1993Jan8.215322.16191@riacs.edu>, evans@pan.arc.nasa.gov (Dan Evans)
writes:
>Why is this happening?  

There are two databases permanent (in disk) and volatile (in memory). When
DECnet starts up, the permanent database is used to initialize the volatile
database. When you used SET NODE you updated the volatile database on the node
you are on. When you used DEFINE NODE you updated the permanent database. But
you didn't update the volatile database on any other node. You need to either
restart DECnet on each other machine (yech), or issue the following commands on
each other node:

NCP> clear node xyz
NCP> set node xyz all

The first command clears the node from the volatile database, the second copies
the node info from the permanent database into the volatile database. So to do
it on every node, try something like this (untested):

$ NCP
NCP> purge node xyz all
NCP> def node xyz  512
NCP> exit

$ mc sysman
SYSMAN> set environment/cluster
SYSMAN> do ncp clear node xyz all
SYSMAN> do ncp set node xyz all
SYSMAN> exit

Apologies if any of this is wrong. I'm sure someone will say so. :-)
--
Terry Poot <tp@mccall.com>                   The McCall Pattern Company
(uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
(800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads