Microsoft Windows 2000 Server Administrators Companion

Although networks consisting exclusively of servers and clients running Windows XP and Windows 2000 can safely do away with WINS (DNS replaces it), not many networks have this luxury yet.

WINS is an essential part of any large network with earlier Windows clients. It provides the equivalent of a DNS server for the NetBIOS namespace: WINS servers resolve NetBIOS names into IP addresses by using the WINS dynamic database to call up the appropriate name records.

Determining Whether You Need WINS

If you're asking yourself whether you need WINS at this point, the answer is probably yes. Most large networks need WINS to provide NetBIOS name resolution for their earlier Windows clients. However, here are some instances in which you don't need WINS servers:

Also, before you implement WINS on your network, you must be aware of the WINS clients that are supported by WINS in Windows 2000 Server:

Non-WINS clients aren't resolvable by WINS unless static entries are added for them. This practice is strongly discouraged; don't use it unless absolutely necessary because static entries are extremely difficult to eliminate from the WINS database after replication takes place. Instead, clients should be configured to use DNS to resolve names that aren't in the WINS database.

Configuring the Server to Prepare for WINS

After you determine that you need WINS on your network, it's time to configure the server. The most common cause of WINS problems is improper TCP/IP configuration on the server. Follow these steps to properly configure the TCP/IP settings for the WINS server before you install the service:

  1. Right-click the Local Area Connection icon in the Network and Dial-Up Connections folder, and choose Properties from the shortcut menu.
  2. Select the Internet Protocol (TCP/IP) component, and click Properties.
  3. Configure the server to use a static IP address, or make sure that an address reservation for the server is configured on the DHCP server.
  4. Click Advanced, and then click WINS.
  5. Select any WINS servers listed in the tab and click Remove, as shown in Figure 14-27. Failure to do this can cause the WINS server to register its own address with another WINS server instead of with itself, which you don't want.

    Figure 14-27. The WINS tab of the Advanced TCP/IP Settings dialog box.

  6. Click Add and type the IP address of your own server. Then click OK.

Installing WINS

After the TCP/IP settings are correct, you're ready to install the WINS component. Use the Windows Component Wizard, accessible either from the Configure Your Server tool or from Add/Remove Programs in Control Panel. If you installed WINS during Windows Setup, you can skip this section. Otherwise, use these steps to install WINS:

  1. Open the Add/Remove Programs Control Panel tool, and click the Add/Remove Windows Components icon in the frame on the left (the Places bar) to launch the Windows Component Wizard.
  2. Click Next, select Networking Services from the list of components, and click Details.
  3. Select the Windows Internet Name Service (WINS) component check box, click OK, and then click Next.

Don't install WINS on a multihomed server. You can physically do it, but it often causes dreadful replication problems, especially if the server is on two different subnets.

Adding Replication Partners

WINS servers are easy to set up and require little management, except for replication partners. WINS replication is an important and somewhat delicate issue that you must examine closely before setting up. Deploy as few WINS servers as possible to minimize management migraines. For example, the entire Microsoft Corporation used only 12 WINS servers worldwide during the height of NetBIOS. Just about every enterprise can get by with a handful of WINS servers at most. Microsoft recommends one WINS server for each 10,000 users, plus one WINS server for redundancy.

Set up replication between WINS servers in a hub (star) pattern, with a single-master WINS server in the center and all other WINS servers replicating only with this server, using the push/pull method. Using a double hub with two master servers in the center can provide additional redundancy, but the replication problems that can arise generally outweigh the added reliability.

Chapter 13 contains a more thorough investigation of WINS deployment and replication planning. You can also refer to the Windows 2000 Server Resource Kit. To set up a replication partner and configure its settings after planning your WINS deployment, follow these steps:

  1. Launch WINS from the Administrative Tools folder, and in the console tree expand the WINS server that you want to set up for replication.
  2. Select the Replication Partners folder, and then choose New Replication Partner from the Action menu.
  3. Type the IP address for the WINS server you want to enable replication with, and click OK.
  4. To modify the replication parameters for the new replication partner, if necessary, double-click the server in the Replication Partners folder, and then click the Advanced tab.
  5. To change the way you replicate with the server, choose an option from the Replication Partner Type drop-down list (Figure 14-28).

    Figure 14-28. The Advanced tab of the Properties dialog box.

  6. To configure a permanent connection for pull or push replication, select the Use Persistent Connection For Replication check box in the Pull Replication section, the Push Replication section, or both.
  7. In the Start Time fields, type the time you want pull replication to begin in hours, minutes, and seconds.
  8. In the Replication Interval fields, type the frequency—days, hours, and minutes—with which you want to replicate with the replication partner.
  9. Use the Number Of Changes In Version ID Before Replication box to type the number of changes to the local copy of the WINS database that you will allow before the server pushes changes to the replication partner.

Use push/pull replication on the entire WINS namespace to make troubleshooting replication problems easier. In addition, primary and backup WINS servers must use push/pull replication.

Miscellaneous WINS Functions

The WINS snap-in lets you manage all the functionality of WINS on multiple servers from the same application. The following are some functions you can perform with the WINS snap-in:

More Info

If you're fortunate enough to have outgrown WINS on your network, it's time to decommission the WINS servers. For information about doing so, consult the Windows 2000 Server help system or the Windows 2000 Server Resource Kit.

Compacting the WINS Database

Microsoft recommends that you compact the WINS database file monthly or quarterly (at a minimum, whenever the database reaches 30 MB in size) to maximize performance and stability.

To do so, follow these steps:

  1. Open a command prompt window.
  2. Type the following commands:

    cd %systemroot%\system32\wins

    net stop wins

    jetpack wins.mdb tmp.mdb

    net start wins

More Info

For more information about the Jetpack.exe command, see Microsoft Knowledge Base article Q145881.

Категории