|
Info Guide NET001: NetWare 4.01 Recommendations
(15th April 1994) Checking the NDS Revision Level NetWare 4.01 was shipped with DS.NLM at revision level 290. However, all NetWare 4 servers must be patched to use the 296 level of NDS. This is the most important service change to enhance NDS reliability. The patch to upgrade from 290 to 296 level of DS.NLM is called DSPAT2.EXE, and it is applied to the SERVER.EXE. (DSPAT2.EXE is available on Apricot Insight BBS AREA37 as part of 401PT1.EXE, a self-extracting file containing a number of NetWare 4.01 patches and up dates. The revision level of Directory Services on any server can be determined by using the MODULES command at the server prompt. The change level is in parentheses following the module name, as shown below:
Other NetWare 4 Patches and Updates It is beneficial to keep up to date on the latest patches and updates for NetWare 4. An up-to-date list of all NetWare patches can be found in the following file:
Since the release of NetWare 4.01, several fixes to Directory Services have been made. These and a number of other patches have recently been consolidated into the following file:
We strongly suggest you apply this group of patches for NetWare 4.01. Allow time for the Directory to synchronise. Often not enough time is allowed for the Directory to synchronise after changes are made. Any significant operation, such as placing a new replica on a server, removing a replica, or rebuilding a replica from the master, can require some time to complete because of the large amounts of data that are exchanged between replicas. The time required to complete the operation is largely a function of the available bandwidth in the network, the size of the replicas, the number of replicas, and the state of servers and links. Novell have experienced times ranging from a few seconds to an hour or more for partition and replica operations. Be patient, when the data is all transferred, the operation will complete. Note: In operations where large amounts of information are processed over very fast network links, the server processor speed can become a limiting factor. Take this into consideration when performing partition and replica operations. The NetWare 4 partition management utilities (PARTMGR or the Partition Manager tool in NWAdmin) are used to request partition and replica operations. However, it is important to understand how these utilities function. When you request one of these operations, the utility returns control to your workstation immediately so you can continue working. Meanwhile, the actual operation is occurring in the background. You can use the partition management utilities to see if the partition
has been placed on or removed from the requested server. Just remember that some
operations can take an hour or more to complete, depending on the size of the partition
and the other factors mentioned above. Using DSREPAIR.NLM DSREPAIR checks the following information in the Directory:
DSREPAIR will also allow the designation of a new master replica for a partition. This option is usually used to create a new master for a partition which has lost its master through physical server failure. DSREPAIR will not do the following:
DSREPAIR changes inconsistent objects to Unknown objects when they do not have mandatory properties or are invalid in other respects (their properties dont meet minimum requirements for an object type). Unknown objects can be deleted but cannot be changed back to their original object type. (In NetWare 4.01, Unknown objects are represented by question mark icons in the NWAdmin utility.) Using DSTRACE To start DSTRACE, type the following from the server console:
DSTRACE creates another server screen which will display information about the NDS synchronisation process. Access this screen by pressing <Alt><Esc> to cycle through the available server screens. You may use the following optional DSTRACE commands
Note: If you turn on the TTF option, make sure you turn it off when you are done. Doing so will eliminate the overhead of writing trace information to the file. By default, the trace file will take no more than 1 MB of disk space. If the file reaches 1 MB, it will cycle around and start to write over the oldest information. To edit the trace file from the server console, type the following command:
You can use DSTRACE to determine the health of a replica ring. To do so, watch the DSTRACE screen as the server contacts each member of its replica ring. When each contact ends with the All Processed = YES message, you can be reasonably sure that the partition is intact. You can then use the partition management utilities to perform your desired task. Using DSVIEW.NLM DSVIEW.NLM is available in the self extracting DSVIEW.EXE file on Apricot Insight BBS AREA 37. This utility can be used to view information about Directory partitions residing on a single server. It will not display information about partitions stored on other NetWare 4 servers. To run DSVIEW.NLM, use RCONSOLE.EXE or go the console of the server where the NLM will be run and type LOAD DSVIEW. The following information categories may be selected from the main menu:
Installation and Migration Issues Proper Use of the INSTALL Utility Note: This discussion applies only to the version of Install that originally shipped with NetWare 4.01. The Install utility is currently being revised so that it does not create partitions in the way described below. The new version will be put on Apricot Insight when it is available. Installing NetWare 4 Servers into New and Existing Directory
Tree If the server is being installed into an OU that has already been created in the tree, Install will ask if the replica of the partition the server is being installed into should be created on this server. Many installers answer affirmatively to this prompt. Note: Install will not prompt the user about whether a replica should be created if the server being installed is an upgrade from NetWare 3.1x to NetWare 4. By default, Install will create a replica on the server and upgrade the 3.1x bindery to the servers context. With large Directories, our experience has shown that it is better to answer no to this prompt. Install will wait for only a few minutes for the requested replica to be installed on the new server. If the replica has not been placed on the server during the short time allowed, the Install process fails. When installing a new server in an existing NetWare 4 Directory tree, we recommend that you create the new target OU, if needed, with the NetWare 4 administration utilities (NETADMIN or NWAdmin). Do not use Install to create the OU unless this is the first server in the tree. After the server has been successfully installed into the Directory, you can create a replica on the server with the partition management utilities. By using this alternate strategy, you can install the server in less time and eliminate troublesome errors. You can also grant rights to a subtree administrator to install the server if the partitioning is done first. To install a server into the tree, use the following procedure:
It is also a good idea to make sure the bindery context on the newly installed server is set to the correct OU. You can use either the SERVMAN NLM or the SET command. To use the SET command, type the following at the console prompt:
Do not include an = sign (as in SET BINDERY CONTEXT =) or else the bindery context will be set to nothing. Removing Directory Services with INSTALL Currently, improper use of the Install utilitys option to remove Directory Services from a server is a source of Directory problems. When users experience problems with most software packages, a typical reaction is to try unloading the software and reloading it. This is not an appropriate tactic when working with NDS. In fact, if done often enough in a short time, this procedure can result in an improperly synchronised Directory. It is rarely necessary to remove Directory Services. We recommend that
you remove NDS only if you are sure that this step will assist in your recovery process.
You should have previously tried removing and reinstalling replicas with the partition
management utilities. Remember to allow plenty of time for synchronisation to occur when
objects in the Directory are changed. Changing a Servers Name or Internal IPX Address NDS system information is stored on each NetWare 4 server. Server-related information is also used in various Directory Services operations. For example, the server name and internal IPX address is associated with the location of each replica. The proper procedure for changing a NetWare 4 servers name or internal IPX address is as follows:
Allow sufficient time for these changes to be synchronised across the Directory. You can force the process that updates the server names and IPX addresses within the tree by using the DSTRACE command. At the server console, first type SET DSTRACE=ON and then SET DSTRACE=*L. Note: In the next release of NetWare 4, the procedure for
changing server names and addresses will be significantly enhanced. Removing the Server from the Directory Tree Servers may need to be removed from the tree for various reasons, but this procedure should not usually be necessary. Whenever possible, it is best to remove the server while it is still operational and the Directory can be properly updated. Proper removal of servers can significantly reduce the occurrence of problems with the Directory. Do not just turn off a NetWare 4 server and detach it from the network! Follow the correct procedures as outlined below. If the server is operational and the Directory is synchronised, use the following procedure to remove the server from the tree:
To remove a server from the tree if the server has failed or is not available for some reason:
Dont Let Volume SYS Run Out of Space A NetWare 4 servers SYS volume contains the NDS database in a hidden directory. This directory cannot be seen even with the NetWare NDIR command. The only way to view the size of the NDS is to use RCONSOLE and do a directory scan of SYS:_NETWARE. It is imperative that SYS not run out of disk space. If volume SYS becomes full, it causes NetWares Transaction Tracking System (TTS) to shut down. NDS tracks all writes to its database with TTS. If TTS is disabled, writing information to the Directory is also disabled. Writes to the Directory will not be allowed until TTS is enabled. Note: Even if TTS is disabled, users can still log in to delete unneeded files and thus free up more disk space in SYS. To prevent a server running out of space in SYS, we recommend the following:
We also recommend that you put the following statement in the servers STARTUP.NCF file:
This flag causes the TTS systems to automatically back out all
transactions which were not complete when the server failed. This eliminates the need for
the administrator or server operator to respond to the TTS-related prompts when the server
comes up after a failure. Determining the Size of the NDS Partition on the Fileserver You can only determine the size of the NDS partition on the fileserver by using RCONSOLE this is because the directory were the NDS information is stored is not visible by any other means. The NDS information is stored in a directory called SYS:_NETWARE. You can access this directory by doing the following:
You are now at the desired directory and you can view NDS file
information. Dont panic and start deleting and reinstalling Directory Services. Make sure the Directory is stable before you make changes in the Directory structure. Dont split or join a partition that you suspect is experiencing a problem. Ascertain whether the problem is related to the server or to the client software. Check to see that the NET.CFG file specifies the correct context and the correct preferred tree. If the problem is isolated to a single client, it probably isnt an NDS or server problem. Working with the server to resolve a client problem will only cause frustration at best. At worst, it could lead to other NDS-related problems. Keep a record of your diagnosis and the actions taken to correct
Directory problems.
|