Schema Compare Utility


Schema Compare (SchCmp) compares the schema of two servers.

For NetWare 4.11

Installation Instructions

Copy SCHCMP.EXE to the SYS:\PUBLIC directory on your server.


Schcmp serverA [serverB] [/C | /A | /S]


     /C List or compare class definitions.
     /A List or compare attribute definitions.
     /S List or compare syntax definitions.

Product Description

Schcmp (32-bit) displays the schema of serverA or compares serverA with serverB and displays their differences. serverA and serverB may be a server name, or a server list file(.LST), or a schema reference file(.REF).

Server List File Syntax:

A server list file (.LST) is a text file of server names. A semicolon(;)may be used to add comments. An example of a .LST file is included with this self-extracting file. NLIST may be used to create a server list file:

     NLIST server /n /b> server.lst

This command will list all servers seen on the network and redirect the information to a file named server.lst. Server.lst must then be edited to remove everything but the server names (NLIST adds information before and after the list of servers.

Schema Reference File Syntax:

A schema reference file (.REF) is a text file of a schema definition. A semicolon(;) can be used to add comments. A reference file can most easily be created by listing the schema of a server and redirecting the output to a file.

     Schcmp my_server> base.ref

Several reference files are included with this self-extracting file.

Enhancements, Bug Fixes

- Fixed cosmetic problem with the whirlygig.
- Enhanced error messages to display the NDS -600 errors AND hex values.
- Enhanced authentication, so you only need to be attached to a server on the network.
- Enhanced ERRORLEVELs to return 0 if no errors occur and 1 if there are differences. This allows a batch file to check the ERRORLEVEL (see the included file SAMPLE.BAT)

Frequently Asked Questions

Q: Why use Schema Compare?

A: Schema Compare has many uses, some of which are:
     1) Display a servers' schema.
     2) Store a server's schema in a reference file (*.REF). Later compare the file against the server to detect changes.
     3) Compare a server's schema against all other servers in the tree (*.LST).
     4) Compare the schema of a server against a reference file. For example, how does my server's schema differ from the schema of a newly installed 4.11 server.

Q: How does Schema Compare differ from Schema Manager?
A: Schema Manager works on a tree level. It assumes the tree is healthy, and therefore, can modify the schema. Schema Compare works on a server level, it makes no assumptions about the tree, and therefore, can NOT modify the schema.

Q: Why do the schema of servers in the same tree differ?
A: A schema is stored on every server. In a healthy tree, all servers have an identical schema. If the schema needs to be extended, such as installing GroupWise 5, the extensions must be added to the server holding the master of the Root partition. This server passes the changes to the rest of the servers in the tree. Schema differences may occur if this synchronization fails. This may happen for many reasons, but the most common reasons are:
     1) Servers are down
     2) Communication problems between servers
     3) Database corruption

Q: Should I use Schema Manager to fix discrepancies between the schema of servers?
A: No. Care should be taken to ensure that all servers are up and communicating. Time then needs to be given for the synchronization to occur. If the discrepancies still persist then contact your dealer/integrator or Novell Technical Support. The schema is a vital piece of Directory Services. Any changes to the schema may cause unexpected results.


How To-Best Practice
Comment List