[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

1492.0. "MCC for ULTRIX FT kit questions" by TOOK::MINTZ (Erik Mintz) Thu Sep 12 1991 16:02

This note is for general kit/installation questions about the MCC for
ULTRIX field test kit announced in note 3.107.

For specific functionality questions, please start another note
with an appropriate title.

T.RTitleUserPersonal
Name
DateLines
1492.1On Ultrix 4.2 ?SUBWAY::REILLYMike Reilly - New York Bank DistrictThu Sep 12 1991 12:095
    Will the new release of DECmcc for Ultrix run on Ultrix 4.2 ?
    
    Will the same kit be sent to the EFT sites?
    
    - Mike
1492.2Yes, it runs on ULTRIX V4.2TOOK::MINTZErik MintzThu Sep 12 1991 16:1410
>    Will the new release of DECmcc for Ultrix run on Ultrix 4.2 ?

Yes, in fact this release requires ULTRIX V4.2 (ULTRIX is a Digital
trademark; I have been asked to make sure it is always in upper case).

>    Will the same kit be sent to the EFT sites?

Yes, unless major bugs are found in the very near future.


1492.3Naming Service on DECmcc for ULTRIXTOOK::MINTZErik MintzWed Sep 18 1991 13:5713
>Note 1486.10           DECmcc for ULTRIX FT register note               10 of 10
>YUPPIE::WELLONS                                       5 lines  18-SEP-1991 10:26
>--------------------------------------------------------------------------------
>.
>What about the name server? DNS.

In the current DECmcc for ULTRIX field test, the name service is provided
locally using DBM.  DECdns is not used.

In a future version, a choice between this local name service and
DECdns will be available.

1492.4T91 : Problems with kit X.1.2.2 iconic mapRIVAGE::WEBERWed Sep 18 1991 14:5954
    

    I am experiencing the new kit X.1.2.2 trying to build the
    GENEVA TELECOM 91 demonstration and I am facing many problems
    with the iconic map.

        
    1 - If I create a domain while being a super user, I can create nested
    domains and entities. After that I am "authorized" to save the map.
    Then I start iconic_map again, open my domain (always as a SU) and if I
    try to add an entity, (it is a pseudo entity from the framework),
    the iconic_map crashes and the process hangs up (kill required).

    2 - Now, if i start the iconic map with my user account, I can create a new
    entity in the already existing domain. Whenever I want to save the
    modified map of the domain, I am not authorized => permission denied.
    Then I change the protection to be able to write the map, and I am able
    to retreive part of the data.

    The particularity of my configuration is that there are several
    possible icons for a class, which allow me to show "dummy" icons,
    while using real pseudo access module code (real code, but pseudo
    entity).
    After saving the map (with my user account) and exiting DECmcc, if I
    rerun mcc, the icons + some entities are lost (i.e, entities are
    missing and the alternate icon drawing is replaced by the one of the
    real class).
    Example : I create a BTS entity with the Icon drawing of a VLR.
    The second time, the best case is that the dummy VLR icon is replaced
    by the one of the BTS. The wors case is that the entity is not
    retreived.


    
     3 - I am no able to deregister an entity in the iconic map if I am a
     Super User. I can only as a simple User. (The iconic map disappears
     after having locked the whole screen for a while.... (with that little
     watch you know ?))
     
     

    - Are those problems known ?
    - Should the protections be set someway to allow my "scenario"
    to work ?
    - Should I avoid to use different icons for the same class ?

    
    It's a quite urgent problem since if not solved quickly, we should
    move backwards to the previous kit (?)

    Thanks to answer.

    Florence

1492.5window problemsYUPPIE::WELLONSWed Sep 18 1991 17:278
    I have installed MCRBMST122, easy installation, better than VMS. 
    Have experienced several problems. The first time I saved the map the 
    window hung and I had to ^C from the DECterm. Next time worked OK. The
    other problem is repeatable. Whenever I resize the Add Entity for addin
    g a rule the window becomes unstable, flashing and increasing in size
    vertically.
    Tim Wellons
    
1492.6Some answers for .-2TOOK::MINTZErik MintzWed Sep 18 1991 17:5933
>                      <<< Note 1492.4 by RIVAGE::WEBER >>>
>                -< T91 : Problems with kit X.1.2.2 iconic map >-
>
>    I am experiencing the new kit X.1.2.2 trying to build the

I assume you mean the T122 kit.  If not, please call me, as X1.2.2
is an NME internal only baselevel, and the map does not work at all.

>        
>    1 - If I create a domain while being a super user, I can create nested
>    domains and entities. After that I am "authorized" to save the map.

Map files have no special protection mechanisms.  You just need write access
to the map file (and if creating a new map, to the directory in which
it is to be created).  If you create the file from root, it is quite likely
that non-root users will by default not have write access.


>    2 - Now, if i start the iconic map with my user account, I can create a new
>    entity in the already existing domain.

Adding entities to a domain involves the repository files in /var/mcc,
and so depends on the permissions of those files rather than 
on the permissions of the map file.

> Whenever I want to save the
>    modified map of the domain, I am not authorized => permission denied.
>    Then I change the protection to be able to write the map, and I am able
>    to retreive part of the data.

See (1)

I'll leave the rest of the questions to an IMPM developer.
1492.7Part of .-2 is a known bugTOOK::MINTZErik MintzWed Sep 18 1991 18:0111
>                     <<< Note 1492.5 by YUPPIE::WELLONS >>>
>                              -< window problems >-
>
.
>    other problem is repeatable. Whenever I resize the Add Entity for addin
>    g a rule the window becomes unstable, flashing and increasing in size
>    vertically.
>    Tim Wellons
    
This is a know bug.  See page  2-4 of the release notes, point 16.

1492.8Kernel config problemTOOK::MINTZErik MintzThu Sep 19 1991 13:5717
There is an error in the release note section which
discusses Shared Memory and Semaphores (page 1-6 of rev I).
The correct file to modify is /sys/conf/mips/param.c.



================================================================================
Note 1486.12           DECmcc for ULTRIX FT register note               12 of 12
WELLIN::MCCALLUM                                     14 lines  19-SEP-1991 12:35
                             -< Running in Welwyn >-
--------------------------------------------------------------------------------
    
.
.    
    I had some problems with Kernel rebuilds, and found that
    /sys/MIPS/HOSTNAME/param.c is overwritten by doconfig
    by /sys/conf/mips/param.c.
1492.9Events problems with T1.2.2 MIPSRIVAGE::LAVILLATTue Sep 24 1991 12:12113
I am using the T1.2.2 version of MCC Ultrix on MIPS.

I wanted to do some event performance testing.

To do that, I created for an sub-entity class a directive (DISABLE) with
some parameters that allow me to build an event report, and specify how
many event_put I do with this event report.

I run my test sending events with my DISABLE verb, and collecting them
with a NOTIFY DOMAIN specifying entity list and events arguments.

Everything runs OK if I send a few events, but everything gets blocked if
I send a big amount of event.

I suspect the flow of Notification report to be one cause of the problem : when
I redirect the output of the notify command via the TO FILE qualifier, I get
*sometimes* the "insufficient event pool memory to post event" error message
back, but get blocked after that if I try to send events again.

Any help appreciated.

Regards.

Pierre.

Follow a log of my tests :

csh> manage
DECmcc (T1.2.1)

MCC> notify domain test ent lis = (os a t a) , ev = (any ev) 
%MCC-S-NOTIFSTART, Notify request 1 started
MCC> disa os a t a man obj = mcc 0 , toin = 2

[  1 ] ( 
    [  1 ] ( 
        [  1702 ] ( 
            [  0 ] ( 
                [  0 ] ( 
                    [  1 ]                     01 
                    [  2 ]                     07 
                    [  3 ]                     0d 
                    [  4 ]                     18 
                    [  5 ]                     30  -- 0
                    )
                )
            )
        )
    ) Event report length : 35 
number events put: 2 
Time : 0 

OSI_SYSTEM LOCAL_NS:.a TESTOBJ "a" 
AT 1582-10-15-00:00:00 

Entity successfully DISABLEd.
MCC>
%%%%%%%%%%%%%% Event, 1991-09-24-15:57:47 %%%%%%%%%%%%%% [1]
Domain: LOCAL_NS:.test                                Severity: N/A
Entity: OSI_SYSTEM LOCAL_NS:.a TESTOBJ "a" 
Event: Alarm
Alarm
                         Managed Object = MCC 0 


%%%%%%%%%%%%%% Event, 1991-09-24-15:57:48 %%%%%%%%%%%%%% [1]
Domain: LOCAL_NS:.test                                Severity: N/A
Entity: OSI_SYSTEM LOCAL_NS:.a TESTOBJ "a" 
Event: Alarm
Alarm
                         Managed Object = MCC 0 


MCC> disa os a t a man obj = mcc 0 , toin = 2000

[  1 ] ( 
    [  1 ] ( 
        [  1702 ] ( 
            [  0 ] ( 
                [  0 ] ( 
                    [  1 ]                     01 
                    [  2 ]                     07 
                    [  3 ]                     0d 
                    [  4 ]                     18 
                    [  5 ]                     30  -- 0
                    )
                )
            )
        )
    ) Event report length : 35 
number events put: 52 
!!
!!  I am blocked here and exit with CTRL-C
!!
!!  Only 52 out of 2000 events were sent
MCC> display
                         Default Entity = 
                      Default Qualifier = 
                                 Prompt = MCC> 
                            Indentation = 42

No symbols exist in the symbol table

Notify requests currently in progress:

Entry  Status   Command
-----  ------   -------
    1  Running  notify domain test ent lis = (os a t a) , ev = (any ev) 

Command procedure verification is OFF
Logging is OFF, Logging file is MCC.LOG
MCC> exit
1492.10Entered as QAR 878TOOK::MINTZErik MintzTue Sep 24 1991 12:276
                     <<< Note 1492.9 by RIVAGE::LAVILLAT >>>
                     -< Events problems with T1.2.2 MIPS >-


QAR 878 in MCC_INTERNAL

1492.11MIR problemRIVAGE::LAVILLATTue Sep 24 1991 12:5032
Another (small) problem with T1.2.2, related to the MIR.

The new MIR using DBM uses the location argument of the 
mcc_mir_create_repository routine, and expect it to point to a valid Ultrix
directory.

The old SQL MIR (T1.2.1) was not using it, and we were used to specify the same
location as for VMS : mcc_system or something like that.

So, trying to create a repository with our old code, we got an error message
saying something like "cannot create repository, file does not exist".

The problem is that when we modified our code, using /var/mcc as repository
location, the creation failed again (in a sense) returning a "repository
already exist" status.

It seems that the rollback on error after the first attempt was not performed
for some reason. The only solution we found to fix this is remove all the files
from /var/mcc and install MCC again (setld -c ...), a bit time consuming...

Two question :

Is this a bug or not ?

Is there another solution to fix the problem ?


Regards.

Pierre.

1492.12TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Tue Sep 24 1991 14:0315
    Yeah it's a bug in that we provide no mechanism for deleting an entry
    from the repository name, and if you do a mcc_mir_create_repository
    and give it a bad location, then you can never change that entry in
    the table.
    
    A quicker solution than what you did is based on the fact that
    mcc_mir_create_repository does not create the actual repository
    files if they already exist.  So just delete the repository table
    (/var/mcc/mcc_mir_repo_table.*) and then have your MMs do the 
    create_repository call again (with the correct location) to update the
    table.  What will happen with the existing repositories (that are
    already in the right directories) is that the entry will be made in
    the mcc_mir_repo_table, but the files will not be recreated if they
    already exist.   (So you don't have to lose your dns or alarms
    repositories).
1492.13vms vs ultrix quick ref?KOPEC::LANGTue Oct 08 1991 17:4826
	Do you have an mcc toolkit, and a MM Programming Guide on Ultrix?
	Or do you have something that explains the differences between
	how the systems are setup?

	I'm looking for something that says -
	vms			ultrix
	-------------------------------
	manage/enterprise	manage
	manage/toolkit/dict     mcc_dap

	etc...


	I want to copy the dictionary files to a local directory, but
	it seems like there not a 1-to-1 mapping in the names.  I can't access
	the dictionary, to run mcc_yourmm_auto_Create, but I can see mcc
	from the command show class mcc.

        I executed the /usr/mcc/mmtoolkit/examples/mcc_yourmm_auto_create.
	script, and my input stopped being echoed (?)

	
			thanks
					Bonnie

1492.14RE: 13, the dictionary errorKOPEC::LANGWed Oct 09 1991 10:2325
	RE: 13

	Specifically, the dictionary error, when trying to run  

	/usr/mcc/mmtoolkit/examples/mcc_yourmm_auto_create.

	the was:

 Checking dictionary for previous use of AM name tps ...
Can't open dictionary database: Permission denied
  Checking dictionary for previous use of global entity code 1...
Can't open dictionary database: Permission denied

	The following are the dictionary protections, I thought these files
	only needed to be read only:

-rw-r--r--   /usr/mcc/mcc_system/mcc_meta_definition.dat
-rw-r--r--   /usr/mcc/mcc_system/mcc_meta_dictionary.dat

	Can not find mcc_dictionary or mcc_definition, in any directory or
	release notes, under files installed.

		thanks,
			Bonnie                                                                       
1492.15The Dictionary should be write-enabledNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamWed Oct 09 1991 11:3313
Bonnie,

  Which release of DECmcc/Ultrix are you running?
    - The name of the dictionary file has changed - it is now:
      /usr/mcc/mcc_system/mcc_fdictionary.dir
      /usr/mcc/mcc_system/mcc_fdictionary.pag
      /usr/mcc/mcc_system/mcc_meta_dictionary.dat

  Also - when you run the 'auto_create' tool, it requires read access
  to check the dictionary for existing code values - but it will require
  write access to update the dictionary with your new MS data.

/keith
1492.16More on note 14MICROW::LANGWed Oct 09 1991 14:2821
    
            Keith,
    
    	    Thanks for the information.
    
            I'm running FTK DECmcc with Ultrix 4.2, and the files you
    	    mentioned do exist, in the dir (but are not listed on release
            notes.)
    	
    	    But, isn't mcc_meta_definition.dat used?
    
    	    I was going to may mcc_sys_location point to a search list,
    	    to reduce development time, as indicated by auto_Create, but
    	    to do that I assume I have to copy dict files? Some of which
    	    are huge!! EX:
    
    			388088832 Oct  4 14:33 mcc_fdictionary.pag
  	    
  		thanks,
    
                    Bonnie
1492.17opps - missed a fileNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamWed Oct 09 1991 16:5923
>> But, isn't mcc_meta_definition.dat used?

Opps - yes, I forgot about that one.

>> 388,088,832 Oct  4 14:33 mcc_fdictionary.pag

The reason the mcc_fdictionary.pag is so large is because of the DBM
database.  The file isn't really that big, but due to the indexing
(hashing) technique - if the file were full it would occupy that
much space (I think thats how it goes).

You can't copy the file directly, or it would actually grow!!  You have
to:

   o Run the Dictionary Unload (MCC_DUP) tool
      - This will compress it into mcc_dictionary.dat
   o Copy the compressed file
   o Run the Dictionary Load (MCC_DLP) tool
      - to recreate the .PAG and .DIR files.

This is how the dictionary gets distributed on the Kit.

/keith
1492.19ULTRIX/RISC/Mcc FT122 operational problems?MLNCSC::MILANAPatior ut Potiar...NETWORKS:Fri Oct 11 1991 11:0435
I'm having strange problems with the abovementioned field test kit:

- Getting sort of "core exhausted" messages at the console, quitting a DECTERM
  temporarily alleviates the quirk

- Playing with a four-level hierarchy, while at level 4 I'm trying to add a
  phase4 node entity. Mcc "hangs" and the only thing to do is to KILL it.

<some sysinfos>
# ps
  PID TT STAT   TIME COMMAND
  508 co Z      0:00 <exiting>
  514 co S      0:15 /usr/bin/dxwm
  515 co Z      0:00 <exiting>
  519 co I      0:03 /usr/bin/dxue
  592 co S      4:47 /usr/mcc/mmexe/mcc_iconic_map_pm
  537 p0 S      0:00 - (csh)
  595 p0 R      0:00 ps
  527 p3 IW     0:00 - (csh)
  532 p3 I      0:01 dlogin nebbia
#
# df
Filesystem   Total    kbytes   kbytes   %
node         kbytes   used     free     used  Mounted on
/dev/rz0a      15551   10590    3406    76%   /
/dev/rz0h     271847   88253  156410    36%   /mcc
/dev/rz0g     271847  229032   15631    94%   /usr
#

Configuration:

DS3100, 24Mb, RZ56, TK50, ULTRIX WS V4.2 and related sw.

Any hints appreciated,
Ciao Giuseppe.
1492.18debugging hanging routine?MICROW::LANGFri Oct 11 1991 14:1418
          I have a sample application, which performs a few directives.  What
          I did was modify the design framework, on VMS and bring it over
          to Ultrix. Every command I issue is hanging, inluding > test mcc
    	  0 tmp_am.
    
          I have created other sample global entities with the design from
          work on ultrix, so the framework works, and I can see the definitions
          for the entity in the dictionary.  Can you tell me what steps I take
          to debug w/ mcc?
    
    	  One more thing - it doesn't seem to ever be getting to the
          routine.  I put a print statement in the beginning of it
    	  but its not getting there.  Any help appreciated.
    
    			thanks,
    				Bonnie
                        
                                                     
1492.20...some more dataMLNCSC::MILANAPatior ut Potiar...NETWORKS:Mon Oct 14 1991 06:025
Other than moving my previous entry under this topic I should add that the
shared memory resources look like they are all set properly and that I've
even added a second swap area in the h partition: the problem's still here...

Ciao, Giuseppe.
1492.21TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Tue Oct 15 1991 10:375
    Re: all the above,
    
    try doing a /etc/pstat -T to check on system resources - you may be
    running out of something.
    
1492.22Here's some more dataMLNCSC::MILANAPatior ut Potiar...NETWORKS:Tue Oct 15 1991 13:0521
The following are some pstats while mcc is running (together with the User Exe
cutive and a coupl'of DECTerms):

# pstat -T
 232/ 609       files
 147/ 444       gnodes
  36/ 288       processes
  23/  53/  76  active/reclaimable/total texts
 233/ 655       00k swap
#
# pstat -s
349362k swap configured
327546k reserved virtual address space
        23488k used (8736k text, 416k smem)
        42040k free, 500k wasted, 283834k missing
avail: 1312*32k 56*1k
#

Wow, it looks like I've missed some 283834k somewhere! Any idea?

Giuseppe.
1492.23help! - problem installing MCC(ULTRIX)THEBAY::LESTERPEThu Oct 17 1991 15:1840
I have been trying to install MCC (ULTRIX) on an ULTRIX 4.2 MIPS system. I am
having problems with the installation.

I copied mccnix::~ftp/pub/mccbmsmipst122.tar. Installed the license.

Ran "tar -xf mccbmsmipst122.tar"

Then ran "setld -l ." using all the defaults.

This is the result:

DECmcc (T1.2.1)

MCC> show mcc all char
%MCC-W-ATTRUNKNOWN, unknown attribute CHAR
MCC> create mcc 0 alarms rule test Exp = (mcc 0 alarms rule x state = disabled)
%MCC-E-NOTFOUND,  unsupported combination of verb, entity, partition
MCC> delete mcc 0 alarms rule test
%MCC-E-NOTFOUND,  unsupported combination of verb, entity, partition
MCC> register mcc 0
%MCC-E-NOTFOUND,  unsupported combination of verb, entity, partition
MCC> show mcc 0 alarms all char
%MCC-E-NOTFOUND,  unsupported combination of verb, entity, partition
MCC> create domain mcc_scp_tes
%MCC-E-NOTFOUND,  unsupported combination of verb, entity, partition
MCC> notify domain mcc_scp_test
%MCC-S-NOTIFSTART, Notify request 1 started
MCC> %MCC-E-NOTIFERR, notify request 1 encountered an error
%MCC-E-NOTFOUND,  unsupported combination of verb, entity, partition
%MCC-W-NOTIFABORT, notify request 1 aborted due to error condition
delete domain mcc_scp_test
%MCC-E-NOTFOUND,  unsupported combination of verb, entity, partition
            
I reran every thing twice and got the same results.

What am I doing wrong?

Thanks in advance,
Peter
DTN 542-3833
1492.24Ignore previous noteTHEBAY::LESTERPEThu Oct 17 1991 19:175
    Ignore previous note. The host name in "/etc/hosts" was in upper case
    on the workstation I am borrowing. That caused the "enrolls" to fail
    and that in turn caused my other problems. COCKPIT ERROR!!

    Peter
1492.25TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Fri Oct 18 1991 09:297
    This was mentioned in another note but bears repeating.  MCC/Ultrix
    uses TCP/IP underneath its intermodule RPC, even when the target MM
    is on the same system.   
    
    Ergo you must have your internet setup correctly (at least to the point
    of being able to "ping" your own hostname).
    
1492.26RE questin on ultrix toolkitTOOK::CALLANDERMCC = My Constant CompanionWed Oct 23 1991 19:503
in quickily perusing these notes, I notices a question on an ultrix
toolkit MM programming manual. Yes, there will be one, it has already
started field test and will be available shortly.