by Gary Dzurny and Kevin Runnels
Designed from the ground up as a robust, scaleable, high performance operating system, Windows NT Server represents Microsoft's crown jewel in the family of Windows based operating systems. Since its initial release, Windows NT Server has proven to be a secure and reliable operating system for mission-critical applications. Functioning both as a full-featured, "next generation" desktop operating system as well as a network operating system, Windows NT Server provides the foundation for the entire family of Microsoft BackOffice solutions.
Microsoft Windows NT Server introduces several new features with the latest release, including new software tools as well as changes to the underlying operating system. New software tools included in this version are a new task manager, administrative wizards, a new WinMSD diagnostics tool, Internet Information Server, and FrontPage 97. New changes to the operating system range from a newly designed Windows 95-style user interface, to distributed computing support with the distributed component object model (DCOM) additions. Also new to the operating system is support for multi-protocol routing of network packets, support for the internet compatible Domain Name Systems (DNS) addressing scheme, and new communication protocols.
Although not completely identical, the new user interface (UI) in Windows NT Server is very nearly the same as that used in Microsoft Windows 95. In short, if you have used Windows 95 for any length of time, you will instantly feel at home. The new UI sports the Windows 95 desktop, replete with the dockable taskbar and Start button for menu access to folders and programs. Icons are used on the desktop to represent objects that you have decided to make accessible without looking through menus or folders, along with the standard icons for My Computer, Network Neighborhood, and so on. Differences between the UI on Microsoft Windows NT Server and their counterparts on Windows 95 include the System Properties Sheet and Device Manager Sheet.
The new UI is attractive and easier to use than its predecessors; however, you're likely only be interacting with the UI for running system monitors and configuring system components and network connections at the server.
Though not as immediately apparent as the new user interface, the new architectural changes in Windows NT Server are actually more significant to its utilization as a mission-critical operating system and file server. The fundamental architecture of the operating system is essentially divided into two sections: the user mode section and the kernel mode section. Windows NT Server has proven itself over the years to be a stable operating system, perhaps at the expense of performance. The stability of the system has been a direct reflection of the architectural division of the operating system into the user and kernel mode sections.
With this newest release, Microsoft has moved portions of the operating system that previously operated in user mode to the kernel mode. One of the more surprising changes is that the graphics device drivers that render output to video cards and printers has been moved to kernel mode. This has resulted in performance improvements, especially with graphics intensive applications. However, because a graphics device driver can now directly access portions of memory that were previously physically impossible for it to access, a tradeoff has been made between graphics performance and the stability of the operating system.
As you will typically be using Windows NT Server to configure and administer your network and Microsoft BackOffice solutions, the speed of the graphics will not be nearly as important to you as the stability of the system. It is important to use only tested and approved graphics device drivers on your server to protect your system from problems with poorly written device drivers.
TIP: Use a Microsoft Windows NT Workstation system to administer your servers over a network connection. This enables you to safely take advantage of high resolution displays.
The Windows NT Server Task Manager, shown in Figure 5.1, is available by right-clicking the taskbar to activate the context menu, or by pressing Ctrl+Alt+Delete. The Task Manager offers substantially more functionality than the Windows 95 Task Manager and is more like a hybrid of the Windows 95 task manager and the Windows 95 System Monitor. The Windows NT Task Manager allows for the monitoring and control of applications and tasks running on the server and enables you to kill processes that are not responding. In addition, the Task Manager reports on important performance metrics, such as CPU and memory usage.
The Windows NT Server Task Manager provides unified access to the management of system processes and peformance measurements.
WinMSD, or Windows NT Diagnostics, is a diagnostics utility available through in the Administrative Tools group. If you have used the diagnostics utility in previous versions of Windows NT Server, you'll find almost the same information available, though perhaps not under the same tab or menu. WinMSD provides information on device drivers, network usage, system resources, IRQ, and I/O address usage. A very welcome feature is WinMSD's capability to remotely examine diagnostic information from other Windows NT computers over the network.
Following the lead of the wizard concept introduced in Microsoft's application software, Windows NT Server provides administrative wizards in the operating system. These wizards give you a quick and easy, though somewhat limited, way to handle some of the more common administrative tasks. The available wizards provide a roadmap for adding a new user account, creating and modifying group accounts, managing file and folder access, adding printers, adding or removing programs, installing new modems, installing or updating network client workstations, and checking license compliance for installed applications (see Figure 5.2). These wizards will take you, step by step, through their specific tasks. Unfortunately, they don't allow for user customization to provide for some of your more difficult or time consuming administrative duties. The tasks they do cover are really pretty easy to perform without using a wizard, but they can be helpful to new administrators.
New administrative wizards in Windows NT 4.0 can be accessed through the start menu under Administrative Tools.
DNS is a distributed database of computer names and IP addresses. This enables your Windows NT Server to resolve such names as GFR.BIGCO.COM to addresses like 155.39.27.8. DNS is distributed in the sense that DNS systems can query each other for entries they may not contain. If your network consists entirely of Windows NT machines, you don't really need to use DNS. If your network is hooked up to the Internet, you still may not need to maintain your own DNS system if you have access to one through your Internet service provider. However, if you are connected to multiple networks and some of those networks are not Microsoft networks, you may need to configure DNS for internetwork operation.
Windows NT Server still supports the Windows Internet Naming Service (WINS), but this standard never caught on outside of Microsoft operating systems and the NetBEUI protocol. WINS is similar to DNS except that its database of names and corresponding addresses is automatically updated, whereas the traditional DNS system must be manually edited to add or change entries. Windows NT Server, in situations where you need to attach your Windows NT network to a DNS network , enables you to combine the two approaches and eliminate administrative headaches. For an in-depth discussion of name resolution, see Chapter L, "Name Resolution with TCP/IP."
Routers are typically thought of as stand-alone pieces of hardware that perform the role of a traffic cop in directing network packets from one part of the network to another. Microsoft Windows NT Server has the capability to route network traffic by itself, without the need for a specialized router. For smaller enterprises, this capability serves as a low cost solution for LAN to LAN routing if your network utilizes TCP/IP, IPX/SPX, or even AppleTalk protocols. However, it is advisable to purchase a hardware routing solution to handle large traffic loads for larger enterprises.
Object-oriented software is the new paradigm for modern systems. The Windows NT Server Distributed Component Object Model, or DCOM, is distributed in the sense that software objects can use this service to communicate with each other from different machines over a network. Using Access Control Lists, or shares, you can specify which users have access to specific object servers. A configuration utility called DCOMCNFG is used to configure the individual software objects (see Figure 5.3). Software that you can purchase that can utilize DCOM should have specific configuration information for that specific software component. DCOM configuration is covered in more detail in Chapter 38, "An Inside Look at Distributed Transaction Coordinator (DTC) and Microsoft Transaction Server (MTS)."
The DCOMCNFG utility can be located in the system directory of your Windows NT installation directory.
Riding the wave of Internet connectivity and the World Wide Web phenomenon, Microsoft Windows NT Server provides a host of new Internet specific components. The Internet Information Server, or IIS. IIS actually incorporates a World Wide Web server, FTP server, and Gopher server all in one package. Touted as the fastest Web server available today, IIS does offer excellent overall performance, but especially shines when combined with SQL Server to deliver database information via the World Wide Web. IIS supports an API level interface to SQL Server that provides much faster database access through the Web than conventional CGI scripting. Additional information regarding the integration of IIS with SQL Server can be found in Chapter 24, "Dynamic Content with IIS Using dbWeb and IDC." For additional information regarding the setup and configuration of IIS, see Chapter 18, "Building A Web With Internet Information Server (IIS)."
As complements to IIS, Windows NT Server provides Microsoft FrontPage 97, Microsoft Index Server, and Microsoft Proxy Server. FrontPage is used for Web page content creation and includes an HTML editor and wizards to assist in building Web sites that follow a common style, such as the corporate presence and project Web site styles. FrontPage also includes a Personal Server and server extensions. The Personal Server is a scaled down replacement for IIS and only exists because FrontPage is also marketed through the retail channel as a standalone product. Windows 95 users would make use of the Personal Server as the Windows 95 operating system lacks an integrated Web server. The server extensions provide hooks to integrate Web pages created with FrontPage more closely with features provided in IIS. Detailed information about Microsoft FrontPage can be found in Chapter 20, "Using Microsoft FrontPage 97."
The Microsoft Index Server is used for quick indexing and searching of documents for corporate Internet/intranet sites. Index Server searches are not restricted to searching only HTML pages, as do many other search tools. IIS utilizes open standard content filters to search any file type, including Excel and Word formats. Chapter 21, "Implementing Index Server and the Content Replication System," contains detailed information on the administration and use of Index Server.
Microsoft Windows NT Server has introduced a new TCP/IP based communication protocol in the Point to Point Tunneling Protocol (PPTP). PPTP enables you to "privately" connect to your company network over the Internet, a technique Microsoft refers to as virtual private networking. Essentially, PPTP encapsulates your original packet into an encrypted TCP/IP packet, which is then sent over the TCP/IP network. The TCP/IP network could even include the Internet. When the packet arrives at its destination on the network, it is then decrypted, and the original network packet is restored. PPTP is covered in more detail in Chapter 9, "Using TCP/IP with Windows NT Server."
Another new communication technology introduced with Windows NT Server is Multilink Channel Aggregation. Utilized through dial-up networking, Multilink enables computers dialing into Windows NT Server to use more than one dial up line at a time to achieve higher transfer speeds. For example, two 28.8K modems can be used for one network connection, sending packets through both lines simultaneously. This would provide the same throughput as a single 56K leased line. For information on how to set up and configure Multilink, see Chapter 13, "Implementing Dial-Up Networking Clients."
A server's performance directly affects the productivity of everyone who uses it. Select hardware carefully to ensure a fast, yet reliable system. There are many bargain basement hardware systems available that advertise blistering performance at a low price. However, if your server is constructed of lower quality components or isn't completely compatible with your operating system, then your perceived cost savings just became a major expense. Invest wisely in hardware. Important decisions include processor type (Intel or RISC), number of processors, speed of processors, memory capacity, and disk storage capacity.
A Hardware Compatibility List is on the installation CD for Windows NT. This list details hardware that the Windows Hardware Quality Labs has tested and found to be compatible with Windows NT. To be as certain as possible you are making a wise hardware investment, you may want to consider purchasing only listed hardware.
TIP: The latest Hardware Compatibility List can be downloaded from the Windows Hardware Quality Labs at www.microsoft.com/hwtest.
The minimum system requirements for Windows NT server are described by Microsoft as a 486/33 MHz or higher, or Pentium or Pentium PRO processor with 16M of RAM and 125M of available hard disk space. Never purchase a system that only meets the minimum requirements. It can only be assumed that these "minimum" requirements exist to encourage sales of Windows NT by suggesting that relatively inexpensive hardware can capably run the system. Reasonable performance can be obtained by utilizing a 133 MHz Pentium processor with 32M of RAM and 1 GB of hard disk space. The price of hardware continues to drop at an astonishing rate and this "reasonable performance" hardware requirement outlined above is not an expensive computer. Other BackOffice solutions will require more disk space, and memory seems to make the biggest performance difference, so consider investing in those areas first.
TIP: The number of users has the biggest impact on the performance of a server. Microsoft publishes a number of worksheets and whitepapers on planning a Windows NT Server Network; these are available from http://www.microsoft.com/windows/common/aa56.htm. Use such materials to guide you in your hardware purchases.
The Intel architecture dominates the Windows NT Server market. Although it is true that the RISC implementations of Windows NT can outperform competing Intel products in many tests, they always perform Intel emulation slower than the native Intel processor. The fact is that the majority of software available for Windows NT was developed on a machine that has an Intel processor and will perform best on that same architecture. Version 4.0 of Windows NT Server has dropped support for the 386 processor (despite the legacy existence of the /i386 subdirectory on the installation CD). If you intend to run any software on the server besides BackOffice, invest in an Intel based machine.
The vast majority of desktop computers have a single microprocessor. Windows NT Server is the first Microsoft operating system to support more than one processor. In fact, Windows NT Server 4.0 can support up to 4 microprocessors in the standard version you purchase over the counter. Support for more than 4 microprocessors can be obtained by contacting your system hardware manufacturer.
Multiprocessing systems are categorized as being either asymmetric or symmetric. Asymmetric systems typically use one processor for operating system code and other processors for user applications. Symmetric systems, however, can execute operating system code or user code on any available processor. As you can see, symmetric multiprocessing provides a much cleaner way to balance loads on the system and provides for superior throughput. Windows NT Server uses the symmetric processing design.
Multiprocessing systems provide performance advantages when CPU utilization is high. However, as a server, you'll find that your real performance issues will typically be related to the amount of available RAM and hard disk space. A server that has insufficient RAM will page out to the hard disk often and become very sluggish.
TIP: Use Performance Monitor to determine whether your server is I/O bound or CPU bound.
You can never have too much memory. Start with at least 32 megabytes. Many manufacturers now install non-parity memory in some systems, but an enterprise server requires parity memory. Expect to pay about a small premium to get parity memory. Parity memory adds one extra bit to each byte, and some extra parity checking circuitry. The parity bit indicates whether the data bit contains an even or odd number of 1's. This scheme can detect memory errors.
Modern semiconductor memory is extremely reliable, and many question the value of parity checking. Parity unquestionably adds expense and slows performance. When the system detects a parity error, the only appropriate response is to stop the system. (Error-correcting parity chips are available, but are more expensive.) Opponents of parity say that failures are extremely rare, and the response to errors (system shutdown) is unsatisfactory. On the other hand, undetected system errors can manifest as bizarre, inexplicable problems, or subtle undetected errors in critical applications. The late Seymour Cray once designed a computer with non-parity memory. In production, the machines displayed anomalous behaviors ultimately traced to memory errors. Subsequent Cray designs used parity memory.
Your Windows NT server will probably include multiple hard disks, a tape drive and CD-ROM. Windows NT includes excellent support for the Small Computer Systems Interface (SCSI), and the SCSI provides the best support for this variety of mass storage devices. Windows NT Server includes a number of fault tolerance features that work only with SCSI controllers.
Invest in superior performance and reliability. The hard disk subsystem is the hardest working component of a network server, and the component most prone to failure. Invest in a high-end, bus-mastering SCSI controller. Windows NT Server provides software implementation for Redundant Array of Inexpensive Disks (RAID) level 0 (disk striping), level 1 (disk mirroring), or level 5 (disk striping with parity) with ordinary IDE or SCSI drives. However, IDE controllers can only access one drive at a time, whereas SCSI supports parallel access. Windows NT Server also supports sector sparing (hot fixing) on SCSI drives. When the Windows NT Server fault tolerance driver detects imminent failure in a disk sector, it moves the data to a spare sector with no interruption of service.
Note that Windows NT supports only SCSI tape drives. The popular and inexpensive QIC-40 and QIC-80 tape drives, which run from a floppy controller, are not supported. Almost all high-capacity tape drives are SCSI-based; don't invest in anything less than 2G.
You're unlikely to run multimedia applications on your Windows NT Server, so you need not buy the fastest CD-ROM available. An inexpensive double-speed or quad-speed drive will serve nicely. Windows NT prefers SCSI-based CD-ROMs, but a few proprietary semi-SCSI interfaces are supported. A separate CD-ROM interface will use an expansion slot, an IRQ, and a DMA. You might also consider a fast CD-ROM "jukebox" to share as a network resource. This can be particularly valuable to a software development group because so much developers' documentation is now distributed on CD-ROM.
Most desktop computers are protected with inexpensive surge protectors. This might be better than nothing, but it certainly will not suffice for an enterprise server. Manufacturers exploit fear of lightning to sell surge protectors, but small power glitches cause far more problems. An IBM engineer tells the story of a customer whose mainframe computer kept randomly rebooting. After weeks of troubleshooting, a crack team of IBM engineers began to torture test the system. They attacked the machine with diagnostic software, rubber hammers, and huge electrostatic discharges, but the machine shrugged it all off (as it was designed to do). However, the machine continued to reboot unpredictably. The team finally traced the problem to a faulty contact in an elevator shaft. When the elevator passed this contact, a brief short circuit interrupted power on the high voltage loop that supplied the computer. A team of IBM's best engineers spent weeks tracking down this problem, which could have been prevented by simple power conditioning.
Less dramatically, a simple power outage can wreak havoc with SQL Server or Exchange Server. A good uninterruptible power supply (UPS) will include an RS-232 connection to signal the attached server when power fails. This signal can trigger a script to shut down the server in an orderly fashion while running on battery power. Because most power outages last less than a minute, the shutdown script might be triggered by a low battery signal from the UPS, rather than by power failure.
Expect to spend at least 300 dollars for a UPS with good power filtering and signaling capabilities. A better UPS will enable you to monitor power quality. Widely used brands include American Power Conversion, Tripp Lite, Clary, and Liebert. Purchase the serial cable to interface the UPS to your Windows NT server from the manufacturer. There is no real standard and the cables are usually specific to the brand of UPS that you purchase. You'll find references to UPS Interface Voltages in the UPS applet in the Control Panel. Again, you will need to refer to documentation from the manufacturer to identify the correct positive or negative settings for each signal. Make it a habit to check the battery each time you shut down the server.
The fastest way to install Windows NT is to order it pre-installed on your system. Many hardware vendors now offer this service.
The following section describes, in detail, a typical installation from a supported CD-ROM. Subsequent sections discuss differences when installing from a shared network drive, and issues in upgrading or replacing an existing operating system.
The typical Windows NT installation kit includes three floppy disks and a CD-ROM. The floppy disks include just enough of the Windows NT operating system (OS) to boot up, mount a supported CD-ROM drive, and continue installation from the CD-ROM. This method does not require any previously installed OS and generally allows the greatest flexibility.
If an OS is already installed on the server, you can install from a supported CD-ROM without benefit of floppy disks. Select the drive containing the Windows NT Server CD-ROM, switch to the appropriate directory for your hardware (for example, I386), and run WINNT /b (WINNT32 /b if your current OS is 32-bit). This can be a convenient option when upgrading a prior version of Windows NT. The process copies all files needed for the installation from the CD-ROM to a local hard drive, updates the system files, and then reboots the computer.
The installation proceeds as an interactive dialog session. The Setup program assesses the availability of necessary system resources. If the process encounters a problem, the installation or upgrade will halt. At certain times in the process, the computer will reboot to establish modifications to the computer's configuration. This is normal. If the computer's hard disk drive was originally formatted using MS-DOS, you will notice that it now has dual boot capability. For the duration of the setup process, choose the Windows NT Server 4.0 option when booting.
Follow these steps to install Windows NT Server from a supported CD-ROM:
- Primary domain controller
- Backup domain controller
- Stand-alone server
- Accessibility options
- Accessories
- Communication
- Games
- Multimedia
- Windows messaging
- Do not connect to a network at this time.
- This computer will participate on a network.
- Wired to the network (ISDN or network adapter)
- Remotely connect to a network using a modem
TIP: Make a backup of the emergency repair disk and store it in a safe place.
Installing from the network requires a DOS-based network and a shared directory that points to the network directory where the Setup program resides. You can run the Setup program from any computer running Windows NT, Windows for Workgroups, LAN Manager, Novell NetWare, or Banyan VINES. After establishing a connection to the shared network directory, copy all files located in the \I386 subdirectories to the computer on which Windows NT is being installed.
After copying all installation files from the network, switch to the local drive and directory containing the installation files and run WINNT /b (WINNT32 /b from Windows NT or Windows 95).
NOTE: The network installation procedure can be modified slightly to install from an unsupported CD-ROM. Just copy all files from the \I386 directory on the NT Server CD to a local hard drive and run WINNT /b.
During startup, right after the hardware detection routine executes, the user is given the option to invoke the Hardware Profile/Last Known Good menu, which can be done by simply pressing the space bar when prompted. This option enables a user to select a hardware profile to be used when Windows NT is started. A hardware profile indicates which drivers are to be loaded during the startup process. This is particularly convenient when using a portable computer because it allows for a boot configuration with different video display and network settings at home or on the road. One can create new hardware profiles via the Hardware Profiles option under the System Properties menu (see Figure 5.4).
The Hardware Profiles listing allows for configuring multiple hardware profiles.
The current hardware profile in use is indicated in the list of the list of profiles available for that system. You can disable a network connection or indicate that the profile is for a docked portable computer via the properties option (see Figure 5.5). The startup criteria can also be set to select which profile should be used as default.
Portable computer properties for a hardware profile can be set via the property option.
The user can also select the Last Known Good profile within Hardware Profile/Last Known Good startup menu. This feature can save the day when configuration changes render a server unbootable. Each time the server boots successfully, the current configuration is saved as the last known good profile. Be aware that configuration changes since last successful startup will be lost by using the last known good configuration.
TIP: The configuration is actually saved when the first user successfully logs on after startup. To avoid saving the current startup configuration as the last known good configuration, reset before logging on.
In the event your system fails (that is, the system files, boot sector, or BOOT.INI file become corrupted), and you are unable to restart the computer using the Last Known Good option, an emergency repair can be performed to restore system-type files and configuration preferences established prior to the failure. To repair a Windows NT Server installation, Windows NT Setup uses information saved on the emergency repair disk (ERD) or in the Windows subdirectory called REPAIR.
During installation of Windows NT Server, you are provided the option of creating an ERD. Regardless of whether the disk is created at that time, repair information is written to the REPAIR subdirectory. During a repair of the system, you can direct the program to use the ERD, or the information in the REPAIR subdirectory. If the repair process is successful, the computer will be returned to the condition it was in after the last update to the repair information. Refer to "Installing Windows NT Server" earlier in this chapter for more information on creating the emergency repair disk during Windows NT Server installation.
Windows NT Server automatically creates repair information during installation. However, this information is not maintained dynamically. As the complexion of the server changes due to installation of additional software, you should update the ERD.
The repair disk utility updates repair information and creates an ERD in separate steps. You can update repair information in the REPAIR subdirectory without creating a new ERD. If you create an ERD without first updating the repair information, the ERD will reflect an old configuration. Normally, update repair information and then create a new ERD.
Follow these steps to update repair information and create a new ERD:
NOTE: Make sure that the disk you are using for the emergency repair disk does not contain important files. Creation of the disk erases all files previously saved on it. Also, the emergency repair disk is not a boot disk, so trying to boot your machine with it will not be unsuccessful.
When you create the ERD, the following files are copied from the REPAIR subdirectory to the floppy:
The ERD is PC specific and should only be used with the PC on which it was created. Make backup copies of the disk in case the original is corrupted. Be sure to store it in a safe place. Place a label, with the date and description, on each disk created.
Before performing an emergency repair, check to make sure that what the process is attempting to fix is the probable cause of the boot failure. Remember, the server is down, and end users are waiting to use its resources. Use your time wisely and economically to determine the source of the problem and eradicate it. If you have been running Windows NT successfully and it fails to boot, you can use the following simple procedure to try to recover:
If the preceding options do not succeed, you will need to perform an emergency repair. It is useful to know what occurs when performing this procedure. The following steps are performed by the emergency repair process:
The repair process enables you to repair one or more of the following:
NOTE: The emergency repair disk may be unable to restore some of the Windows NT system files if additional drivers or third-party software were added after the installation. This includes display and printer drivers, network software, audio adapters, and any other software copied to the system after Windows NT Server was installed. The emergency repair disk will have no information on these files and will be unable to verify them. Troubleshooting and restoration of such files must be done manually, rather than with the emergency repair disk. Think about using backup tapes to restore such drivers
See "Making Backups," [Ch 7]
To execute a repair on an x86-based computer, perform the following tasks:
- Inspect the Registry files.
- Inspect the startup environment.
- Verify the Windows NT system files.
- Inspect the boot sector.
To execute a repair on a RISC-based computer, perform the following tasks:
Normally, Windows NT Server will run with nobody logged on to the local machine.
Many remote users may log on for the purpose of accessing services, but a local user typically logs on only for server administration or maintenance.
Follow these steps to log on to the Windows NT Server:
TIP: You can customize the Welcome dialog box. Add the keys LegalNoticeCaption and LegalNoticeText to the registry at \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\Winlogon. The values you enter will appear as the caption and text, respectively, of the Welcome dialog box. The user must click OK in this message box to continue the logon process. Use this feature to provide fair warning of the consequences of unauthorized access attempts.
Troubleshooting: Your logon fails. The password in Windows NT is case-sensitive. Check Caps Lock and retype your password. (The user ID is not case-sensitive.)
Never walk away from an Windows NT Server while logged on locally as an administrator. The intuitive interface makes it easy for any user to make drastic changes to your network configuration (for example, Disk Administrator, delete partition). Even a well-intentioned person can commit an expensive blunder.
After completing administrative tasks, follow these steps to log off the server:
You can also log off by choosing the Shutdown option from the Start menu.
Occasionally, you will need to shut down the server for routine maintenance or equipment upgrades. Configuration changes often require restarting the server, and a restart begins with a shutdown. It's important to perform an orderly shutdown to avoid data loss.
Because a shutdown disconnects all clients, try to schedule configuration changes for periods of low activity. It's also wise to advise concerned users in advance of any scheduled downtime.
Perform the following steps when restarting the server:
NOTE: Sixteen-bit Windows clients must be running the WinPopup program to receive messages from the Server Manager.
TIP: Configuration changes often require a restart before becoming effective. Such changes include installing new or updated drivers and installing certain applications. In such cases, a restart dialog box appears immediately after completing the configuration change. When you know that a configuration change requires a restart, first complete step 1 through step 5 in the preceding list.
Most users will interact with Windows NT Server through client workstations. Client sessions typically involve several activities: logging on, using file and print services, using other application services (SQL Server, Exchange Server, and so on), and logging off. A network administrator must know how to configure a variety of workstations to properly perform these tasks.
Prior versions of Windows NT used software called The Workgroup Connection for DOS to connect DOS workstations. Windows NT Server 4.0 enables you to generate a client setup disk. The software contained on this disk takes better advantage of the Windows NT Server environment, and The Workgroup Connection for DOS should no longer be used.
Windows workstations use the same client software as DOS workstations. Using the PC on which Windows NT Server has been installed, perform the following steps to create a client setup kit for Windows and DOS workstations:
The Network Client main setup menu enables you set up a client workstation from a DOS prompt.
NOTE: Network Client Administrator can create either a single network installation startup disk or a set of installation disks. The single disk enables a workstation to boot up, connect to a Windows NT Server, and download the rest of the needed client files. Although this may seem convenient, there are a number of severe limitations, as follows:
- The disk must boot with the same version of DOS as the target workstation. A different disk is required for every DOS version on your network.
- The disk is specific to the type of network interface card (NIC). A different disk is required for each type of NIC on your network.
- You must copy all the client setup files to a shared directory on the server.
- If the procedure fails, you will have to use the multidisk setup kit.
For these reasons, it's best to always use the multidisk install set. The only exception would arise if you have to install many systems of the same type. Then the shortcomings of this method may be offset by an overall time savings, and the avoidance of swapping diskettes during each installation.
Fig. 5.8
The Network Client main setup menu enables you set up a client workstation
from a DOS prompt.
After the client software is installed and activated, the NET command on the client workstation provides access to all network services. Running NET with no command options loads the Net Pop-Up program. The Net Pop-Up provides an intuitive interface for connecting to network drives and printers, but consumes memory.
The NET command also supports a number of command-line options that can be used in batch files. The following are a few of the options:
To set up networking for Windows (versions 3.1 and later, excluding Windows for Workgroups), first complete the DOS setup described previously in this section and then follow these steps:
To use network drives, you can use the NET USE command from DOS as described earlier. You can also use File Manager to connect to network drives or Print Manager to connect to network printers.
Windows for Workgroups (WFW) is a network client right out of the box. Typically, you need to make only one small change to set up a WFW workstation as a client in a Windows NT Server domain, as follows:
Troubleshooting: A WFW workstation running only NetBEUI cannot communicate with a Windows NT Workstation running only NWLink. The primary network protocol in Windows NT Server 3.5 is NWLink, Microsoft's implementation of the IPX/SPX protocol used on Novell networks. The primary protocol in WFW is NetBEUI. When two nodes on a Microsoft network cannot communicate, a prevalent cause is the lack of a common protocol. To solve the problem, set up a common protocol by installing IPX/SPX on the WFW client or installing NetBEUI on the server.
Log on and off the network using the Logon/Logoff icon in the Network program group. Once logged on to a network, use WFW's File Manager to connect to network drives and use Print Manager to connect to network printers.
Microsoft designed Windows 95 as a network operating system from the ground up. Many of the most important networking features in this operating system will become apparent when Microsoft delivers network OLE. Until then, users can still appreciate the seamless access to network resources built into the Explorer shell.
To configure a Windows 95 workstation as a client for Windows NT Server, follow these steps:
FIG. 5.12
The Client for Microsoft Networks Properties dialog box shows the general configurable
property options.
The fastest way to connect to a network drive in Windows 95 is to right-click the Network Neighborhood icon from the desktop and select Map Network Drive from the pop-up menu. The Map Network Drive dialog box appears so that you can specify a drive letter and UNC share name. This dialog box does not have a Browse button, so you must know the exact UNC name of the resource. The dialog box remembers shares to which you have successfully connected in the past, and these shares can be displayed for selection by clicking the Path drop-down list box.
You can also access network resources by exploring the network neighborhood. To open a Word document on a server, for example, right-click Network Neighborhood and choose Explore from the pop-up menu. In Explorer, open Entire Network, the domain, the machine, and the share where the file resides, and then proceed down into the subdirectories until you can double-click the file. As depicted in Figure 5.13, for example, the Word document named REVIEW2.DOC can be opened simply by double-clicking it.
FIG. 5.13
Explorer can be used to open a network file.
Windows 95 can use network printers in a couple of different ways. DOS programs print directly to a printer port, so Windows 95 must capture the printer port and redirect the output across the network. Windows and Windows 95 programs do not need to capture a printer port because they can print to any printer defined in the Printers utility. Follow these steps to set up a network printer for use in Windows 95:
Not surprisingly, Windows NT is its own best network client. A Windows NT client can remotely administer a server using Server Manager (provided the user is an administrator). A system running Windows NT Server can be a primary domain controller (PDC), a backup domain controller (BDC), or just a server. Each domain has exactly one PDC that is responsible for maintaining the domain's user accounts database and processing domain logons. A BDC maintains an additional copy of the user database and assists with processing logons.
NOTE: A system running Windows NT Server can participate in a Microsoft network only as a member of a domain. A system running Windows NT Workstation can be a member of a workgroup or a member of a domain, but not both at the same time
To map a network drive, choose Map Network Drive under the Tools option in Explorer and select the drive letter. You may also enter a network path for the connection. By default, you are connected using the username you logged in under. If you want to connect using a different account, enter the appropriate username within the Connect As dialog box. To add a network printer, select the My Computer icon on the desktop and open the Printers folder. Within this folder is an Add A Printer wizard application that will assist with installing and connecting to a network printer.
To create a network client setup kit for OS/2 workstations, follow the earlier procedure for DOS clients, but in step 6, select LAN Manager 2.2c as the Network Client or Service. This setup kit requires four high-density floppy disks.
After creating the setup kit, insert the first floppy in drive A and run A:SETUP. See the Installation Guide supplied with the Windows NT Server software package for guidance on running the Setup program and procedures pertaining to OS/2.
A thorough security policy includes logging of security events. Different organizations will have different logging requirements, and Windows NT provides good flexibility. Auditing can impose a considerable performance penalty, so monitor only those activities required by your security policy.
Windows NT Server can monitor success and failure for each of the following security events:
Follow these steps to enable auditing on a Windows NT Server domain:
Files are usually the most sensitive network resources. Therefore, it is critical that access to certain files and directories be tightly controlled and managed. This ultimately requires that access be monitored from time to time to validate the effectiveness of management controls and access restrictions on selected files or directories. Auditing access can be a very useful capability when such monitoring needs to be done.
TIP: The audit access can only be used on NTFS partitions.
Perform the following steps to audit access to a selected file or directory:
- To affect only the directory and its files, select Replace Auditing On Existing Files.
- To affect the directory, its files, subdirectories, and subdirectory files, select both Replace Auditing On Subdirectories and Replace Auditing On Existing Files.
- To affect only the directory (not the files, subdirectories or subdirectory files), click to clear both Replace Auditing On Subdirectories and Replace Auditing On Existing Files.
- To affect only the directory and subdirectories (not files in the directory or subdirectories), select Replace Auditing on Subdirectories and click to clear Replace Auditing on Existing Files.
The EventLog Service is one of the most useful features of Windows NT Server. It provides a common method for capturing information about system startup, configuration errors, security events, and application events. Information captured here is a primary source for troubleshooting and monitoring performance.
Windows NT Server records a variety of events in its three log files, as follows:
The logs record five types of events:
The EventLog Service starts automatically at system startup. In the next two sections, learn to view logged events and manage the log files.
To view a log, log on as an administrator, and run Event Viewer from the Administrative Tools group. From the Log menu, select the log you want to view. Figure 5.18 is a view of a System log.
The Event Viewer window is showing detailed audit information for system events.
The Event Viewer displays the date and time and five information columns for each event, as explained in the following table:
Column | Description |
Source | Identifies the process that logged the event. |
Category | A classification of the event as defined by the source. Applies mainly to the Security log. |
Event | A numeric identifier referring to the source. |
User | Identifies the user account under which the event occurred. |
Computer | Identifies the computer where the event occurred. |
To view additional details for an event, double-click the event. You see the Event Detail dialog box, as shown in Figure 5.19.
The Event Detail dialog box provides more information about a selected log event.
In addition to the information from the list view, the detail view presents a description of the event and can include additional data, such as a stack dump.
By default, Windows NT Server allocates 512K bytes for each log and overwrites events older than seven days. Each of these parameters can be configured independently for each log. When it's important to save log data for future reference, the overwrite delay should reflect your archiving schedule (seven days with weekly archiving, for example). Perform the following steps to configure these options:
The Event Log Settings dialog box enables you to customize the logging of each event type.
Logs can be saved (archived) for future reference so that space allocated for the logs can be made available for other uses. Logs can be saved in one of the three following formats:
To save a log, follow these steps:
To clear a log, choose Event Viewer, Log, and select Clear All Events. Be sure to select the correct log first! Event Viewer asks if you want to save the file first and then warns you that clearing the log is irreversible.
This chapter taught you how to install your Window NT Server. Your server acumen now includes concepts such as system requirements, features new to NT, audit logs, and emergency repair disks. You learned how to connect to the server from a workstation under a variety of operating systems. For more information on the subjects discussed in this chapter, refer to the following chapters:
© Copyright, Macmillan Computer Publishing. All rights reserved.