NetWare 5.0 Advanced Administration

Basics

The NetWare 5 OS consists of three components: Kernel, Console, and NLMs.

Minimum System Requirements

Never move, rename, or delete the SYS volume or any of the 16 directories on

SYS created by the installation of NetWare (CDROM$$.ROM, Deleted.sav, Etc,

Java, JavaSave, License, Login, Mail, NDPS, NetBasic, Ni, Perl, Public,

ReadMe, System, and Temp).

Console Hotkeys:

Long file name support is enabled by default in NetWare 5.

NetWare Storage Services

Three components are: NSS Provider, Consumer, and Storage Group.

Use NWCONFIG.NLM to create NSS volumes.

 

Upgrading

Preparation for Server Upgrade

Two methods of upgrading:

  1. In-place upgrade: Boot server to DOS (don't start server.exe) and run INSTALL.BAT from CD. Risks data loss if there's a failure during upgrade.
  2. Across-the-wire upgrade (migration): Must have an existing NetWare 5 server and NDS tree first. Install the Novell Upgrade Wizard on a workstation, log in to both old and new servers as Admin equivalent, run Upgrade Wizard, and create a new project. Drag and drop users, groups, volumes, printers, and other bindery objects from old server to their new locations in the NDS tree.

 

GUI and Java Support

 

Server Configuration Files

 

Securing the File Server

 

Backup Strategies

Enhanced SBACKUP

 

ConsoleOne

To run ConsoleOne from a workstation, run SYS:\PUBLIC\MGMT\Console1.exe

ConsoleOne can be used to:

Remote server access (requires RCONAG6.NLM on server). Go to My Server, Tools, RConsoleJ. In right pane, enter server's IP address and password, click Connect.

 

Remote Console Access

Remote Console Requires RSPX.NLM and REMOTE.NLM on server, RCONSOLE.EXE on workstation.

Remote Console via modem requires a modem directly connected to the server and the following NLMs on the server: REMOTE.NLM, AIO.NLM, RSPX.NLM, RS232.NLM.

RConsoleJ - Run SYS:\PUBLIC\RCONJ.EXE. Provide IP and password of server.

 

MONITOR.NLM

MONITOR.NLM is used at console to view server performance statistics and set parameters

 

Queue-Based Printing

A physical printer can be attached to the network as follows:

Three NDS Objects are required: Queue, Printer, and Print Server.

The queue is assigned to a printer, which is assigned to a print server.

  1. One Print Server can handle multiple queues and printers. Critical properties of a print server are name and printer assignments.
  2. The print queue holds jobs waiting to be printed. Critical properties of a queue are queue name, volume, and printer & print server assignments.
  3. The printer object contains port, interrupt, and connection info. Critical printer properties are printer name, printer type, port & interrupt, and queue assignment.

The printer notify list determined which users get printer error messages. Job Owner receives error messages by default.

 

Novell Internet Access Server (NIAS)

 

Remote Authentication Dial-In User Service (RADIUS)

 

DNS and DHCP

Three ways to install DNS/DHCP on server:

  1. Select it during installation;
  2. Use DNIPINST.NLM; or
  3. In the GUI console, click the Novell button, then Install, then New Products.

The workstation software is a Java app called the DNS/DHCP Management Console. To install it, run SYS:\PUBLIC\DNSDHCP\SETUP.EXE. It adds a snap-in to NetWare Administrator and it places an icon on your desktop. The DNS/DHCP Mgmt Console has two tabs: one for DNS, one for DHCP. Be sure to use to correct tab. DNS/DHCP objects can be viewed in NetWare Administrator, but you must use DNS/DHCP Mgmt Console to create, edit, or delete DNS/DHCP objects.

Default DNS/DHCP Objects in the NDS Tree:

Configure workstations to use DNS and/or DHCP in the TCP/IP properties of the network control panel.

 

Domain Name Services (DNS)

Translates host names (such as 'www.cramsession.com') into IP addresses (139.142.34.89).

A DNS Zone is all or part of a domain for which the server provides DNS services. For example, the novell.com domain can be broken into a zone for support.novell.com and a zone for education.novell.com. Each portion of the domain can have its own DNS server to handle requests within the zone. Each DNS server has a Start of Authority (SOA).

Six types of record resources (RRs):

  1. A (Address) - A Hostname to IP-address mapping
  2. NS (Name Server) - A listing for another name server
  3. SOA (Start of Authority) - This server's zone of authority
  4. CNAME (Canonical Name) - An alias. Resolves alias hostname to primary hostname.
  5. MX (Mail Exchange) - Maps e-mail addresses to domain names
  6. PTR (Pointer) - Pointer to other records when doing reverse lookups. Used in IN-ADDR.ARPA zones.

DNS-Specific NDS Objects: DNS Name Server, DNS Zone, Resource Record, Resource Record Set.

To change a resource record object, you must delete it and recreate it.

To start DNS services, run NAMED.NLM on the server.

 

Dynamic Host Configuration Protocol (DHCP)

Assigns IP address, subnet mask, default gateway (router), DNS servers, and other IP configuration info to a PC automatically. The three types of address assignments are:

  1. Dynamic Allocation: An IP address is leased to the client for a limited time period.
  2. Automatic Allocation: The IP address is leased to the client without an expiration (permanent).
  3. Manual Allocation: A specific IP address is reserved for a specific client.

DHCP can import DHCP 2.0 or 3.0 file formats.

NDS Objects: DHCP Server, Subnet, Subnet Address Range, IP Address, Subnet Pool

 

Netscape FastTrack Web Server for NetWare

Requires long filename namespace on volume that holds website files. (LOAD LONG.NAM & ADD NAME SPACE LONG TO <volume name>)

To install, log in from a workstation as Admin-equivalent and run \PRODUCTS\WEBSERV\SETUP.EXE from the NetWare 5 CD. Make note of the Administration Server TCP Port. The following 7 NLMs make up the web server: ADMSERV.NLM, BTRIEVE.NLM, CRON.NLM, CSSYSMSG.NLM, NETDB.NLM, NSHTTPD.NLM, NSLCGI.NLM. At the NetWare console, use NSWEB.NCF to load the server and NSWEBDN.NCF to unload the web server. By default, web pages are stored under SYS:\NOVONYX\SUITESPOT\DOCS.

Manage the web server through the Netscape Server Administration Page via a web browser. The URL will be HTTP://<SERVER NAME>:<ADMIN TCP PORT>. You have full access to administer all Netscape FastTrack web servers on your network from here. Click the button for the server you want to manage, then you have the following options:

To restrict the size of a web directory, use NWADMIN to limit directory size.

 

Novell FTP Services for NetWare

Can handle up to 65 simultaneous connections. FTP services are installed as part of NetWare NFS Services. NFS name space (NFS.NAM) is required for FTP. Install FTP services through NWCONFIG.NLM --> Product Options --> Install Products not Listed. Browse to \PRODUCTS\NWUXPS on the NetWare CD. Choose FTP Server from the list.

INETD.NLM accepts connections and loads and unloads FTPSERV.NLM as needed.

Configure FTP services at server console with UNICON.NLM. Parameters are:

FTP Troubleshooting steps: 1) Ping server; 2) Check if FTP services loaded and running; 3) Check account restrictions; 4) Check client's TCP/IP config; 5) Check for user error.

 

Memory Management

NetWare 5 uses virtual memory paging. Page size is 4K. Least used pages are moved to a swap file on a disk drive to free up RAM for other uses. Swap file is created on SYS during installation. Swap file shrinks and grows dynamically. Novell suggests deleting swap file on SYS and recreating swap files on other volumes. Swap files on non-SYS volumes require "SWAP ADD <volume name> [Parameters]" in AUTOEXEC.NCF. Parameters of SWAP file can be MIN, MAX, and MIN FREE. SWAP by itself displays swap file info. "SWAP DEL <volume name>" deletes a swap file from a volume and moves its data to another volume. "SWAP PARAMETER <volume name> [Parameter]=<value>" changes swap file settings. Use MONITOR.NLM --> Virtual Memory --> Swap Files to view swap statistics. Disk Thrashing is excessive swapping of pages. The solution to thrashing is to add RAM.

Protected Memory pools can be created to prevent corruption of memory. A program running in protected address space can't affect anything outside its pool and cause ABENDs. At the console, you can name protected address spaces.

NetWare uses Garbage Collection. When a program unloads, it marks its RAM as free. Later, garbage collection goes through and returns free RAM back to the OS for re-use. Garbage collection runs frequently as a background process.

 

Disk Optimization

Block Suballocation is enabled by default. The only way to disable it is to delete and recreate the volume. It subdivides a normal block (for example 4 KB) into 512-byte suballocation blocks. All files still start at the beginning of a normal block, but files larger than the block size can use suballocation blocks for the remaining portion at the end of the file.

File compression saves about 63% of disk space. At a set interval, the OS searches the volume for files that can be compressed. Use SET commands in AUTOEXEC.NCF to control searches. Once compression is enabled for a volume, it can't be removed. However, you can prevent new compression from taking place with "SET ENABLE FILE COMPRESSION=OFF" at the console. Use NetWare Administrator, Windows Explorer, NDIR, or FILER to view compression statistics.

NetWare 5 uses file and directory caching to speed up access to recently used files. Use MONITOR.NLM to view caching statistics. Long-term cache hits should be 90% or more. Total cache buffers should be 75% to 80% of remaining RAM after the NetWare OS is loaded. The LRU sitting time should be over 15 minutes. If it’s frequently less than 15 minutes, add RAM. Directory caching is used to hold directory entries. Dirty buffers are cache buffers that contain changes in RAM that haven’t been written to the disk yet.

 

Packet Optimization

 

Packet Burst Protocol

Allows up to 64K to be sent at one time without waiting for a response, increasing network performance by 10% to 300%. It is enabled by default at both client and server. It can only be turned off at the client, not at the server. When establishing connection, both nodes negotiate burst window size, which lasts for the entire connection. Theoretical maximum burst size is 128 packets, 512 bytes each, for a total of 64K. Burst Gap Time is the interval between each packet. Modify packet burst parameters in Network Control Panel --> Novell NetWare Client --> Advanced Settings.

 

Large Internet Packets (LIP)

Normal (non-LIP) packet size is 512 bytes. If all routers, servers, and clients can handle larger packets, LIP can be used. It is enabled by default at server and in Client32. To enable a server acting as a router to handle LIP, use SET MAXIMUM PHYSICAL RECEIVE PACKET SIZE=<size> at console or in STARTUP.NCF. Maximum size on Ethernet networks is 1514; on Token Ring the max is 4202.

 

Receive Buffers

Maximum packet receive buffers should be greater than current packet receive buffers, which should be greater than minimum packet receive buffers. If NO ECB AVAILABLE COUNT is 2% or higher of total, it means you’re out of packet receive buffers and you should increase the maximum.

Application Share Values

Share values determine how much CPU time each process gets. Higher share value gets more CPU time. The amount of time is based on the app's percentage of total share values assigned to all apps. LOAD -A=<app name> <module or NCF name> creates a new app. Adjust share values of apps in MONITOR.NLM --> Kernel --> Applications.

 

NDS Maintenance

The NDS database can be partitioned and/or replicated across multiple servers. For example, Server1 can contain the O=CONTAINER1 partition and Server2 can contain the O=CONTAINER2 partition. Partitions can also be replicated to other servers to improve performance across WANs and provide fault tolerance. The four types of replicas are:

  1. MASTER - Complete copy of partition that handles all changes to the data in it. You can only have one master replica per partition.
  2. READ/WRITE - Complete copy of partition that can also handle changes, but all changes are passed to the master replica. Multiple R/W replicas allowed.
  3. READ ONLY - Complete copy of partition, but it passes all changes to either the master or R/W replica. Multiple R/O replicas allowed.
  4. SUBORDINATE REFERENCE - Does not contain the database. Acts as a pointer to one of the other three types of partitions.

Access the NDS Manager utility by running SYS:\PUBLIC\WIN32\NDSMGR32.EXE. It can be used to view servers' replicas, add replicas, check synchronization, merge and move partitions, establish partition continuity, edit the schema (requires supervisor rights to [root]), and check the NDS version.

Enter "SET NDS TRACE TO SCREEN=ON" at console to enable display of NDS activities. Common Synchronization errors: "SYNC: FAILED TO COMMUNICATE WITH SERVER" and "SYNC: END SYNC OF PARTITION..."

DSREPAIR.NLM can correct problems in the tree, schema, records, and synchronization. The -U option tells DSREPAIR to unload when finished.

If the NDS database develops inconsistencies, the symptoms can be

  1. unknown objects appear in NDS;
  2. NDS error messages; and
  3. users get prompted for password when none should be required;
  4. login takes long time;
  5. changes to NDS data doesn't keep;
  6. users find they have more rights than they used to.

Steps to diagnose database inconsistencies:

  1. Use SET commands to check for sync errors
  2. Use NDS Manager to check partition sync status
  3. Use NDS Manager to check partition continuity

To recover from a Master Replica failure, use NDS Manager to make a read/write replica into a Master replica, then delete the failed server and volume objects. Test synchronization, then delete references to the failed replica from all replica lists.

Other Novell Products

Border Manager protects the LAN from unwanted inbound and outbound traffic with the Internet. It uses packet-filtering routing, circuit gateways (NAT), and application gateways. Its components are:

NDS for NT adds Windows NT domains as NDS objects. Eliminates the need for trust relationships and provides a single point of administration. Domains are managed like group objects. Allows more specific access rights, such as granting rights to specific printers rather than all or nothing in NT. Use the Domain Object Wizard to install and uninstall NDS for NT on an NT server and import its object into the tree. NT's SAMSRV.DLL file is replaced with Novell's version, which redirects domain security calls to NDS. NDS for NT should be installed first on the PDC, then on every BDC. It also installs the Novell Client on NT Servers. NetWare Administrator gets a snap-in for administering NT domains. Another snap-in is Mailbox Manager for Exchange for administering Microsoft Exchange mailboxes.

GroupWise 5 provides shared calendaring, scheduling, threaded conferencing, Internet access, remote access, task management, and shared folders. A snap-in to NetWare Administrator allows central administration. The six components are: client, message transfer system, admin program, message store, directory store, and document store. The Message Transfer Agent (MTA) uses a store-and-forward method to deliver messages in the message store to the recipient using info from the directory store. The directory store holds data on users' names, locations, etc.

ManageWise does network asset inventories, monitoring and management of servers, manages desktops, analyzes network traffic, monitors print queues, and protects the LAN from viruses. The inventory feature can discover network devices regardless of protocol, show graphical maps of network topology, get info on CPUs, RAM, etc., and find duplicate IP and IPX addresses. The server management feature can compare settings and performance of multiple servers, do unattended monitoring for thresholds, and track trends. For network traffic analysis, it can find overloaded devices or segments and provide detailed troubleshooting info. The anti-virus feature works on servers and workstations using rule-based scanning to find virus-like behavior, and it checks all files moved to or from a server and regularly scans workstations. The five components of ManageWise are ZEN Works, NetExplorer, NetWare Management Agent (NMA), LANalyzer, and Virus Protect.

 

Special thanks to Michael G. Rother for contributing material for this Cramsession.