home *** CD-ROM | disk | FTP | other *** search
/ ftp.seagate.com / 2014.07.ftp.seagate.com.tar / ftp.seagate.com / pub / palindrome / technote / tn9405.asc < prev    next >
Text File  |  1995-03-20  |  14KB  |  400 lines

  1. TECHNICAL NOTE:
  2.  
  3. PREPARING FOR AND RECOVERING A 3.1a NLM PNA INSTALLATION SERVER
  4. FROM A FULL SERVER CRASH WITHOUT RE-INSTALLING NETWARE 3.12
  5.  
  6. Document revision:  1.5
  7. Date:             03/14/95
  8.  
  9. CONTENTS:
  10.  
  11. SECTION 1.0 - INTRODUCTION
  12.     1.1 - ASSUMPTIONS AND REQUIREMENTS
  13.  
  14. SECTION 2.0 - PRELIMINARY PREPARATION
  15.     2.1 - PLAN AND GATHER INFORMATIONAL DOCUMENTATION
  16.     2.2 - GENERATE DOS_BOOT AND BACKUP DISKETTES
  17.     2.3 - PREPARE NECESSARY FILES FOR RECOVERY DISKETTES
  18.     2.4 - CREATE THE RECOVERY DISKETTES
  19.  
  20. SECTION 3.0 - SERVER RECOVERY
  21.     3.1 - RESTORE DOS PARTITION
  22.     3.2 - PLACE RECOVERY FILES ON DOS PARTITION
  23.  
  24. SECTION 5.0 - CONCLUSIONS
  25.  
  26. ***************************************************************************
  27.  
  28. SECTION 1.0 - INTRODUCTION
  29.  
  30. This Technical Note covers procedures for rebuilding a PNA installation
  31. Netware server on which the DOS partition and/or the Netware SYS volume
  32. (and other miscellaneous Netware volumes on that server) have been destroyed 
  33. and a full recovery is necessitated.
  34.  
  35. This process does not require Netware to be reinstalled.
  36.  
  37. This Technical Note covers the steps necessary to:
  38. *  Prepare and build the DOS partition.
  39. *  Prepare and build any Netware partition.
  40. *  Restore server to previous operating state.
  41.  
  42. SECTION 1.1 - ASSUMPTIONS AND REQUIREMENTS
  43.  
  44. This procedure assumes the following:
  45.     
  46.     * PKZIP.EXE and PKUNZIP.EXE are available.
  47.     * A good understanding of NetWare 3.1x, PNA, and DOS. 
  48.     * The file server has a high-density floppy drive (the A: drive).
  49.     * The user has several blank formatted high-density floppy diskettes.
  50.     * The user is using Palindrome Network Archivist NLM 3.1A.
  51.     * The file server to be restored is a Netware 3.1x server.
  52.     * The C:\SERVER (or equiv) directory will be backed up and 
  53.       restored as stated in Section 2.2 and Section 3.2 of this document.
  54.       By doing so, critical files such as startup.ncf and server.exe
  55.       are protected and restored during the DOS partition backup and
  56.       restore sections of this document.
  57.  
  58.     * The server's DOS partition has at least 4 MB available.
  59.  
  60.     * PALFCOPY.ZIP, PALUSER.ZIP, PALSDUMP.ZIP has been obtained from 
  61.       Palindrome's BBS (708-505-3336, 8N1)
  62.     
  63.  
  64. SECTION 2.0 - PRELIMINARY PREPARATION
  65.  
  66. 2.1 - PLAN AND GATHER INFORMATIONAL DOCUMENTATION
  67.  
  68.     a) Download PALFCOPY.ZIP, PALUSER.ZIP, and PALSDUMP.ZIP from 
  69.        Palindrome's BBS (708-505-3336, settings are 8N1).  Unzip and 
  70.        place on your local C drive for easy access during SECTION 2.1, 
  71.        Step e, and SECTION 2.2, Step a.
  72.     
  73.     b) Review and understand the layout of the server.  Is the SYS volume
  74.        physically on a separate hard drive compared to the DOS partition?
  75.  
  76.     c) Review and understand the network protocols being used by the 
  77.        server.  (Is IPX and/or IP being used?).  How do these protocols     
  78.        interact with server related issues such as SAPs, ect..?
  79.                 
  80.     d) Copy the PALSDUMP.NLM to the server's system directory and run to
  81.        gather information about the server's environment, SET parameters,
  82.        and NCF files.  To run PALSDUMP, from the server console, type: 
  83.  
  84.            LOAD PALSDUMP
  85.  
  86.   Print the SYS:\PALSDUMP.DAT output file for reference later on in this tech
  87.   note.
  88.         
  89.   Note: PALSDUMP.DAT contains valuable information which includes the 
  90.   server's autoexec.ncf and startup.ncf files.                     
  91.  
  92.     e) Either examine the PALSDUMP log file or enter MODULES at the server
  93.        console to display the modules currently running on the server.
  94.        Evaluate the need for each NLM module and decide whether it needs 
  95.        to be available during the restoration process.  NLMs such as Virus
  96.        or CDRom drivers do NOT need to be loaded, but special LAN drivers,
  97.        name space NLMs, or config files probably do.  
  98.  
  99.        Compare your listing to the file listing located in SECTION 2.3. 
  100.        If your listing contains any other required files, then you will 
  101.        need to copy them during SECTION 2.3.                                
  102.  
  103.       f) At the server prompt (:) through either RCONSOLE or from the
  104.        server console,  LOAD INSTALL and handwrite the DISK OPTIONS
  105.        PARTITION TABLES display.  Also document the following volume
  106.        information using Install's Volume Options.    
  107.     
  108.         __ A.  NetWare volumes.           
  109.         __ B.  Volume(s) block size.
  110.         __ C.  Volume name space support. 
  111.             (type VOLUMES at the : prompt)
  112.         __ D.  Server names.
  113.  
  114.                                     
  115. 2.2 - GENERATE "DOS_BOOT" and BACKUP DISKETTES  
  116.  
  117. Important note:
  118.  
  119. Completion of the steps contained within this section are imperative to the 
  120. server's recovery.  It is within this section that critical server files, 
  121. such as SERVER.EXE, STARTUP.NCF ect, are backed up. (and restored from 
  122. in case of a disaster)
  123.  
  124. The server must be brought down to perform this step. In order to restore
  125. the DOS partition to a minimum operating state,(i.e. one in which NetWare
  126. can fully function), the DOS partition(s) needs to be backed up first.    
  127. You can use the BACKUP utility that comes with MS-DOS, although other
  128. methods can be used to achieve the same result.
  129.  
  130.     __ Format a boot floppy using the FORMAT A: /S command and copy 
  131.        FORMAT.COM, FDISK.EXE, RESTORE.EXE, and any other utilities
  132.        you feel might be needed.  Label it DOS_BOOT
  133.  
  134.     __ From the DOS prompt, enter: BACKUP C:\ A: /S (modify as needed) 
  135.        and insert as many floppy disks as needed to the DOS partition. 
  136.        Label these disks as they are made.
  137.         
  138.     __ Repeat step 2b as needed for additional DOS partitions. 
  139.  
  140.     __ Run FDISK.EXE and document the information about the DOS 
  141.        partitions (e.g. sizes, etc).  Be sure to record the DOS version,
  142.        and do not change DOS versions during this procedure.        
  143.  
  144.  
  145. 2.3 - PREPARE NECESSARY FILES FOR RECOVERY DISKETTES.
  146.     
  147.     __  Make a holding directory named RECOV. This directory can be
  148.         located on your local drive or a server volume.  This operation
  149.         will require about 4 MB of free disk space.         
  150.  
  151.     __  Change directories into RECOV
  152.  
  153.     __  From the RECOV directory, type the following commands to create
  154.         the following subdirectories:
  155.  
  156.         MD SYSTEM
  157.         MD PNA  (substitute your specific PNA path here)
  158.      
  159.     Copy the following files into the RECOV\SYSTEM directory.
  160.  
  161.     __  BT40.DSK - or proper SCSI driver (e.g. AIC7770.DSK) 
  162.     __  BTASPI.DSK - or proper SCSI driver (e.g.ASPITRAN.DSK)
  163.     
  164.     __  Any required name space support modules - from the SYS:SYSTEM 
  165.     
  166.     __  ISADISK.DSK - from the SYS:SYSTEM (or equiv) directory.     
  167.          __  3C5X9.LAN - from the SYS:SYSTEM (or equiv) directory.  
  168.             (Or proper NIC driver(s) and their configuration files)
  169.     __  ETHERTSM.NLM - from the SYS:SYSTEM 
  170.             (Or proper topology support modules (e.g. TOKENTSM.NLM))
  171.     __  MSM.NLM - from the SYS:\SYSTEM (or equiv) directory.
  172.     __  NWSNUT.NLM - from the SYS:\SYSTEM (or equiv) directory.        
  173.     __  INSTALL.NLM - from the SYS:\SYSTEM (or equiv) directory.
  174.     __  CLIB.NLM - from the SYS:\SYSTEM (or equiv) directory.
  175.     __  MATHLIB.NLM - from the SYS:\SYSTEM (or equiv) directory (or MATHLIBC).
  176.     __  STREAMS.NLM - from the SYS:\SYSTEM (or equiv) directory.
  177.     __  AFTER311.NLM - from SYS:\SYSTEM (or equiv) directory.
  178.     __  TLI.NLM - from the SYS:\SYSTEM (or equiv) directory.
  179.     __  TSA312.NLM - from the SYS:\SYSTEM (or equiv) directory.
  180.         (For  NetWare 3.11, copy TSA311.NLM instead)
  181.     __  SMDR.NLM -  from the SYS:\SYSTEM (or equiv) directory.
  182.     __  SPXS.NLM -  from the SYS:\SYSTEM (or equiv) directory.
  183.     __  A3112.NLM - from the SYS:\SYSTEM (or equiv) directory.
  184.  
  185.     __  Any other need modules as determined from section 2.1, step f.
  186.             
  187.     __  PNAPATH.DAT - from the SYS:\SYSTEM (or equiv) directory. 
  188.     __  PNAREST.NLM - from the SYS:\SYSTEM (or equiv) directory.
  189.     __  PALALDRV.NLM - from the SYS:\SYSTEM (or equiv) directory.
  190.     __  PALSDRV.NLM - from the SYS:\SYSTEM (or equiv) directory.
  191.     __  PALLIB.NLM  - from the SYS:\SYSTEM (or equiv) directory.
  192.     __  PALFCOPY.NLM  - from Palindrome's BBS or your local C drive.
  193.     __  PALUSER.NLM  - from Palindrome's BBS or your local C drive.        
  194.     
  195.     Copy the following files into the RECOV\PNA (or equiv) directory:
  196.     
  197.     __  AS*.PAC  - from the SYS:\PNA (or equiv) directory. (2 files)
  198.     __  *.RSF - from the SYS:\PNA (or equiv) directory. (2 files)
  199.  
  200.  
  201. 2.4 - CREATE RECOVERY DISKETTES
  202.  
  203.     __  Have 1 blank formatted diskette (HD 1.44 MB) ready and hand 
  204.         label it
  205.             
  206.          RECOV3             
  207.     
  208.     __  Place the diskette in the A drive and from the RECOV directory, 
  209.         issue the following command:
  210.  
  211.         PKZIP A:RECOV3.ZIP *.*  -rp&
  212.  
  213.          Note:  This command will compress the directories and files
  214.          contained in the RECOV directory into a zip file named, 
  215.          RECOV3.ZIP.   If needed, this PKZIP command will span two
  216.          disks.  If so, label the second diskette RECOV3_2.    
  217.  
  218.     __  Copy PKUNZIP.EXE onto the diskette, RECOV3.
  219.  
  220.  
  221. SECTION 3.0 - SERVER RECOVERY
  222.  
  223. 3.1 - RESTORE DOS PARTITION
  224.     
  225. NOTE: This section can only be completed if the DOS partition was prepared 
  226. for restoration.
  227.  
  228.     a) Insert the DOS_BOOT floppy in drive A: and power on the PC.  
  229.  
  230.     b) Enter the date and time when prompted.
  231.     
  232.     c) Using the FDISK and FORMAT utilities, re-generate the DOS 
  233.        partition(s) (e.g. C: drive).
  234.     
  235.     d) From the DOS prompt, enter: RESTORE  A:  C:\*.* /S   
  236.        (modify as needed) and insert the requested floppy disks as needed
  237.        to restore the DOS 
  238.        partition.
  239.  
  240.     e) Repeat step 1d as needed for additional DOS partitions 
  241.        restorations.
  242.     
  243.     f) Reboot machine to ensure system is bootable. 
  244.     
  245.  
  246. 3.3 - PLACE RECOVERY FILES ON DOS PARTITION
  247.  
  248.     __  On the root of the C drive, make a directory named, RECOV
  249.  
  250.     __  Place the RECOV3 (or last recovery diskette) in the A drive, and 
  251.         from the C:\RECOV prompt, type:
  252.             
  253.         PKUNZIP A:RECOV3.ZIP  -d  C:\RECOV
  254.  
  255.     __  Follow the PKUNZIP prompts and unzip the recovery diskettes into
  256.         the C:\RECOV directory.  If more than one diskette exists, PKUNZIP
  257.         should prompt you for both.
  258.   
  259. Note: This procedure will use about 4MB of disk space.                  
  260.  
  261.  
  262. 3.4 -  CREATE NETWARE PARTITION(S) AND VOLUME(S)
  263.     
  264.     __  From DOS, run SERVER.EXE and enter the file server name and 
  265.         internal net address when prompted (See the PALSDUMP printout
  266.         of your autoexec.ncf file).  
  267.     
  268.     __  From the server console, type SEARCH ADD C:\RECOV\SYSTEM
  269.  
  270.     __  Load hard disk drivers if not already loaded via the 
  271.         startup.ncf file.   
  272.  
  273.     __  Load LAN drivers and bind proper protocols to them.
  274.  
  275.         Reference the autoexec.ncf file found in the PALSDUMP print
  276.         out.
  277.  
  278.     __  Type LOAD INSTALL.NLM
  279.  
  280.     __ Choose DISK OPTIONS/PARTITION TABLES to create the Novell
  281.        partition according to prepared partition information.
  282.  
  283.     __ After recreating the partitions, choose VOLUME OPTIONS and
  284.        press the INSERT key to re-create the volume(s).  Again, 
  285.        reference the prepared documentation from Section 2.1, step f.
  286.  
  287.     __ Press ALT/ESC to change to the server prompt.
  288.  
  289.     __ Type MOUNT ALL
  290.   
  291.     __ Re-define the search path by typing SEARCH ADD C:\RECOV\SYSTEM  
  292.  
  293.     __  Load any name space modules (e.g. MAC.NAM) and ADD NAME SPACE 
  294.         <name> to <volume> for all namespaces on all mounted volumes.       
  295.  
  296.     __  Type LOAD CLIB
  297.     
  298.     __  Type LOAD PALFCOPY C:\RECOV\*.*  SYS:\  /S
  299.     
  300.     __  Type LOAD TSA312 (or TSA311 for NetWare 3.11)    
  301.  
  302.     __  Type LOAD BT312 (or equiv SCSI driver) 
  303.  
  304.     __  Type LOAD BTAPSI (or equiv ASPI driver)
  305.     
  306.  
  307. SECTION 4.0 - RESTORE DATA
  308.  
  309. 4.1 - RESTORE PALINDROME ENVIRONMENT
  310.      
  311. Make sure the most recent backup tape is inserted in the backup device. 
  312.         
  313.     __  Restore the System Control Database (CDB).  From the server
  314.         console, type: 
  315.  
  316.         LOAD PNAREST /RC
  317.  
  318. At this point in the recovery process, the only valid user on the server is 
  319. SUPERVISOR with NO PASSWORD.  Palindrome's control database needs to be 
  320. updated with this information.  To do so,
  321.  
  322.     __  At the server console, type LOAD PALUSER
  323.  
  324.         Change Palindrome's autologin user to SUPERVISOR
  325.         with NO PASSWORD.
  326.  
  327.     __  Restore the Bindery resource's History Database (HDB).  At the
  328.         server console, type:
  329.  
  330.         LOAD PNAREST /RH <Fileserver name>/BINDERY 
  331.             
  332. 4.2 - RECOVER THE BINDERY
  333.  
  334.     __ At the server console, type
  335.         
  336.         LOAD PNAREST /RO /OA <Fileserver name>/BINDERY  \*.* 
  337.  
  338. With the "real" bindery restored, Palindrome's autologin user must be updated
  339. once more.  This time, to the original autologin user and password.  To do so,
  340.  
  341.     __  At the server console, type LOAD PALUSER
  342.  
  343.         Change Palindrome's autologin user back its original
  344.         autologin user and password. (example: Archivist with its 
  345.         appropriate password)
  346.  
  347. Note: PALUSER.NLM does not create users within the bindery, it simply updates
  348. the autologin user field within Palindrome's CDB.  The user and password 
  349. presented to PALUSER.NLM must already be valid information within the bindery.
  350.  
  351.  
  352. 4.3 - RECOVER SYS
  353.  
  354.     __  Restore the SYS Volume's History Database (HDB).  At the server 
  355.         console, type:
  356.  
  357.         LOAD PNAREST /RH <Fileserver name>/SYS: 
  358.             
  359.     __  To recover the SYS volume's directory structure, from the server
  360.         console, type:
  361.  
  362.         LOAD PNAREST /RD /OA <Fileserver name>/SYS:
  363.  
  364.     __  Once the above operations completes, recover the SYS volume's 
  365.         file data by typing:
  366.  
  367.         LOAD PNAREST /RO /OA <Fileserver name>/SYS:\*.* 
  368.  
  369.  
  370. 4.3 - RECOVER ADDITIONAL VOLUMES (if needed)
  371.  
  372.     __  If your server contained ONLY a SYS volume, skip to Section 5, 
  373.         otherwise, please continue.
  374.         
  375.     For each additional volume, from the server console, type:
  376.  
  377.         LOAD PNAREST /RH <Fileserver name>/<volume name>: 
  378.  
  379.     __  Once complete, type:
  380.         
  381.         LOAD PNAREST /RD /OA <Fileserver name>/<volume name>:
  382.  
  383.     __  Once complete, type:
  384.  
  385.         LOAD PNAREST /RO /OA <Fileserver name>/<volume name>:\*.*
  386.         
  387.     __  Repeat above steps until all volumes have been recovered.
  388.  
  389.  
  390. SECTION 5.0 - Conclusions
  391.  
  392. Final steps:
  393.  
  394. When the last restore command is complete, at the server console (:),  
  395.     __ Type DOWN
  396.     __ Type EXIT
  397.     __ At the DOS prompt,  type SERVER
  398.  
  399. Your server is now restored to its complete operating state.
  400.