{"id":6823,"date":"2014-01-21T21:45:58","date_gmt":"2014-01-22T01:45:58","guid":{"rendered":"http:\/\/onlineappsdba.com\/?p=6823"},"modified":"2016-05-04T10:37:51","modified_gmt":"2016-05-04T14:37:51","slug":"oia-cluster-deployment-for-high-availability-in-active-active-cluster","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/","title":{"rendered":"OIA cluster deployment for High Availability in Active-Active Cluster"},"content":{"rendered":"<p>I discussed about <strong>Oracle Identity Analytics <\/strong>(<strong>OIA<\/strong>)<strong> installation<\/strong> <a href=\"https:\/\/onlineappsdba.com\/index.php\/2011\/12\/16\/install-oracle-identity-analytics-oia-11gr1-ps1-11115\/\">here<\/a>.\u00a0In this post I am going to cover key points when deploying <strong>OIA in cluster<\/strong> for <strong>High Availability (Active-Active)<\/strong>.<\/p>\n<p><strong>Note:<\/strong> This post assumes that you are familiar with deploying OIA in single node and steps here are only specific to cluster configuration.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.<\/strong> OIA is a J2EE application deployed on WebLogic Server. For High Availability on application tier, <a href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/07\/24\/domain-administration-managed-server-cluster-in-oracle-weblogic\/\">configure two or more managed server in WebLogic Cluster<\/a>\u00a0and\u00a0deploy OIA application on this WebLogic Cluster (Follow point 3-6 to create war file and deploy it to WebLogic Cluster ).<\/p>\n<p><strong>2.<\/strong> For database tier configure <strong>Oracle Real Application Cluster (RAC)<\/strong> . In $RBACX_HOME\/conf\/<strong>jdbc.properties<\/strong> use<strong> SCAN listener<\/strong> and service name for OIA database.<\/p>\n<p><span style=\"color: #ff0000;\">jdbc.url=jdbc:oracle:thin:@OIADB_SCAN_ADDRESS:DB_PORT\/RAC_SERVICE_NAME<\/span><br \/>\n<span style=\"color: #ff0000;\">jdbc.quartz.isClustered=true<\/span><\/p>\n<p><strong>3.<\/strong> In file\u00a0$RBACX_STAGE\/WEB-INF\/<strong>application-context.xml<\/strong> look for <strong>bean id=&#8221;commManager&#8221;<\/strong> then<\/p>\n<p><strong>a) Set Unique cluster name<\/strong> &#8211; for <strong>constructor-arg<\/strong> change value to a unique name like &#8216;cluster_oia&#8217; (You can pick any name of your choice)<\/p>\n<p><span style=\"color: #ff0000;\">&lt;constructor-arg index=&#8221;0&#8243; value=&#8221;cluster_oia&#8221;\/&gt;<\/span><\/p>\n<p><strong>b) Add cluster members<\/strong> \u00a0&#8211; Uncomment constructor-arg index=&#8221;1&#8243; and set *hostnames* of OIA cluster members<\/p>\n<p><span style=\"color: #ff0000;\">&lt;constructor-arg index=&#8221;1&#8243; value=&#8221;OIA_HOST1;OIA_HOST2&#8243;\/&gt;<\/span><\/p>\n<p><strong>c) Set property<\/strong> name &#8220;enabled&#8221; to &#8220;true&#8221;<\/p>\n<p><span style=\"color: #ff0000;\">&lt;property name=&#8221;enabled&#8221; value=&#8221;true&#8221;\/&gt;<\/span><\/p>\n<p><strong>Note:<\/strong> <span style=\"color: #ff0000;\">Documentation says use IP address for OIA_HOST1 &amp; OIA_HOST2 but you must consider using hostname (or virtual name) so that you can fail transparently to Disaster Recovery site<\/span><\/p>\n<p>.<\/p>\n<p><strong>4. Configure searchConfiguration<\/strong> in\u00a0$RBACX_STAGE\/WEB-INF\/<strong>search-context.xml<\/strong> &#8211; In file <strong>search-context.xml<\/strong> look for <strong>bean id<\/strong> &#8220;searchConfiguration&#8221; and set <strong>contructor-arg<\/strong> value to<strong> 2<\/strong><\/p>\n<p><span style=\"color: #ff0000;\">&lt;!&#8211; Could be one of the following values<\/span><br \/>\n<span style=\"color: #ff0000;\"> 0: SINGLE_INSTANCE<\/span><br \/>\n<span style=\"color: #ff0000;\"> 1: RUNNING_IN_CLUSTER_NON_SHARED_INDEXES<\/span><br \/>\n<span style=\"color: #ff0000;\"> 2: RUNNING_IN_CLUSTER_SHARED_INDEXES &#8211;&gt;<\/span><\/p>\n<p><span style=\"color: #ff0000;\">&lt;constructor-arg index=&#8221;0&#8243; type=&#8221;int&#8221; value=&#8221;2&#8243;\/&gt;<\/span><\/p>\n<p><strong>b)<\/strong> In same file (search-context.xml) change <strong>indexLocation<\/strong> value to shared files system so that both nodes can see <strong>.indexes<\/strong><\/p>\n<p><span style=\"color: #ff0000;\">&lt;property name=&#8221;indexLocation&#8221; value=&#8221;\/full_path_of_shared_location\/.indexes&#8221;\/&gt;<\/span><\/p>\n<p><strong>Note<\/strong>: <span style=\"color: #ff0000;\">You must copy content of<strong> .indexes<\/strong> from $RBACX_HOME\/.indexes to .indexes folder mentioned above in <strong>search-context.xml<\/strong> file<\/span><\/p>\n<p>.<\/p>\n<p><strong>5.<\/strong> <strong>Configure oscache for clustering<\/strong> &#8211; Update $RBACX_STAGE\/WEB-INF\/classes\/<strong>oscache.properties<\/strong> and<\/p>\n<p><strong>a)<\/strong> uncomment cache.event.listeners cache.event.listeners=com.opensymphony.oscache. plugins.clustersupport. JavaGroupsBroadcastingListener, com.opensymphony.oscache.extra. CacheMapAccessEventListenerImpl<\/p>\n<p><strong>b)<\/strong> Uncomment cache.cluster.multicast.ip<\/p>\n<p>cache.cluster.multicast.ip=231.12.21.100<\/p>\n<p>&nbsp;<\/p>\n<p><strong>6.<\/strong> If you are configuring logging which is defined using $RBACX_STAGE\/WEB-INF\/<strong>log4j.properties<\/strong>\u00a0then ensure that value of\u00a0<strong>log4j.appender.file<\/strong>= is not shared across two servers (OIA server on different machine should be able to write to this log location)<\/p>\n<p><strong>7.<\/strong> Time on servers where OIA is deployed in cluster must be in SYNC (Time on servers should be more than couple of seconds apart, use NTP Server)<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Related\/References<\/strong><\/span><\/p>\n<ul>\n<li>1527019.1 What Are Basic Steps To Configure OIA As Cluster?<\/li>\n<li>1562598.1 How To Setup And Test MultiCasting For An OIA Cluster?<\/li>\n<li>1379896.1 Oracle Identity Analytics &#8211; Is It Possible To Have Two OIA Instances On The Same Phyical Machine?<\/li>\n<li>1601654.1 \u00a0Oracle Identity Analytics High Availability Clustering Setup Failed to Start With Error : [UDP] failed sending message to null<\/li>\n<li><a href=\"http:\/\/docs.oracle.com\/cd\/E24179_01\/doc.1111\/e23378\/InstallingOracleIdentityAnalytics.htm#BEIIGDFB\">OIA Installation Guide HA steps<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I discussed about Oracle Identity Analytics (OIA) installation here.\u00a0In this post I am going to cover key points when deploying [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[440],"tags":[],"class_list":["post-6823","post","type-post","status-publish","format-standard","hentry","category-oia"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OIA cluster deployment for High Availability in Active-Active Cluster -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OIA cluster deployment for High Availability in Active-Active Cluster -\" \/>\n<meta property=\"og:description\" content=\"I discussed about Oracle Identity Analytics (OIA) installation here.\u00a0In this post I am going to cover key points when deploying [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-22T01:45:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-05-04T14:37:51+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/\",\"name\":\"OIA cluster deployment for High Availability in Active-Active Cluster -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2014-01-22T01:45:58+00:00\",\"dateModified\":\"2016-05-04T14:37:51+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OIA cluster deployment for High Availability in Active-Active Cluster\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OIA cluster deployment for High Availability in Active-Active Cluster -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/","og_locale":"en_US","og_type":"article","og_title":"OIA cluster deployment for High Availability in Active-Active Cluster -","og_description":"I discussed about Oracle Identity Analytics (OIA) installation here.\u00a0In this post I am going to cover key points when deploying [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/","article_published_time":"2014-01-22T01:45:58+00:00","article_modified_time":"2016-05-04T14:37:51+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/","url":"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/","name":"OIA cluster deployment for High Availability in Active-Active Cluster -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2014-01-22T01:45:58+00:00","dateModified":"2016-05-04T14:37:51+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2014\/01\/21\/oia-cluster-deployment-for-high-availability-in-active-active-cluster\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"OIA cluster deployment for High Availability in Active-Active Cluster"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/6823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=6823"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/6823\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=6823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=6823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=6823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}