Novell Home

Understanding the DSRepair Function: "Rebuild Operation Schema"

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 8 Apr 2002
 

Here's some new information from the support team regarding an often used but seldom understood DSRepair function. Read on to be enlightened.

To get updates and full details on this tip, see TID-10069531.

Rebuild Operation Schema is commonly run by Novell Support individuals, customers, and consultants. When running this repair it is critical that you understand exactly why or why not to use this option.

The main issues with "rebuild operational schema" are:
  (1) flags, and
  (2) rules changes
that customers may have done to their tree schema in order to get their customized or third-party applications working "correctly".

By default, when this option is selected we force the local dib schema to comply with what the current loaded DS knows to be its original schema definitions (i.e., flags, rules, OIDs, boundaries, etc.), we leave additions to rules alone, but would add back any removed original rule to the class being checked.

If the current flags found in the dib don't match what the loaded DS believes to be the real definitions, we change them to comply with it. However, this action may have an undersirable consequence for applications the customer may have installed.

An advanced mode "no flag" check allows DSRepair to rebuild the operational schema without modifying any flags that may have been changed by the customer or his/her specific application. This flag is the (-anf) switch.

We only addressed flags because there were few choices to allow for removing or putting back flags on schema attributes/classes that were simple to use. As we all know, we can now use schema editors to add or remove rules without much effort, so no switch was provided for those type of changes.

In essence, we want to give customers the flexibility of making changes in an educated manner but still give him/her the option to fix their trees if such modifications were to cause problems.

How do you know if Rebuild Operational Schema is safe for your environment?

In the Local database repair, you deselect everything but: "Use temporary NDS database during repair?" -> YES, and "Rebuild operational schema?" -> YES. You will then see what changes DSRepair is planning on doing to the dib set and have the option to accept the changes or not. Using iMonitor/DSBrowse, you can then check the proposed changes to see if they would indeed affect working applications on your servers and decide whether or not you should save the changes.

Once you have determined whether these changes would adversely affect your system you will know whether or not to run the repair.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell