[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
3446.0. "Registration FM and DIRECTORY directive" by BALZAC::MARKOWSKI () Tue Jul 28 1992 10:25
Hello,
Is the documentation called the Registration FM available somewhere on the
network or could somebody explain me what does the Registration FM do
with a DIRECTORY command ?
I have the following problem with the DIRECTORY directive (DECmcc V1.2.0
with VMS 5.4) :
SEGUR � mcc
DECmcc (V1.2.0)
MCC> directory sare *
SARE *
AT 28-JUL-1992 14:59:32
The requested operation cannot be completed
MCC Routine Error = %MCC-E-NOATTRIB, no such DNS attribute
MCC> directory sare leg001
SARE PRSTRA_NS:.leg001
AT 28-JUL-1992 15:04:06
Directory successful.
Equipment = PRSTRA_NS:.LEG001
Domain = "DECSARE"
Zone = "COR"
Type = "LGCM2G"
Reference = "6C170C2"
MCC>
Here is a piece of the management specification of the SARE entity :
(* Attributes partition : IDENTIFIER *)
IDENTIFIER ATTRIBUTES
ATTRIBUTE Equipment = 10 : FullName
DNS_IDENT = PRIMARY_NAME,
ACCESS = NONSETTABLE,
DISPLAY = TRUE,
CATEGORIES = (CONFIGURATION),
SYMBOL = SARE_ID_EQUIPMENT
END ATTRIBUTE Equipment;
ATTRIBUTE Identification = 20 : Latin1String
DNS_IDENT = ALTERNATE_NAME,
ACCESS = NONSETTABLE,
DISPLAY = FALSE,
CATEGORIES = (CONFIGURATION),
SYMBOL = SARE_ID_IDENTIFICATION
END ATTRIBUTE Identification;
ATTRIBUTE Domain = 30 : Latin1String
DNS_IDENT = NOT_USED,
ACCESS = NONSETTABLE,
DISPLAY = TRUE,
CATEGORIES = (CONFIGURATION),
SYMBOL = SARE_ID_DOMAIN
END ATTRIBUTE Domain;
ATTRIBUTE Zone = 40 : Latin1String
DNS_IDENT = NOT_USED,
ACCESS = NONSETTABLE,
DISPLAY = TRUE,
CATEGORIES = (CONFIGURATION),
SYMBOL = SARE_ID_ZONE
END ATTRIBUTE Zone;
ATTRIBUTE Type = 50 : Latin1String
DNS_IDENT = NOT_USED,
ACCESS = NONSETTABLE,
DISPLAY = TRUE,
CATEGORIES = (CONFIGURATION),
SYMBOL = SARE_ID_TYPE
END ATTRIBUTE Type;
ATTRIBUTE Reference = 60 : Latin1String
DNS_IDENT = NOT_USED,
ACCESS = NONSETTABLE,
DISPLAY = TRUE,
CATEGORIES = (CONFIGURATION),
SYMBOL = SARE_ID_REFERENCE
END ATTRIBUTE Reference;
END ATTRIBUTES;
Thanks for any help.
Regards,
sylviane.
T.R | Title | User | Personal Name | Date | Lines |
---|
3446.1 | Need Help ... | BALZAC::MARKOWSKI | | Thu Jul 30 1992 10:32 | 23 |
|
Hello,
Are my questions so stupid that nobody wants to answer them (this is
not my first question that remains without any answer) ?
I do need some explanation on the way the DIRECTORY directive works
with the Registration FM.
The directive was working at a certain point of the development of my AM
and I haven't re-use it till now because I am writting the user's guide
and looking for an example of each supported directive to put in the
documentation. An now the directive fails ...
Thanks again for any help.
Regards,
sylviane.
|
3446.2 | You may have incomplete DECmcc DNS object | TRM::KWAK | | Thu Jul 30 1992 12:06 | 35 |
|
RE:.0
When you issus "MCC> dir sare *", the DECmcc searches the 'ENTIRE'
namespace for DNS objects with MCC_Class equal to MCC_K_Class_SARE.
When a DNS object's MCC_Class attribute value matches, DECmcc will
read a binary attribute which stores the identifiers (e.g. in SARE
global entity, the identifiers are Equipment, Domain, etc.)
The identifiers are ILV-encoded. The binary attributes are not
visible from V1.1 DNS$Control, but readable using V2.0 DNS (both
VMS and Ultrix). If you do not have access to V2.0 DNS, I have a
utility program which enumerates a DNS object's attributes including
the binary attributes (send me mail TOOK::kwak if you need the program).
However, when the binary attribute does not exists, DECmcc returns
the error message - "%MCC-E-NOATTRIB".
This binary attribute is created in mcc_dns_create_instance().
To fix your problem, you have to delete the DNS object which was
partially created by DECmcc.
Assuming that you are running V1.1 DNS, and your SARE object was tried
to be registered in the root directory:
DNS>! find the MCC_Class value in hexadecimal
DNS> sho object .LEG001 attribute MCC_Class
DNS> show dir . known objects
DNS>! for each DNS object (say foo), see if it has MCC_Class attribute
DNS> show object .foo attribute MCC_Class
DNS>! if the MCC_Class matches the MCC_Class of your SARE object .LEG001
DNS>! Issue the following MCC command, and if you get
DNS>! "Not Registered Entity = SARE ..............",
DNS>! delete the DNS object (DNS> delete object .foo)
DNS>! MCC> dir SARE .foo
William
|
3446.3 | You're completely right ! | BALZAC::MARKOWSKI | | Thu Jul 30 1992 12:47 | 17 |
|
Hello William,
Thank you for your explanations, the problem is exactly what you have
described. In subsequent tests, I have noticed other symptoms of the
problem : it was impossible to DEREGISTER or REGISTER the object.
Following your suggestions, I have deleted the partial registered DNS
object, registered again the object and the DIRECTORY directive works
fine again.
Thank's again for spending time to answer to my problem.
Best regards,
sylviane.
|