9 Replies Latest reply: Nov 25, 2012 9:03 PM by MWshobz RSS

    How to differentiate DEV and UAT deployments in same SOA server?

    MWshobz
      Hi Mavens,

      I am having a issue in identifying Oracle SOA 11g system landscape

      Background of the issue is this.
      DEV OTM and DEV eBS instance communicate using DEV SOA instance on a specific port 8001. Now for UAT they have a UAT OTM Instance, UAT eBS Instance. But they don't have UAT SOA instance, rather they want to leverage DEV SOA instance to connect both UAT OTM and UAT eBS.

      Since the DB connections/OTM webservices are different for both DEV and UAT, I need to deploy BPEL process to a different port in that DEV SOA Server. So that all request from/to UAT ebS/OTM instances are routed to UAT port of the soa server(8002) and similarly all request to/from DEV ebs/OTM instance are routed to DEV port of the soa server(8001).

      1. Theoretically, a creation of additional Managed Server(by cloning the Soa Managed Server soa_serv1) would help. This would have a different port and hence request/response for UAT instance would be routed via this managed server. The usage of Managed server is predominant in scalability. Is it correct to use for differentiating UAT and DEV instance. Do you forsee issues with this.

      2.Is there any other better and full proof way to use the same SOA instance but have both DEV and UAT there.


      Thanks,
      Shobz
        • 1. Re: How to differentiate DEV and UAT deployments in same SOA server?
          PrazzyJay
          Having dev and UAT on a same server is not a good IT strategy Creating managed server is not a good idea as well. The reason is
          1. you would have to create different jdbc, jms resources for dev and UAT. And you would have to change deployment plan for this.
          2. And there are chances that developers could accidently change some the settings.

          I would suggest create another weblogic domain in the same machine. So that UAT can be isolated completely.

          --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
          • 2. Re: How to differentiate DEV and UAT deployments in same SOA server?
            MWshobz
            Hi Prasanna,
            Thanks for a quick reply

            1. I do agree that the strategy of having both UAT and DEV on same box is not great. But I have limited scope to comment to the client on this specific choice of landsacpe.

            2. Do you have some links which is a sure proof to create additional weblogic domain quickly and correctly. I am getting references of Creating domain the first time. But my requirement is to create an additional domain on top of what is existing currently. Any advice here.

            Thanks,
            Shobz
            • 3. Re: How to differentiate DEV and UAT deployments in same SOA server?
              vladodias
              Hi,

              If you can't avoid this all in the same host restriction, at least create different domains for DEV and UAT, then use ranges of port numbers, e.g., 800x for DEV and 900x for UAT...

              You can reuse the same product installation, just use config.cmd(config.sh) to create a new domain on a different directory...

              Cheers,
              Vlad
              • 4. Re: How to differentiate DEV and UAT deployments in same SOA server?
                MWshobz
                Hi Vald,
                Thanks for the mail.
                Do you forsee any issues if same DB schema is shared both both the weblogic domains or do we need to create separate schema also? The relevant schemas are:

                BPEL_SOINFRA
                BPEL_MDS
                BPEL_ORASDPM
                Thanks,
                Shobz
                • 5. Re: How to differentiate DEV and UAT deployments in same SOA server?
                  PrazzyJay
                  refer this documentation link

                  http://docs.oracle.com/cd/E23943_01/doc.1111/e13925/configure.htm#CACEEJJJ

                  Execute ./config.sh and follow the steps to create a domain.


                  --Prasanna                                                                                                                                                                                                                                                                                                                                                                                           
                  • 6. Re: How to differentiate DEV and UAT deployments in same SOA server?
                    MWshobz
                    Hi Prasanna,
                    Thanks for the link. We will update the result of the new domain creation.

                    And for the sceham confusion we had that is "whether we should create separate schema for the additional domain?", based on this thread SOA 11g - Schema for Multiple domains we will be going ahead with new schema creation for this new weblogic domain.

                    Will update the thread with results. Thanks all for the support.
                    Thanks,
                    Shobz
                    • 7. Re: How to differentiate DEV and UAT deployments in same SOA server?
                      PrazzyJay
                      yes, you will need additional schemas for new domain. Those schemas can be created on the same database.

                      --Prasanna                                                                                                                                                                                                                                           
                      • 8. Re: How to differentiate DEV and UAT deployments in same SOA server?
                        Ravi Jegga
                        Hi Shobz
                        0. I know you already figured this out. Just wanted to share my 2 cents.

                        1. Its highly recommended to have each SOA/BPM Domain point to its own set of RCU Schemas. See below post. I know you already got this.
                        Re: Can I install two versions of SOA suite using same Oracle database

                        2. Basically for any Weblogic Domain, there are some things which are at Domain level like Security Settings, DataSources (you can control by targetting to different clusters, but in case of soa it will not work). So even though you have 2 different servers for DEV and UAT, behind the screens all the tasks from all the Env go into one Single Set of soa_infra tables and this creates a big confusion. The tasks created from UAT may be visible in DEV and vice versa. If you have Reports like to get all Active Tasks, it will pretty much fetch all the Tasks created from both the Env. This is definetly not what you want. Under domain root folder/config/jdbc you will see bunch of .xml files related to data sources. They all point to soa cluster and internal soa framework uses these data sources.

                        This applies to pretty much any Domain that has a backend database linked to store Meta-Data like for SOA/BPM, OBIEE, Portal, WebCenter etc. One Domain (Env) point to one set of DB Schemas. Good thing is you can have all these schemas prefixed properly and reside in the same single Oracle database (hopefully you should have large memory for this db). The above post has some tips.

                        Thanks
                        Ravi Jegga
                        • 9. Re: How to differentiate DEV and UAT deployments in same SOA server?
                          MWshobz
                          Hi All,
                          Thanks for the solution. It worked for us.

                          We created a seperate weblogic domain called UAT_Domain to host all UAT process in the same SOA instance(11g) where DEV is currently installed. This way both DEV and UAT can co-exist in the same SOA instance.

                          We used the normal weblogic configuration wizard(config.cmd/config.sh) to create an additional domain in existing SOA instance and allowed the configuration wizard to create its own set of schemas to store the metadata. This way every domain has a clear distinction to store its metadata in DB in its own schema.

                          Thanks,
                          Shobana