idscfgsch

Use the idscfgsch to configure a schema file for a directory server instance.

Description

The idscfgsch command configures a schema file for a directory server instance. The schema file must exist on the system. The directory server instance owner must specify the schema file to add in the ibmslapd.conf file of a directory server instance.

Synopsis

idscfgsch [-I instancename -s schemafile [-f configfile] [-d debuglevel] 
          [-b outputfile] [-q] [-n]] | -v | -?

Options

The idscfgsch command takes the following parameters.
-b outputfile
Specifies the full path of a file to redirect console output. If you use this parameter with the -q parameter, errors are sent to the outputfile file. If debug mode is set, then the output is sent to the outputfile file.
-d debuglevel
Sets the LDAP debug level to debuglevel. If you specify this parameter, it sends the debug output to stdout. The debuglevel value is a bit mask that controls which output is generated with values from 1 to 65535. For more information about debug levels, see Debugging levels.
-f configfile
Specifies the full path to the configuration file to update. If this parameter is not specified, the default configuration file of the directory server instance is considered.
-I instancename
Specifies the directory server instance name for which to configure the schema file.
-n
Specifies to run in no prompt mode. All output from the command is generated, except for messages that require user interaction.
-q
Specifies to run in quiet mode. All output from the command is suppressed, except for error messages. If you also specify the -d parameter, then the trace output is not suppressed.
-s schemafile
Specifies the schema file to add to the directory server instance.
-v
Specifies to show the version information of the command.
-?
Specifies to show the syntax format.

Examples

Example 1:
To configure the /home/mydir/myschema.oc schema file for a directory server instance, run the following command:
idscfgsch -I instance_name –s /home/mydir/myschema.oc