Professional Documents
Culture Documents
Provision Servers
See “Non_prod_filesystem_layout.xls”, “CX” and “NFS” tabs to get
DB Server Name
DB Server Filesystem layout
Application Server Filesystem layout
Update Apex
http://dba.diebold.com
Click on “DBAPW”
In the “Site Map” section on the right, click on “Add an Env”. Choose project = COE and enter the new
environment name in lower case
Click on “DBAPW”
In the “Site Map” section on the right, click on “Ebiz Hardware”
Click “Create” and enter all information about new environment
Add the following passwords for each environment
alloracle
apps
<SID>mgr
<SID>ora
sysadmin
system
. /mnt/ora<SID>/<SID>apps/apps/apps_st/appl/APPS<SID>_`hostname -s`.env
Setup inventory
For <SID>ora
vi /etc/oraInst.loc
inst_group=oinstall
inventory_loc=/mnt/ora<SID>/<SID>db/oraInventory
For <SID>mgr
vi /etc/oraInst.loc
inst_group=oinstall
inventory_loc=/home/<SID>mgr/oraInventory
On the source:
cd $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
perl adpreclone.pl dbTier
cd $ORACLE_HOME
rsync -rptlq -e ssh --progress --force *<target Unix user>@ <target
hostname>:/mnt/ora<SID>/<SID>db/product/11.2.0.3/
On the target:
mkdir ~/bin
cd ~/bin
ln -s /usr/bin/gcc linkxlC
export ORACLE_SID=<SID>
export ORACLE_HOME=/mnt/ora${ORACLE_SID}/${ORACLE_SID}db/product/11.2.0.3
export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/lib/site_perl/5.10.0
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$ORACLE_HOME/OPatch:$PATH
cd $ORACLE_HOME/appsutil/clone/bin
perl adcfgclone.pl dbTechStack
RMAN Duplicate
Perform the steps below on the active database or the source
export run_date=`date +%d_%b_%Y_%H_%M`
rman log active_duplication_${run_date}.log
connect target sys/<sys password>
connect auxiliary sys/<sys password>@<New SID>
duplicate target database to <New SID> from active database;
cd /mnt/ora${TWO_TASK}/${TWO_TASK}apps
rsync -rptlq -e ssh --progress --force --log-file=/tmp/rsync_apps_20121009.log apps/ <new Unix
user>@<new app Server>:/mnt/ora<SID>/<SID>apps/apps/
Change Passwords
Alter user system identified by <new system password>;
FNDCPASS apps/<old apps passwd> 0 Y system/<system password> SYSTEM APPLSYS <new apps
password>
FNDCPASS apps/<apps passwd> 0 Y system/<system password> ALLORACLE <new alloracle password>
FNDCPASS apps/<apps passwd> 0 Y system/<system password> USER SYSADMIN <new sysadmin
password>
FNDCPASS apps/<apps passwd> 0 Y system/<system password> USER TIDALORA <new sysadmin
password>
Post Clone Steps
Post Step 1:
On the Database Server
sqlplus apps/<apps password>
exec fnd_conc_clone.setup_clean;
cd $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
./adautocfg.sh
Post Step 2:
On each App Server if they are having a shared file system:
vi $CONTEXT_FILE
Change
s_applcsf = /mnt/orapch12/pch12share
s_applptmp = /mnt/orapch12/pch12share/applptmp
Run autoconfig
cd $ADMIN_SCRIPTS_HOME
./adautocfg.sh
Post Step 3:
Copy the custom file from backup location to the below locations:
cd $HOME/clone/backup/envfiles
cp custom<sid>.env $APPL_TOP/custom<sid>_<servername>.env
Make sure that you are copying it in the same way as it is referenced in the Apps Env file.
Post Step 4:
Post Step 5:
Make sure that the XXDBD top (i.e. XXDBDGR12_TOP in COE) has been copied from source instance.
Post Step 6:
In order for the Workflow View Diagram to work, please set the profile option "Server Timezone" to the
timezone of Database server at site level.
You can check the Timezone of the Database Server through date command.
Post Step 8:
Please perform the following step to make sure that the required members of the COE team can view
others workflow notifications:
Login to the target instance using sysadmin -> Click on System Administrator responsibility -> Click on
Workflow -> Administrator Workflow -> Administration
In the Workflow System Administrator box, please add Workflow Administrator Web (new)
responsibility.
Now make sure that Srinivas Buddhi and any other COE team member who requires to view others
notification have this responsibility assigned to them.
Post Step 9:
Please follow the attached document to configure workflow in the target instance. The email account to
be used for configuring each target instance is mentioned in the respective instance details in APEX.
http://techhub.diebold.com/teams/IT_Ops/oralin/Shared%20Documents/Application%20support
%20folders/COE%20-%20R12%20Financials/Workflow_Setup_COE_New.docx
In case if the target instance is a CRP instance and if the users require external tier setup to be
configured for iProcurement, please follow the attached document:
http://techhub.diebold.com/teams/IT_Ops/oralin/Shared%20Documents/Application%20support
%20folders/COE%20-%20R12%20Financials/Diebold%20int12_isupplier_configuration(1).doc
Inorder for the mails to not flow out to the users, below is the proposed changes to be made in all
cloned instances in COE environment.
Files:
cd $XDO_TOP/resource
mv xdodelivery.cfg xdodelivery.cfg_nomail
Profiles:
XXDBD_SEND_MAIL_SMTP_HOST mailgate.diebold.com
To recreate the soft links in the custom tops for the Concurrent Host Programs to run, we need to
execute the below script.
/mnt/oracle_stage_NAS/COE/ fix_custom_top_links.sh
Execute the above script on the Concurrent Nodes of the Target application server. It is a generic script
and can be used on any target instance.
Please update the following profile options to point them to the Target Application Server:
Profile Options
select profile_option_value, replace(profile_option_value,'old sid','new sid')
from apps.fnd_profile_option_values where profile_option_value like '%int12%';
update apps.fnd_profile_option_values
set profile_option_value = replace(profile_option_value,'old sid','new sid')
where profile_option_value like '%int12%';
Use the above profile option update for : Server name, Port number and instance name
Please follow the below links to complete all the Post Refresh checklist:
http://techhub.diebold.com/teams/IT_Ops/oralin/Shared%20Documents/Application%20support
%20folders/COE%20-%20R12%20Financials/DBD%20Post%20Instance%20Refresh%20Activity%20Log
%20V1%202.xlsx
http://techhub.diebold.com/teams/IT_Blueprint/Projects/ORACLECOE/DNAFINSCM/WIP%20SDLC/
03%20Construction/RICE/POST%20CLONE%20ACTIVITIES/post_clone_activity_dba_v1.2.xlsx
Start the MWA server on the Application/Web Node. The port number for the instances can be obtained
from either CONTEXT_FILE or from the below link:
http://dba.diebold.com/apex/f?p=102:60:4353107474567806 :::::
Before starting the WF Mailer in any TEST INSTANCE, please ask functional tester to put his email
address for testing.
UPDATE fnd_user
SET email_address=NULL
WHERE email_address IS NOT NULL
UPDATE wf_local_roles
SET email_address=NULL
WHERE email_address IS NOT NULL
UPDATE per_all_people_f
SET email_address=NULL
WHERE email_address IS NOT NULL
UPDATE hz_parties
SET email_address=NULL
WHERE email_address IS NOT NULL
UPDATE po.po_vendor_sites_all
SET attribute3 = NULL,
attribute4 = NULL
WHERE attribute3 IS NOT NULL
OR attribute4 IS NOT NULL
UPDATE apps.ap_supplier_sites_all
SET EMAIL_ADDRESS = NULL
WHERE email_address IS NOT NULL
Please ensure that the following profile option is set to actual webserver and port instead of Virtual URL
for the workflow components to work:
Please clean up APPLPTMP, APPLTMP and APPLCSF folders before starting up the services.
Make sure that the database is in no archive mode (if it is not INT13).
If the cloned instance is other than INT13 or UAT12: (Not required in INT13 and UAT12 clones from
PROD12)
Create below users and assign the below responsibilities to these users.
tauschn
daubenm
riderd
thurmab
fryarf
walkerk
fankhaw
karoles
knappr
erzenm