One of the Features in Oracle Applications R12 is we can enable Maintenance Mode in Business Suite with downtime and the web redirection to prevent user access to the system. The purpose of the configuration is users can know the downtime for the application when we performing the maintance activity.
By doing the following tasks we can achieve the downtime url which will show the users Maintenance task message when Apache is in restricted mode.
Step1: Schedule a downtime using OAM (Oracle Application Manager)
Click On OAM> Site Map / Maintenance Tab / Manage Downtime Schedules
Step2: Enter the scheduled timing details and submit the form
Step3: Click the View Downtime Page Button fro Knowing the Scheduled Downtime Details.
Step4: Scheduled Downtime Details Form is as follows
Step5: Shutdown all the application processes
Go to the Location cd $ADMIN_SCRIPTS_HOME and execute the script sh adstpall.sh apps/appspw
Step6: Run adadmin and set Maintenance Mode to Enabled.
Option 5 from adadmin main menu, then Option 1.
Step7:Run the script following script for to restrict the Apache
txkrun.pl -script=ChangeApacheMode -contextfile=<Path to the Context File> -mode=Restrict
txkrun.pl -script=ChangeApacheMode -contextfile=/d02/testapps/TEST/inst/apps/TEST_test/appl/admin/TEST_test.xml -mode=Restrict
Step8: Start Oracle HTTP Server and oacore OC4J should you need to monitor the system
From now on, all access to e-biz will be redirected to the downtime page which is mentioned the page in Step 4.
sh adapcctl.sh start
sh adoacorectl.sh start
Once the maintenance is complete, switch the system back to normal mode by using the following steps
Step:9: Run the script for putting the Apache in Normal Mode
txkrun.pl -script=ChangeApacheMode -contextfile=<Path to the Context File> -mode=Normal
txkrun.pl -script=ChangeApacheMode -contextfile=/d02/testapps/TEST/inst/apps/TEST_test/appl/admin/TEST_test.xml -mode= Normal
Step10: Run adadmin and set Maintenance Mode to Disabled.
Option 5 from adadmin main menu, then Option 2
Step11: Restart oacore oc4j and start all other processes




No comments:
Post a Comment