Advanced
- Application Server
|
|
|
|
‘Non-violence
is the greatest force at
the disposal of mankind. It is mightier than the mightiest
weapon of destruction devised by the ingenuity of man.’
Gandhi |
How
to manage Oracle Internet Directory (OID) – Managing Oracle Internet
Directory
(LESSON14)
Steps
to how to connect, start and stop OID server processes and also how
execute some LDAP commands:
How
to connect
Connect
to ODM by using the oidadmin command on command prompt (ex: $ ./oidadmin).
You
will see the Directory Server Connection dialog box (To use this tool
you must first connect to a Server) when you start the ODM for the
first time. Click OK, and continue.
In
the “Directory Server Name Manger” dialogue box, click “Add”
to enter your server name and port number. Your OID port number should
be listed In the portlist.ini file.
In
the “Directory Server Name Manager” screen, note In the
“Available” column. It should be “Yes.” If it is “No”,
then your port or server name is not correct.
In
the “Oracle Directory Manager Connect” screen, enter userid (orcladmin)
and its password from installation.
Now,
you should see the “Oracle Directory manager” screen with its
navigation tree, menu bar, and toolbar. Notice that when you click on
any of the node names In the navigation tree, its information will be
displayed In the right pane.
How
to disconnect
Select
the node orcladmin@myapp.iselfschooling.com:3060 and then, click the
disconnect icon from the toolbar.
How
to display the ODS user’s password
Use
the navigation pane to navigate to OrclRecoursename=ODS by using the
following link.
Entry
Management> cn=OracleContext> cn=Products> cn=IAS> cn=IAS
Infrastructure Databases> OraclReferenceName=myapp.iselfschooling.com>
OrclResourceName=ODS
How
to change the OID server port number
In
the ODM navigation pane, navigate to and expand the Server management
node. You will see the list of OID, Replication, and Integration
server instances (running) in the right pane. Expand the Directory
Server node. Click the Configuration Set1 node not the Default
Configuration Set, and change the Non SSL port attribute value from
389 to 3060 for example. Note that the Configuration sets define
certain rules using which the oidctl command starts any new OID server
instance.
How
to start an OID server LDAP instance by using the configuration set 1
-
To start an
OID server instance, make sure you have set the ORACLE_HOME unix
parameter (ex: $ export ORACLE_HOME=/u01/oracle/myapp).
-
Change to bin
directory (ex: $ cd $ORACLE_HOME/bin)
-
Then execute
the following command:
-
$ oidctl
connect=myapp.iselfschooling.com instance=2 server=oidldapd configset=1
start
-
You should be
able to see the new instance in ODM by navigating to the Server
Management node.
How
to verify whether the OID server is running by using a command line
tool
Execute
the following command at the command prompt. You must know the port
number and orcladmin’s password.
$
./ldapbind –p 3060 –D cn=orcladmin –w orclpassword
|