| 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:
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.
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:
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):
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:
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:
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
Steps to diagnose database inconsistencies:
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. |