About Server Domain Configuration and Management

A domain is a logical grouping of network servers and other computers that share common security and user account information. Within domains, you create one user account for each user. Users then log on to a domain, not to  individual servers within the domain.

A domain is the administrative unit of SunLink Server directory services. The term, domain, does not refer to a single location or specific type of network configuration. Computers in a single domain can share physical proximity on a small local area network (LAN) or can be located in different corners of the world, communicating over any number of physical connections, including dial-up lines, ISDN, fiber, Ethernet, Token-Ring, frame relay, satellite, and leased lines.

Every server in an NT network, including your SunLink Server computer, must be given one of the following roles in the domain:

When you installed your SunLink Server system, the installation program installed the system as a primary domain controller. As administrator, you can change the role of the server.

In addition to setting up the SunLink Server system as a PDC, the installation defaults specify:

You can change any of the defaults by using the instructions in the next few sections.

Adding, Renaming, Moving, and Removing SunLink Server Domain Computers

You created a new domain within your NT network when you installed the SunLink Server program and designated the system as a PDC. Other computers can be added to the domain.

Before a computer running SunLink Server, Windows NT Server, or Windows NT Workstation software can be a domain member and participate in domain security, it must be added to the domain. When a computer is added to a domain, the SunLink Server program creates a computer account for it. If the added computer is a BDC, it requests a copy of the domain directory database.

Adding a Domain Workstation or Server Computer

To add a computer to a domain, you must be logged on to a user account that has the appropriate user privileges.

With the appropriate privileges, you can add workstations and servers to domains after installation.

To add a SunLink Server computer to a domain, you can use either SunLink Server Manager or the joindomain command. You must be a member of the Administrators or Account Operators group to reconfigure a SunLink Server computer to be a backup domain controller in an existing domain without reloading the server software. For this procedure to take effect, the primary domain controller must be running in the domain that is being joined.

Removing a Computer From a Domain

You can remove workstations, backup domain controllers, and member servers from a domain--but you cannot remove the primary domain controller until you promote a backup domain controller to a PDC.

When you remove a computer running Windows NT Workstation or Windows NT Server as a member server from a SunLink Server domain, use NT Server Manager to delete the computer's account from the directory database so that the computer cannot participate in domain security.

After a computer account has been removed from the domain, a user of the computer must move the computer to a new workgroup or domain using the Network option in Control Panel.

Changing the Name of a Domain or Server

You can change the domain name for every computer in a domain, move computers from one domain into another, or change the name of the server itself. To do so, you use either the SunLink Server Manager tool or the setdomainname or setservername commands at the SunLink Server command line prompt. (For information about the commands, type man setdomainname or man setservername at the SunLink Server command prompt.)

Moving a Computer to a Different Domain

To change the domain to which a SunLink Server computer belongs, you use either the SunLink Server Manager tool or the joindomain command. (For information about the joindomain command, type man joindomain at the SunLink Server command prompt.)

To move a workstation or member server from one SunLink Server domain to another by way of the joindomain command, you must first remove the computer from the old domain and then add it to the new one. If you use the SunLink Server Manager tool, the removal is taken care of automatically.

Note that while a native Windows NT BDC cannot change domains unless Windows NT Server is reinstalled, SunLink Server BDCs can change domains without requiring Windows NT to be reinstalled.

How to Rename a Server or Domain

1. Using SunLink Server Manager, log on to the SunLink Server system whose domain name or server name you want to change.

For instructions, see How to Log On, Using SunLink Server Manager . To make any changes, you must log on as root.

2. From the Action menu, select Properties.

An information window appears, listing the SunLink Server system's server name, the domain name, and the system's role in the domain--either PDC or BDC. If the system is a BDC, the name of the domain's PDC is also listed.

3. In the information window, click Change....

A Properties dialog box similar to the following appears.

4. In the appropriate text fields of the Properties dialog box, change the server name, the domain name, or both, according to the following guidelines:

A domain name can be up to 15 characters long and can contain any combination of the following characters:
a-z A-Z 0-9 ~ ! # $ % ^ & _ ( ). -

Note that merely changing the name of the server does not permit you also to change its role.

5. Enter the required PDC/BDC, user name, and password information into the appropriate text fields, according to the following guidelines:

6. Click "OK" to proceed, or click "Cancel" to abandon the procedure and leave the server name and domain name unchanged.

If you continue the procedure by clicking "OK," the system will display an alert notifying you that the SunLink Server program must be restarted for the changes to become effective:

7. Choose whether to have the SunLink Server Manager tool restart the program automatically and immediately ("Restart Now"), whether to restart it yourself at another time ("Restart Later"), or whether to cancel the entire operation.

If you choose "Restart Now," the SunLink Server program will be stopped and then started automatically. If you choose "Restart Later," remember to stop and start the SunLink Server program for your name changes to take effect (see How to Stop the SunLink Server Program and How to Start the SunLink Server Program for instructions).

How to Move a Server to Another Domain

1. Using SunLink Server Manager, log on to the SunLink Server system whose domain name or server name you want to change.

For instructions, see How to Log On, Using SunLink Server Manager . To make any changes, you must log on as root.

2. From the Action menu, select Properties.

An information window appears, listing the SunLink Server system's server name, the domain name, and the system's role in the domain--either PDC or BDC. If the system is a BDC, the name of the domain's PDC is also listed.

3. In the information window, click Change....

A Properties dialog box similar to the following appears.

4. In the appropriate text field of the Properties dialog box, change the server's domain name according to the following guidelines:

5. Enter the required PDC/BDC, user name, and password information into the appropriate text fields, according to the following guidelines:

6. Click "OK," or click "Cancel" to abandon the procedure and leave the domain name unchanged.

If you continue the procedure by clicking "OK," the system will display an alert notifying you that the SunLink Server program must be restarted for the changes to become effective:

7. Choose whether to have the SunLink Server Manager tool restart the program automatically and immediately ("Restart Now"), whether to restart it yourself at another time ("Restart Later"), or whether to cancel the entire operation.

If you choose "Restart Now," the SunLink Server program will be stopped and then started automatically. If you choose "Restart Later," remember to stop and start the SunLink Server program for your domain name change to take effect (see How to Stop the SunLink Server Program and How to Start the SunLink Server Program for instructions).