Maintenance Mode 是EBS 11.5.10後給出的新特性。
首先,可以制定SYSTEM 正常down機計劃,給出公告來,這通過Oracle Applications Manager (OAM)來完成。
其次,在Maintenance Mode時有Restricted Mode訪問頁,
最後,上Patch時,需要使用Maintenance Mode, 即Maintenance Mode設定為ENABLE。
否則adpatch需要options=hotpatch ,而且速度很慢。可以用以下方法查看:
select fnd_profile.value('APPS_MAINTENANCE_MODE') from dual;
select v.profile_option_value v_profile
from fnd_profile_option_values v
, fnd_profile_options_vl p
where v.profile_option_id = p.profile_option_id
and (v.level_id = 10001)
and p.PROFILE_OPTION_NAME ='APPS_MAINTENANCE_MODE';
總的來說,這樣,更加人性化,使用者知道目前系統在幹嘛!
Step:
1. Schedule the 'System Downtime' from OAM
OAM: Site Map --> Maintenance --> Manage Downtime Schedules
At the moment of the downtime, do the following:
2. Shutdown Apache (on Normal Mode):
adapcctl.sh stop
or
adstpall.sh <apps_user>/<apps_pwd>
3. Enable 'Maintenance Mode' from adadmin
adadmin: Options 5, 1
4. Start Apache (on Restricted Mode)
adaprstctl.sh start
5. Apply the Patch with adpatch
6. Stop Apache (on Restricted Mode)
adaprstctl.sh stop
7. Disable 'Maintenance Mode' from adadmin
adadmin: Options 5, 2
8. Start Apache (on Normal Mode):
adapcctl.sh start
or
adstrtal.sh <apps_user>/<apps_pwd>