[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

4536.0. "changing the mir repository pointers ?" by FILTON::BARKER_E (Ummm...) Fri Feb 12 1993 08:46

    I'm trying to confiure two seperate mcc configurations, one per system,
    so that they can run together on one system with different mir's etc.
    when one system crashes (further details in note 4463). Config is 
    DECstation 5000-125, mcc 1.2, ULTRIX 4.2a.
    
    The key to all this seesm to be to get the repository files into a
    different directory from the default of /var/mcc. However as mentioned
    before the files mcc_mir_repo_table.* include pointers to the other
    files in mcc. I need to manipulate these pointers within the
    mcc_mir_repo_table.* files so that they will point to a different
    directory, such as /var/mcc2. Is there anyway to do this ?
    
    Jim Swist correctly said in 4463.1 delete the mcc_mir_repo_table.* files
    and they'll be re-created. Howevere they are only re-created with
    pointers to the mcc_dns* files, which means any modules requiring
    access to the mcc_alarms*,mcc_pa*, or mcc_target* mir files give an
    error back such as :-
    
    MCC> create domain test2nd rule testrule expression = 
    	(Node4 LOCAL_NS:.brillo pipeline quota < 1000, at every=1000)
    
    Domain LOCAL_NS:.test2nd Rule testrule
    AT 1993-02-12-13:43:09
    
    Data base error while storing rule information.
                               MIR Status = %MCC-E-NOREPOSEXIST,repository does
                                              not exist
    MCC>
    
    If I  can get the correct pointers in the mir files, the rest should be
    fairly straight-forward. Is it possible ? Will it be supported ? Can it
    be done through the toolkit (I've not done any mcc development so don't
    fully understand either the detailed setup or the format of the mir
    files) ?
    
    Thanks for any help, and apologies for the long string of notes entries
    !
    
    	Euan
T.RTitleUserPersonal
Name
DateLines
4536.1Ooops, was that a log I just fell off !?SMAC10::BARKER_EUmmm...Fri Feb 12 1993 12:046
    If I had a brain ....
    
    Re-enrolling the fm's with the environment variables set does the
    trick. Wish I'd learn to think straight sometimes !
    
    	Euan
4536.2TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Fri Feb 12 1993 13:175
    Why would you have been expected to know that?  It's only the alarms
    FM that creates its repositories during its INIT (enroll) phase.
    The other MMs do it as needed - we never set any guidelines on which
    is right and which is wrong....