| 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 |
Hi ,
I'm trying to set up two mcc system configs on one system, further to
note 4392 in
the mcc notes file, to actually try and test the practice behind the theory.
System is a DS5000-125, 48 MB, 2+ GB disk split across three spindles.
I'm currently running mcc bms 1.2.1, and perhaps more importantly
Temip V1.0, as customer is using TeMIP.
I've used mcc_ndbm to move the dictionary files to /usr/mcc2/mcc_system
and copied all the files from /var/mcc to /var/mcc2. This should then give
me a seperate dictionary and the /var/mcc2 area will store seperate info on
various entities such as domains, bridges etc. etc. The environment variables
I've set are as follows :-
# printenv
HOME=/
SHELL=/bin/csh
TERM=vt300
USER=euan
PATH=/usr/kits/sql/sql/bin:/usr/kits/sql/sql/utility:/usr/ucb:/bin:/usr/bin:/et.
DISPLAY=:0.0
LANG=
TERMCAP=db|vt300|vt300-am|dec vt300: :hs: :es: :ts=\E[1$}\E[;H\E[K: :
MAIL=/usr/spool/mail/euan
EXINIT=set redraw wm=8
DECW_BOOKSHELF=/cd/library.decw_bookshelf
MSG_LOCATION=/usr/mcc2/mcc_system
MCC_MIR_LOCATION=/var/mcc2
MCC_NS_LOCATION=/var/mcc2
MCC_ALARMS_LOCATION=/var/mcc
NLSPATH=/usr/lib/nls/msg/en_US.88591/%N
MCC_DNS_SELECTION=MIR
MCC_NODE_IDP=
MCC_RPTS_LOCATION=/usr/mcc/reports
MCC_EXAMPLES=/usr/mcc/mmtoolkit/examples
MCC_INCLUDE=/usr/mcc/mmtoolkit/include
MCC_TIME_IN_MODE=2
MCC_TIME_OUT_MODE=2
MCC_TIME_ABS_TRUNC=23
MCC_CIRCUIT_AM_STACK=64
MCC_COLLECTION_AM_STACK=48
MCC_DNA4_AM_STACK=64
MCC_DNA5_AM_STACK=64
MCC_DOMAIN_FM_STACK=70
MCC_ENET_AM_STACK=64
MCC_EXAMPLE_FM_STACK=64
MCC_EXPORTER_FM_STACK=64
MCC_HISTORIAN_FM_STACK=64
MCC_NOTIFICATION_FM_STACK=60
MCC_PA_FM_STACK=24
MCC_REGISTRATION_FM_STACK=70
MCC_SAMPLE_AM_STACK=64
MCC_TCPIP_AM_STACK=100
MCC_YOURMM_STACK=64
II_SYSTEM=/usr/kits/sql
What actually happens is that I am using the new dictionary, nor problems at
all (checked with mcc_dap etc). However all changes I make to any entities
(ie. register/deregister etc). are still being made into /var/mcc and not
/var/mcc2. Given that I've changed the MCC_MIR_LOCATION and MCC_NS_LOCATION
environment variables to /var/mcc2 shouldn't this work ? Is there anything else
I should be doing ?
The purpose behind all this is to allow a close to fault tolerant config with
mcc running two configs, normally one on each system. However if one system
dies the customer needs to get the mcc config that died with it running on
another system. If this can be the system that's already running one mcc config
and double up for a short while it'll be a lot cheaper than having a third
system acting as a hot standby.
Thanks for any help,
Euan
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 4463.1 | TOOK::SWIST | Jim Swist LKG2-2/T2 DTN 226-7102 | Thu Jan 28 1993 08:38 | 8 | |
The master repository table (/var/mcc/mcc_mcc_mir_repo_table.dir and
/var/mcc/mcc_mir_repo_table.dir) that you moved to /var/mcc2 is still
pointing to /var/mcc. There is no mechanism for modifying a
repository table entry to point to a different directory, so the
easiest was to fix this is to delete the above files in /var/mcc2.
It will be recreated on the next mir open. (You do not have to delete
the other repository files, it will find them).
| |||||
| 4463.2 | You cannot have two TeMIP running at the same tim | TAEC::LAVILLAT | Fri Jan 29 1993 09:36 | 19 | |
Euan, Amongst other limitation you should be aware that : 1/ You cannot run 2 different MCC configurations under the same user ( UID) this because MCC MM processes are unique for a given user. 2/ You cannot run *AT ALL* TeMIP on 2 configurations at the same time. This because TeMIP uses background processes that run under the UID 'temip' and so you fell under limitation 1/ above. But, you can run MCC #1 doing MCC only and MCC #2 doing TeMIP + MCC at the same time. Regards and good luck :-) Pierre. | |||||
| 4463.3 | Working,, Thanks | SMAC10::BARKER_E | Ummm... | Fri Jan 29 1993 09:44 | 8 |
Thanks for the help. I've got dual mcc config working fine now.
Thanks for the warning Pierre, The proposed config for the customer
only needs one TeMIP which should be OK.
Cheers,
Euan
| |||||
| 4463.4 | Alarms not right now ?! | FILTON::BARKER_E | Ummm... | Thu Feb 11 1993 10:37 | 12 |
Jim,
Correction to .3, I've still got a problem. The alarms are still
being created in /var/mcc/mcc_alarms*, not /var/mcc2/mcc_alarms*. Any
ideas ?
I've also tried copying across the template files from
/usr/mcc/MIR_template but that hasn't worked either.
Thanks again,
Euan
| |||||
| 4463.5 | More info | FILTON::BARKER_E | Ummm... | Fri Feb 12 1993 04:57 | 24 |
If it's any help I've tried looking at the *repo* files to see what
data they store. The template files from /usr/mcc/MIR_template hold
definite pointers to /var/mcc. Doing the advice in .1 deletes most of
this info and recreates some of the entries, but not ones to the alarms
mir files. When trying to create a rule I get the following error :-
MCC> create domain test4th rule test4th expression = (Node4
LOCAL_NS:.smac10 pipeline quota < 1000, at every=1000)
Domain LOCAL_NS:.test4th Rule test4th
AT 1993-02-12-09:49:47
Data base error while storing rule information.
MIR Status = %MCC-E-NOREPOSEXIST,repository does
not exist
MCC>
Any ideas what I can do to get the entries created in the *repo*
files so that alarms, target and pa entities get registered there ?
Thanks,
Euan
| |||||
| 4463.6 | TOOK::SWIST | Jim Swist LKG2-2/T2 DTN 226-7102 | Fri Feb 12 1993 08:40 | 3 | |
alarms uses env variable MCC_ALARMS_LOCATION for the repository
directory. If not set it uses /var/mcc
| |||||