Managing a schema file with the command-line utility

Use the command-line utilities to manage schema files for a directory server instance.

Before you begin

To manage schema files for an instance, you must complete the following steps:

About this task

When you add or remove a schema file, the configuration file of an instance is updated with the schema entry.

Procedure

  1. Log in as directory server instance owner.
  2. Access the command prompt.
  3. Change the current working directory to the sbin subdirectory in the IBM® Security Verify Directory installation location.
  4. To manage a schema file for an instance, choose the operation that you want to run.
    • To add a schema file for an instance, run the idscfgsch command in the following format:
      idscfgsch -I instance_name -s schema_file.oc
    • To remove a schema file from an instance, run the idsucfgsch command in the following format:
      idsucfgsch -I instance_name -s schema_file.oc
    For more information about the idscfgsch or idsucfgsch command, see Command Reference.

What to do next

Start the directory server. See Starting or stopping a directory server and an administration server with command-line utilities.