[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2519.0. "rename registered entities in to a new DNS structure" by HKGACT::SUSANCHAN () Tue Mar 10 1992 04:08

I have all my entities (include domains, node4s, bridges) registered on
the DNS NAMESPACE root directory.  

I would like to restructure the DNS NAMESPACE with objects in a subdirectory, 
so that it reflects similar arrangement as display by the DECmcc Iconic Map 
where entities are in a domain.

Is that possible?  How can it be done?

As a matter of fact, will this be a benifit?  Also, do you have any example
of how you would structure you DNS NAMESPACE with DECmcc?

Thanks for any help,
Susan Chan
HKEIS
T.RTitleUserPersonal
Name
DateLines
2519.1You can do it. Here is how.TOOK::R_SPENCENets don't fail me now...Tue Mar 10 1992 13:1935
    You CAN do this restructuring.
    
    To refine your question a bit, you are asking if you can change the
    names (the Registered Names) of the entitiy instances.
    
    You can do this with the RENAME directive.
    
    So, for instance, if you had the NODE4 .VAX1 and you wanted to move
    it to the .LKG child directory, you would
    	MCC> RENAME NODE4 .VAX1  REGISTERED NAME = .LKG.VAX1
    
    There are a couple of side effects that you need to be aware of and
    also some problems you could encounter.
    - A positive side effect is that the RENAME will find all the domains
      that the entity is a member of and update that info too
    - A negative side effect is that it will NOT update MAP FILES
      I suggest that this work be done in the FCL with NO Iconic Map
      up. If you have a workstation I would suggest that you edit the
      map file in one window while you do the RENAMEs in another. If you
      have the entities in more than one domain then you need to edit all
      the appropriate map files.
    - Note that if you leave out the "REGISTERED" and only include NAME
      you are attempting to change the DECnet Phase IV name on the local
      node. This may not succeed.
    - If the new name you choose is already the name of something, like the
      child directory for example, success will be reported (a bug) even
      though DECmcc cannot, and does not perform the rename.
    
    As to benifits, getting things out of the root will, as you add more
    entities to the system, and perhaps use the namespace for other things,
    keep performance of the namespance from degrading.
    
    I hope this helps.
    
    s/rob