|
Hello,
My REGISTER operation still doesn't work.
I have investigated furthermore my problem and looked in the DNS
direction. I have created my specific directories :
. a .arc_node directory,
. a .arc_BackTranslation directory,
. a arc_Registrar group,
and now at registration of the entity instance, I have the
following messages :
MCC> register arc .arc_node.orlan
%MCC-S-NORMAL, normal successful completion
arc PRSTRA_NS:.arc_node.orlan
AT 16-OCT-1991 16:43:08
The requested operation cannot be completed
%MCC-E-NOENTITY, no corresponding entity instance exists
MCC>
Some more informations :
The command :
MCC> show arc .arc_node.orlan all ident
works fine.
Here is a piece of the definition of the entity ARC :
GLOBAL ENTITY arc = 30 :
IDENTIFIER = (Nodename),
SYMBOL = CLASS_ARC,
IDENTIFIER ATTRIBUTES
ATTRIBUTE Nodename = 10 : FullName
DNS_IDENT = PRIMARY_NAME,
ACCESS = NONSETABLE,
DISPLAY = TRUE,
CATEGORIES = (CONFIGURATION),
SYMBOL = ATTR_Nodename
END ATTRIBUTE Nodename;
END ATTRIBUTES;
Thanks in advance for any help,
sylviane.
|
| In your MSL, have you included the Registration FM MS files?
The Register command is intercepted by the Registration FM - But the
data it returns in Out-Entity & Out-P is looked up in the dictionary
under *YOUR* entity. You have to put into your MS file, the replies
for the Register directive ... I will include the file here.
/keith
------------------------------------------------------------------------------
(************************************************************************
* *
* MCC_REGISTER_DIRECTIVE.MS *
* *
************************************************************************
* ******************************************************************** *
* * * *
* * ************************************************************ * *
* * * * * *
* * * Copyright (c) Digital Equipment Corporation, 1991 * * *
* * * All Rights Reserved. Unpublished rights reserved * * *
* * * under the copyright laws of the United States. * * *
* * * * * *
* * * The software contained on this media is proprietary * * *
* * * to and embodies the confidential technology of * * *
* * * Digital Equipment Corporation. Possession, use, * * *
* * * duplication or dissemination of the software and * * *
* * * media is authorized only pursuant to a valid written * * *
* * * license from Digital Equipment Corporation. * * *
* * * * * *
* * * RESTRICTED RIGHTS LEGEND Use, duplication, or * * *
* * * disclosure by the U.S. Government is subject to * * *
* * * restrictions as set forth in Subparagraph (c)(1)(ii) * * *
* * * of DFARS 252.227-7013, or in FAR 52.227-19, as * * *
* * * applicable. * * *
* * * * * *
* * ************************************************************ * *
* * * *
* ******************************************************************** *
************************************************************************)
(************************************************************************
* *
* FACILITY: *
* *
* DECmcc - Management Control Center *
* *
* Registration FM directive: Register *
* *
* ABSTRACT: *
* *
* This management specification defines the Management Interface *
* for the Registration FM *
* *
* The following directive is supported: *
* *
* Register <entity> *
* *
* This directive will register the Entity and store the *
* Orphaned Attributes (software emulated) in DNS. *
* *
* Entities that do not have orphaned attributes may use this *
* file as is. *
* *
* Entities which already have orphaned attributes must add a *
* Request section defining arguments for each new orphaned *
* attribute. *
* *
* USE: *
* *
* To add the this directive to your Management Specification, *
* add the following command *after* defining your Entity: *
* *
* INCLUDE MCC_REGISTER_DIRECTIVE.MS *
* *
* AUTHOR: *
* *
* DECmcc Registration FM Team *
* *
* EDIT HISTORY: *
* *
* 01-Oct-1991 v1.2-001 Created *
* *
************************************************************************)
(************************************************************************
*
* Define Directive: REGISTER
*
* Arguments:
*
* o none
*
* Responses:
*
* o REGISTER_SUCCESS
* o REGISTER_DUP
* o PARTIAL_REGISTER
* o ARG_PARTIAL
* o PARTIAL_FULLNAME
* o REGISTER_SUCCESS_CHANGED
* o PARTIAL_REGISTER_CHANGED
* o PARTIAL_FULLNAME_CHANGED
*
* Exceptions:
*
* o REG_UNREC_ID
* o REG_BAD_ID
* o REG_BAD_DUP
* o REG_ID_IN_USE
* o REG_NS_NOACCESS
* o REG_NS_PROT
* o REG_NS_NODIR
* o REQ_ARGUMENT_MISSING
* o REQ_ARG_MISSING
* o (any common exception)
*)
DIRECTIVE Register = 29 :
DIRECTIVE-TYPE = ACTION,
DISPLAY = TRUE,
SYMBOL = REGISTRATION_REGISTER,
CATEGORIES = (CONFIGURATION),
RESPONSE REGISTER_SUCCESS = 1 :
SYMBOL = REGISTER_SUCCESS,
TEXT = "Registration successful.",
END RESPONSE REGISTER_SUCCESS;
RESPONSE REGISTER_DUP = 2 :
SYMBOL = REGISTER_DUP,
TEXT = "The entity is already registered with MCC.",
END RESPONSE REGISTER_DUP;
RESPONSE PARTIAL_REGISTER = 3 :
SYMBOL = PARTIAL_REGISTER,
TEXT = "Partial registration success. Please retry later to complete
the registration.",
ARGUMENT Reason for Partial Registration = 1 : MccMessage
DISPLAY = TRUE,
SYMBOL = ARG_REASON_PARTIAL
END ARGUMENT Reason for Partial Registration;
END RESPONSE PARTIAL_REGISTER;
RESPONSE ARG_PARTIAL = 4 :
SYMBOL = ARG_PARTIAL,
TEXT = "Partial registration success, required class specific
arguments were not supplied.",
END RESPONSE ARG_PARTIAL;
RESPONSE PARTIAL_FULLNAME = 5 :
SYMBOL = PARTIAL_FULLNAME,
TEXT = "Partial registration success. The registration name has
been registered with MCC.",
END RESPONSE PARTIAL_FULLNAME;
RESPONSE REGISTER_SUCCESS_CHANGED = 6 :
SYMBOL = REGISTER_SUCCESS_CHANGED,
TEXT = "Registration successful. Previously partially registered
arguments were changed.",
END RESPONSE REGISTER_SUCCESS_CHANGED;
RESPONSE PARTIAL_REGISTER_CHANGED = 7 :
SYMBOL = PARTIAL_REGISTER_CHANGED,
TEXT = "Partial registration success. Previously partially
registered arguments were changed. Please retry later to complete the
registration.",
ARGUMENT Reason for Partial Registration = 1 : MccMessage
DISPLAY = TRUE,
SYMBOL = ARG_REASON_PARTIAL
END ARGUMENT Reason for Partial Registration;
END RESPONSE PARTIAL_REGISTER_CHANGED;
RESPONSE PARTIAL_FULLNAME_CHANGED = 8 :
SYMBOL = PARTIAL_FULLNAME_CHANGED,
TEXT = "Partial registration success. Previously partially
registered arguments were changed. The registration name has been
registered with MCC.",
END RESPONSE PARTIAL_FULLNAME_CHANGED;
EXCEPTION REG_UNREC_ID = 1 :
SYMBOL = REG_UNREC_ID,
TEXT = "Unrecognized registration name. The namespace name must
be a fullname, include a leading ""."".",
END EXCEPTION REG_UNREC_ID;
EXCEPTION REG_BAD_ID = 2 :
SYMBOL = REG_BAD_ID,
TEXT = "The registration name is already used by the class
!<Registered Entity Class>.",
ARGUMENT Registered Entity Class = 1 : Latin1String
DISPLAY = FALSE,
SYMBOL = ARG_REG_ENTITY_CLASS
END ARGUMENT Registered Entity Class;
END EXCEPTION REG_BAD_ID;
EXCEPTION REG_BAD_DUP = 3 :
SYMBOL = REG_BAD_DUP,
TEXT = "Inconsistent duplicate registration: entity already
registered, but ID information is inconsistent with existing
registration of this or another entity.",
END EXCEPTION REG_BAD_DUP;
EXCEPTION REG_ID_IN_USE = 4 :
SYMBOL = REG_ID_IN_USE,
TEXT = "Duplicate registration identifier, identifier
already in use by another entity.",
ARGUMENT Identifier Already Used = 1 : Attrib_List
DISPLAY = TRUE,
SYMBOL = ARG_DUP_IDENTIFIER
END ARGUMENT Identifier Already Used;
END EXCEPTION REG_ID_IN_USE;
EXCEPTION REG_NS_NOACCESS = 5 :
SYMBOL = REG_NS_NOACCESS,
TEXT = "Unable to register name, problem while accessing the
namespace.",
END EXCEPTION REG_NS_NOACCESS;
EXCEPTION REG_NS_PROT = 6 :
SYMBOL = REG_NS_PROT,
TEXT = "Unable to register name, protection violation in
the namespace.",
END EXCEPTION REG_NS_PROT;
EXCEPTION REG_NS_NODIR = 7 :
SYMBOL = REG_NS_NODIR,
TEXT = "Unable to register name, required namespace directory
does not exist.",
END EXCEPTION REG_NS_NODIR;
EXCEPTION REQ_ARGUMENT_MISSING = 8 :
SYMBOL = REQ_ARGUMENT_MISSING,
TEXT = "Required argument is not supplied.",
END EXCEPTION REQ_ARGUMENT_MISSING;
EXCEPTION REQ_ARG_MISSING = 9 :
SYMBOL = REQ_ARG_MISSING,
TEXT = "Required argument !<Required Class Argument> is not supplied.",
ARGUMENT Required Class Argument = 1 : Latin1String
DISPLAY = FALSE,
SYMBOL = ARG_REQ_CLASS_ARG
END ARGUMENT Required Class Argument;
END EXCEPTION REQ_ARG_MISSING;
END DIRECTIVE Register;
|
|
Hello Keith,
Thanks for your answer and your full definition of the Register
directive. I already had a Register definition in my MS file but
not so complete.
So I have modified my MS file with your Register definition
and I still get the same message :
%MCC-E-NOENTITY, no corresponding entity instance exits
BUT if I modify the status that is returned by the function
ARC_SHOW_IDENT (the one that performs the SHOW ARC ALL IDENTIFIERS),
I replace MCC_S_RESPONSE by MCC_S_NORMAL, I get a "Registration
Successful" and my instance is registered in the DNS dictionary.
BUT now if I do a SHOW ARC <instance> ALL IDENTIFIERS, nothing
more is displayed...
If I follow your explanations, I have to modify the definition of
the RESPONSE REGISTER_SUCCESS to fit the type and format of datas
returned by the ARC_SHOW_IDENT function, haven't I ?
Thanks again for help.
Best regards,
sylviane.
|