M Apps Clone
M Apps Clone
M Apps Clone
i. database side
ii. applications side
i. database side
=================
1) create oracle user for new database instance, and create .profile
file for that user, make sure to setup all environmental variables
in .profile file which reflect new directory structure and oracle settings
see next step
2) create ofa compliant directory structure for database files and oracle instance
files
make sure to change permissions on these directories for a new oracle user:
for example:
oradata/prod/
/test/
/pilot/ <-- database
app/test/ <-- instance
2) create empty directory for application files make sure to change permissions
on these directories for a new applmgr user for example:
forms45_mapping="http://<host_name>:<web_listener_port_number>/oa_temp"
export forms45_mapping
make sure to modify this entry to reflect web_listener_port_number of your
new database
(sid_desc =
(sid_name = oeorpc_prod)
(program = /d05/applmgr_p/r11.01/oe/11.0.28/bin/oeorpc)
(envs='ld_library_path=/d04/app/oracle/product/8.0.5/lib: *********** goes
on and on .....
(oracle_home=/d04/app/oracle/product/8.0.5)
)
(sid_desc =
(sid_name = oeorpc_test01)
(program = /d05/applmgr_t01/r11.01/oe/11.0.28/bin/oeorpc)
(envs='ld_library_path=/d04/app/oracle_t01/product/8.0.5/ *********** goes
on and on .....
(oracle_home=/d04/app/oracle_t01/product/8.0.5)
)
oeorpc_prod =
(description =
(address = (protocol= tcp)(host= rainbow)(port= 1521))
(connect_data = (sid = oeorpc_prod))
)
oeorpc_test01 =
(description =
(address = (protocol= tcp)(host= rainbow)(port= 1521))
(connect_data = (sid = oeorpc_test01))
)
7) modify oracle web server configuration files which reflect new directory setup
and new web listeners setup:
$oracle_base/admin/ows/<site_name>/http_<server_name>/owl.cfg
this file reflects web server db_listener and ows_admin_listener names
and location of their configuration files
$oracle_base/admin/ows/<site_name>/http_<server_name>/<db_listener>/config/sv<d
b_listener>.cfg
$oracle_base/admin/ows/<site_name>/http_<server_name>/<admin_listener>/config/s
v<admin_listener>.cfg
these files reflect their listeners directory structure setup
$oracle_base/admin/ows/<site_name>/wrb/config/.omnaddr
this file reflects wrb listener port number
$oracle_base/admin/ows/<site_name>/wrb/config/.wrb.app
this file reflects wrb valid directories mappings
note: make sure to modify all references of all directories and port settings
in these files !
. /d04/app/oracle/product/8.0.5/ows/3.0/install/owsenv_bsh.sh
this file reflects oracle web server directories and environmental variables
9) modify oracle forms server html login file located in $oa_top/html/us directory
you can also rename it to reflect your new instance name
these are the entries to modify:
10) create batch file on the client side to access new oracle applications
instance
example:
for example:
web listener is configured on port 2000
your host name is rainbow
form login file called pilot01.htm
then your batch file would look like this:
for example:
web listener is configured on port 2000
your host name is rainbow
your dad name is pilot
then your profiles would look like this:
+-------------------------------------------------------+
| profile name | value |
+-------------------------------------------------------+
| applications web agent | http://rainbow:2000/pilot |
| site name | pilot database |
| help system base url | http://rainbow:2000/oa_doc/ |
+-------------------------------------------------------+