INSTALLATION OF Oracle Directory Server Enterprise Edition (11.1.1.5.0)
Check prerequesites post below before this.
http://tummypain.blogspot.com/2011/06/pre-requesites-for-oracle-directory.html
(1) Download Oracle Directory Server Enterprise Edition (11.1.1.5.0) from the below
this is also called DSEE 7 or 11g.
http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html
(2) I installed a W2k8 x86 Standard Server on a VM.
(3) I installed GlassFish 3.1 and JDK6. Check Pre-requesites.
(4) unzip ofm_odsee_win_11.1.1.5.0.zip
(5) idsktune -> is a Server precheck/tuning application. It only checks and recomends. IT does not modify any thing. I had couple of errors about unsupported OS, but may be because I am using msdn build.
(6) Install the VC++ redistributable that is included if not already installed on the server. Update with required windows patches and restart if necessary.
(7) unzip dsee7 and move all the folders to c:\Sun\
(8) Modify registry as below if you are not using a LocalAdmin user
HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableInstallerDetection
HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableLUA
(9) Follow the steps below in Command prompt with Admin privileges
**********************
C:\Windows\system32>cd C:\Sun\dsee7\bin
C:\Sun\dsee7\bin>dsccsetup war-file-create
DSCC registry must be created first using the following command:
dsccsetup ads-create
(REMEMBER THE PASSWORD BELOW)
C:\Sun\dsee7\bin>dsccsetup ads-create
Choose password for Directory Service Manager: xxxxx
Confirm password for Directory Service Manager: xxxxx
Creating DSCC registry...
DSCC Registry has been created successfully
C:\Sun\dsee7\bin>dsccsetup war-file-create
Created C:\Sun\dsee7\var\dscc7.war
C:\Sun\dsee7\bin>dsccsetup cacao-reg
Configuring Cacao...
Cacao will listen on port 21162
Cacao has been successfully configured.
Registering DSCC Agent in Cacao...
Checking Cacao status...
Starting Cacao...
DSCC agent has been successfully registered in Cacao.
C:\Sun\dsee7\bin>
**********************
(10) Append the below lines in glassfish server.policy file
C:\glassfish3\glassfish\domains\domain1\config\server.policy
//**********************
// Permissions for Directory Service Control Center
grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/dscc7/-"
{
permission java.security.AllPermission;
};
//**********************
(11) Browse to glassfish console
http://localhost:4848/common/index.jsf
Go to Applications -> Deploy -> "Local Packaged File or Directory That Is Accessible from GlassFish Server" -> Browse -> C:\Sun\dsee7\var\dscc7.war -> click OK.
(12) Select dscc7 -> Enable -> Launch to start Directory Service Control Center
http://localhost:8080/dscc7/dcc7Module/DCC
(14) If you are unable to login then try the below
**********************
C:\>
C:\>C:/Sun/dsee7/bin/dsccsetup.exe status
***
DSCC Agent is registered in Cacao
Cacao is down. Start it using:
C:/Sun/dsee7/ext/cacao_2/bin/cacaoadm.bat start
Cacao uses a custom port number (21162)
***
DSCC Registry has been created
Path of DSCC registry is C:/Sun/dsee7/var/dcc/ads
Port of DSCC registry is 3998
DSCC registry is not running. You may start it using:
C:/Sun/dsee7/bin/dsadm.exe start C:/Sun/dsee7/var/dcc/ads
***
C:\>C:/Sun/dsee7/bin/dsadm.exe start C:/Sun/dsee7/var/dcc/ads
Directory Server instance 'C:/Sun/dsee7/var/dcc/ads' started: pid=3448
C:\>
**********************
Hi,
ReplyDeleteWhile registering cacao agent I'm getting below issue. Can you please help me to resolve this?
C:\dsee7\bin>dsccsetup cacao-reg
Configuring Cacao...
## Failed to run C:/dsee7/ext/cacao_2/configure.bat
####
#### Error handling error: 1332, LookupAccountName for [Unknown] failed at C:\dsee7\ext\cacao_2\\configure.pl line 176.
####
## Exit code is 2
Failed to configure Cacao.
I'm stuck due to this. Any help would be appreciated.
Thanks,
Purish