
Activating the Gateway
Red Hat Directory Server DSML Gateway 5
Gateway Utilities
The DSML gateway comes with three command-line utilities, listed in Table DSML-1.
When activating the gateway, you can use the
-p utility to specify a port number other than
the default (
389 for the Directory Server, 8080 for the Admin Server). This parameter can
also be edited manually; see “Changing the Port.”
The
-u utility will restore edited files when the server is restarted. Any changes made to the
configuration files are normally lost when the gateway is deactivated and restarted; using
this utility will save those changes and restore them when the host server is stopped and
started:
./slapd-serverID/dsml-activate.{pl|bat} -u
You must run the -u utility after -i. If you were to run the commands
dsml-activate.{pl|bat} -i -p 3033
dsml-activate.{pl|bat} -i -p 3222
back-to-back, the Admin Server and the gateway will not start, with an error message, such
as:
-u required at ./dsml-activate.pl line 30
Any changes in configuration or restarts must occur in a -i -u -i order, as follows, to
ensure that both the server and the gateway will start:
dsml-activate.{pl|bat} -i -p 3033
dsml-activate.{pl|bat} -u
dsml-activate.{pl|bat} -i -p 3222
NOTE Any changes made to files in the /admin-serv/config directory will be
lost if the gateway is deactivated and restarted.
Table DSML-1 Gateway Command-Line Utilities
-i Initializes the gateway.
-p Optional. Sets the port number. The -p utility is only used with -i.
-u Restores edited files and disables the gateway the next time the
server is restarted.
Comentarios a estos manuales