![]() |
![]() |
| |
Creating Additional DomainsRepeat the preceding procedure for changing servers to master servers of new non-root domains on as many server machines as you like. Every new master server is a new domain. Plan your domain structure before you start creating an NIS+ namespace. See Structure of the NIS+ Namespace for more information on planning an NIS+ hierarchy. Populating the New Subdomain's TablesAfter you have created a new domain, you need to populate its master server's standard NIS+ tables. You use the same procedure to populate the new master server's tables as you used to populate the root master server's tables. The major difference is that the nispopulate script is run on the new master server instead of on the root master server. The domain names and file paths or NIS servers' names may change as well. This example shows the tables of the new domain, sales.doc.com., being populated. Prerequisites to Running nispopulateBefore you can run the nispopulate script to populate the new master server's tables:
Note - The nispopulate script can fail if there is insufficient /tmp space on the system. To keep this from happening, you can set the environment variable TMPDIR to a different directory. If TMPDIR is not set to a valid directory, the script uses the /tmp directory instead. Information You NeedIf populating from files, you need:
If populating from NIS maps, you need:
Note - The NIS domain name is case-sensitive, while the NIS+ domain name is not. Populating the Master Server TablesSince this procedure is essentially the same as the procedure shown in How to Populate the Root Master Server Tables, this example shows you only what you would type to populate the tables of the new domain, sales.doc.com.. For more information about this procedure, see How to Populate the Root Master Server Tables. Note - This script should be run on the new domain's master server, not the root master server. The alternate methods of populating the master server tables on the new master server are:
Whichever method you choose should be executed in a scrolling window as the script's output might otherwise scroll off the screen. | |
| |