Setting Up NetInfo Hierarchies
47
The English domain, which resides on server2, also needs two machine records—one to
identify its parent (the root domain) and one for itself. Here is the English domain’s machine
record that identifies its parent. The NetInfo server for the English domain can find the
NetInfo server for its parent domain by sending a message to server1 that looks for a
netinfod process for “myschool.”
The English domain also needs a machine record for each local domain that uses broadcast
to find it.
Defining Shared Domains
This section uses the example above. The steps below create the shared domains that
reside on server1 and server2 and ensure that they contain the required machine records.
Several of the steps instruct you to use the command line utilities nidomain and niutil. For
complete information about these commands, view their man pages through the Terminal
application.
Step 1: Create the future Math domain
In this step, you create a root domain on server1 using NetInfo Domain Setup. Later, this
domain will become the Math domain.
1
Ensure that server1 has a valid DNS entry in your DNS server.
2
Log in as root to server1.
3
Open NetInfo Domain Setup. Click the lock icon to log in. In the first authentication dialog,
enter a server administrator name and password. In the second dialog, enter the root user
name and password.
4
Choose “is a NetInfo Parent” from the “This machine” pop-up menu. “Static Address”
should be selected in the “Find NetInfo Parent via” pop-up menu and “network” should
appear in the NetInfo Server Tag field. Enter the server’s IP address in the NetInfo Parent
Address field.
5
Click Save, then click Quit when it becomes active. Restart server1.