[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

187.0. "Register node4 problems." by NSSG::R_SPENCE (Nets don't fail me now...) Tue Jul 17 1990 13:23

    I started registering some of our node4 entities today using the
    syntax supplied by the MCC_NODE4_LOAD.COM file.
    
    Some of these nodes have previously be added to the namespace by the
    Phase V transition tools. Some have not.
    
    The registration commands generate an error message.
    The error messages are not helpful at all in tracking down the problem.
    The message should supply more useful information and it should display
    it in human readable form.
    
    For example, here is one that isn't in the namespace at all yet.
    I can't seem to add it.
    
    First, I check the namespace;
    
    DNS> sho obj .dna_node.citdem
     %DNS-UNKNOWNENTRY, Requested entry does not exist
    DNS>
    
    Ok, it isn't there. Now make sure the node is up and accessable.
    
    NCP>tell citdem show exec
    
    Node Volatile Summary as of 17-JUL-1990 12:02:54
    
    Executor node = 4.5 (CITDEM)
    
    State                    = on
    Identification           = DECnet-VAX V5.3-1,  VMS V5.3-1
    
    NCP>
    
    It is, so we should be ok to register it.
    
    MCC> Register Node4 .DNA_NODE.CITDEM Synonym CITDEM
    Node4 CLAUDI_NS:.DNA_NODE.CITDEM
    AT 17-JUL-1990 12:03:46
    
    
    The requested operation cannot be completed
                          MCC Routine Error = %DNS-E-UNKNOWNENTRY,
    Requested entry
                                              does not exist
    MCC>
    
    It failed, and the check below in DNS confirms it. Trying a second time
    doesn't help (but that makes sense).
    
    DNS> sho obj .dna_node.citdem
     %DNS-UNKNOWNENTRY, Requested entry does not exist
    DNS>
    
    Ok, lets try one that has allready been added by the transition tool.
    
    DNS> sho obj .dna_node.smaug
     Attribute (Single) ___ DNA$NodeSynonym
     Attribute (Set) ______ DNA$Towers
     Attribute (Set) ______ DNS$ACS
     Attribute (Single) ___ DNS$Class
     Attribute (Single) ___ DNS$ClassVersion
     Attribute (Single) ___ DNS$UID
     Attribute (Single) ___ DNS$UTS
     DNS>
    
    MCC> Register Node4 .DNA_NODE.SMAUG Synonym SMAUG
    Node4 CLAUDI_NS:.DNA_NODE.SMAUG
    AT 17-JUL-1990 11:56:30
    
    
    The requested operation cannot be completed
                          MCC Routine Error = %DNS-E-UNKNOWNENTRY,
    Requested entry
                                              does not exist
    MCC>
    
    Ok, it sure looks a lot like the previous example, but a peek with
    DNS$CONTROL shows
    
    DNS> sho obj .dna_node.smaug
     Attribute (Single) ___ DNA$NodeSynonym
     Attribute (Set) ______ DNA$Towers
     Attribute (Set) ______ DNS$ACS
     Attribute (Single) ___ DNS$Class
     Attribute (Single) ___ DNS$ClassVersion
     Attribute (Single) ___ DNS$UID
     Attribute (Single) ___ DNS$UTS
     Attribute (Set) ______ MCC_Class
     Attribute (Single) ___ MCC_UID
     Attribute (Set) ______ MCC_Version
    DNS>
    
    Well, it did something. Why is is complaining? In fact, if I now try
    to do the register again I get a different result.
    
    MCC> Register Node4 .DNA_NODE.SMAUG Synonym SMAUG
    Node4 CLAUDI_NS:.DNA_NODE.SMAUG
    AT 17-JUL-1990 11:58:05
    
    
    The requested operation cannot be completed
                      Entity Existence Info = Entity Exists
    MCC>
    
    s/rob
    
    
    
    
    
    MCC> Register Node4 .DNA_NODE.SMAUG Synonym SMAUG
    Node4 CLAUDI_NS:.DNA_NODE.SMAUG
    AT 17-JUL-1990 11:58:05
    
    
    The requested operation cannot be completed
                      Entity Existence Info = Entity Exists
    MCC>
T.RTitleUserPersonal
Name
DateLines
187.1Phase V NODE too ...FORTY2::MELLINGChris Melling @REO. 830-4528Wed Jul 18 1990 07:2115
Hmm .. I had very similar problems registering a phase V node with MCC.

Like you the registration was failing with unhelpful error messages, although 
the DNS object was being modified to include the MCC* attributes.  In our case
the object (and its synonym (and backtranslation)) were already in DNS thanks to
DECnet-Ultrix.  We eventually got it to work by removing all evidence of the 
node from DNS, and then doing the register.  We then had to go back to DNU and
put back the back_translation (as MCC is not directly concerned with this)
and update the towers attribute.

I put it down to the fact that register couldn't deal properly with the case 
where node objects were already in the namespace.  (However this doesn't match
what you're seeing with your NODE4 register.)

Chris
187.2compatibility?GOSTE::CALLANDERWed Jul 18 1990 09:464
    
    There are some backwards compatibility problems around DNS I believe.
    They should be listed in the MCC notes file. I am getting some one
    to also place the information here as well, so keep tuned.
187.3name space structureB8OVEN::MULLIGANWed Jul 18 1990 17:24129
If you are trying to register a node4 with the latest release
of MCC (UT1.0.1) and your namespace was set up for a previous
version of MCC then the problem probably has something to 
do with changes we made to the structure of the namespace between
releases.  For one we changed all $ to _ in the DNS directory structure.
This is documented in the UT1.0.1 release notes.  I have included
the relevant section from the release notes at the end of this note.

An error like this:

   MCC> Register Node4 .DNA_NODE.CITDEM Synonym CITDEM
    Node4 CLAUDI_NS:.DNA_NODE.CITDEM
    AT 17-JUL-1990 12:03:46


    The requested operation cannot be completed
                    MCC Routine Error = %DNS-E-UNKNOWNENTRY,
    Requested entry
                                              does not exist

means that MCC tried to store a piece of information in a DNS directory
that doesn't exist.  With this command four pieces of info get written
into DNS.
  1. The object CITDEM is created in the .DNA_NODE directory
  2. A link for CITDEM's address is created under the .DNA_BACKTRANSLATION
     directory
  3. A Unique IDentifier for the node is created in .MCC_UID
  4. The phase 4 name (synonym) is created in .DNA_NodeSynonym

So you are probable missing one of these directories.

> The registration commands generate an error message.
> The error messages are not helpful at all in tracking down the problem.
> The message should supply more useful information and it should display
> it in human readable form.

  Yes, I agree the error message is not helpful.  We are working
  to make them better.

Pat
----
        1.3  DECDNS CONSIDERATIONS

        If you installed the internal or external field test version
        of DECmcc, read this section carefully.

        Before installing this field test update kit, you must
        deregister all entities that you have registered using
        previous versions of DECmcc.

        Each entity managed by DECmcc now has a Unique IDentifier
        (UID) assigned by DECmcc.  This allows DECmcc to track
        entities across rename operations.  Should any of the
        identifiers which identify an entity be renamed, the UID will
        stay constant, allowing DECmcc to access the entity even if
        the entity's name is changed.  Because of this, you may not
        rename any entity managed by DECmcc using any utility other
        than DECmcc.

        To keep pace with the Phase IV to Phase V transition effort
        and to allow future porting to ULTRIX, we have changed the
        names of the namespace directories required.  All dollar signs
        ($) have been removed.

             MCC$<class>_Backtranslation ---> MCC_<class>_Backtranslation 
             MCC$UID                     ---> MCC_UID
             DNA$Backtranslation         ---> DNA_Backtranslation
             DNA$Node                    ---> DNA_Node
             DNA$NodeSynonym             ---> DNA_NodeSynonym


        DECmcc is now compliant with the Phase V architected directory
        names for IDP and AREA.  The construction of the directory
        names is

            DNA_BackTranslation.%x<IDP>.%x<AREA>.<local address>

SYSTEM CONSIDERATIONS                                         Page 1-4



            where
                  IDP is assigned at DECmcc installation time
                  AREA is a 4 digit hex number of any area in your
                                DECnet network
                  local address is a softlink added as part of the
                                REGISTER process
                

        Because of these name changes, the external field test update
        software will not be able to access entities registered using
        the external field test software.

        The following directories must be present in the DECdns
        namespace:

                 .DNA_BackTranslation
                 .DNA_BackTranslation.%x<IDP>
                 .DNA_BackTranslation.%x<IDP>.%x<AREA>
                 .MCC_<class>_BackTranslation
                 .MCC
                 .MCC_UID
                 .MCC_IP (optional)
                 .DNA_Node (optional)
                 .DNA_NodeSynonym


        The command file MCC_DNS_SETUP.COM is included on the kit and
        placed in the directory MCC_COMMON to create the proper
        directories for all supported entities.

        The restriction for wildcard searches has been lifted.
        Wildcard operations will now work correctly for entities
        stored anywhere in the namespace.  Therefore, it is no longer
        necessary to place entities directly under the root.

        Phase IV nodes now have an identifier of datatype FullName.
        This lets you place Phase IV nodes wherever you wish in the
        namespace.  Phase IV nodes are no longer placed under the
        DNA_Node directory automatically.  The command file
        MCC_NODE4_LOAD.COM is included on the kit and placed in the
        directory MCC_COMMON for your convenience.  This command file
        creates a command file that registers all the nodes in your
        NCP database into the namespace under the DECdns directory
        .DNA_Node.



187.4Still doesn't workNSSG::R_SPENCENets don&#039;t fail me now...Wed Jul 18 1990 19:3815
    I have checked that all the needed directories are in place (and
    spelled right) and that I have access to them (the right groups
    seem to have the right access) but trying the register again still gets
    me the same exact error message. I admit that the first time that I
    tried it (several days ago) I didn't have the .MCC_UID directory in
    place yet, but even after adding it, the error doesn't change.
    
    I did read the release notes carefully before installing the kit (and
    yes, I did try a few things before creating the new MCC specific
    directories (.MCC and .MCC_UID ... we already had all the DNA_mumble
    directories in place by using the Transition tools). However, even with
    a new clean install of DECmcc I still cannot register that node.
    
    s/rob