[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

3922.0. "MIR access from multiple FM's ?" by SMAC10::BARKER_E (Ummm...) Tue Oct 20 1992 07:39

    Hi.
    
    	I'm trying to help a customer through a design phase of two FM's
    that they are developing. The main guy involved has been delving through
    the SRM and has picked up on a statement in the SRM (section 10.13) that
    states that repositories are private and may not be shared between
    Management Modules. Is this statement correct ? If so, do all Management
    Modules have to use a single MM to access the MIR ?  If thst's the
    case, how do all the MM's work today within mcc BMS, through another MM
    (Control FM/registration FM possibly ?) or directly ? 
    
    	My initial reaction was that the statement is a bit misleading and
    that an MIR is only private in the sense that it can only be used by
    one DECmcc implementation, and that that implementation can have many
    users. I hope this is right too ?!
    
    	The reason the customer is asking is that they will need to have
    multiple users using a combination of one or two of the FM's that are
    being developed, all accessing the same MIR for info. Is this possible
    ?
    
    	Thanks for any help.
    
    		Euan 
T.RTitleUserPersonal
Name
DateLines
3922.1A MIR can be shared by multiple FMsNANOVX::ROBERTSKeith Roberts - Network Management ApplicationsTue Oct 20 1992 08:3915
  Euan,

  I believe what the SRM is trying to say is a MIR is private to an individual
  Management Module ... Just like DECnet information is private to the DECnet
  Access Module.  You should use the DECmcc Call Interface to access (set,
  show, etc...) the data maintained by the MM.

  But - there is nothing enforcing this (in terms of the MIR).  Multiple
  MM's can access a single MIR just as a single MM can.

  If you haven't already - take a look at the Example FM (provided by the DECmcc
  Toolkit installation).  This code demonstrates access to the DECmcc MIR, and
  provides a simplified API.  

  /keith
3922.2TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Tue Oct 20 1992 08:549
    "Private" means the data therein is application-specific, and not
    necessarily understood by the rest of the MCC system.  For example,
    the ALARMS FM stores alarm rules in a private repository, but the
    contents of that repository don't really mean anything to another
    application.
    
    It has nothing to do with MM boundaries.  More that one MM could
    certainly be involved in application-specific MIR access.
    
3922.3There's the MIR and there's the MIR routinesTOOK::GUERTINIt fall down, go boomTue Oct 20 1992 13:0042
    It important to note that there are two aspects to the term MIR:
    
    The MIR as an architectural concept:
    	There are four types of MIR repositories
    	1) Class MIR -- The MCC Data Dictionary
        2) Instance MIR -- DNS (or the "Local MIR" option)
        3) Attribute (AKA Historical) MIR -- Historical Data
        4) Private (AKA Miscellaneous) MIR-- MM specific information
    
    The MIR Routines:
        There are a set of MCC Kernel common routines which allows the
        developer to use private MIRs to store MM specific information.  I
        assume this is what you are talking about. Since the data stored is
        basically an "octet string", no one knows what data the MM stored,
        how it was stored, when it was stored, or why.  Although most
        developers store information in ILV format for passing thru the
        call interface.  To make matters more interesting, there are two
        types of repositories,  Instance repositories for storing private
        entity instance information, and Attribute repositories for storing
        private entity attribute information.
    
    The MCC DNS routines:
        Used to access the Instance MIR.
        
    The MCC Dictionary routines:
        Used to access the Class MIR.
    
    The Historical Data routines:
        Not documented because the Information Manager is used to read the
        data out of the historical attribute repository (just specify a
        past time and a domain), the Historian is used to write historical
        records into the historical attribute repository (just specify the
        RECORD command).
    
    If the FMs are truly separate, in that they can live separately, then
    information should be passed through the call interface, and NOT
    through the Private MIRs.  If the FMs are more like "left half of
    brain", "right half of brain", and they would never be separated,
    then I could see the desire to share data through a private MIR.
    
    -Matt.
    
3922.4keep the N-squared problems downKAJUN::NELSONTue Oct 20 1992 14:4031
One thing we do need to keep in mind is the original thoughts behind the 
specification that a private MIR is MM-specific.

1) As stated in previous replies, the MM can keep data private to it in 
a specific format known only to the MM. 

2) Different MM's are specifically forbidden to communicate through any
mechanism other than the mcc_call interface.  This means that MMs cannot
exchange information through the database or any other mechanism, but
must use each other's service interfaces. 

3) Multiple instances of the same MM may synchronize on resources and 
exchange information outside the mcc_call interface.

4) Different MMs may certainly share the same MIR.   For example, if the 
MM MIR were an SQL database, you might have different relations in the 
same database.  It would be more difficult for MMs to share a MIR that 
is maintained by the mcc_mir_* routines, as they may not use information
put there, by MMs other than themselves, as a basis for action. 

There are good reasons for restricting communication between different 
MMs.  This is the way that we keep dynamic, configuration-independent, 
...  No MM has private communication paths to other MMs and therefore 
the dependencies are kept to a minimum.  Imagine that a generic FM like 
the Alarms FM had private communication to a number of AMs through a 
database.  This would mean that everytime we released a new version of 
the Alarms FM or any of the `privileged' AMs or released a new AM, we 
would have to release new versions of all the others.  This is an 
N-squared problem that gets out of hand very quickly.

...kjn