[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

3714.0. "DECmcc Integration" by MOLAR::BLACK () Thu Sep 10 1992 13:27

    
                             < DECmcc Integration >
    
    One of the main strengths of the V1.3 effort is the emphasis on ways to
    ease the integration into/with DECmcc.  The following chart illustrates
    the mechanisms that we will have with V1.3 and the various estimated
    integration costs (time == money) of each plotted against the degree of
    integration.  As expected, tighter integration comes with higher cost.
    
    If you would like to learn more about any or all of these mechanisms
    please respond to this note.
    
              ----------------------------------------------------------------
        I     |                                                       *      |
        n     |                                                       *      |
        t     |                                                       *      |
        e  C  |                                                       *      |
        g  o  |                                                       *      |
        r  s  |                                                       *      |
        a  t  |                                          *            *      |
        t     |                                          *            *      |
        i     |                                          *            *      |
        o     |                               *          *            *      |
        n     |                     *         *          *            *      |
              |      *              *         *          *            *      |
              -----------------------------------------------------------------
                Iconic Map        Script     Data     Callable        MM
                  Launch            AM     Collector     MCC     Development
    
                                   Degree of Integration
    
    
    
    *Iconic Map Launch - Spawn a process with map context from the iconic map.
                         No "C" code required.
    
    *Script AM         - Execute a script or executable and integrate
                         user-defined results into DECmcc as attributes.  
                         No "C" code required.
    
    **Data Collector   - Propagate user-defined events via DECnet and TCP/IP
                         protocols into DECmcc.  No "C" code required.
    
     Callable MCC      - Build an executable using DECmcc common routines to
                         access DECmcc services.  "C" code required.
    
     MM Development    - Build an executable which fully integrates into DECmcc.
                         "C" code required.
    
    *  new for V1.3
    ** TCP/IP support new for V1.3
T.RTitleUserPersonal
Name
DateLines
3714.1DC versus script AMTOOK::CALLANDERMCC = My Constant CompanionThu Sep 10 1992 18:5230
Darryl, For many people some of these comparisons might be a bit confusing.
My two cents are from the angle of need/use.

The script AM is for getting info into MCC that can be used to generate
rules on the data. It does require you to write a script to perform this
function as well as defining the data.

The data collector can be called directly from the operating system prompt
and does not require any data description. In its' simplist form this is
easier to use than even the launch application, but it limited in funtionality.
As you add more intelligence into your use the collection AM you will find
that you can use it to create command procedures capable of using the operating
system to pass in more intelligent information (like the disk space example
given in this notes conference), and again unlike the script AM this doesn't
require an information modeling, but is limited to passing in an event to
mcc (not overlly useful with rules). If you want to you can write your own
application that makes use of the C api's for the collector to send in data
(events) to mcc, this would be more work and is associated with the script AM.

So, the collection AM is only as hard to use as you want to make it. In reality
is provides you with a range of complexity from the easist open interface to
use to one only slightly more difficult than the script AM (and that is
subjective, since a person who can write C and not DCL or shell script would most likely
disagree).

Example of collection AM at is't simplist:

send:==$sys$common:[syshlp.examples.mcc]mcc_evc_send.exe
send goste collector1 "node4 goste" "title" "description" major

3714.2MCDOUG::MCPHERSONLife is hard. Play short.Thu Sep 10 1992 21:0737
I concur w/Jill.   

It's *easier* to do Data Collector events than Script AM stuff.  Hells bells,
it's even easier to do than launched applications.  However:
	1) data collector events are 'one way only' (that pretty much defines 
	   an 'event',  huh? ;^) ), and 
	2)  you can't reliably create alarm rules on data collector events,
	    since they only have *one* event ID in the MSL (General Event)

Here's *my* version of your chart...

    
              ----------------------------------------------------------------
        I     |                                                       *      |
        n     |                                                       *      |
        t     |                                                       *      |
        e  C  |                                                       *      |
        g  o  |                                                       *      |
        r  s  |                                                       *      |
        a  t  |                                          *            *      |
        t     |                                          *            *      |
        i     |                                          *            *      |
        o     |                                          *            *      |
        n     |                               *          *            *      |
              |      *            *           *          *            *      |
              -----------------------------------------------------------------
                Iconic Map       Data       Script    Callable        MM
                  Launch       Collector      AM         MCC     Development
                                           
                                   Degree of Integration


P.S. There should also be a 3rd axis (better bone up on your favorite text
editor before trying to put it in here, though) that should be pointed out:
'leverage-ability quotient'.  I.e. the amount that application is able to
leverage the services supplied by the other MMs in DECmcc divided by the effort
required to develop it.   (I think the Script AM gets highest marks for 'LQ').
3714.3The Script AM has its own degrees of integrationMOLAR::ROBERTSKeith Roberts - Network Management ApplicationsFri Sep 11 1992 14:3350
  To continue with the "DECmcc Simple-Integration 101" course ... 8)

    Note:  The examples below use the modified entity model where the
           Script AM is a Global Entity (next IFT kit out will be soon).

  The Script AM has three levels of integration of its own:

  o Loosly-Integrated:

    You don't write any MS at all .. the Script AM simply executes your
    command and returns the data to DECmcc.  The Attributes are pre-named
    by the Script AM for you, as: arg1, arg2, etc...

    On Ultrix, this is great because your 'simple' command can be a
    shell contortion with grep and all those other goodies.  Complex
    shell incantations can be stored in the Script MIR so you don't have
    to remember and type them each time.

    Ex:  Show Script x Command "df" all status

  o Moderatly-Integrated:

    This is were you write your MS file which describes your child entity
    under the Script AM and its attributes, by name and datatype
    (Latin1string,Integer,Real).  You can still store any complex commands
    in the Script MIR.

    Ex:  Show Script x Disk cluster all status

         This example would look up the command to execute in the Script
         MIR.  For example, the Script command might be "disk * 0 noheader"
         (as works with the VMS disk script template).

  o Tightly-Integrated:

    This level of integration will allow you to specify *any* entity model
    and any directive; the other Script integration techniques use a fixed
    entity model and only the 'show all status' directive.

    Tightly-Integrated scripts could, infact, replace Management Modules all
    together (certain restrictions apply - your mileage may vary).

    Did you notice the "will" above?  This level of integration is not yet
    available.  If there is enough interest in such a capability then it
    "may" be completed for the next DECmcc release.

  Class dismissed.

  /keith
3714.4How about common agent ?WELLIN::MCCALLUMMon Sep 14 1992 09:3112
    
    Although it's not strictly integration to the director, it would
    be useful to include the common agent capabilites in this matrix. 
    
    I see that the script am has some great possibilities, but it overlaps
    with the common agent in the DEC base (ULTRIX,VMS).
    
    We need to clarify the positioning of these, and prevent the too many
    options syndrome.
    
    Dave.
    
3714.5TOOK::MCPHERSONLife is hard. Play short.Mon Sep 14 1992 13:1612
>    We need to clarify the positioning of these, and prevent the too many
>    options syndrome.

Key differentiator:

    The script AM is not 'remote-able' whereas stuff managed via Common
    Agent technology *is*.   I.e. Script AM can only return data from the
    'local' MCC system (note I am disregarding clever 'rsh' hackage one may
    be tempted to implement as a poor-man's distribution...)

    /doug

3714.6More info on Data Collector and Callable MCCMSBCS::DOLANWed Sep 16 1992 18:143
I would be interested in more information about the Data Collector and
the Callable MCC options.  Are the documents someone could point me to?
			thanks	lynn
3714.7RACER::daveAhh, but fortunately, I have the key to escape reality.Wed Sep 16 1992 20:202
The mcc interfaces are defined in the SRM.
The Data collector AM is described in the MCC doc set, too.
3714.8a little more granularity...TOOK::MCPHERSONpre-retinal integrationWed Sep 16 1992 20:5710
> The mcc interfaces are defined in the SRM.

    See the DECmcc Management Module Programmers Guide (Ch 4, I think talks
    about 'callable MCC')

> The Data collector AM is described in the MCC doc set, too.

    See Ch 8 of the Alarms and Notification Services Use Manual for more
    detail on the Data Collector

3714.9Yah but...SOLVIT::SILVACarl Silva - TNM/PNM Business Development ManagerTue Dec 08 1992 14:087
	RE: .4,

	Can someone update the graph in .2 to include the Common Agent/DNA
Phase V AM?  I think it is just befor the MM development but I would be
inetrested to see what other peiople think.

	Carl
3714.10Its just like C vs DCLFARMS::LYONSAhh, but fortunately, I have the key to escape reality.Tue Dec 08 1992 15:577
Common Agent probably is a lot closer to the "script AM" that it is to 
"callable MCC".  Some of the MOMGEN tools and such make it almost simple
to build your own agents.  The script AM only does remote access thru hackery.

The differences are just like writing a program in DCL vs writing the same
program in C.  Using the common Agent gives you more flexability, but at a
slightly higher cost.
3714.11What is overhead associated with Common Agent?CUJO::HILLDan Hill-Net.Mgt.-Customer ResidentWed Dec 09 1992 13:2514
    Dave,
    
    You mentioned Common Agent would be a slightly higher cost.  I assume
    you mean "higher resource cost".  As I understand it, the Script AM costs
    me one process for each network entity I'm accessing.  If I am accessing
    100 entities, this translates to 100 additional processes on my system. 
    (Please correct me if I've misunderstood something.)
    
    What will the Common Agent cost me in terms of overhead on the DECmcc
    node?  I have a customer who will be using the Script AM heavily, but
    will likely move to the Common Agent with time, if it makes sense.
    
    Thanks,
    Dan
3714.12Little cost on the Management stationFARMS::LYONSAhh, but fortunately, I have the key to escape reality.Wed Dec 09 1992 15:5115
The "Higher cost" I refered to is the cost of development, and not related
to the cost of running the application.

Common Agent for Ultrix is "spoken to" with the SNMP am, and
on VMS, we use the DNA_CMIP AM, so there is no "additional" cost
on the MCC system, other than just a slightly larger dictionary.
(Note, you would need to add these definitions with the script AM, also.)
The target system needs some processes running to deal with the inbound
management requests, but these are not too bad.

A project I am helping with currrently has about 20 "Objects" that are being
supported, and they have broken it into only 3 Common Agent MOMs for functional
reasons.  If everything ran on the same node, then they could have used only 1
process.
3714.13CA IntroTOOK::BURGESSThu Dec 10 1992 23:4341
	The Common Agent is intended to make (all) objects (systems, applications, etc.)
	remotely manageable by directors/management applications using standard protocols.

	Whereas, the director is intended to operating on a managment station
	to control a large number of systems; the agent is intended to operate
	on every system to provide remote manageability to its system objects.

	The performance cost of the director is much higher, of course, than the agent.

	The CA runtime package consists of three parts:
		protocol engines which encode/decode protocol msg
			and dispatch to the Managed Object Modules.

		Managed object directory which handles registeration
		and location services

		Managed Object modules which receive management requests
		from the protocol engine and perform the operations on 
		the managed object and return a response.

		Managed Object Modules may also generate events/traps
		to directors/management applications.


	The CA developers toolkit provides tools for generating 90% of the MOM code
	from the management specification (an IEFT Mib definition, or EMA msl definition)
	The developer then supplies the routines which perform the *actual* operations
	of the object.

	The Common Agent for ULTRIX V1.0 will ship on January 23, 1993.
	This agent will support SNMP protocol.

	The Common Agent for VMS V1.0 has not yet announced a ship date
	(depends on the DECCRTL/DECthreads special kit for VMS 5.5).
	This agent will support DNA CMIP protocol.

	The notes conference for the common agent is
		NOTED::COMMON-AGENT

	Project documents are located on
		FILES::EMA$:[public.common_agent]