Oracle Internet Directory Administrator's Guide Release 2.0.6 A77230-01 |
|
Before you can run the administration tools and begin configuring and deploying the directory, you need to start OID Monitor and start a directory server instance. You also need to reset the default security configuration.
This chapter discusses topics in the following sections:
The OID Monitor daemon must be running to process the start-server and stop-server commands that you initiate through the OID Control Utility.
This section covers topics in the following subsections:
To start the OID Monitor:
NLS_LANG=APPROPRIATE_LANGUAGE.UTF8
oidmon [connect=
net_service_name] [sleep=
seconds] start
For example:
oidmon connect=
dbs1sleep=10 start
To stop the OID Monitor daemon, at the system prompt, type:
oidmon connect=
net_service_namesleep=
secondsstop
For example:
oidmon connect=dbsl stop>
Once the OID Monitor is running, start and stop server instances by using the OID Control Utility.
This section covers topics in the following subsections:
The syntax for starting an LDAP server instance is:
oidctl connect=
net_service_nameserver=
oidldapdinstance=
server_instance_number[configset=
configset_number] [flags=
' -p port_number -debug debug_level -l change-logging -server n']
start
For example, to start an LDAP server instance whose net service name is dbs1, using configset5,at
port 12000, with a debug level of 1024, an instance number 3
, and turning off change-logging, type at the system prompt:
oidctl connect=
dbs1server=oidldapd instance=3 configset=5 flags='-p 12000
-debug 1024 -l ' start
When starting and stopping an LDAP server instance, the server name and instance number are mandatory. All other arguments are optional.
All keyword value pairs within the flags arguments must be separated by a single space.
Single quotes are mandatory around the flags.
The configset identifier defaults to zero (configset0
) if not set.
Table 3-2 provides descriptions for each of the arguments for the command line syntax. It also contains cross-references to concepts explained elsewhere in this book and in other Oracle documentation.
Argument | Description | Information |
---|---|---|
net_service_name |
If you already have a |
|
server |
Type of server to start (valid values are OIDLDAPD and OIDREPLD). This is not case-sensitive. |
|
server_instance_number |
Instance number of the server to start. Should be a number between 0 and 1000. |
|
configset_ number |
Configset number used to start the server. This defaults to |
|
-p port_num |
Specifies a port number during server instance startup. Default port if not set is 389. |
"Configuring SSL Parameters" and "Managing Server Configuration Set Entries" |
-debug debug_level |
Specifies a debug level during LDAP server instance startup |
"Setting Debug Logging Levels by Using the OID Control Utility" |
-h host_name |
Specifies the host name on which the server runs. |
|
-l |
Turns replication change-logging on and off. To turn it off, enter -l. To turn it on, omit the flag. The default is true (values = true and false). (directory server only) |
|
-server n |
Specifies the number of server processes to start on this port |
|
start |
Starts the server specified in the server argument. |
OID Monitor must be running whenever you start or stop directory server instances.
At the system prompt, type:
oidctl connect=net_service_name server=OIDLDAPD instance=server_instance_number stop
For example:
oidctl connect=
dbs1server=oidldapd instance=3 stop
The syntax for starting the Oracle Directory Replication Server is:
oidctl connect=net_service_name server=oidrepld instance=server_instance_number [configset=configset_number] flags=' -h hostname -p port_number
-d debug_level -z transaction_size ' start
For example, to start the Replication server with an instance=1, at port 12000, with debugging set to 1024, type at the system prompt:
oidctl connect=dbs1 server=oidrepld instance=1 flags='-p 12000 -h eastsun11 -d 1024' start
When starting and stopping an Oracle Directory Replication Server, the -h
flag, which specifies the host name, is mandatory. All other flags are optional.
All keyword value pairs within the flags arguments must be separated by a single space.
Single quotes are mandatory around the flags.
The configset identifier defaults to zero (configset0
) if not set.
Table 3-2 provides descriptions for each of the arguments for the command line syntax. It also contains cross-references to concepts explained elsewhere in this book.
Argument | Description | Information |
---|---|---|
net_service_name |
If you already have a tnsnames.ora file configured, this is the name specified in the tnsnames.ora file, located in ORACLE_HOME/network/admin |
|
server |
Type of server to start (valid values are OIDLDAPD and OIDREPLD). This is not case-sensitive. |
|
server_instance_number |
Instance number of the server to start. Should be a number between 0 and 1000. |
|
configset_ number |
Configset number used to start the server. This defaults to configset0 if not set. This should be a number between 0 and 1000. |
Table F-1 for a list and descriptions of the entire set of attributes that are used to configure an instance of a directory server |
-p port_num |
Specifies a port number during server instance startup. Default port if not set is 389. |
"Configuring SSL Parameters" and "Managing Server Configuration Set Entries" |
-d debug_level |
Specifies a debug level during replication server instance startup |
"Setting Debug Logging Levels by Using the OID Control Utility" |
-h host_name |
Specifies the host name on which the server runs. (Replication server only) |
|
-m [true|false] |
Turns conflict resolution on and off. The default is true (values = true and false). (Replication server only) |
|
-z transaction_size |
Specifies the number of changes applied in each replication update cycle. If you do not specify this, the number is determined by the Oracle Directory Server sizelimit parameter, which has a default setting of 1024. You can configure this latter setting. |
|
start |
Starts the server specified in the server argument. |
OID Monitor must be running whenever you start or stop directory server instances.
At the system prompt, type:
oidctl connect=net_service_name server=OIDREPLD instance=server_instance_number stop
For example:
oidctl connect=
dbs1server=oidrepld instance=1 stop
OID Monitor must be running whenever you start or stop directory server instances.
If you try to contact a server that is down, you receive from the SDK the error message 81--LDAP_SERVER_DOWN
.
If you change a configuration set entry that is referenced by an active server instance, you must stop that instance and restart it if you want the changed value in the configuration set entry to take effect on that server instance. You can either issue the stop
command followed by the start
command, or you can use the restart command. The restart command both stops and restarts the server instance.
To restart a directory server instance, at the system prompt, type:
oidctl connect=net_service_name server={oidldapd|oidrepld} instance=server_ instance_number restart
For example, suppose that Oracle Directory Server instance1
were started, using configset3
, and with the net service name dbs1
. Further, suppose that, while the server is running, you change one of the attributes in the configset. To enable the change to take effect on this server instance, you would enter the following command:
oidctl connect=dbs1 server=oidldapd instance=1 restart
If there were more than one instance of the Oracle Directory Server running on that node using configset3
, then all the instances could be restarted at once using the following command syntax:
oidctl connect=dbs1 server=oidldapd restart
Note that this command restarts all the instances running on the node, whether they are using configset3
or not.
If the directory server fails to start, you can override all user-specified configuration parameters to start the directory server and then return the configuration sets to a workable state by using the ldapmodify operation.
To start the directory server using its hard-coded default parameters instead of the configuration parameters stored in the directory, type at the system prompt:
oidctl connect=net_service_name flags='-p port_number -f'
The -f
option in the flags starts the server with hard-coded configuration values, overriding any defined configuration sets except for the values in configset0
.
When you first install the Oracle Internet Directory, the default configuration grants to all users complete access to the directory. One of the first things you need to do is establish and implement an access control policy to ensure that each user receives the appropriate authorization. Oracle Corporation specifically recommends that you control access to the subentry subSchemaSubEntry
and its children because these objects contain information about the directory.
Moreover, when you load directory entries, you are creating a hierarchy of directory entries. You must therefore establish:
To configure security, you use the administration tools described in Chapter 4.
See Also:
|
|
Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|