home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / dsenh.exe / REPAIR.DOC < prev    next >
Text File  |  1995-03-03  |  35KB  |  873 lines

  1. NOVELL TECHNICAL INFORMATION DOCUMENT (03/03/95)                
  2.  
  3. DSREPAIR.DOC for DSREPAIR.NLM version 2.21 for NetWare 
  4. 4.0x Servers
  5.  
  6. The DSREPAIR.NLM file version 2.21 for NetWare 4.0x 
  7. servers includes an enhancement that allows for editing replica
  8. rings and printing information about the local database (DIB). 
  9. This document provides you with procedures and examples for
  10. determining when and how to use these enhancements.
  11.  
  12. This document contains important information that is not included
  13. in the NetWare 4.0x manual set or online Help or in the NetWare
  14. 4.0x release notes.
  15.  
  16. The following table of contents is provided for this document:
  17.  
  18. I. Updating the DSREPAIR.NLM File to Version 2.21
  19.      II. Using the DSREPAIR Utility 
  20.           A. Using the Select Options
  21.           B. Beginning the Repair Process
  22.           C. Saving Replica Ring Information
  23.           D. Checking Server Addresses
  24.           E. Checking IDs In a Remote ID Table
  25.           F. Checking Remote IDs In Replica Rings
  26.           G. Moving NetWare 4.0x Servers to the Correct Tree
  27.           H. Verifying Backlinks and External References
  28.      III. Using the DSREPAIR Utility to Edit the Replica Rings
  29.            A. Using the Ring Repair Menu
  30.                1. Changing the Replica Type of a Server Replica
  31.                   to the MASTER 
  32.                2. Editing the Replica Ring for a Partition
  33.            B. Example of Repair Method
  34.  
  35. ================================================================
  36.  
  37. I. Updating the DSREPAIR.NLM File to Version 2.21
  38.  
  39. The DSREPAIR.NLM file version 2.21 is included in this package.
  40. This utility is supplied in an English-only version. You should
  41. copy the DSREPAIR.NLM file to all NetWare 4.0x servers that will
  42. run the DSREPAIR utility.
  43.  
  44.      Prerequisites
  45.  
  46.      Access to the server console or Supervisory rights to the
  47.      SYS:SYSTEM directory.
  48.  
  49.      Procedure 
  50.  
  51.     1. COPY the DSREPAIR.NLM file to the SYS:SYSTEM directory on
  52.        every NetWare 4.0x server that you want to run the 
  53.        utility. 
  54.  
  55.  
  56. II. Using the DSREPAIR Utility 
  57.  
  58. The DSREPAIR console command utility is provided with NetWare 
  59. 4.0x software to repair problems with NetWare Directory Services
  60. (NDS) on a single-server basis. It does not correct problems on
  61. other servers from a single, centralized location. It must be 
  62. run on each server that you want to correct Directory database
  63. errors on. 
  64.  
  65. IMPORTANT: DSREPAIR affects only the parts of the database 
  66. stored on the server where you run it. To fix the entire 
  67. database, you must run the utility on each server which contains
  68. a part of the database.
  69.  
  70. This utility checks and repairs the partitions and replicas 
  71. stored on the server where you run it. The utility also checks
  72. and repairs NDS records, schema, bindery objects, and external
  73. references.
  74.  
  75. Some NDS database problems are not fatal, and NDS continues to
  76. operate. But if the database becomes corrupted, you get a 
  77. message on the console that the server could not open the local
  78. database. In this case, run DSREPAIR or reinstall the NDS 
  79. database to fix the problem so that the database can be opened.
  80.  
  81.      Procedure
  82.  
  83.      1. At the server console prompt, run DSREPAIR by typing
  84.         dsrepair <Enter>
  85.  
  86.         The utility locks the database and displays the 
  87.         following menu options:
  88.  
  89.         1)Select Options           View current DSREPAIR 
  90.                                    settings and select options
  91.                                    from the following table. 
  92.                                    (When an option is on, an
  93.                                    asterisk appears at the left
  94.                                    of the option.)
  95.  
  96.         2)  Begin Repair           Starts the repair process.
  97.  
  98.         3) Save Replica Ring       Allows you to save the
  99.            Information             replica ring information
  100.                                    that you changed in the 
  101.                                    replica ring editor. 
  102.  
  103.         4)Check Server Addresses   Checks the network address 
  104.                                    of every server known to this
  105.                                    server with an address from 
  106.                                    SAP and verify that the 
  107.                                    network address is correct. 
  108.  
  109.         5) Check IDs In Remote    Checks the remote server ID
  110.            ID Table                table and repair it. 
  111.  
  112.         6) Check Remote IDs In     Contacts each server in each
  113.            Replica Rings           partition root's replica ring
  114.                                    for every partition root on 
  115.                                    this server.
  116.                                                                   
  117.         7) Move This Server To     Assists NetWare 4.01 and 
  118.            The Correct Tree        NetWare 4.02 servers to
  119.                                    identify the correct tree
  120.                                    they reside in after a tree
  121.                                    merge or tree name rename
  122.                                    operation using the 
  123.                                    DSMERGE.NLM.
  124.  
  125.         8) Verify Backlinks and    Prepares a NetWare 401 or
  126.            External References     NetWare 4.02 server for
  127.                                    upgrading to Netware 4.1.
  128.  
  129.  
  130.      A. Using the Select Options
  131.  
  132.      The Select Options allows you to configure DSREPAIR for 
  133.      your particular environment and repair needs. Each option
  134.      has an active and inactive function that you can select. 
  135.      You toggle between the active or inactive function for 
  136.      each option by typing the letter that corresponds with the
  137.      option. An astrick (*) is placed by the left side of each
  138.      option when activated.
  139.  
  140.      The following table list and defines the available options:
  141.  
  142.      Option 1) Pause after each error/
  143.                Do not pause after each error 
  144.  
  145.                Cause DSREPAIR to pause after each error.
  146.  
  147.      Option 2) Unattended repair/
  148.                Do not exit automatically upon completion 
  149.  
  150.                Causes DSREPAIR to operate in unattended mode
  151.                (DSREPAIR runs and exits without intervention).
  152.                You can also set this option by using the -U 
  153.                switch on the command line.
  154.  
  155.      Option 3) Log errors to a file/
  156.                Do not log errors to a file 
  157.  
  158.                Designates a file where errors are logged. 
  159.                (Default: SYS:SYSTEM\DSREPAIR.LOG.) (You can 
  160.                also specify a file by using the -L log_filename
  161.                on the command line. Turn this option off if you
  162.                don't want to log errors.)
  163.  
  164.      Option 4) New Replica Ring Editor Feature/
  165.                Do not repair replica ring 
  166.  
  167.                Causes DSREPAIR to display the Replica Repair 
  168.                Menu. See "Using the DSREPAIR Utility to Edit the
  169.                Replica Rings" for more information.
  170.  
  171.      Option 5) Check for valid mail directories/
  172.                Do not check for valid mail directories 
  173.  
  174.                Causes DSREPAIR to check SYS:MAIL for 
  175.                subdirectories that must have the name of user 
  176.                IDs in the NDS database. If an object 
  177.                with the ID of the directory name does not exist,
  178.                the mail directory with that ID is removed.
  179.  
  180.      Option 6) Check file system for valid trustee IDs/
  181.                Do not check file system for valid trustee IDs
  182.  
  183.                Causes DSREPAIR to check the file system for 
  184.                valid trustees. DSREPAIR makes sure that every
  185.                ID in the file system has a corresponding valid
  186.                ID in the NDS database. If not, the ID is purged
  187.                from the database. This operation might take
  188.                considerable time, depending on the size and 
  189.                number of volumes.
  190.  
  191.      Option 7) Check for valid stream files/
  192.                Do not check for valid stream files 
  193.  
  194.                Causes DSREPAIR to check for valid stream files.
  195.                DSREPAIR checks the NDS secure file area for 
  196.                valid stream files that must correspond to stream
  197.                properties of objects. If not, the stream file is
  198.                deleted.
  199.  
  200.      Option 8) Return to the main menu.
  201.  
  202.  
  203.      B. Beginning the Repair Process
  204.  
  205.      The repair process uses the option settings made in the
  206.      "Select Options" menu. If the DSREPAIR utility finds any
  207.      correctable problems, the changes are made in a temporary
  208.      file set.
  209.  
  210.      When checking is completed, a prompt appears asking you 
  211.      if you want to save the temporary file set even if no 
  212.      errors were reported. To save the database, select "Yes"
  213.      at the prompt.
  214.  
  215.      If you save the changes, the "Invalid Trustee" check is
  216.      performed on the mounted volumes. If trustee assignments
  217.      exist for objects that have been deleted from the database,
  218.      the trustee's rights are deleted from the file system.
  219.  
  220.      When the repair process is complete, the message "Repair
  221.      process completed" appears.
  222.  
  223.  
  224.      C. Saving Replica Ring Information
  225.  
  226.      Saving the replica ring information allows you to keep a
  227.      record of all the servers within a particular replica ring.
  228.      You can display or print out this information to a log file
  229.      (Default filename is SYS:SYSTEM\DSREPAIR.LOG).
  230.  
  231.  
  232.      D. Checking Server Addresses
  233.  
  234.      This option will check the network address of every server
  235.      found in the database with an address from SAP (Service
  236.      Advertising Protocol) and verify that the network address
  237.      is correct. If an NCP_SERVER class object does not have a
  238.      NETWORK_ADDRESS property, one will be added. 
  239.  
  240.      NDS servers advertise their presence to other servers using
  241.      SAP packets which contain their name and address.
  242.  
  243.      If the address in incorrect, it will be replaced with the
  244.      address from SAP. 
  245.  
  246.      Also, all replica rings are searched to find the server that
  247.      the address is being verified for, and the address in the
  248.      replica property is also checked. If the address is
  249.      incorrect, a warning message is generated and displayed. 
  250.      A future version of the DSREPAIR utility will repair the
  251.      address in the replica property.
  252.  
  253.      NOTE: The local servers database is not locked while this
  254.      operation is performed. 
  255.  
  256.  
  257.      E. Checking IDs In a Remote ID Table
  258.  
  259.      This option checks the remote server ID table and 
  260.      repairs it. 
  261.  
  262.      NOTE: The local servers database is not locked while this
  263.      operation is performed. 
  264.  
  265.      The remote server ID table contains a list of ID pairs.
  266.      The first ID (local ID) is the ID of a server in the 
  267.      Directory tree. The second ID (remote ID) is the ID of 
  268.      the server you are running DSREPAIR on as it exists in 
  269.      the remote server's database. 
  270.      
  271.      Because ID numbers are specific and unique to each server,
  272.      the ID of the server in another server's database will
  273.      probably be different for every server. This server
  274.      identifies itself to other servers by using the ID from
  275.      the other servers' local database.
  276.  
  277.      If DSREPAIR cannot connect to the other server (identified
  278.      in the local database by the Local ID) then no further
  279.      checking is performed. 
  280.  
  281.      If a server no longer exists in the tree, then the server
  282.      object for that server should be deleted. Any external
  283.      references to the server object it are purged when the
  284.      backlink process cannot resolve the object. This may take 
  285.      one or two days' time to resolve.
  286.  
  287.      As the server object and the external references to it are
  288.      deleted, the local server ID is deleted from the table.
  289.      If the deleted servers persist in the ID list, there is 
  290.      some other problem causing the ID checking to fail. If the
  291.      server is down, then it will be checked later if the 
  292.      repair is run again when the server is back online. 
  293.  
  294.      DSREPAIR will verify that the remote ID is correct and 
  295.      then read the remote servers public key, and authenticate
  296.      to the remote server. If the remote server's object is an
  297.      external reference on the remote servers database, then it
  298.      will report error -631 reading the public key. This is 
  299.      because you cannot read a property of an external reference
  300.      remotely. Therefore, this is not a problem. The connection
  301.      should still authenticate. If the authentication fails, 
  302.      then there is a damaged key somewhere within the tree. 
  303.      This will be addressed in a future release of DSREPAIR. 
  304.  
  305.      If the remote ID resolves to a server other than this one
  306.      in the remote database, it may be because a rename or move
  307.      has occurred and the Distinguished Name of this server has
  308.      changed on the other server. 
  309.  
  310.      If the remote ID does not seem to be this server's remote
  311.      ID, DSREPAIR attempts to resolve this server's name on the
  312.      remote server and put the correct ID in the remote ID 
  313.      table. If the server can authenticate, then the procedure 
  314.      worked and the table has been repaired.
  315.  
  316.      If the local ID cannot be resolved in the local database,
  317.      then the ID pair is deleted. 
  318.  
  319.      F. Checking Remote IDs In Replica Rings
  320.  
  321.      This option will contact each server in the partition
  322.      root's replica ring. This is done for every partition 
  323.      root on this server. 
  324.  
  325.      NOTE: The local servers database is not locked while this
  326.      operation is performed. 
  327.  
  328.      The replica property contains an ID (local ID) for a remote
  329.      server and the ID (remote ID) of the partition root in that
  330.      server's database. 
  331.  
  332.      DSREPAIR will verify that the remote partition ID is valid
  333.      and if it is not, it will try to repair the remote ID or
  334.      delete the server from the replica ring. 
  335.  
  336.      G. Moving NetWare 4.0x Servers to the Correct Tree
  337.  
  338.      When a tree merge or tree rename operation is performed
  339.      in a Netware 4.1 Directory tree that contains servers 
  340.      running NetWare version 4.01 and 4.02, you might need to
  341.      identify the correct tree on the NetWare 4.0x servers after
  342.      the operation is completed.
  343.  
  344.      If a NetWare 4.02 server is up and can communicate the 
  345.      NetWare 4.1 server that is running DSMERGE, then the 
  346.      tree should rename properly on the NetWare 4.02 server. 
  347.  
  348.      If a 4.01 server is in the tree, it will rename its tree
  349.      name, and then it will stop communicating with other 
  350.      servers. 
  351.  
  352.      To resolve this, down the server and bring it up again,
  353.      or run this DSREPAIR and select the "Begin Repair" option
  354.      to repair the local database. 
  355.  
  356.      If either the 4.01 or 4.02 server is down during a rename 
  357.      tree or a merge tree operation, they will not be able to
  358.      change their tree name when they are booted again. This 
  359.      only affects the servers in the source tree during a merge
  360.      tree since servers in the target tree do not change their 
  361.      tree name during a merge. The source tree is the one that 
  362.      the DSMERGE.NLM is running on.
  363.  
  364.      To fix servers running NetWare 4.0x that cannot find the
  365.      correct tree name after they are brought back up, run the
  366.      "Moving NetWare 4.0x Servers to the Correct Tree" option. 
  367.      A list of all the tree names found in SAP are displayed. 
  368.  
  369.      You should then select the tree that the server belongs to.
  370.      You are then asked to login to the tree to verify that you
  371.      have rights to perform this operation. Login as the ADMIN
  372.      user or a user that has similar rights. Then the server
  373.      attempts to authenticate to the tree, and if this is
  374.      successful, the tree name for the server is changed. 
  375.  
  376.      H. Verifying Backlinks and External References
  377.  
  378.      This option is used to check a Directory database before
  379.      upgrading a NetWare4.01 or NetWare 4.02 server to 
  380.      Netware 4.1. 
  381.  
  382.      External references are local place holders for objects
  383.      that reside in partitions stored on other servers in the
  384.      Directory tree. These external reference objects are 
  385.      required locally because they have been referenced by the
  386.      file system or an object in a local partition. 
  387.  
  388.      Backlinks are pointers on local objects to servers that
  389.      contain an external reference of that object. NDS maintains
  390.      the backlinks and external references, and typically 
  391.      removes them when they are no longer needed. There are 
  392.      occasions however that these items either have not yet been
  393.      removed or have failed to be removed. 
  394.  
  395.      External references and their associated real objects on
  396.      another server can have different creation time stamps. 
  397.      This is not abnormal behavior in Netware 4.01 and 
  398.      NetWare 4.02 environments. 
  399.  
  400.      Netware 4.1 however uses these timestamps differently and
  401.      requires an external reference and the actual object to 
  402.      have identical creation time stamps. 
  403.  
  404.      This option examines the local database integrity with 
  405.      regard to external references and backlinks and removes
  406.      them when possible. Any timestamp mismatch is recorded in
  407.      the DSREPAIR.LOG file. This option should be used and the
  408.      log file examined to be sure there are no problems reported
  409.      in the local database before upgrading to Netware 4.1. 
  410.  
  411.  
  412. III. Using the DSREPAIR Utility to Edit the Replica Rings 
  413.  
  414.      The DSREPAIR utility version 2.21 allows you to resolve
  415.      errors that occurred because the MASTER replica for
  416.      a partition is lost or a server within a specific 
  417.      replica ring no longer exists in the Directory tree. The
  418.      errors occur primarily during partitioning operations such
  419.      as join and split.
  420.  
  421.      Use the DSREPAIR utility at the system console prompt to
  422.      designate a MASTER replica and edit the replica rings for a
  423.      partition.
  424.  
  425.      
  426.      Procedure
  427.  
  428.      1. At the server console prompt, run DSREPAIR by typing
  429.  
  430.         dsrepair <Enter>
  431.  
  432.      2. To set options for editing the replica ring, type "1".
  433.  
  434.      3. Select "New Replica Ring Editor Feature" option by
  435.         typing number "4."
  436.  
  437.      4. Select option "8" to return to the main menu.
  438.  
  439.      5. At the main menu screen, type "2" to begin checking
  440.         the database.
  441.  
  442.         Changes are saved in a temporary file set until all of
  443.         the partitions and replicas on the server are checked. 
  444.  
  445.         Following the local database repair, the "Ring Repair
  446.         Menu" appears if replicas exist on the server.
  447.  
  448.  
  449.      A. Using the Ring Repair Menu
  450.  
  451.      The "Ring Repair Menu" displays a list of all replica root
  452.      objects stored on the server. The list may include the
  453.      following replica types:
  454.  
  455.      MASTER
  456.      SECONDARY
  457.      READ-ONLY
  458.      SUBORDINATE
  459.  
  460.      Each replica is assigned a unique number which appears on
  461.      the left side of the screen. You should record the unique
  462.      number that corresponds to the replica that you want 
  463.      to edit.
  464.  
  465.      If more replicas are found than can be displayed on the
  466.      first screen, you will be prompted to press a key to see
  467.      the next screen until the list is completely displayed.
  468.  
  469.      When the list is complete, you are prompted to select a
  470.      replica by typing in the unique number of the replica,or
  471.      type "0" (zero) to exit and continue with the repair. 
  472.  
  473.      When you select a replica, the following options appear:
  474.  
  475.      1)   Change Replica Type to Master
  476.      2)   Edit Replica Ring 
  477.  
  478.      
  479.      1. Changing the Replica Type to MASTER
  480.  
  481.         Changing a replica type to a MASTER is used to select
  482.         a new MASTER replica for a partition that has lost the
  483.         MASTER replica. 
  484.  
  485.         You can lose a MASTER replica by
  486.  
  487.         - Uninstalling the server containing the MASTER replica
  488.           from the Directory tree.
  489.  
  490.         - The server containing the MASTER replica is damaged or
  491.           destroyed. 
  492.  
  493.         Without a MASTER replica, partition operations such as
  494.         split and join cannot be performed. This is because all
  495.         workstation utilities that perform partition operations
  496.         contact the MASTER replica of a partition first to
  497.         schedule these operations. 
  498.  
  499.         The replica contained on the server you are running the
  500.         DSREPAIR utility will be changed to the new MASTER
  501.         replica for a particular partition if the servername
  502.         exists in the replica ring for that partition. If you
  503.         want to set some other server that has a replica of the
  504.         partition as the server containing the MASTER replica,
  505.         you should run DSREPAIR on that server. 
  506.  
  507.         The following conditions exist for changing replicas to
  508.         the MASTER replica for:
  509.  
  510.         SECONDARY or READ-ONLY
  511.  
  512.              You should change only SECONDARY or READ-ONLY
  513.              replicas become a MASTER replica.
  514.  
  515.              If another server is found in the replica ring
  516.              that contains the MASTER replica for a given
  517.              partition, it is changed to a SECONDARY. 
  518.  
  519.              If the server that originally contained the MASTER
  520.              replica is reintroduced into the Directory tree
  521.              (comes back on line), the new replica ring with the
  522.              new MASTER replica information will over-write the
  523.              old one. The original server that contained the
  524.              MASTER replica is changed to contain a SECONDARY 
  525.              partition in the replica ring table.
  526.  
  527.         SUBORDINATE
  528.  
  529.             Only in the case of a complete loss of all replicas
  530.             (MASTER, SECONDARY, READ-ONLY) for a given 
  531.             partition, should you change a SUBORDINATE replica
  532.             to a MASTER.
  533.  
  534.             SUBORDINATE replicas exist as reference partition
  535.             roots for the partition; however, these are not
  536.             real replicas of the partition. 
  537.  
  538.             Because SUBORDINATE replicas are only reference
  539.             points, there are no copies of the objects, their
  540.             properties, or their data left in the Directory
  541.             tree. 
  542.  
  543.             There may however be external reference objects
  544.             subordinate to the SUBORDINATE reference partition
  545.             roots that contain the names of the objects. These
  546.             external reference objects were created on these
  547.             servers because they needed object IDs to grant
  548.             rights to the file system for these objects. 
  549.  
  550.             You will be able to see the partition with the
  551.             workstation utilities; however, partition operations
  552.             will fail, and when you try to view the servers that
  553.             contain replicas of the partition, none will be
  554.             displayed. This is because the workstation 
  555.             utilities do not show servers with SUBORDINATE type
  556.             partition roots. 
  557.  
  558.             When you select a SUBORDINATE replica to be changed
  559.             to the MASTER, a message appears alerting you to run
  560.             DSREPAIR again on this server. This is because the
  561.             subordinate reference objects that were contained by
  562.             the SUBORDINATE replica are now subordinate to a 
  563.             MASTER replica. This is an illegal condition in the
  564.             Directory database.
  565.  
  566.             When DSREPAIR runs again, it will change the 
  567.             external reference objects to real objects with
  568.             a base class of "unknown." Be aware that DSREPAIR
  569.             generates a lot of errors on the objects in this
  570.             replica when this takes place. 
  571.  
  572.             At this point, you have a MASTER replica of the
  573.             partition, and it contains some but probably not all
  574.             of the objects that were in the original replica.
  575.             However, hese objects all have the object class of
  576.             "unknown," and they have no properties or data.
  577.             You can restore the replica from a tape drive with
  578.             SMS, which restores all the properties and data for
  579.             these objects, or to clean up the tree, delete all
  580.             the objects in the replica. Then join the partition
  581.             root object with the parent partition, which changes
  582.             the object from a partition root to just a
  583.             container, and then delete the container object. 
  584.  
  585.             When the deletion is complete, you are returned to
  586.             the list of replicas. You can select another replica
  587.             and perform the operation again. 
  588.  
  589.             Selecting "0" (zero) returns you to the main repair
  590.             screen. 
  591.  
  592.             When the change is completed, a prompt appears
  593.             asking you if you want to save the changes.
  594.  
  595.             Decide if you want to make changes to the database.
  596.  
  597.             To change the database, select "Yes" at the prompt.
  598.  
  599.             If you save the changes, the utility then does an 
  600.             "Invalid Trustee" check on the mounted volumes. If
  601.             trustee assignments exist for objects that have been
  602.             deleted from the database, the trustee's rights are 
  603.             deleted from the file system.
  604.  
  605.             When the repair process is complete, the message
  606.            "Repair process completed" appears.
  607.  
  608.  
  609.      2. Editing the Replica Ring for a Partition
  610.  
  611.         Editing the replica ring for a partition is primarily
  612.         modifying a list of all the servers that contain a
  613.         replica of a given partition. 
  614.  
  615.         You should edit the replica ring if any server
  616.         containing a replica of a partition is uninstalled
  617.         or does not exist in the Directory tree. Examples of
  618.         this condition are as follows:
  619.  
  620.         - The server was properly removed from the Directory
  621.           tree with the INSTALL.NLM utility. 
  622.  
  623.         - The server object was deleted; however, some
  624.           references to the server object still exist because
  625.           of tree or synchronization failures.
  626.  
  627.         - A server was physically damaged or removed from the
  628.           tree without being uninstalled.
  629.  
  630.         These conditions will commonly generate the -625 error
  631.         on the NDS server console when the SET DSTRACE=ON
  632.         command is enabled. The -625 error prevents
  633.         synchronization from completing properly because NDS
  634.         attempts to updated all servers in a replica ring with
  635.         the latest information. This error also prevents objects
  636.         marked for deletion from being purged, because all 
  637.         servers in a replica ring must be informed of a
  638.         deletion.
  639.  
  640.         You should edit the replica ring and delete any server
  641.         that no longer exists in the Directory tree. 
  642.  
  643.         When editing the replica ring, the following information
  644.         is available:
  645.  
  646.         - A list of all servers that contain a replica are
  647.           displayed
  648.  
  649.         - A unique number is assigned to each server
  650.  
  651.         - The type of replica on that is contained on a server
  652.           for that partition
  653.  
  654.         - The servers Directory Name
  655.  
  656.         - The current status or the server in the replica ring
  657.           ("Present" or "Deleted")
  658.  
  659.         You can delete a server from the replica ring by typing
  660.         in the unique number that corresponds with the
  661.         servername. After a server is deleted from the ring, it
  662.         cannot be added again. 
  663.  
  664.         CAUTION: If you delete a server that still exists in the
  665.         Directory tree, that server will no longer be
  666.         synchronized with the Directory database. 
  667.  
  668.        If you make a mistake and delete the wrong server, exit
  669.        the ring editor by selecting "0" (zero) at each prompt,
  670.        and return to the main repair screen. When you are
  671.        prompted to save the database (DIB), select "N" for NO
  672.        and run DSREPAIR again to access the ring editor and make
  673.        the correct selection. 
  674.  
  675.        You may want to check the ring of each replica on this
  676.        server. This is the only way to be sure that the failed
  677.        server has been removed from all replica rings. 
  678.  
  679.        When the deletion is complete, you are returned to the
  680.        list of replicas. You can select another replica and
  681.        perform the operation again. 
  682.  
  683.        Selecting "0" (zero) returns you to the main repair
  684.        screen. 
  685.  
  686.        When checking is completed, a prompt appears asking you
  687.        if you want to save the changes.
  688.  
  689.        Decide if you want to make changes to the database.
  690.  
  691.        To change the database, select "Yes" at the prompt.
  692.  
  693.        If you save the changes, the utility changes the
  694.        database and then does an "Invalid Trustee" check on the
  695.        mounted volumes. If trustee assignments exist for objects
  696.        that have been deleted from the database, the trustee's
  697.        rights are deleted from the file system.
  698.  
  699.        When the repair process is complete, the message "Repair
  700.        process completed" appears.
  701.  
  702.        WARNING: If you remove a server from the replica ring
  703.        that still has a replica of the partition, you will need
  704.        to contact a Novell Technical Support representative to
  705.        correct the problem.
  706.  
  707.  
  708.      B. Example of Repair Method
  709.  
  710.      Problem: A Server that Was Not Properly Removed
  711.  
  712.      Scenario: The server SERV3-MASTER was deleted from the tree
  713.                for several months but still appeared in the
  714.                DETROIT partition ring on server SERV4-MASTER.
  715.                The DS console screen on a server in the same
  716.                partition is generating -625 errors.
  717.  
  718.      The DS console screen appears as follows:
  719.  
  720.           SYNC: Start sync of partition OU=DETROIT. 
  721.  
  722.           2D52D8D6:967 SYNC: Start outbound sync with server
  723.           <CN=SERV1-> 
  724.  
  725.           2D52D8D6:239 SYNC: Start outbound sync with server 
  726.           <CN=SERV2->
  727.  
  728.           2D52D8D7:052 SYNC: Start outbound sync with server 
  729.           <CN=SERV3-> 
  730.  
  731.           2D52D90F:402 (16:23:59) SYNC: failed to communicate
  732.           with server <CN=SERV3-> ERROR: -625 
  733.  
  734.           2D52D914:962   SYNC: End sync of partition OU=DETROIT.
  735.           All processed = NO. 
  736.  
  737.      To remove SERV3-MASTER from the ring, you should complete
  738.      the following steps:
  739.  
  740.      Procedure
  741.  
  742.      1. Run the DSREPAIR.NLM on SERV4-MASTER
  743.  
  744.      2. Select option 1 from the main menu for selection
  745.         options.
  746.  
  747.      3. From the Selections Menu, choose option "4," "Repair
  748.         replica ring with manual editor" by typing "4."
  749.  
  750.         You are returned to the Main Menu.
  751.  
  752.      4. Select Option 2 to start the repair process.
  753.  
  754.         After running DSREPAIR, the following screen appears:
  755.  
  756.         Replica Type Name 
  757.  
  758.         19     SECONDARY       "OU=UGH" 
  759.         20     MASTER          "OU=DETROIT" 
  760.         21     MASTER          "OU=FOO"
  761.         22     SUBORDINATE     "OU=DOSFISH" 
  762.  
  763.      5. Choose the DETROIT partition ring by typing 
  764.  
  765.         20 <Enter>. 
  766.  
  767.         You can now change the replica on the server to the
  768.         MASTER or modify the replica ring. This example
  769.         demonstrates how to modify the replica ring.
  770.  
  771.         The following screen apprears: 
  772.  
  773.         NetWare 4.01 Directory Services Repair Utility 
  774.  
  775.         You selected replica: OU=DETROIT 
  776.         Press "1" to set this server as MASTER in the replica
  777.         ring. 
  778.  
  779.         Press "2" to manually edit the replica ring. 
  780.  
  781.         Enter selection, or "0" to quit: 2 
  782.  
  783.      6. Select option 2 to manually edit the replica ring by
  784.         typing 2.
  785.  
  786.         This following screen appears which displays the current
  787.         servers that are associated with the DETROIT partition
  788.         ring. The server SERV3- is still present. 
  789.  
  790.         NetWare 4.01 Directory Services Repair Utility 
  791.  
  792.         Select a server in the ring of partition: OU=DETROIT 
  793.  
  794.         Number  State    Type         Server 
  795.  
  796.         1       Present  MASTER       CN=SERV4-
  797.         2       Deleted  SUBORDINATE  CN=WARLOCKS
  798.         3       Present  SUBORDINATE  CN=SERV3-
  799.         4       Present  SUBORDINATE  CN=SERV2- 
  800.         5       Present  SUBORDINATE  CN=SERV1-
  801.  
  802.         Enter the number of the server to delete, or "0" to
  803.         quit: 3 
  804.  
  805.     7.  Select SERV3- (number 3) from the ring by typing 3.
  806.  
  807.         This deletes the server from the replica ring and the
  808.         following screen appears:
  809.  
  810.         NetWare 4.01 Directory Services Repair Utility 
  811.  
  812.         Select a server in the ring of partition: OU=DETROIT 
  813.  
  814.         Number  State    Type         Server 
  815.  
  816.         1       Present  MASTER       CN=SERV4-
  817.         2       Deleted  SUBORDINATE  CN=WARLOCKS
  818.         3       Deleted  SUBORDINATE  CN=SERV3-
  819.         4       Present  SUBORDINATE  CN=SERV2- 
  820.         5       Present  SUBORDINATE  CN=SERV1-
  821.  
  822.         Enter the number of the server to delete, or "0" to
  823.         quit: 0 
  824.  
  825.      8. Exit the replica ring editor by typing "0" (zero). 
  826.  
  827. ================================================================
  828. Disclaimer     
  829.  
  830. Novell, Inc. makes no representations or warranties with respect
  831. to the contents or use of this document, and specifically
  832. disclaims any express or implied warranties of merchantability
  833. or fitness for any particular purpose. Further, Novell, Inc.
  834. reserves the right to revise this publication and to make 
  835. changes to its content, at any time, without obligation to
  836. notify any person or entity of such revisions or changes.
  837.  
  838. Novell, Inc., makes no representations or warranties with
  839. respect to any NetWare software, and specifically disclaims any
  840. express or implied warranties of merchantability, title, or
  841. fitness for a particular purpose.  Distribution of any 
  842. NetWare software is forbidden without the express written
  843. consent of Novell, Inc.
  844.  
  845. Further, Novell reserves the right to discontinue distribution
  846. of any NetWare software. 
  847.  
  848. Novell is not responsible for lost profits or revenue, loss of
  849. use of the software, loss of data, costs of recreating lost
  850. data, the cost of any substitute equipment or program, or claims
  851. by any party other than you.
  852.  
  853. Novell strongly recommends a backup be made before any software
  854. is installed. Technical support for this software may be
  855. provided at the discretion of Novell.
  856.  
  857. Trademarks
  858.  
  859. Novell, Inc. has attempted to supply trademark information about
  860. company names, products, and services mentioned in this
  861. document.
  862.  
  863. The following list of trademarks was derived from various
  864. sources.
  865.  
  866. Novell and NetWare are registered trademarks NetWare 4.01,
  867. NetWare 4.02, NetWare 4,NetWare Client, NetWare Directory
  868. Services and NDS, and NLM are trademarks of Novell, Inc.
  869.  
  870. All other products and company names are trademarks or
  871. registered trademarks of their respective holders.
  872.  
  873.