[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2199.0. "Cleaning up network.dat" by GLDOA::HOLBEL () Tue Feb 02 1993 20:55

    Is there a procedure (manual or automatic) that will
    remove records from network.dat that were not synched
    via UA yet but deleted from the owning node via DA?
    
    We have several A1 IOS systems (V2.4) that are way out
    of synch and I would like to cleanup the network.dat
    files.  Some system managers (who did not know better)
    were running DA on a daily basis and some system managers
    running UA on a weekly basis...
    
    Is there a procedure that can create a brand new network.dat
    and populate it?
    
    Thanks,
    
    John
T.RTitleUserPersonal
Name
DateLines
2199.1the Network Profile developer told me...AIMTEC::WICKS_AMUP(pets) coming to ALL-IN-1 soon?Tue Feb 02 1993 21:0710
    John,
    
    DO OA$LIB:SMNETINIT wipes the network file.
    
    Then run UA to repopulate around the network.
    
    Regards,
    
    Andrew.D.Wicks
    
2199.2SMNETINIT/SMNETUPDTGLDOA::HOLBELTue Feb 02 1993 22:2414
    I have learned something to this effect but have a couple more
    questions,
    
    1. What is the difference between SMNETINIT.SCP and SMNETUPDT.SCP?
       And where does SMNETPRGE fit in?
    
    2. Is there anything I need to be aware of if I,
       - Create a new empty network.dat
       - Execute SMNETINIT or SMNETUPDT (which one?)
       - And then run UA.
    
    Thanks,
    
    John
2199.3As told to me by the Network Profile DeveloperAIMTEC::WICKS_AMUP(pets) coming to ALL-IN-1 soon?Tue Feb 02 1993 22:5137
    John,
    
    OK history lesson. In the beginning  (before v2.3) there were 3 network
    profile scripts/ BASIC programs etc...
    
    SMNETINIT (.SCP), SMNETUPDT (.SCP, .BAS) and SMNETPRGE (.BAS)
    
    Along came v2.3 ... housekeeping with two procedures called UA and DA
    UA is nothing more than SMETUPDT, DA is nothing more than SMNETPRGE
    but poor old SMNETINIT was cast into the wilderness and not good enough
    to gain it's "official housekeeping job" badge sulked in OA$LIB all
    but forgotten to the world.
    
    so to answer your questions
    
    1. SMNETINIT repopulates NETWORK with users from your local PROFILE
       who have MNODE set to OA$Y in the PROFILE
       SMNETUPDT (which is really UA in disguise) takes your local NETWORK
       entries and propogates them to other nodes and brings in NETWORK
       entries from other nodes
    
       so it follows that SMNETPRGE goes out and propogates deleted NETWORK
       records to other nodes and brings in updates of deleted NETWORK
       records from other nodes.
    
    2. Yes
       <CREATE, SMNETINIT, UA 
      
    
       And lo at this stage does one turn to the good book (ALL-IN-1 Mail
       Management guide) and read further collected knowledge as dictated
       to a writer being by the mythical Network Profile Developer!
    
    Regards,
    
    Andrew.D.Wicks 
         
2199.4Ex Network Profile Designer (many moons ago!)IOSG::SHOVEDave Shove -- REO2-G/M6Wed Feb 03 1993 11:039
    Minor correction to .-1
    
    Neither SMNETUPDT nor SMNETPRGE propogate [sic] anything __TO__ other
    nodes. It was a fundamental design rule when this stuff was produced
    that one node should only ever _read_ stuff _from_ other nodes. These
    two programs threfore only bring stuff (updates, deletes) _from_ other
    nodes.
    
    Dave.