{"id":3098,"date":"2013-11-03T00:05:44","date_gmt":"2013-11-03T00:05:44","guid":{"rendered":"http:\/\/www.oratraining.com\/blog\/?p=3098"},"modified":"2015-09-20T06:04:39","modified_gmt":"2015-09-20T06:04:39","slug":"install-identity-management-database","status":"publish","type":"post","link":"https:\/\/www.oratraining.com\/blog\/2013\/11\/install-identity-management-database\/","title":{"rendered":"Install Identity management Database"},"content":{"rendered":"<p><strong><span style=\"font-size: 10pt;\">Installing Oracle Fusion Applications &gt; Setting up Identity and Access Management Node &gt; Install Oracle 11g Database (Identity management Database)<\/span><br \/>\n<\/strong><\/p>\n<p><strong>Previous:<\/strong> <a title=\"Install Fusion Applications Provisioning Framework on IDM Host\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/install-fusion-applications-provisioning-framework-on-idm-host\/\">Install Fusion Applications Provisioning Framework on IDM Host<\/a><\/p>\n<blockquote>\n<p style=\"text-align: justify;\"><strong>Pro\u00a0Oracle Fusion Applications &#8211; Installation and Administration<\/strong><\/p>\n<p style=\"text-align: justify;\">Now you can buy the first and only\u00a0comprehensive book on Oracle Fusion Applications Installation and Administration which covers end to end\u00a0information on introduction, planning, installation and troubleshooting guides for implementing\u00a0Fusion Applications on premise. Buy it now from any of the following stores.<\/p>\n<p><a href=\"http:\/\/www.amazon.com\/Pro-Oracle-Fusion-Applications-Administration\/dp\/1484209842\">http:\/\/www.amazon.com\/Pro-Oracle-Fusion-Applications-Administration\/dp\/1484209842<\/a><\/p>\n<p><a href=\"http:\/\/www.barnesandnoble.com\/w\/pro-oracle-fusion-applications-tushar-thakker\/1121094340\">http:\/\/www.barnesandnoble.com\/w\/pro-oracle-fusion-applications-tushar-thakker\/1121094340<\/a><\/p>\n<p><a href=\"http:\/\/www.apress.com\/9781484209844\">http:\/\/www.apress.com\/9781484209844<\/a><\/p>\n<p><a href=\"http:\/\/www.springer.com\/us\/book\/9781484209844\">http:\/\/www.springer.com\/us\/book\/9781484209844<\/a><\/p><\/blockquote>\n<p>Fusion Applications 11.1.8 also ships with Oracle 11g (11.2.0.3.0) database. You can either install it separately (if you want to install RAC database) or use Fusion provisioning Wizard to create one.<\/p>\n<p><strong>Important Note:<\/strong> In future Identity Management provisioning wizard will have separate option to install Identity Management database but since currently that option is unavailable in IDM Wizard, we will use the the Fusion Provisioning Wizard only to create this database.<\/p>\n<p>&nbsp;<\/p>\n<p>To install Applications Transactional Database we need to run Oracle Fusion Applications Provisioning Wizard from &lt;framework_location&gt;\/provisioning\/bin<\/p>\n<p>&lt;framework_location&gt; is same where we installed the framework in previous post. i.e. \/app\/fusion<\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost ~]$ cd \/app\/fusion\/provisioning\/bin\/<br \/>\n<\/span><\/p>\n<p>We need to temporarily set JAVA_HOME to jdk6 directory shipped with the installation media<\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost bin]$ export JAVA_HOME=\/stage\/jdk6<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">[fusion@fmwhost bin]$ .\/provisioningWizard.sh<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden1.png\" alt=\"\" \/><\/p>\n<p>Click <strong>Next<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden2.png\" alt=\"\" \/><\/p>\n<p>Select &#8220;Install an Applications Transactional Database&#8221; option. Click <strong>Next<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden3.png\" alt=\"\" \/><\/p>\n<p>Deselect the checkbox if you wish and click <strong>Next<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden4.png\" alt=\"\" \/><\/p>\n<p>Click <strong>Yes<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden5.png\" alt=\"\" \/><\/p>\n<p>Enter values as mentioned here and click Next.<\/p>\n<p>&nbsp;<\/p>\n<p>Port: <strong>1531<\/strong> (we have changed the default port to avoid port conflict if you want to move it in future to another database host)<\/p>\n<p>Installers directory location: <strong>\/stage<\/strong> (directory where we created the stage)<\/p>\n<p>Oracle Base: <strong>\/app\/database<\/strong><\/p>\n<p>Software Location: Will be populated automatically<\/p>\n<p>OSDBA group: <strong>dba<\/strong><\/p>\n<p>Global Database Name: <strong>idmdb<\/strong> (you can keep any name you want)<\/p>\n<p>Password: <strong>Oracle123<\/strong> (We have used Oracle123 for any passwords during the installation since it satisfies all requirements during this installation. You can keep any complex password you want)<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden6.png\" alt=\"\" \/><\/p>\n<p>You might see some warning related to memory if you are using less than 26 GB memory for this host. You can ignore this since we are going to reduce the memory target after installation.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden7.png\" alt=\"\" \/><\/p>\n<p>Click <strong>Next<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden8.png\" alt=\"\" \/><\/p>\n<p>Once prerequisites check is successful, click <strong>Next<\/strong>. Save summary if required<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden9.png\" alt=\"\" \/><\/p>\n<p>Once Installation completes (20% progress), it will prompt as follows.<\/p>\n<p>&nbsp;<\/p>\n<p>Open another window and run the following script as root user.<\/p>\n<p><span style=\"color: #c00000;\">[root@idmhost ~]# \/app\/database\/product\/11.2.0\/dbhome_1\/root.sh<br \/>\n<\/span><\/p>\n<p>Check \/app\/database\/product\/11.2.0\/dbhome_1\/install\/root_idmhost.paramlabs.com_2013-11-01_18-46-02.log for the output of root script<\/p>\n<p>[root@idmhost ~]# more \/app\/database\/product\/11.2.0\/dbhome_1\/install\/root_idmhost.paramlabs.com_2013-11-01_18-46-02.log<\/p>\n<p>&nbsp;<\/p>\n<p>Performing root user operation for Oracle 11g<\/p>\n<p>The following environment variables are set as:<\/p>\n<p>ORACLE_OWNER= fusion<\/p>\n<p>ORACLE_HOME= \/app\/database\/product\/11.2.0\/dbhome_1<\/p>\n<p>&nbsp;<\/p>\n<p>Creating \/etc\/oratab file&#8230;<\/p>\n<p>Entries will be added to the \/etc\/oratab file as needed by<\/p>\n<p>Database Configuration Assistant when a database is created<\/p>\n<p>Finished running generic part of root script.<\/p>\n<p>Now product-specific root actions will be performed.<\/p>\n<p>Finished product-specific root actions.<\/p>\n<p>&nbsp;<\/p>\n<p>Click <strong>OK<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden10.png\" alt=\"\" \/><\/p>\n<p>Once installation till validation is complete, click <strong>Next<\/strong><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden11.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.oratraining.com\/blog\/wp-content\/uploads\/2013\/11\/110313_1050_InstallIden12.png\" alt=\"\" \/><\/p>\n<p>Click <strong>Close<\/strong> to complete the installation<\/p>\n<p>&nbsp;<\/p>\n<p>Let us install JDK6 as well so that we can set JAVA_HOME to this permanent location.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost ~]$ cd \/app\/fusion\/<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost fusion]$ unzip \/stage\/installers\/jdk\/jdk6.zip<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Append in .bash_profile of fusion user<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">ORACLE_HOME=\/app\/database\/product\/11.2.0\/dbhome_1<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">export ORACLE_HOME<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">PATH=$PATH:$ORACLE_HOME\/bin<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">export PATH<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">ORACLE_SID=idmdb<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">export ORACLE_SID<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">JAVA_HOME=\/app\/fusion\/jdk6<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">export JAVA_HOME<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">ANT_HOME=\/app\/fusion\/provisioning\/ant<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">export ANT_HOME<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 12pt;\"><strong>Reduce memory size of database<br \/>\n<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>We will reduce the size of SGA and PGA to avoid getting out of memory in server since fusion requires too much memory.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Important Note:<\/strong> We are reducing the SGA and PGA (from 10GB to 2GB). We are doing this since we are running on lesser RAM than required. This is not recommended for production installation but since this is only a demo\/development installation, you can safely do this. If you wish to keep it 10GB you can do it but this will increase the swap usage exponentially.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost bin]$\u00a0sqlplus \/ as sysdba<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; show parameter pga<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>NAME TYPE VALUE<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>pga_aggregate_target big integer 4G<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; show parameter sga<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>NAME TYPE VALUE<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>lock_sga boolean FALSE<\/p>\n<p>pre_page_sga boolean FALSE<\/p>\n<p>sga_max_size big integer 9G<\/p>\n<p>sga_target big integer 9G<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; create pfile from spfile;<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>File created.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; shut immediate;<br \/>\n<\/span><\/p>\n<p>Database closed.<\/p>\n<p>Database dismounted.<\/p>\n<p>ORACLE instance shut down.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost ~]$ cd \/app\/database\/product\/11.2.0\/dbhome_1\/dbs\/<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost dbs]$ cp -pr initidmdb.ora initidmdb.ora.bak<br \/>\n<\/span><\/p>\n<p><span style=\"color: #c00000;\">[fusion@idmhost dbs]$ vi initidmdb.ora<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Edit the values as follows and add last line as memory_target<\/p>\n<p>&nbsp;<\/p>\n<p>#idmdb.__db_cache_size=7482638336<\/p>\n<p>#idmdb.__java_pool_size=67108864<\/p>\n<p>#idmdb.__large_pool_size=33554432<\/p>\n<p>idmdb.__oracle_base=&#8217;\/app\/database&#8217;#ORACLE_BASE set from environment<\/p>\n<p>#idmdb.__pga_aggregate_target=4294967296<\/p>\n<p>#idmdb.__sga_target=9663676416<\/p>\n<p>#idmdb.__shared_io_pool_size=536870912<\/p>\n<p>#idmdb.__shared_pool_size=1442840576<\/p>\n<p>#idmdb.__streams_pool_size=33554432<\/p>\n<p>#*.pga_aggregate_target=4294967296<\/p>\n<p>#*.sga_target=9663676416<\/p>\n<p><strong>*.memory_target=3G<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Let&#8217;s recreate spfile using this pfile.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; create spfile from pfile;<br \/>\n<\/span><\/p>\n<p>File created.<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; startup<br \/>\n<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Also change the value for open_cursors parameter to 800<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; show parameter open_cursors<br \/>\n<\/span><\/p>\n<p>NAME TYPE VALUE<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>open_cursors integer 500<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; alter system set open_cursors=800 scope=both sid=&#8217;*&#8217;;<br \/>\n<\/span><\/p>\n<p>System altered.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #c00000;\">SQL&gt; show parameter open_cursors<br \/>\n<\/span><\/p>\n<p>NAME TYPE VALUE<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>open_cursors integer 800<\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-size: 13px;\">\u00a0<\/span><\/span><\/p>\n<p><strong>Next:<\/strong> <a title=\"Run Repository Creation Utility (RCU) for Oracle Identity Management components\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/run-repository-creation-utility-rcu-for-oracle-identity-management-components-2\/\">Run Repository Creation Utility (RCU) for Oracle Identity Management components<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Installing Oracle Fusion Applications \u2013 steps<br \/>\n<\/strong><\/p>\n<p><strong>A. Setting up Identity and Access Management Node<br \/>\n<\/strong><\/p>\n<p>1. <a title=\"Install Fusion Applications Provisioning Framework on IDM Host\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/install-fusion-applications-provisioning-framework-on-idm-host\/\">Install Fusion Applications Provisioning Framework<\/a><\/p>\n<p>2. Install Oracle 11g Database (Identity management database)<\/p>\n<p>3. <a title=\"Run Repository Creation Utility (RCU) for Oracle Identity Management components\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/run-repository-creation-utility-rcu-for-oracle-identity-management-components-2\/\">Run Repository Creation Utility (RCU) for Oracle Identity Management components<\/a><\/p>\n<p>4. <a title=\"Install Identity Management Provisioning Wizard\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/install-identity-management-provisioning-wizard\/\">Install Identity Management Provisioning Wizard<\/a><\/p>\n<p>5. <a title=\"Create IDM provisioning Response File\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/create-idm-provisioning-response-file\/\">Create IDM provisioning Response File<\/a><\/p>\n<p>6. <a title=\"Provision Identity Management\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/provision-identity-management\/\">Provision Identity Management<\/a><\/p>\n<p>7. <a title=\"Perform Post-Provisioning Configuration\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/perform-post-provisioning-configuration\/\">Perform Post-Provisioning Configuration<\/a><\/p>\n<p><strong>B. Setting up Fusion Applications Node<br \/>\n<\/strong><\/p>\n<p>1. <a title=\"Install Fusion Applications Provisioning Framework\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/install-fusion-applications-provisioning-framework-2\/\">Install Fusion Applications Provisioning Framework<\/a><\/p>\n<p>2. <a title=\"Install Oracle 11g Database (Fusion Apps Database)\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/install-oracle-11g-database-fusion-apps-database-2\/\">Install Oracle 11g Database (Fusion Apps Database)<\/a><\/p>\n<p>3. <a title=\"Run Oracle Fusion Applications Repository Creation Utility (Applications RCU)\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/run-oracle-fusion-applications-repository-creation-utility-applications-rcu-2\/\">Run Oracle Fusion Applications Repository Creation Utility (Applications RCU)<\/a><\/p>\n<p>4. <a title=\"Create Fusion Applications Response File\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/create-fusion-applications-response-file\/\">Create new Applications Provisioning Response File<\/a><\/p>\n<p>5.\u00a0<a title=\"Provision an Applications Environment\" href=\"http:\/\/www.oratraining.com\/blog\/2013\/11\/provision-an-applications-environment-2\/\">Provision an Applications Environment<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Oracle Fusion Applications &gt; Setting up Identity and Access Management Node &gt; Install Oracle 11g Database (Identity management Database) Previous: Install Fusion Applications Provisioning Framework on IDM Host Pro\u00a0Oracle Fusion Applications &#8211; Installation and Administration Now you can buy the first and only\u00a0comprehensive book on Oracle Fusion Applications Installation and Administration which covers end [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3098","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts\/3098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/comments?post=3098"}],"version-history":[{"count":3,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts\/3098\/revisions"}],"predecessor-version":[{"id":3696,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/posts\/3098\/revisions\/3696"}],"wp:attachment":[{"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/media?parent=3098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/categories?post=3098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oratraining.com\/blog\/wp-json\/wp\/v2\/tags?post=3098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}