JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Naming and Directory Services (NIS+)
search filter icon
search icon

Document Information

Preface

Part I About Naming and Directory Services

1.  Name Service Switch

Part II NIS+ Setup and Configuration

2.  NIS+: An Introduction

3.  NIS+ Setup Scripts

4.  Configuring NIS+ With Scripts

5.  Setting Up the NIS+ Root Domain

6.  Configuring NIS+ Clients

7.  Configuring NIS+ Servers

8.  Configuring an NIS+ Non-Root Domain

9.  Setting Up NIS+ Tables

Part III NIS+ Administration

10.  NIS+ Tables and Information

11.  NIS+ Security Overview

12.  Administering NIS+ Credentials

13.  Administering NIS+ Keys

14.  Administering Enhanced NIS+ Security Credentials

15.  Administering NIS+ Access Rights

16.  Administering NIS+ Passwords

17.  Administering NIS+ Groups

18.  Administering NIS+ Directories

19.  Administering NIS+ Tables

20.  NIS+ Server Use Customization

21.  NIS+ Backup and Restore

Backing Up Your NIS+ Namespace With nisbackup

nisbackup Syntax

What nisbackup Backs Up

NIS+ Backup Target Directory

Maintaining a Chronological Sequence of NIS+ Backups

Backing Up Specific NIS+ Directories

Backing Up an Entire NIS+ Namespace

NIS+ Backup Directory Structure

NIS+ Backup Files

Restoring Your NIS+ Namespace With nisrestore

Prerequisites to Running nisrestore

nisrestore Syntax

Using nisrestore

Using NIS+ Backup/Restore to Set Up Replicas

How to Use NIS+ Backup/Restore to Set Up Replicas

Replacing NIS+ Server Machines

How to Replace NIS+ Server Machines

22.  Removing NIS+

23.  Information in NIS+ Tables

24.  NIS+ Troubleshooting

A.  NIS+ Error Messages

About NIS+ Error Messages

Common NIS+ Namespace Error Messages

B.  Updates to NIS+ During the Solaris 10 Release

Solaris 10 and NIS+

Glossary

Index

Replacing NIS+ Server Machines

You can use nisbackup and nisrestore to quickly replace a machine that you are using as a server with another machine. For example, you want to improve network performance by replacing an older server with a newer, faster machine.

To replace a machine being used as an NIS+ server with another machine, you must:

To replace a server machine, follow these steps:

How to Replace NIS+ Server Machines

  1. Run nisbackup on the master server for the domain that the old server serves.

    See Backing Up an Entire NIS+ Namespace. (Note that the old server you are replacing could be the master server for the domain, in which case you would run nisbackup on this old master server.)

  2. Copy the old server's /var/nis/NIS_COLD_START file to the backup directory.
  3. Copy the old server's /etc/.rootkey file to the backup directory.
  4. Disconnect the old server from the network.
  5. Connect the new server to the network.
  6. Assign the new server the same IP address (number) as the old server.
  7. Assign the new server the same machine name as the old server.
  8. If necessary, stop the NIS+ service on the new server.
  9. Run nisrestore on the new server to down load the NIS+ data.

    See Restoring Your NIS+ Namespace With nisrestore.

  10. Copy the .rootkey file from the backup directory to /etc on the new server.
  11. Copy the NIS_COLD_START file from the backup directory to /var/nis on the new server.
  12. Reboot the new server.