[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

4732.0. "UCX device sockets and SNMP alarms" by GIDDAY::MURPHY () Sun Mar 21 1993 20:17

    I work at a site where I have a large number of SNMP devices (cisco routers
     and chipcom Hubs). The problem I have is each alarm that I write is using a
    ucx device socket. what happens when I run out? Can I increase them?
    
    DECmcc 1.2
    The ucx version is 2.0.
    
    Example from ucx
    
    Communication Parameters
    
    Local host:      netman                 Domain:
    
    Cluster timer:             5
                                     Maximum     Current        Peak
    Interfaces                            10           2           2
    Device_sockets                        60          52          55
    Routes                             65535           2           2
    Services                              60           0           4
    Proxies                                0
    
    Type:        Ethernet   Free     Maximum   Max Bytes     Minimum   Min
    Bytes
    Large buffers             10         100      166400          10      
    16640
    Small buffers             60         330       84480          30       
    7680
    IRPs                      20         200
    Non UCX buffers           10
    
    Remote Terminal
      Large buffers:           5
      UCBs:                    4
      Virtual term:     disabled
    
    
Example alarms rule.
    create domain rule_domain rule MTCR01_TRAP                              -
     expression                = (occurs(snmp MTCR01 any event))          ,-
     alarm fired procedure     = mcc_alarms:MTCR01_broadcast.com          ,-
     alarm exception procedure =                 -                         
      mcc_alarms:mcc_alarms_broadcast_exception.com  ,-
     alarm fired parameter     = "user=engineer"                            ,-
     category                  = "MTCR01 trap"                             ,-
     description               = "A trap has occured on MTCR01"            ,-                                                                     
     batch queue               = "MCC$BATCH"                                 ,-
     severity                  = clear
T.RTitleUserPersonal
Name
DateLines
4732.1SNMP AM only opens 28 sockets at one timeMOLAR::PERRYWed Mar 24 1993 14:0025
    > what happens when I run out?
    
    In DECmcc V1.3, the SNMP AM limits its number of opened sockets to
    28. When a request is received by the SNMP AM (from alarms, PA, FCL,
    ect.) and the AM already has 28 sockets opened, then the request will be
    queued until one of the 28 sockets becomes available. The request queue
    is a FIFO (first in first out) queue so that sockets are handed out in 
    a judicious manner.
    
    In V1.2 and before, the SNMP AM would open a socket for each request
    regardless of its current number of opened sockets. This caused problems
    when using UCX because the select system call in UCX only allows you to
    check for data on 32 opened sockets at a time.
    
    >Can I increase them?
    
    Yes but I am not sure of the UCX command syntax. Note, however, that
    increasing this value will have no effect on the behavior of the
    SNMP AM.
    
    Hope this helps.
    
    regards,
    jim
    
4732.2set comm/devic=70GIDDAY::MURPHYWed Mar 24 1993 17:4913
    Thanks Jim.
    
    The command is 
    ucx SET COMMUNICATION/DEVICE_SOCKETS=70
    
    
    The information that UCX only allows you to check data on 32 open
    sockets at a time is interesting as I every so often do miss alarms.
    
    Sounds like I should try DECmcc V1.3
    
    Regards,
       John Murphy.
4732.3pointerCSOADM::ROTHELVIS:: is alive... and reachable!!Thu Mar 25 1993 11:105
In the version of UCX that I just installed (V2.0B), UCX HELP SET
COMM/DEV suggests looking at Chapter 3 of the [UCX] System Management
Manual for tuning info.

Lee