Register for Apps DBA Training
For Apps DBA Beginner's
  • Start From Here
  • Order of Apps Study
  • 11i Software
  • Apps Architecture
  • Install Apps 11i
  • Install Apps 11i Part II
  • Startup/Shutdown
  • Request Flow in Apps
  • Various TOP's
  • Cloning Basics
  • Cloning I
  • Cloning II
  • Autoconfig Basics
  • Autoconfig Config File
  • Template Files in Autoconfig
  • Discoverer Overview
  • Workflow Mailer in Apps
  • Printing Overview
  • Configuring Printers
  • Pasta Printing
  • Performance Overview
  • Install 10g Application Server
  • Apps DBA Certification
  • Common DBA Topics
  • Scared of RAC ?
  • Install RAC on your laptop part I
  • Step by Step build RAC part II
  • Step by Step install RAC using VMWare part III
  • Install Oracle RAC Database part IV
  • oraInventory Basics
  • Install Database 10.2.0.1
  • Upgarde DB to 10.2.0.2
  • Fusion
  • Is Fusion a conFusion ?
  • Fusion Middleware Overview I
  • Fusion Middleware Overview II
  • Application Integration Architecture
  • SOA Install Part I
  • SOA Install Part II
  • SOA Install Part III
  • Install BPEL Process Manager
  • Apps Integration OID/SSO
  • Management Qs for Apps Integration with SSO/OID
  • 25 things your DBA should know for Apps/SSO integration
  • Identity Management
  • COREid Overview
  • Oracle COREid or Idm & Access Mgmt overview
  • Installing Access Manager 10.1.4
  • WebGate request flow
  • Identity Manager Architecture
  • Installing Identity Manager
  • OAS-SSO Overview
  • OID Overview
  • OID Basics II
  • OID Cluster
  • OID Integration with Other LDAP Servers overview
  • Integrate OID with AD I
  • OID Replication Overview
  • Multi Master OID Replication
  • Migrate OID/SSO to new Host
  • Apps R 12
  • Socket or Servlet in R12
  • Startup/Shutdown Scripts in R12
  • Unified APPL_TOP
  • Apps R 12.0.1
  • Difference between 11i & R12 Technical
  • Prepare for R12 Installation
  • Install VMWare on Windows for Linux Install
  • Install Linux for Apps R12 Install
  • Install Apps R12 on Linux Virtual Machine
  • R12 Upgrade & database
  • R12 Fils System Changes
  • R12 Release Date
  • 10g Application Server
  • 10g AS Overview
  • Installing 10g AS
  • Start/Stop 10g AS
  • Web Cache Basics
  • Single Sign-On Overview
  • OID Overview
  • Cloning 10g AS
  • 10g AS Middle tier Cloning & Overview
  • OID Cluster Imp. Points
  • CPU Patch, Infra Tier
  • CPU Patch, Middle Tier
  • AS Guard / DR Overview
  • Oracle Apps 11i
  • My Site
  • Apps DBA Scripts
  • Apps DBA Interview Q's
  • 11i JVM's
  • Apps Training in India
  • 11i Health Check
  • Good Metalink Notes
  • About Me  
  • For Advanced Apps DBA
  • URL Firewall in DMZ Setup
  • Upgrade Apps to 11.5.10.2
  • Load Balancer Overview
  • Load Balancer Config
  • HTTP layer Load balancing in Apps 11i
  • Dataguard Overview
  • Configure Dataguard / Standby database
  • Standby Site for Apps 11i
  • How to change Hostname on Apps Instance
  • SSL Overview in Apps
  • Configure SSL to Web Server
  • Key Points for SSL in Apps
  • Reduce Patch Timing
  • Reduce Patch Timing II
  • Shared APPL_TOP Overview
  • Configure Shared APPL_TOP
  • 11i Database Upgrade I
  • 11i Database Upgrade II
  • Change Session TimeOut
  • Patching
  • Apps Patch Basics
  • Apps Patch Basics II
  • Apply Apps Patch
  • CPU Overview
  • Steps to Apply CPU Patch
  • CPU Patch on Infra Tier
  • CPU Patch on AS Middle Tier
  • Troubleshooting
  • Web Server TS Part I
  • Web Server TS Part II
  • CM Troubleshooting
  • 10g Discoverer with Apps
  • Discoverer Bascis in Apps
  • Discoverer 10g Upgarde Basics
  • Discoverer 10g Configuration Steps with 11i
  • Collaboration Suite
  • Collaboration Suite
  • Calendar Overview
  • Sync Calendar from Mobile I
  • Sync Calendar from Mobile II
  • OCS Mail Architecture
  • Apex / HTMLDB
  • Install Apex 2.2
  • Apex with SSO part I
  • Apex with SSO part II
  • SSO Authentication Schemes
  • Certification
  • Possible Certifications for DBA
  • Apps DBA Certification
  • 1Z0-311-OCA-10g OAS Overview
  • 1z0-312-OCP-10g OAS Overview
  • 1z0-312 - Managing Customization and Topology
  • 1z0-312 - Cloning and Staging OAS
  • Apps DBA Jobs
  • Working / Apps DBA in UK
  • Oracle Recruiting Apps DBA's
  • Apps DBA Jobs Updated Regularly
  • Apps Job at Satyam
  • Useful Links
  • Good Metalink Notes
  • petefinnigan's Oracle Security
  • Linux Basics
  • Atul Mehta's Oracle Links
  • Others
  • Apps DBA Training Institute
  • 1 Year Journey of this Blog
  • How To ?
  • Change APPS Password
  • Preserve Customizations
  • Blog Roll
    Apps / E-Business Suite
  • Steven Chan Apps
  • Anil Passi Technical
  • Fadi Apps DBA
  • Senthil Apps DBA
  • Bas Klaassen EBS DBA
  • Sam Apps DBA
  • Black Geek Apps DBA
  • Bandari Apps
  • Vikram ERP Architect
  • OraBiz
  • Eric Core DBA
  • SOA
  • Navdeep Saini Apps DBA
  • tugdualgrall Web Services
  • Mohan Dutt's Apps Certification
    IdM
  • Nishant Kaushik's IdM
  • Nulli Blog, OAM
  • Identity Musing
  • Identity nd Access Management
    Core DBA
  • Vidya Bala DBA
  • Sabdar DBA
    Data Management
  • Ivan Pellegrin Data Management


  • We have moved to http://onlineAppsDBA.com kindly check http://onlineAppsDBA.comin future
    Application Server Guard, Disaster Recovery for Oracle Application Server
    Sunday, December 03, 2006
    Register for R12 upgrade
    Application Server Guard is Next level of Disaster Recovery Solution by Oracle (Currently only for Application Server/ Fusion Middleware). Application Server Guard (with underlying dataguard for database) incorporate Middle Tier configuration recovery on standby site.
    Lets discover overview & main component of AS Guard ( ASG , also called as DSA Distributed Server Architecture).

    Components of AS Guard
    Application Server Guard also called as AS Guard is automatically Installed with 10g Application Server . Real features/advantages of AS Guard started with version 10.1.2.0.2 and bugs associated in this release with some more features are fixed in Version 10.1.2.2.0 . AS Guard binaries are Installed under folder "DSA" under oracle_home . If you have standalone database , you can install standalone AS Guard under database oracle_home. Software is available at http://www.oracle.com/technology/software/products/ias/htdocs/101202.html

    AS Guard consist of Server & client (any ASGuard with asgctl.sh can act as Client).

    For database it uses dataguard (You don't have to configured dataguard for database AS Guard will configure it for you if your database was part of Application Server Installation) If your database is created by MRCA/Repca (Metadata Repository Creation Assistance Tool) then you have to configure Dataguard at your own.

    For Identity Management & Middle tier configuration it uses backup & recovery tool in Application Server (This is automated by AS Guard, you don't have to do anything)

    Primary & Standby Site
    Primary & Standby site can be synchronous (Same number of nodes in standby as primary) or asynchronous (Number of nodes in standby are less as compared to primary-Like primary site is with two middle tier and one infra tier where as standby site with only one middle tier & one infra tier- P.S. standby site should have at least one middle tier & one infrastructure tier)

    Start/Stop AS Guard Server
    If AS Guard Server is part of application Server you start it using opmnctl like
    opmnctl startproc ias-component=DSA
    For standalone AS Guard you use dsaServer.sh under oracle_home/dsa/bin like
    nohup dsaServer.sh &

    Operations in AS Guard

    instantiate -
    This is process of building primary & standby relationship and done only once. In this step AS Guard will create standby database for Application Server metadata repository database , backup configuration files from primary site & restore them to standby site

    sync-
    This is method of synching standby site with primary site. In this step standby database is synched with primary database . Configuration files from IM node & middle tier node on primary site are backed up & restored in standby site

    switchover-
    This is the process of converting role of primary in to standby & standby into primary. Useful in situation like server maintenance in primary site or any activity on primary site so that standby site can be used as primary site

    failover-
    This is the process of converting standby site as primary (same as above except here primary site is not converted as standby). Useful in situation if primary site is not available because of some reason.

    For using AS Guard (Application Server Guard) as Disaster Recovery solution , you have to select HA (High Availability) & then Virtual Host during IM Installation.

    More on AS Guard configuration coming soon....

    If you are facing any issue in AS Guard configuration drop a mail at atul_iiit@yahoo.com with your Issues or you can raise your doubt at http://TeachMeOracle.com/forum

    Labels: ,


    We have moved to

    http://onlineAppsDBA.com

    kindly check onLineAppsDBA.com in future

    add to del.icio.usdel.icio.us  ¦  digg thisDigg This  ¦  My Yahoo!My Yahoo  ¦  RedditReddit  ¦  add to BlinkListBlinkList   ¦  Furl ItFurl It  ¦  Email This Email This  ¦     Leave Your Comments
    posted by Atul Kumar @ 3:21 AM  
    31 Comments:
    • At 9:18 AM, Anonymous Anonymous said…

      Nice as always, i was wondering if you can post something related to High availability on application server (web or forms) server if its doable and how can we get there.

      thanks and keep up the good work

      fadi hasweh
      http://oracle-magic.blogspot.com/
      Oracle is not Magic, it just takes years of experience

       
    • At 1:43 PM, Blogger Atul Kumar said…

      Yes Fadi, It can be achieved by configuring multiple middle tiers front ended by Load balancer .

      Atul

       
    • At 6:19 AM, Anonymous Anonymous said…

      superb doc.
      i had one query. can i use the clone command instead of installing the standby software (infra and mid tier).

      If yes then before performing the clone what are the software need to install on standby machine.

      regards

      falahuddin

       
    • At 6:22 AM, Anonymous Anonymous said…

      superb doc.
      i had one query. can i use the clone command instead of installing the standby software (infra and mid tier).

      If yes then before performing the clone what are the software need to install on standby machine.

      regards

      falahuddin

       
    • At 7:52 AM, Blogger Atul Kumar said…

      falahuddin
      Thanks a lot for your compliments .
      You can clone Middle Tier on standby site (For Infra Node I need to check if you can clone by AS Guard)

      You need to install standalone AS Guard in standby site (under oracle_home, though there won't be any files in that oracle_home apart from as guard before cloning)

      Atul

       
    • At 9:08 AM, Anonymous Anonymous said…

      Thanks for quick reply

      another query which will be helpful to all.

      Does this agctl command we have to run from infra (primay) at the time of setup or from any other home.

      Further for sync,agctl utility has to be run from primary site (any home).

      thanks..
      falah

       
    • At 2:22 PM, Anonymous Anonymous said…

      Hi ,


      I am glad to inform that I have done the initial step for configuring the AS Guard.

      Further I need some clarification.

      Let me give u the following details

      linux box1.(primary)

      Ip 192.168.1.1 - infra.abc.com - IDM +db is installed
      Ip 192.168.1.1 - app.abc.com - midtier is installed
      etc/host- entries- the above two and Ip 192.168.1.2 - remoteinfra.abc.com - (IDM +db) of standby server

      linux box2.(standby)

      Ip 192.168.1.2 - infra.abc.com - IDM +db is installed
      Ip 192.168.1.2 - app.abc.com - midtier is installed
      etc/host- entries- the above two and Ip 192.168.1.2 - remoteinfra.abc.com - (IDM +db) of primary server


      DSA server is started on all the four boxes.

      when i start the asgctl.sh on primary box in infra home and executed the following commands


      ASGCTL> connect asg infra ias_admin/infra123
      Successfully connected to infraha:7890
      ASGCTL>
      ASGCTL>
      ASGCTL> discover topology oidpasswd=infra123


      Discovering topology on host "infra" with IP address "192.168.1.1"

      ohsarch:7890
      Connecting to the OID server on host "infra.abc.com" using SSL port "636" and username "orcladmin"
      Getting the list of databases from OID
      Gathering database information for SID "dbinfra" from host " infra.abc.com"
      Getting the list of instances from OID
      Gathering instance information for "infra_home.infra.abc.com" from host "infra.abc.com"
      Gathering instance information for "app_home.app.abc.com" from host "ohsarch.idc.oracle.com"
      ********** WARNING **********
      app: -->ASG_IAS-15779: Error getting instance information for instance "app_home.app.abc.com" from host "app.abc.com". This instance will be excluded from the topology.xml file
      app: -->ASG_IAS-15632: The home that contains instance "app_home.app.abc.com" could not be found
      ******** END WARNING ********
      The topology has been discovered. A topology.xml file has been written to each home in the topology.


      ASGCTL>


      SGCTL> verify topology with remoteinfraha
      Generating default policy for this operation

      app:7890
      HA directory exists for instance infra_home.infra.abc.com
      HA directory exists for instance infra_home.infra.abc.com
      Verifying that the topology is symmetrical in both primary and standby configuration
      ASGCTL>



      Question 1 :-

      1- If we are installing the infra and app on same server, Is it mandatory use Virtual I P for tier
      2- what is the reason of getting the two warnings ASG_IAS-15779 - is this normal..
      3- can i now start the instantiate command after setting the primary database.


      Can suggest some replies to the above query it would be very helpful.

      Regards

      Falahuddin

       
    • At 2:35 PM, Blogger Atul Kumar said…

      Falah,
      Congratulations !!

      1- If we are installing the infra and app on same server, Is it mandatory use Virtual I P for tier

      Yes, It is mandatory to use Virtual IP for Infrastructure Tier Installation


      2- what is the reason of getting the two warnings ASG_IAS-15779 - is this normal..

      No this is not normal, It seems DSA server on Middle Tier is down

      start it using

      opmnctl startproc ias-component=DSA

      Try again & let me know results

      3- can i now start the instantiate command after setting the primary database.

      Yes, Just start Middle tier DSA using command mentioned above & then set database & then Intantiate

       
    • At 3:17 PM, Anonymous Anonymous said…

      Hi,

      Thanks for responding very quickly.

      All four DSA component on two servers are started the following is the result of the opmnctl status command.
      DSA | DSA | 32439 | Alive

      Further i would like to know whether the above error is the result of not using the Virtual IP

      can u suggest me what should i do further.

      thanks

      falah

       
    • At 3:27 PM, Blogger Atul Kumar said…

      Falah,

      You don't have to use Virtual Host on Middle Tier .



      What is ohsarch.idc.oracle.com ? (Is this the actual host name of machine on which you installed i.e. 192.168.1.1)

      If both Middle Tier & Infra Tier are on same host what is DSA port for middle tier (I suppose it would be 7891 )

      Check
      "netstat -an | grep $port_no" on middle tier

      All check log files at $ORACLE_HOME/dsa/logs/duf_server.log


      Please use http://teachMeOracle.com/forum to discuss further & mention all details there

       
    • At 3:39 PM, Anonymous Anonymous said…

      Hi,

      i have not use the virtual hostname for midtier.. app.abc.com is the hostname.. regarding the name u r referring that has come by mistake..

      hostname = app.abc.com

      And i accessed the site by http://app.abc.com:7778..
      port for infra = 7890
      port for midtier =7891


      checked the two log files, but there i cannot find anything related to this.

      regards
      falah

       
    • At 10:08 PM, Blogger Atul Kumar said…

      Falah,
      Name "ohsarch.idc.oracle.com" cannot come into OID by mistake , Check topology.xml file at $OH/dsa/conf

      When you installed services on app.abc.com was there any entry for ohsarch.idc.oracle.com (Oracle Hosted Services Architecture Team ;-) , I used to work in past) in /etc/hosts or for servername ?

      execute discover topology again & check in topology.xml at $OH/dsa/conf what all server names its registering ?

       
    • At 8:22 AM, Anonymous Anonymous said…

      As i explained u earlier..

      The hostname for midtier is app.abc.com while writing u the comment i think i made mistake.

      Is the above problem due to orainventory or what .. i am using the same orainventory location for infra and apps.

      while executing the Discover command in apps home ..it is not able to find the oracle home for infra.

      i checked all log but no use.
      All the DSA components are alive.



      regards

      falah

       
    • At 9:48 AM, Blogger Atul Kumar said…

      Falah,
      Your AS Guard is not able to retrieve Middle Tier Instance Information .

      You need to enable tracing but I am nit going to explain that here , Please use Forum for Discussing issues .

      http://teachMeOracle.com/forum

      Atul

       
    • At 10:19 AM, Anonymous Anonymous said…

      Thanks,,

      my login id is not working for teachmeoracle, that is the reason i am not using the forum

      Anyways thanks for help

      Regards

      falah

       
    • At 4:51 AM, Anonymous Anonymous said…

      Hi,

      i had raised my queries at teachmeoracle forum for appilication server - As guard.

      Can u pls help in solving the issue.

      Regards

      falah

       
    • At 7:46 AM, Blogger Atul Kumar said…

      Falah,
      I'll get back to you on Forum at http://teachMeOracle.com/forum

       
    • At 11:34 AM, Anonymous Anonymous said…

      Hi Atul,

      I am regular reader of your site.
      I am planing to install a DR site (standby site)using 10gAS guard and 10g data guard.If you have installed earlier could you publish your notes please.

      Thanks,

      SAT

       
    • At 11:39 AM, Blogger Atul Kumar said…

      SAT,
      Yes I have done DR for 10g AS using AS Guard which includes Data Guard but to put it all on net is big tedious (I have all docs & steps but need to put them in right doc)

      I'll try to prepare one by end on this month (31-Jan-07). I'll update it in posting once done . So stay tuned ....

       
    • At 3:06 PM, Anonymous Anonymous said…

      Hi Atul,

      Thanks for this.
      There are few questions in my mind, could you please answers these :-
      1.Out production site is up and runing for the last 1 years , so what all we need to set up DR site?
      2. What about Infra's database , do we need to use database (i suppose not as you said earlier ).

      Regards,

      SAT

       
    • At 3:12 PM, Anonymous Anonymous said…

      Hi Atul,

      pleaes read my second point as ... do we need to use dataguard.

      Apologies for typo mistake.

      Thanks,

      SAT

       
    • At 3:15 PM, Blogger Atul Kumar said…

      SAT,
      Supported & Certified way of DR for Application Server is AS Guard.

      When you configure AS Guard AS gaurd will automatically configure Datagaurd for Infrastructure database (If this is installed as per standrad Installation) . If this database is configured by MRCA or Repca then you have to configure Data Guard for database before configuring AS Guard.

      1.Out production site is up and runing for the last 1 years , so what all we need to set up DR site?
      You have to create another site (with atleast one Middle Tier Home & 1 Infra Home) and then use asgctl utility to configure AS Guard between them .

       
    • At 3:50 PM, Anonymous Anonymous said…

      Hi Atul,

      Thanks for update.
      Few more questions :-

      1.We are on the 10g AS 10.1.2.0.0 , so do we need to update AS to use server guard ?
      2.Will there any data difference on primary and standby database i.e. delay in log shipping etc.

      Thanks in advance,

      SAT

       
    • At 4:01 PM, Blogger Atul Kumar said…

      In 10.1.2.0.0 AS Guard is Installed by default but not started .

      opmnctl startproc ias-component=DSA

      (DSA server is called as AS Guard , default port is 7890)

      You need to do additional steps for AS Guard apart from simply starting it.

      2.Will there any data difference on primary and standby database i.e. delay in log shipping etc.

      This you can control depending on your requirement .


      For Any Issues / doubts raise it in forum at http://teachmeoracle.com/forum under HA Section in Application Server

       
    • At 4:17 PM, Anonymous Anonymous said…

      Hi Atul,

      Great stuff....

      Lastly ,on the standy site we if we are installing infra then by default a database will be created for infra tier, so my query is what to do with this database i mean do we need to remove this datbase or what will happen when AS guard will try to create standy database on ifra tier?

      Thanks in advance,

      SAT

       
    • At 4:22 PM, Blogger Atul Kumar said…

      SAT,
      This is my last reply here for your doubts on AS Guard :) (I love to clear your doubts but right place is Forum for that).

      When you Install Infra Tier on DR it will Install database as well.

      Once you run Instantiate command to link standby site with primary , AS Guard will covert primary database in Archive mode ; shutdown primary database ; copy datafiles from primary to standby (automatically delete original datafiles from standby site database) ; start primary database ; start standby database in standby mode. So you don't have to do any thing .

      I hope this is clear :) If not kindly raise further doubt in Forum at http://teachMeOracle.com/forum & I'll get back to you .

      Cheers

       
    • At 4:27 PM, Anonymous Anonymous said…

      Cheers Atul,

      Thanks for your all effort.
      I will raise my issues in proper forum.

      Thanks,

      SAT

       
    • At 1:17 AM, Anonymous R said…

      Thanks Atul. This is very useful information.
      Atul I'm looking for DR solution for Oracle Weblogic server (10.3).
      Please Advice.

      Thanks
      R

       
    • At 5:45 PM, Blogger R said…

      Hi Atul,

      I'm looking for a DR solution for oracle web logic.Is there any thing available for weblogic as well like AS Guard. Please advice.

      Thanks

      Roop

       
    • At 12:10 AM, Blogger R said…

      Hi

      I'm looking for DR solution for Oracle WebLogic. Is there any similar like AS Guard in weblogic or any other alternate.

      Thanks

       
    • At 12:24 AM, Anonymous Anonymous said…

      hi atul i have a question which migh need DSA settings to be changed. need your help:

      question is :

      when i open my forms application, which is developed in forms 10g
      it first opens a browser which will have URL like below given one:

      https://app.company_name.com:1234/forms/frmservlet?form=first_form.fmx&otherparams=connectRow%3SAASZgPFFAGAAAgXVAAA

      then it opens the application.

      when i close the form, this web browser also get closed or vice versa.

      again when i open forms application, it opens web browser with below URL which is different from above one and then forms application

      https://app.company_name.com:1234/forms/frmservlet?form=first_form.fmx&otherparams=connectRow%3SAASZgPFFAGAAAgXVAAB

      you can see difference in AAgXVAAA and AAgXVAAB in the URL

      i want to know how this URL is assigned each time i open the application??

      FYI - i dont insert id ,password. it directly logs me in using my windows id.

      does every application user will get separate URL assigned??

      will same URL like AGAAAgXVAAA be assigned to more than one user at a time??

      what should i do if i dont want to login as other user??


      thanks tibbu

       
    Post a Comment
    << Home
     
    About Me


    Name: Atul Kumar
    Home: London, United Kingdom

    About Me: I am Independent Oracle consultant. If you wish to hire me on Contract or to Quote on project basis contact me at
    atul @ onlineappsdba.com

    See my complete profile

    View Atul Kumar's profile on LinkedIn

    E-mail Subscription

    Enter your email address:

    Delivered by FeedBurner

    Search
    Only search this Blog
    Categories
  • Advanced Topics
  • Application Server
  • Apex / HTMLDB
  • Apps 11i
  • Apps R12
  • Autoconfig
  • Basics
  • Certification
  • Cloning
  • Discoverer
  • Fusion
  • OID
  • Patching
  • Printer
  • Single Sign-On
  • Useful Sites & Forum
  • Previous Post
    Archives
    Add On
     

    Add to Technorati Favorites

     

     

    Add to Google

     

    Add to My AOL

     

    Subscribe in Bloglines

     

    Subscribe in NewsGator Online

     
    Powered by



    Hits Since 30, Jul 06

    Blog Counter

    Technology Blogs - Blog Top Sites
    Comments
    ADs
    Copyright © 2006 teachmeoracle.com All rights reserved Presented by Atul Kumar