[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

4443.0. "MCC_NODE_HDLC not a readied source for line reports T1.3" by LICAUS::LICAUSE (Al Licause (264-4780)) Mon Jan 25 1993 17:04

I've never really been successful at using MCC reports to get Phase V line
reports.

I am running T1.3 (have the next kit, but have not yet installed same).

I ran through the reports intialization procedures as per page 2-3 of the
documentation.

I am able to get Phase V node reports but the following error occurs when
attempting a line utilization report:


VAX DATATRIEVE V5.1
Digital Query and Report System
Type HELP for help

:node5_hdlc_bandwidth_rpt
"MCC_NODE_HDLC" is not a readied source, collection, or list.
"CURRENT" is not a readied source, collection, or list.
"CURRENT" is not a readied source, collection, or list.
"CURRENT" is not a readied source, collection, or list.
exit

I was told that this error indicates that nothing has been collected for
the requested entity, however, if I look at the entities exporting I see
the following:

MCC> show export node lkgdr1 modem connect line syn-0-0 export target = mcc_expo
rt_rdb_file

Node LOCAL_NS:.lkgdr1 Modem Connect Line syn-0-0
AT 25-JAN-1993 17:01:10

Exporting parameters are:
                        Exporting state = ACTIVE,
                            State since = 25-JAN-1993 09:22:26.60,
                          Export period = 0 00:30:00.00,
                             Begin time = 25-JAN-1993 09:22:10.06,
                               End time = 25-MAY-2012 00:00:00.00,
                          Export target = "MCC_EXPORT_RDB_FILE",
                           Request time = 25-JAN-1993 09:22:10.06,
                           Requested by = "LICAUSE",
           Time of last successful poll = "25-JAN-1993 16:52:37.29",
             Number of successful polls = 16,
               Time of last failed poll = "NONE",
               Last poll failure reason = "N/A",
                 Number of failed polls = 0,
                       Last export time = "25-JAN-1993 16:52:41.24",
            Time of last export failure = "NONE",
             Last export failure reason = "N/A",
              Number of export failures = 0,
                          Sequence name = "EXPORT",
                Initial sequence number = 0,
                Current sequence number = 16


The mcc symbol is defined as:

sho log mcc_exp*

(LNM$PROCESS_TABLE)

(LNM$JOB_8104C620)

(LNM$GROUP_000100)

(LNM$SYSTEM_TABLE)

  "MCC_EXPORTER_FM_STACK" = "128"
  "MCC_EXPORT_RDB_FILE" = "PUB:[MCC_RDB_DATA]MCC_EXPORT_FILE.RDB"

(DECW$LOGICAL_NAMES)


I've tried entering both the specific node name and the Phase IV DECnet node
number when asked for same in the procedure....both yield the same results.

I'm no database expert, but have followed all of the instructions and release
notes.....we are at the latest version of the database products.



What have I missed or what else am I not seeing?

Any help greatly appreciated.

Al

T.RTitleUserPersonal
Name
DateLines
4443.1re -.1ANOSWS::COMFORTCold iron shackle, ball & chainTue Jan 26 1993 10:1224
    
    This is a complete shot in the dark, but I experienced similar problems
    for the entire reports package when I had a logical defined called
    MCC_EXPORT which pointed to the database file name and had a database
    collection using the default name MCC_EXPORT (as per the installation
    instructions).  Any chance there may be a logical name that matches the
    relation name of the data collection?
    
    Also have you checked that the data collection relation is actually
    defined?
    
    ie.		
    
    MC RDO
    RDO> INVOKE DATABASE FILE DKA300:[MCC_EXPORT]EXPORT.RDB
    RDO> SHOW RELATIONS
    User Relations in Database with filename DKA300:[MCC_EXPORT]EXPORT.RDB
         MCC_NODE4
         MCC_NODE4_CIRCUIT
         MCC_NODE4_LINE
    RDO>
    
    
    Dave
4443.2Does this help?LICAUS::LICAUSEAl Licause (264-4780)Tue Jan 26 1993 13:4841
Hi Dave,

Here's what I have for logicals:

 sh log *exp*

(LNM$PROCESS_TABLE)

(LNM$JOB_8104C620)

(LNM$GROUP_000100)

(LNM$SYSTEM_TABLE)

  "MCC_EXPORTER_FM_STACK" = "128"
  "MCC_EXPORT_RDB_FILE" = "PUB:[MCC_RDB_DATA]MCC_EXPORT_FILE.RDB"
  "NETCW$EXPORT_LIBRARY" = "SYS$SYSTEM:NETCW$EXPORT_LIBRARY"
  "NETCW$EXPORT_NETWORK" = "SYS$SYSTEM:NETCW$EXPORT_NETWORK"
  "UCX$EXPORT" = "SYS$COMMON:[SYSEXE]UCX$EXPORT.DAT;1"

(DECW$LOGICAL_NAMES)


And for the database side:

 mc rdo
RDO> INVOKE DATABASE FILE mcc_export_rdb_file
RDO> sho relations
User Relations in Database with filename mcc_export_rdb_file
     MCC_NODE
     MCC_NODE_MODEM_CONNECT_LINE
     MCC_NODE_ROUTING_CIRCUIT
RDO>

Question.....why is the canned procedure provided by DECmcc looking for
MCC_NODE_HDLC.....

Sorry for my ignorance, but should this string have shown up as a relation
when the above command was issued to RDO?

Al
4443.3re .-1ANOSWS::COMFORTCold iron shackle, ball & chainTue Jan 26 1993 15:3791
    
    Al -
    
    Yes, I think it should show up as a relation.  The reason (and now we
    will push the limits of my database knowledge -- already) is as
    follows:
    
    Here is an excerpt from the NODE4_LINE_BANDWIDTH_RPT DTR procedure
    (from the file MCC_RPTS_PROC.DTR)
    
    
    DELETE NODE4_LINE_BANDWIDTH_RPT;
    REDEFINE PROCEDURE NODE4_LINE_BANDWIDTH_RPT
    !
    DECLARE NODE_HOLD        PIC X(7).
    DECLARE LINE_HOLD1      COMPUTED BY FN$UPCASE(LINE).
    DECLARE LINE_HOLD       PIC X(16).
    DECLARE DATE1_HOLD      USAGE DATE EDIT_STRING X(23).
    DECLARE DATE2_HOLD      USAGE DATE EDIT_STRING X(23).
    DECLARE TODAY_HOLD      USAGE DATE      DEFAULT "TODAY".
    !
    ! Translate logical names.
    !
    NODE_HOLD = FN$TRANS_LOG("MCC$NODE1")
    !
    !
    LINE_HOLD = FN$TRANS_LOG("MCC$LINE1")
    !
    DATE1_HOLD = FN$DATE(FN$TRANS_LOG("MCC$DATE1"))
    !
    DATE2_HOLD = FN$DATE(FN$TRANS_LOG("MCC$DATE2"))
    !
    !FILE_NAME  = FN$TRANS_LOG("MCC$REPORT_FILE")
    SET COLUMNS_PAGE = 132
    !
    READY  MCC_EXPORT SHARED READ
>>> FIND  MCC_NODE4_LINE WITH TIME_STAMP BETWEEN DATE1_HOLD AND DATE2_HOLD
    IF NODE_HOLD NE "ALL"
            THEN FIND CURRENT WITH NODE4 = NODE_HOLD
    
    This is the relation that holds the counter data for phase IV lines
    
    
    Here is the similar excerpt from the Phase V procedure for HDLC
    
    DELETE NODE5_HDLC_BANDWIDTH_RPT;
    REDEFINE PROCEDURE node5_HDLC_BANDWIDTH_RPT
    !
    DECLARE NODE_HOLD        PIC X(100).
    DECLARE NODE_HOLD1      COMPUTED BY FN$UPCASE(NODE).
    DECLARE LINE_HOLD1      COMPUTED BY FN$UPCASE(LINK).
    DECLARE LINE_HOLD       PIC X(60).
    DECLARE DATE1_HOLD      USAGE DATE EDIT_STRING X(23).
    DECLARE DATE2_HOLD      USAGE DATE EDIT_STRING X(23).
    DECLARE TODAY_HOLD      USAGE DATE      DEFAULT "TODAY".
    DECLARE EXP_CVR_COMPUTED  COMPUTED BY
    CHOICE (EXP_CVR_STATISTICS = 1) THEN 1
      ELSE  0
       END_CHOICE.
    !
    ! Translate logical names.
    !
    NODE_HOLD = FN$TRANS_LOG("MCC$NODE1")
    !
    !
    LINE_HOLD = FN$TRANS_LOG("MCC$LINE1")
    !
    !
    DATE1_HOLD = FN$DATE(FN$TRANS_LOG("MCC$DATE1"))
    !
    DATE2_HOLD = FN$DATE(FN$TRANS_LOG("MCC$DATE2"))
    !
    !FILE_NAME  = FN$TRANS_LOG("MCC$REPORT_FILE")
    SET COLUMNS_PAGE = 132
    !
    READY  MCC_EXPORT SHARED READ
>>> FIND  mcc_node_HDLC WITH TIME_STAMP BETWEEN DATE1_HOLD AND DATE2_HOLD
    IF NODE_HOLD NE "ALL"
            THEN FIND CURRENT WITH NODE_HOLD1 containing NODE_HOLD
    
    
    This would be the corresponding relation for HDLC links or lines or
    whatever they call 'em now.  Therefore I believe that that this data
    collection should be there and associated with this relation name. 
    Have you registered as a child entity and exported from a line that is
    defined as a HDLC link?  It may not create the relation otherwise.
    
    Soon to be over his head...
    
    Dave
    
4443.4re: .1TOOK::SHMUYLOVICHTue Jan 26 1993 16:1923
	Al,
  
  A message
   
>:node5_hdlc_bandwidth_rpt
>"MCC_NODE_HDLC" is not a readied source, collection, or list.

 usually tells that report tries to access a table (or relation) with name 
 "MCC_NODE_HDLC".
 This table is created by Exporter ONLY IF you export Node Hdlc entity.

  Just a note:

  It looks like you expect to export data into a file 
  PUB:[MCC_RDB_DATA]MCC_EXPORT_FILE.RDB.
  I think that in your case the Exporter creates MCC_EXPORT_RDB_FILE.RDB file 
  in the current directory.
  If you want an "export target" argument to be a default specified by a
  MCC_EXPORT_RDB_FILE logical DO NOT specify this argument in the Export
  (and any others) command.
  
	SAm
    
4443.5Help DECmcc!LICAUS::LICAUSEAl Licause (264-4780)Tue Jan 26 1993 17:1017
Dave,

I hope your not suggesting that each router needs to specifically have
each of its child entities (routing circuits, modem connect lines, etc)
individually registered?

The other question that I have is....why is the datatrieve procedure
worrying about HDLC anything?

The entity that contains the PDU's on a line by line basis is ROUTING CIRCUIT
and not MODEM CONNECT LINE or HDLC LINK.

Can anyone confirm this and can anyone confirm that the Datatrieve procedure
is written to pickup counters from HDLC things and not ROUTINT CIRCUITS?

Thanks,
Al
4443.6re -.1ANOSWS::COMFORTCold iron shackle, ball & chainThu Jan 28 1993 15:3612
    
    Al -
    
    At this point I may be mistaken due to faulty memory, but I thought I
    recalled that to get utilization reports, etc. the child entity in
    question had to be registered and the speed had to be set.  I set this
    stuff up ~1 year ago and since it has not failed, I haven't dealt with
    it since.  One may not have to register the circuit or line or whatever
    to do this.  I do not wish to mislead, so I hope someone can clarify
    this.
    
    Dave