Upload
pvnarayanan5826
View
225
Download
0
Embed Size (px)
Citation preview
8/3/2019 11g Fusion Middle Ware Installation Part 2
1/61
Install SSO/DAS 10.1.4.0.1 (into a NEW Oracle Home - this must be a different Oracle Home from OID/DIP11gR1)
Since we are installing on a 64 Bit Linux machine, we have to run the following command before launching the installer
$ linux32 bash
Launch installer with -ignoreSysPrereqs
8/3/2019 11g Fusion Middle Ware Installation Part 2
2/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
3/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
4/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
5/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
6/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
7/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
8/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
9/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
10/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
11/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
12/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
13/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
14/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
15/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
16/61
Opmn does not start
Try opmnctl startall and see this error
--------11/11/10 06:03:46 Start process--------/u01/app/oracle/product/SSO_1014/Apache/Apache/bin/apachectl start: execing httpd/u01/app/oracle/product/SSO_1014/Apache/Apache/bin/httpd:error while loading shared libraries: libdb.so.2: cannot open sharedobject file: No such file or directory
[root@kens-oraapp-001 ~]# ls -l /usr/lib/libdb.so.2lrwxrwxrwx 1 root root 25 Nov 7 06:25 /usr/lib/libdb.so.2 -> /usr/lib/libgdbm.so.2.0.0[root@kens-oraapp-001 ~]#
[root@kens-oraapp-001 ~]# ls -l /usr/lib/libgdbm.so.2.0.0
ls: /usr/lib/libgdbm.so.2.0.0: No such file or directory
NEED TO INSTALL THIS RPM- look in the Server directory on the media CD
gdbm-1.8.0-26.2.1.i386.rpm
[root@kens-oraapp-001 ~]# rpm -ivh gdbm-1.8.0-26.2.1.i386.rpmPreparing... ########################################### [100%]
1:gdbm ########################################### [100%][root@kens-oraapp-001 ~]#
Now you will see the file
[root@kens-oraapp-001 ~]# ls -l /usr/lib/libgdbm.so.2.0.0-rwxr-xr-x 1 root root 23812 Jun 5 2007 /usr/lib/libgdbm.so.2.0.0
[oracle@kens-oraapp-001 bin]$ ./opmnctl startallopmnctl: starting opmn and all managed processes...
8/3/2019 11g Fusion Middle Ware Installation Part 2
17/61
[oracle@kens-oraapp-001 bin]$ ./opmnctl status
Processes in Instance: SSO_INFRA.kens-oraapp-001.corporateict.domain-------------------+--------------------+---------+---------ias-component | process-type | pid | status-------------------+--------------------+---------+---------DSA | DSA | N/A | DownLogLoader | logloaderd | N/A | Downdcm-daemon | dcm-daemon | N/A | DownHTTP_Server | HTTP_Server | 19703 | Alive
8/3/2019 11g Fusion Middle Ware Installation Part 2
18/61
[root@kens-oraapp-001 SSO_1014]# ./root.sh
Running Oracle10 root.sh script...\nThe following environment variables are set as:
ORACLE_OWNER= oracleORACLE_HOME= /u01/app/oracle/product/SSO_1014
Enter the full pathname of the local bin directory: [/usr/local/bin]:The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)[n]:The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
8/3/2019 11g Fusion Middle Ware Installation Part 2
19/61
[n]:The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)[n]:
Adding entry to /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed.
Entering Oracle Internet Directory Root Installation Section
OiD Server InstallationChecking LDAP binary file protectionsSetting oidmon file protectionsSetting oidldapd file protectionsSetting oidrepld file protectionsSetting oidemdpasswd file protectionsSetting remtool file protectionsSetting oiddiag file protectionsLeaving Oracle Internet Directory Root Installation Section
8/3/2019 11g Fusion Middle Ware Installation Part 2
20/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
21/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
22/61
Upgrade SSO/DAS to 10.1.4.3
8/3/2019 11g Fusion Middle Ware Installation Part 2
23/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
24/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
25/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
26/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
27/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
28/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
29/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
30/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
31/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
32/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
33/61
Note:
8/3/2019 11g Fusion Middle Ware Installation Part 2
34/61
Config assistant error because database is 11g
Apply patches
6880880,5649850,6265268
Note for patch 6265268
Copy DBConnectQueries.jar and IP_DBQueries.jar from patch directory to following locations
[oracle@kens-oraapp-001 10.1.4]$ cp DBConnectQueries.jar Disk1/stage/Queries/DBConnectQueries/8.4/1/[oracle@kens-oraapp-001 10.1.4]$ cp IP_DBQueries.jar Disk1/stage/Queries/IP_DBQueries/3.0/1/
Installer fails
OUI has detected that your database is version 11.2.0.1.0 and not Certified - Even With Patch 6265268
Patch needs to be copied to SSO ORACLE HOME as well
[oracle@kens-oraapp-001 10.1.4]$ cp DBConnectQueries.jar/u01/app/oracle/product/SSO_1014/inventory/Queries21/DBConnectQueries/8.4/[oracle@kens-oraapp-001 10.1.4]$ cp IP_DBQueries.jar/u01/app/oracle/product/SSO_1014/inventory/Queries21/IP_DBQueries/3.0/
Opatch permission denied error
chmod fR 774 *
[root@kens-oraapp-001 SSO_1014]# ./root.shRunning Oracle 10g root.sh script...
8/3/2019 11g Fusion Middle Ware Installation Part 2
35/61
The following environment variables are set as:ORACLE_OWNER= oracleORACLE_HOME= /u01/app/oracle/product/SSO_1014
Enter the full pathname of the local bin directory: [/usr/local/bin]:The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)[n]:The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)[n]:
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed.
Entering Oracle Internet Directory Root Installation Section
OiD Server InstallationChecking LDAP binary file protectionsSetting oidmon file protectionsSetting oidldapd file protectionsSetting oidrepld file protectionsSetting oidemdpasswd file protectionsSetting remtool file protectionsSetting oiddiag file protectionsLeaving Oracle Internet Directory Root Installation Section
Execute the inspre11.pl script with -op3, which sets the Oracle Internet Directory version back to 11gRelease 1
[oracle@kens-oraapp-001 bin]$ export ORACLE_HOME=/u01/app/oracle/Middleware/Oracle_IDM1
8/3/2019 11g Fusion Middle Ware Installation Part 2
36/61
[oracle@kens-oraapp-001 bin]$ export ORACLE_INSTANCE=/u01/app/oracle/Middleware/asinst_1[oracle@kens-oraapp-001 bin]$ ./perl /u01/app/oracle/Middleware/Oracle_IDM1/ldap/bin/inspre11.pl kens-oraapp-001 3131 -ssloid1 kens-oraapp-001:1521:fmwrepo.corporateict.domain mypwd mypwd -op3
Change orcldirectoryversion to 11.1.1.2.0 and enable entrycache [oracle@kens-oraapp-001 bin]$
Check all processes are running in both the 10g SSO as well as 11g Identity Management Home
[oracle@kens-oraapp-001 bin]$ cd /u01/app/oracle/Middleware/asinst_1/bin[oracle@kens-oraapp-001 bin]$ ./opmnctl status
Processes in Instance: asinst_1---------------------------------+--------------------+---------+---------ias-component | process-type | pid | status---------------------------------+--------------------+---------+---------ohs1 | OHS | 18011 | Aliveovd1 | OVD | 16468 | Aliveoid1 | oidldapd | 13794 | Aliveoid1 | oidldapd | 13790 | Alive
oid1 | oidmon | 13781 | AliveEMAGENT | EMAGENT | 17116 | Alive
[oracle@kens-oraapp-001 bin]$ cd /u01/app/oracle/product/SSO_1014/opmn/bin[oracle@kens-oraapp-001 bin]$ ./opmnctl status
Processes in Instance: SSO_INFRA.kens-oraapp-001.corporateict.domain-------------------+--------------------+---------+---------ias-component | process-type | pid | status-------------------+--------------------+---------+---------DSA | DSA | N/A | DownLogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | 21598 | AliveOC4J | OC4J_SECURITY | 21501 | AliveHTTP_Server | HTTP_Server | 21490 | Alive
8/3/2019 11g Fusion Middle Ware Installation Part 2
37/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
38/61
11g Fusion Middleware installation
8/3/2019 11g Fusion Middle Ware Installation Part 2
39/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
40/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
41/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
42/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
43/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
44/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
45/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
46/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
47/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
48/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
49/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
50/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
51/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
52/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
53/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
54/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
55/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
56/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
57/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
58/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
59/61
8/3/2019 11g Fusion Middle Ware Installation Part 2
60/61
Save the installation details in a text file because it will contain all the URLs and the port numbers of thedifferent components
8/3/2019 11g Fusion Middle Ware Installation Part 2
61/61