Install OHS on DR server

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Install OHS on DR server

DBApps
Dear Friends ,
I am new to this and have been asked to install OHS on a DR server . My Primary was created by a team mate who now left the organisation :) .
Could you please help me identify the steps to be performed to create my DR from primary .
OS :- RHEL 7.3
Below is the OHS and httpd o/p from primary  
ps -ef | grep httpd
bea       6189 23939  0  2021 ?        01:20:59 /software/bea/wt/11.1.1.9/Oracle_WT1/ohs/bin/httpd.worker -DSSL
bea      10352 23939  0  2021 ?        01:27:17 /software/bea/wt/11.1.1.9/Oracle_WT1/ohs/bin/httpd.worker -DSSL
bea      10353 23939  0  2021 ?        01:29:30 /software/bea/wt/11.1.1.9/Oracle_WT1/ohs/bin/httpd.worker -DSSL
root     13116     1  0 Jun07 ?        00:00:48 /software/bea/apache/2.4.53/bin/httpd -k start
bea      13123 13116  0 Jun07 ?        00:00:00 /software/bea/apache/2.4.53/bin/httpd -k start
bea      13124 13116  0 Jun07 ?        00:00:00 /software/bea/apache/2.4.53/bin/httpd -k start
bea      13125 13116  0 Jun07 ?        00:00:00 /software/bea/apache/2.4.53/bin/httpd -k start
bea      16188 13116  0 Jun14 ?        00:00:00 /software/bea/apache/2.4.53/bin/httpd -k start
bea      17155  9527  0 11:35 pts/4    00:00:00 grep httpd
bea      20681     1  0  2018 ?        01:19:56 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL
bea      23939  8042  0  2021 ?        00:28:46 /software/bea/wt/11.1.1.9/Oracle_WT1/ohs/bin/httpd.worker -DSSL
bea      23949 23939  0  2021 ?        00:00:00 /software/bea/wt/11.1.1.9/Oracle_WT1/ohs/bin/httpd.worker -DSSL
bea      23993 23939  0  2021 ?        00:11:36 /software/bea/wt/11.1.1.9/Oracle_WT1/ohs/bin/httpd.worker -DSSL
bea      24225 20681  0  2018 ?        00:14:31 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL
bea      24231 20681  0  2018 ?        00:24:56 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL
bea      24261 20681  0  2018 ?        00:25:48 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL
bea      29015     1  0  2018 ?        01:18:25 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL
bea      30686 29015  0  2018 ?        00:14:02 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL
bea      30692 29015  0  2018 ?        00:26:55 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL
bea      30693 29015  0  2018 ?        00:26:56 /software/bea/Middleware/opfrd/11.1.1.7/as_1/ohs/bin/httpd.worker -DSSL


Your help is really appreciated .

Regards
Atif
Reply | Threaded
Open this post in threaded view
|

Re: Install OHS on DR server

ErmanArslansOracleBlog
Administrator
Hi,

Just replicate the fs from PROD to DR (using same mount points and directory structure in the DR) and do the post configuration when needed.. You can also use virtual hostnames and Load Balancer host names if you don't want to do anything in the DR, any configuration during a switchover a failover.
Reply | Threaded
Open this post in threaded view
|

Re: Install OHS on DR server

DBApps
Thanks Erman for your Suggestion . I shall check with the Unix team if they can replicate for me . However we just need a DR server incase of a failure .

Could you please help me where i can look for the configuration files .

Regards
Atif
Reply | Threaded
Open this post in threaded view
|

Re: Install OHS on DR server

DBApps
In reply to this post by ErmanArslansOracleBlog
Hi Erman ,
I have copied the WT & Middleware folders from the primary to secondary as per your recommendation .

Could you please help me which configuration files do i need to check and change .
Regards
Atif
Reply | Threaded
Open this post in threaded view
|

Re: Install OHS on DR server

ErmanArslansOracleBlog
Administrator
If you have a virtual ip/hostname, then you don't need to manage any of those things.

On the other hand; if you have a different physical hostname on the target and if you don't have a virtual host config, then you need to change the relevant config files during the switch over or failover operations.. The configuration that I m talking about here is based on a subset of the tasks that you do during cloning.. (you will modify files like httpd.conf etc..)
Reply | Threaded
Open this post in threaded view
|

Re: Install OHS on DR server

DBApps
Thanks Erman ,
Yes its a separate physical host. Do i need to run any cloning script ?
can you please let me know which files i need to configure other then httd.conf .

Thanks for looking .

Regards
Atif
Reply | Threaded
Open this post in threaded view
|

Re: Install OHS on DR server

ErmanArslansOracleBlog
Administrator
You got to change the listen address in those conf files.. But if you have a virtual host config then you don't need to do anyting as I already mention..