home *** CD-ROM | disk | FTP | other *** search
/ ftp.seagate.com / 2014.07.ftp.seagate.com.tar / ftp.seagate.com / pub / palindrome / technote / tn9506.asc < prev   
Text File  |  1995-05-23  |  18KB  |  311 lines

  1. Tech Note:  TN9506
  2. May 22, 1995.
  3.  
  4. Centralized Backup / Distributed Restore.
  5.  
  6.  
  7.  
  8. Scope:
  9.   
  10.      This Tech Note describes a technique that can be used to save time in
  11. a full-server recovery situation.  This Tech Note contains instructions for
  12. use on NetWare 3.1x and 4.x servers, and for Palindrome NLM backup products
  13. (for NetWare) versions 3.1 and 4.0.  Some related issues are covered in 
  14. detail in other Palindrome Tech Notes, and some of the steps described in 
  15. this Tech Note are outlined in detail in the product manuals.
  16. (see bibliography at the end of this Tech Note.)
  17.  
  18. Abstract:
  19.   
  20.      The CB/DR (Centralized Backup / Distributed Restore) technique is 
  21. intended to save time during a full server recovery situation, when the 
  22. server being recovered is being protected by a Palindrome installation on
  23. a different server.  The theory is, that by doing this, you not only save
  24. the time involved in transferring the data across the network to the server
  25. being restored, but in a disaster situation, you do not have to restore the
  26. server Palindrome is installed on before beginning the restore of the other
  27. server.
  28.      The first question you must ask is, wether this technique is practical;
  29. Is the amount of data to be restored of a sufficient amount that the time
  30. saved is greater than the time it takes to perform the technique.  This is
  31. dependent on a large number of factors; the speed of the network connection,
  32. the speed (processor) of the server Palindrome is installed on, the speed
  33. of the server you are restoring data to, the speed and efficiency of the two
  34. server's bus (ISA, EISA, etc), the memory configurations of the two servers
  35. (free cache buffers, directory cache buffers, packet recieve buffers, etc.),
  36. and the type and amount of data to be restored.
  37.      It is important to note here, that this technique hinges greatly on
  38. preparedness.  You should read this document thoroughly, and refer to the
  39. corresponding portions in the product manuals, and be familliar with the
  40. concepts and terminology.  All personell who may be involved with the 
  41. proceedure should be fully briefed.  It is also strongly recommended that you
  42. attempt several "dry runs" in a test environment first.  Things you learn in
  43. the lab may save you from problems and frustrations in an emergency situation.
  44.      This proceedure involves hardware installation, and that, in of itself
  45. can be a very time consuming and troublesome step.  This is probably the
  46. most important step to optimizing this technique.  If you can eliminate ahead
  47. of time, problems that can arise during the hardware installation step, you
  48. will be that much closer to getting the server restored quickly.  One 
  49. suggestion for accomplishing this is to have a SCSI card already installed
  50. in the server that is to be restored.  This usually carries some serendipity
  51. with it because the same SCSI card can also be used for the server's hard
  52. drive.  Just be certain that the SCSI card is on the Palindrome Certified
  53. Devices list, and that there is an open SCSI ID to mount the tape drive on.
  54. (for hardware installation details, refer to the documentation  included with
  55. the backup software).
  56.  
  57. Conventions:
  58.      For the purpose of example, we will refer to an imaginary network with
  59. two NetWare 3.12 servers, named FS1 and FS2, each of which has a single 
  60. volume named SYS.  Palindrome is installed in the \PNA directory on FS1, and
  61. all the appropriate supporting software is installed and up to date, for 
  62. example, CLIB, STREAMS, SPXS, TLI, SMDR, and TSA312 (TSA name is specific to
  63. the version of NetWare running on the server).  The Palindrome software 
  64. installed on FS1 is protecting the two server's SYS volumes, and Binderies,
  65. and the history databases (which track the backups and where data is 
  66. located in the backup library) are centrally located on FS1/SYS:.
  67. The backup device is referred to as a tape drive, but is by no means limited
  68. to this technology, as Palindrome products are supported by a variety of
  69. tape and optical devices.
  70.      Where specific instructions for the 4.0 Palindrome products are needed,
  71. they will be noted, as will differences in operation on NW 4.x networks, or
  72. other situations where the history databases might not be available such as,
  73. if FS1 were also down, or if FS2 is being restored on an isolated subnetwork,
  74. or if the histories are distributed, or centralized on a third server.  .  .
  75. Special instructions are noted with a pair of right-pointing angle brackets
  76. (>>).
  77.  
  78. STEP 1.  FS2 needs to be restored.  Most would argue that the first thing
  79.          That must be done is to re install NetWare to allow the server to
  80.          be visible on the network, and to allow it to mount it's volumes.
  81.          The Palindrome Server Recovery Tech Note (or, alternatively, 
  82.          Appendix C in the Palindrome 4.0 Administrator's Guide, on the 
  83.          same subject) details a process by which
  84.          a pair of floppy disks are prepared ahead of time, with the bare-
  85.          minimal files necessary to run NetWare, and the Palindrome backup
  86.          software, plus a specially developed utility that copies these 
  87.          components to the server volume, and the startup files and disk
  88.          drivers to the DOS partition.  This proceedure can significantly
  89.          reduce the time involved in the first step of the process.
  90.            Part A.   Install NetWare.  Make the server available on the 
  91.                      network, and give it the name FS2.  
  92.                      >>If FS2 is a NetWare 4.x server it is strongly 
  93.                        recommended that NDS be protected and restored through
  94.                        partitioning and replication.  Restoring a NetWare 4.x
  95.                        NDS from tape raises many complex issues that are 
  96.                        beyond the scope of this document, but not beyond the
  97.                        scope of adaptivity.  Please see the Palindrome Tech
  98.                        Note, Protecting NW 4.x servers, and the product 
  99.                        documentation for details on this topic.
  100.              IMPORTANT:  It is assumed that the "new" FS2 you will
  101.                      be restoring data to has the same namespaces installed
  102.                      (MAC, OS2, etc.) as the "old" FS2.  If the namespaces
  103.                      are not the same, unexpected results may occur.  See
  104.                      the product manuals for details.
  105.              Part B.   Install Hardware.  Install a SCSI controller card in FS2,
  106.                      if one is not already installed.  Make sure it is listed
  107.                      on the Palindrome Certified Devices List, and make sure
  108.                      that the driver is the correct one, and that it properly
  109.                      functions with the Palindrome software.  This is a place
  110.                      where testing ahead of time will really pay off.
  111.                      Connect the tape drive to the SCSI bus, making sure that
  112.                      there are no SCSI ID conflicts and that the bus is 
  113.                      properly terminated.  For more details on completing 
  114.                      this step properly, see the Installation and Support 
  115.                      Guide included with your product documentation.  
  116.                      Make sure that your backup media are available, 
  117.                      especially the latest backup.  If you are unsure about
  118.                      which tape was used in the last backup, you can journal
  119.                      all of them with the Palindrome software, and check the
  120.                      "last update date", and compare them to find the latest
  121.                      tape.  This technique is important in a situation where
  122.                      your current tapeset is not available, (such as in a 
  123.                      disaster).
  124.               Part C.   Install the Palindrome Backup Software.  Installation is
  125.                      an important step, because it locates the software and
  126.                      related support files on the new FS2 platform.  Follow
  127.                      all the standard instructions for installation for your
  128.                      particular version, including creation of the Autologin
  129.                      user.  Do not spend time configuring the software or 
  130.                      populating the protected resource list, as all that 
  131.                      information will be replaced in the next step.
  132.                      You should also deactivate the Palindrome software on
  133.                      FS1 by unloading the running Palindrome modules at the
  134.                      console.
  135.                      >>If the Palindrome software is version 4.0, you should
  136.                        run the server prep disk first, before you install the
  137.                        software from the workstation.
  138.                      >>If FS1 had/has NW 4.x running on it, be sure to delete
  139.                        the old Job Queue object that was in use by the old
  140.                        installation using NWADMIN, before beginning the 
  141.                        installation on FS2.  
  142.  
  143. STEP 2.  Once the Palindrome software is installed, and the server is running,
  144.          you need to restore the Control Database.  The Control Database is a
  145.          set of two files in the \PNA directory named ASDB.PAC and ASNX.PAC.
  146.          They maintain the software configuration, the protected resource 
  147.          list and history location information for all protected resources, 
  148.          as well as the configured devices information, and auto login user,
  149.          and tape library.  When you install the software, INSTALL.EXE 
  150.          creates a new set of Control Databases.  These two files must now be
  151.          deleted.  You can then run PNA from the DOS prompt on the 
  152.          workstation, and the program will note the absence of Control DBs,
  153.          and proceed to prompt you through restoring them.  Put the most 
  154.          recently updated backup tape into the tape drive, and the software
  155.          will configure the device, and ask you to supply the autologin name
  156.          and password, which was lost when we deleted the PACs, and will be
  157.          restored when we get the Control Databases back from tape.
  158.          Alternately, you could simply copy the AS*.PAC files over from the
  159.          FS1/SYS:\PNA directory, or "sneaker net" them over on floppies.
  160.          However, it's VERY important that you make sure that the Control
  161.          Database files you use are the MOST CURRENT available.  The reason
  162.          why it's preferred to restore from tape, is that that insures that
  163.          the Control Databases and History Databases are in synch.
  164.          >> If the Palindrome Software is version 4.0, then in order to 
  165.             properly restore the Control Databases, you must load PAL.NLM
  166.             on the server console, and select Restore Control Database from
  167.             the menu presented.  4.0 uses six files for a Control Database,
  168.             but they all have a PAC extension, and are all located in the 
  169.             \PNA directory.  Additionally there are 4 other PAC files in the
  170.             \PNA directory, but you should delete these as well, and allow 
  171.             them to be restored from tape, or by copying.
  172.      
  173. STEP 3.  When the Control Databases are restored, you may now run the 
  174.          Palindrome software as you would at any other time.  Other factors
  175.          can affect this.  .  .  
  176.          >> If FS1 is no longer available on the network, and the file 
  177.             histories for FS2/SYS: and FS2/Bindery were stored on FS1, then
  178.             the history location for the FS2 resources must be reconfigured
  179.             to FS2/SYS:, or another location that is available on the network.
  180.             To do this, enter the PNA software, from the System Screen, 
  181.             select Configure - Protected Resources List, and highlight the 
  182.             resource to reconfigure.  With the resource highlighted, press
  183.             enter, then highlight the history location of that resource, and
  184.             press enter again.  The software will present you with dialogs to
  185.             select a new server and volume.  Remember, only servers running
  186.             the Novell Target Service Agent software will be listed as 
  187.             available for this.  
  188.             Once the history location has been reconfigured, you must restore
  189.             the histories from tape, (or copy them from the appropriate
  190.             subdirectory on FS1/SYS:, but since we are assuming that the 
  191.             reason we're doing this is because FS1 is down, we restore from 
  192.             tape.  This is simply a note that copying them over would work).
  193.             To restore histories, tag the resource in the System Screen, and
  194.             select Restore - File History Database.  The software will prompt
  195.             for the appropriate tapes.
  196.             >> For Palindrome 4.0, history location is configured in Resource
  197.                Manager on the configure screen, click on the edit button.
  198.                When history location is reconfigured, again, you must restore
  199.                the history databases from tape, using the Operation Menu, 
  200.                Restore History Database.
  201.  
  202.      Once the Palindrome software installation is back "together", with the
  203. regular hardware installed and running, the control and history databases 
  204. restored and on line, the installation is effectively "moved" to FS2.  If for
  205. any reason you wanted to keep the installation on FS2, and not move it back,
  206. you could do that.
  207.      At this point, you can go ahead and begin the restore of FS2's data as
  208. you would any other server.  However, there are a couple of things that can
  209. cause problems that you need to be aware of.  .  .
  210.      >> If FS1 is no longer available, and you have redirected the histories
  211.         for it's resources to FS2, or another server, when you attempt to 
  212.         view it's files in 3.1's Volume Screen, or 4.0's File Manager, 3.1 
  213.         will not be able to connect to the FS1/SYS: resource.  4.0 will be
  214.         able to display the history information, but not the volume as it is.
  215.         Obviously, you won't be able to restore anything to FS1 in this case.
  216.      >> Once you restore the bindery of FS2, the autologin user will regain
  217.         all of it's old attributes.  Which means, the user you created in
  218.         STEP 1 will be gone, and another user (the original autologin user
  219.         from FS2) will take it's place, with the same username and password.
  220.         Just because the user has the same username and password doesn't mean
  221.         it's the same.  The login script will be back to what it was, and
  222.         the rights and restrictions too.  Be aware of these changes when they
  223.         happen.
  224.      >> If FS1 and FS2 were a NW 4.x network, and you were protecting them 
  225.         with Palindrome version 3.1, the same things apply as above with a
  226.         bindery user, because 3.1 uses bindery emulation when logging into
  227.         NDS.  
  228.      >> If you were forced to restore NDS using the backups, rather than 
  229.         replication, other complex issues are involved that are beyond the 
  230.         scope of this document.  Please see the Palindrome Tech Note, 
  231.         Protecting NW 4.x servers.
  232.  
  233. Bibliography:
  234.  
  235.      This Tech Note covers a relatively simple proceedure with Palindrome 
  236. backup products, however, like many simple proceedures with our software, 
  237. it ends up touching on a large number of other issues which are very complex,
  238. like NDS backup and restore, and hardware installation.  There are other
  239. excellent sources of information on these topics, and they are listed below.
  240.      Other Palindrome Tech Notes are available either in Palindrome Support
  241. Encyclopedia, or the Palindrome BBS, or our forum in Compuserve, 
  242. GO PALINDROME.  The Palindrome BBS is 708-505-3336, 8n1.
  243.  
  244. TN9401 Troubleshooting NLM hangs.
  245.            Hints on server tuning, and instructions for updating NLMs.
  246.        filename TN9401.ASC
  247. TN9402 Creating Archivist user for NW 4.02  
  248.            (NDS issues for PNA 3.1)
  249.        filename TN9402.ASC
  250. TN9404 Moving a 3.1 NLM installation.
  251.            Essentially covers the same proceedure but for 3.1 only.
  252.        filename TN9404.ASC
  253. TN9405 Server Recovery Tech Note (NW 3.1x)
  254.        filename TN9405.ASC
  255. TN9406 Server Recovery Tech Note (NW 4.02)
  256.        filename TN9406.ASC
  257. TN9501 Server Recovery Tech Note (NW 4.1)
  258.             These Tech Notes detail how to recover a NetWare server by
  259.             using a set of two prepared floppy disks, as opposed to
  260.             going through the NetWare installation process first.
  261.         filename TN9501.ASC
  262. Palindrome Certified Devices List
  263.             filename CDL31.ASC and CDL40.ASC
  264. Palindrome Tested Device Driver Configurations List
  265.             filename TSTDRVR.ASC
  266.  
  267. Several sub-proceedures are not described in detail in this tech note, but
  268. are described in your product Manuals.  Where to find these proceedures is
  269. listed below.
  270.  
  271.  
  272. Installation of Backup Hardware:
  273. 3.1 Installation and Support Guide, ch. 2
  274. 4.0 Installation Guide, ch. 1
  275.  
  276. Installation of Palindrome Software:
  277. 3.1 Installation and Support Guide, ch. 3, and 4,
  278. 4.0 Installation Guide,    ch. 2 and 3
  279.  
  280. Restoring Control Databases:
  281. 3.1 User's Guide, p. 1-13, 6-2
  282. 4.0 Administrator's Guide, pp. 1-19 thru 1-21
  283.  
  284. Configuring History Database Location:
  285. 3.1 Reference Guide, p. 2-27, Users Guide, p. 3-18, 3-19, 3-20
  286. 4.0 Administrator's Guide, p. 6-22, 6-32, 6-36, 8-21 thru 8-24, 
  287.  
  288. Restoring History Databases:
  289. 3.1 Users Guide, p. 3-22, 5-15, 6-4
  290. 4.0 Administrator's Guide, 6-18, 
  291.  
  292. Full Restore of a Server:
  293. 3.1 Users Guide,  ch. 6
  294. 4.0 Administrator's Guide, ch. 6
  295.  
  296.  
  297.    
  298.  
  299.  
  300.         
  301.       
  302.  
  303.     
  304.    
  305.    
  306.    
  307.  
  308.  
  309.  
  310.  
  311.