[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

113.0. "MIR usage" by CROW::YANG () Tue May 01 1990 15:32

    I have a question about the MIR usage. We have our own EMA model which
    contains the containment hiararchy of entities. Our design is to create
    the System Management Database, an Rdb/VMS database to store all
    information about entities, either global or subordinate. After I read
    the MIR definition recently, I started to realize that MIR contains
    4 types of information: Entity Class, Instance, Attribute and Private
    data. The first three types are for entities, the private data is for
    each management module (PM, FM, or AM).
    
    My question is this: what is the general purpose for storing entity data 
    into MIR if those data are to be stored in our database? OR phrasing my    
    question differently, that is, can we assume that all data can go to
    MIR without the need to use our database so that we totally manipulate
    our entity information in MIR?
    
    I wish somebody can explain the guideline for the MIR usage and perhaps
    some examples to show the benefit in using MIR.
    
    Thanks!
    
    Yah-Kong, 
T.RTitleUserPersonal
Name
DateLines
113.1Sounds like a MIR application to meTOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Wed May 02 1990 09:4323
    It all depends on the data model of the stuff you're storing.
    
    The MIR is a fake entity-oriented database layered on top of flat
    files.   It also provides time-based storage and retrieval semantics
    for entity instances that come and go or attributes whose values need
    to be stored over time.
    
    If your storage needs are entity instance based (i.e. the instance is
    the 'key' to the data) and your entity hierarchy is non-trivial, you
    will find it considerable work to map this to a flat or relational data
    model and will probably find the MIR to be a better deal.
    
    A counter example would be a case where your data is keyed by the value
    of a characteristic or reference attribute and not by an instance
    identifier.  For example, if you have a reference attribute which is
    the building in which the entity is located, and you wish to keep
    additional data about the building, then this is a private data
    application.  (Now of course you could make the buildings into entities
    at which point you might go back to using the MIR).  Get it?
    
    The other obvious reason for using private data is for communication
    with native database applications outside of MCC.
    about the building
113.2Are MCC$MIR... callable routines available?TRADE::ASHRAFGone today, here tomorrowFri May 04 1990 17:029
    
    I have a question related to the implementation of the MCC$MIR... 
    callable interface routines for accessing MIR database from a
    program, as described in the DECmcc SRM.
    
    Have these routines already been implemented?  If not, what's 
    the schedule?
    
    Muhammad
113.3Well, is it a Global Entity?TOOK::GUERTINWherever you go, there you are.Sun May 06 1990 12:4135
    Jim, in .1 described the MIR very accurately (I couldn't have done a
    better job myself).  Yes, the routines are implemented.  However, the
    Instance and Attribute repositories are not distributed, that is to say
    the repositories are on a per cluster (or node) basis.  This means that
    AMs, if they use the current MCC$MIR_ routines, can not have MCC manage
    the storage and retrieval of network-wide identifiers on their behalf. 
    AMs therefore generally find the MIR routines of little use for
    storage/retrieval of their "orphaned" attributes.
    
    We are using DNS to store and retrieve network-wide attributes (include
    identifier attributes) for our own MMs.  However, this has some
    disadvantages as well, in particular, the information is
    non-historical.  This is fine for AMs, but may cause problems for FMs
    which can deal with historical data.  We are currently looking at the
    best way to incorporate the MCC DNS routines into the SRM and possibly
    into the existing MIR routines.
    
    So the question really is, "What kind of Entity data are you
    storing?"  If the answer is that you are storing entity data for
    entities which are on a per cluster/node basis, then perhaps the
    existing MIR routines are right for you.  If the entities are global
    (network-wide), then the existing MIR routines are probably the wrong 
    solution.
    
    RE:.0
    Note that according to the SRM you can store you own Entity information
    in whatever form you wish.  You can use Global Sections (on VAXes), or
    RMS files, or even static structures.   It's up to you, but, you MUST
    follow the Good Neighbor rules.  For example, you cannot "block" the CPU
    by executing code which causes MCC to wait for I/O.  The primary reason
    we did not use Rdb is because whenever Rdb is called, it waits for I/O
    (as opposed to RMS, which can be called asynchoronously).
    
    -Matt.
    
113.4Need EMA DMI for MIR (Distributed MIR Implementation)!TRADE::ASHRAFGone today, here tomorrowThu May 10 1990 16:5119
    
    RE: .-1
    
    Matt,
    
    DECtrade uses DNS to store network-wide attributes, which are
    shared by all the nodes in a non-clustered environment.  I was
    hoping that by switching to MIR routines, MCC would worry about
    storage and retrieval of these attributes rather than DECtrade.
    
    From what you said in .-1, it appears that unless MIR becomes 
    distributed, it is of limited use in such an environment.  How 
    close are you in incorporating DNS routines into MCC?  Will the 
    implementation be in the form as framework routines, similar to 
    what you have done for VMS $QIO and RMS services?
    
    Muhammad
    
    
113.5mcc$dns routinesGOSTE::CALLANDERThu May 10 1990 18:014
    there are already mcc$dns routines. Depending upon what you are
    trying to do they might be useful. Kathy Jo Nelson (took::nelson)
    should be able to help you understand what is available.