Backing Up and Restoring Directory Service Configuration

The Admin Console enables you to back up your directory service configuration at any time and save as many configurations as you want. You can restore any of your backed up directory service configurations.


 

To Back Up the Directory Service Configuration

AdminConsole>LDAP Server pulldown>Backup Config  

  1. In the Admin Console, click the LDAP Server pull-down menu and choose Backup Config.
  If the directory service damon slapd is running, you are prompted to stop it. When it is stopped, a selector window is displayed.
  2. Use the selector window to select or create a directory for your backup.
  3. Click Save.

 

To Restore the Directory Service Configuration

AdminConsole>LDAP Server pulldown>Restore Config  

  1. In the Admin Console, click the LDAP Server pull-down menu and select Restore Config.
  If the directory service damon slapd is running, you are prompted to stop it. When it is stopped, a selector window is displayed.
  2. Select the directory containing the backed up configuration that you want to restore.
  The default selection is the previous backup directory.
  3. Click Load.
  The directory service is restarted with the restored configuration.

 

To Start the Directory Services

To start the directory service from the Admin Console, choose Start from the LDAP Server menu in the Directory Server property book.

When you install a directory server, this command is added to the system startup file, so that the server is started automatically when the machine is rebooted.


 

Starting the Directory Services Using the Command Line Interface

To start the directory server daemon, slapd, from the Admin Console, choose Start from the LDAP Server menu in the Directory Server property book. You can also start the directory server daemon by typing the following command as root:

 
# /etc/init.d/slapd start
 

To start the email administrator's configuration interface, as root type:

 
# /etc/init.d/web500gw start
 



 
#/etc/init.d/init.snmpslapd start
 

To start the SNMP agent, snmpslapd, as root type:

When you install the directory service, these commands are added to the system startup file, so that all the server daemons are started automatically when the machine is rebooted.


 

To Stop the Directory Services

To stop the directory server from the Admin Console, choose Stop from the LDAP Server menu in the Directory Server property book.

Stopping the directory server automatically stops the replication server. If you have set up a replication schedule, the replication server is restarted automatically when you restart the directory server, and will continue to follow the schedule


 

Stopping Directory Services Using the Command Line Interface.

To stop the directory server daemon, slapd, from the Admin Console, choose Stop from the LDAP Server menu in the Directory Server property book. You can also stop the directory server daemon by typing the following command as root:

 
# /etc/init.d/slapd stop
 

Stopping the directory server automatically stops the replication server. If you have set up a replication schedule, the replication server is restarted automatically when you restart the directory server daemon, and will continue to follow the schedule.

To stop the email administrator's configuration interface, as root type:

 
# /etc/init.d/web500gw stop
 

To stop the SNMP agent, snmpslapd, as root type:

 
#/etc/init.d/init.snmpslapd stop
 




Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.