installing oracle http server in adf domain

27
OHS installation & confguration, DM and GOC Cluster confguration Please note that below commands/ports/hostname or other confguration details are shown as eamples onl! For the environment you are going to work on; please replace with correct port/hostname or other confguration details accordingly.  " a#e bac#up o$ /u%/ad$mwprd and /n$so$m/ad$mwp rd be$ore pr oceeding with the below steps' Pre(re) chec#* Chec# $or at least +G $ree space is a-ailable under /u% or /u%. where !ou are going to install OHS Chec# $or at least G $ree 01M space a-ailable on the ser-er2s3 chec# i$ all the 40s to be used are read!5 i$ not then re)uest n/w "eam to create the 40 accordingl! GOC and DM Managed erver and Cluster creation! login to ad$console 2 http*//herbali$e($ usion'hrbl'net*% %%/ad$console3 as weblogic user go to 6n-ironment (7 ser-ers clic# on new 2i$ the lin# is embossed, clic# loc# and edit3 Pro-ide the details* Ser-er 8ame* DM9MSn 2n denotes the node number3 Ser-er 4isten 1ddress* uscosprdo$map%'hrbl'net Ser-er 4isten Port* +% Clic# on : es, create a new cluster $or this ser-er'  "hen clic# ne t

Upload: sudhakar-reddy

Post on 10-Jan-2016

66 views

Category:

Documents


0 download

TRANSCRIPT

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 1/27

OHS installation & confguration, DM and GOC Cluster confguration

Please note that below commands/ports/hostname or other confguration details areshown as eamples onl!

For the environment you are going to work on; please replace with correct

port/hostname or other confguration details accordingly.

 "a#e bac#up o$ /u%/ad$mwprd and /n$so$m/ad$mwprd be$ore proceeding with thebelow steps'

Pre(re) chec#*

Chec# $or at least +G $ree space is a-ailable under /u% or /u%. where !ou are goingto install OHSChec# $or at least G $ree 01M space a-ailable on the ser-er2s3chec# i$ all the 40s to be used are read!5 i$ not then re)uest n/w "eam to create the40 accordingl!

GOC and DM Managed erver and Cluster creation!

login to ad$console 2 http*//herbali$e($usion'hrbl'net*%%%/ad$console3 as weblogicusergo to 6n-ironment (7 ser-ersclic# on new 2i$ the lin# is embossed, clic# loc# and edit3

Pro-ide the details*

Ser-er 8ame* DM9MSn 2n denotes the node number3Ser-er 4isten 1ddress* uscosprdo$map%'hrbl'netSer-er 4isten Port* +%

Clic# on :es, create a new cluster $or this ser-er' "hen clic# net

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 2/27

Pro-ide the details*8ame* DM9C4S

Clic# on ;inish

Similarl! create GOC9MSn on port +.% with GOC9C4S cluster' 2n denotes thenode number3

set ser-erstart parameter as $ollows*$or DM9MSn * (<ms%.=M ><m%.=M$or GOC9MSn* (<ms.%=?M (<m.%=?M

"arget the li#rary deployments listed #elow to include DM$C%& andGOC$C%&

ad$'oracle'businesseditor2'%,'''.'%3ad$'oracle'domain2'%,'''.'%3ad$'oracle'domain'webapp2'%,'''.'%3 @s$2.'%,'%'%'%9.(%(.3 @stl2'.,'.'%'3ohw(rc$2+,+'%3ohw(ui2+,+'%3oracle'ad$'dconfgbeans2'%,'''.'%3oracle'ad$'des#topintegration2'%,'''.'%3oracle'ad$'des#topintegration'model2'%,'''.'%3oracle'ad$'management2'%,'''.'%3oracle'dconfg(in$ra2,''''%3oracle'@r$'s!stem'flteroracle'@sp'net2'',''3oracle'pwdgen2'','''.'%3oracle'wsm'seedpolicies2'',''3orai?n(ad$2,''''%3AB<2,''''%3

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 3/27

'pply()F Do the *ollowing steps!

cd /u%/ad$mwprd/Oracle/Middleware/oracle9common/common/bin0un wlst'sh0un the $ollowing commandBn our case *

C4AS"60981M6 GOC9C4S

P1"H /u%/ad$mwprd/admin/ad$9domain/aser-er/ad$9domainwls*/oine7 appl!E0;2FC4AS"60981M67F, FP1"HF3appl!E0;2FGOC9C4SF, F/u%/ad$mwprd/admin/ad$9domain/aser-er/ad$9domainF3

C4AS"60981M6 DM9C4SP1"H /u%/ad$mwprd/admin/ad$9domain/aser-er/ad$9domainwls*/oine7 appl!E0;2FC4AS"60981M67F, FP1"HF3appl!E0;2FDM9C4SF, F/u%/ad$mwprd/admin/ad$9domain/aser-er/ad$9domainF3

Start onl! GOC MS and ma#e sure there are no errors in the log/out fle $or the Managed Ser-er'

1s we are not using DM cluster now, we should #eep DM Managed Ser-ers Down as o$ now'

+nstalling Oracle ,""- erver!

Start the Oracle Ani-ersal Bnstaller $rom the Oracle ;usion Middleware g eb"ierand Atilities DID b! issuing this command*Jad$mwprdKuscosprdo$map% Dis#L pwd/stageo$m/Dumps/OHS9'''.'%/Dis#

Jad$mwprdKuscosprdo$map% Dis#L '/runBnstaller

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 4/27

B$ the Speci$! Bn-entor! Director! screen appears, enter the location $or the in-entor!and the user group and then clic# ON5

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 5/27

Bn the elcome screen, clic# 8et'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 6/27

Bn the Select Bnstallation "!pe screen, select Bnstall and Confgure, and clic# 8et'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 7/27

Bn the Prere)uisite Chec#s screen, ensure that all the prere)uisites are met, then clic#8et'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 8/27

Bn the Speci$! Bnstallation 4ocation screen, do the $ollowing*Oracle Middleware Home* /u%/ad$mwprd/Oracle/Middleware96Oracle Home Director!* 1D;96

Bgnore the warning below and clic# on 8et

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 9/27

Bn the Confgure Components screen, do the $ollowing*

Select Oracle Http Ser-er'Do not select Oracle eb Cache'Do not select 1ssociate Selected Components with eb4ogic Domain because !ouha-e not !et installed eb4ogic Ser-er'Clic# 8et'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 10/27

Bn the Speci$! Component Details screen, do the $ollowing*

Bnstance Home 4ocation*/u%/ad$mwprd/admin/web/instances/ad$9ohsBnstance 8ame* ad$9ohsOHS Component 8ame* ohs

Clic# 8et'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 11/27

Bn the Confgure Ports screen, do the $ollowing*Select Speci$! Ports using Confguration ;ile and cop! the staticports'ini template fle$rom !our installation dis# 2the fle is located in the /Dis#/stage/0esponse director!3to !ou userFs home 2/home/ad$mwprd3' "hen use the rowse button to select this fle'Clic# Iiew/6dit ;ile to open the staticports'ini fle in an editor'

Change the Oracle H""P Ser-er port in that fle to +.%%'Sa-e the fle'Clic# 8et'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 12/27

Bn the Speci$! Securit! Apdates screen, enter !our e(mail address to recei-e e(mailnotifcations o$ securit! issues 2i$ re)uired3' 6nter !our Oracle Support Password torecei-e securit! updates through M! Oracle Support'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 13/27

Bn the Bnstallation Summar! screen, ensure that the selections are correct, and clic#Bnstall'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 14/27

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 15/27

Bn the Confguration screen, multiple confguration assistants are launched insuccession, which can be a length! process' hen it completes, the ConfgurationCompleted screen appears'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 16/27

Bn the Bnstallation Completed screen, clic# ;inish to eit'

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 17/27

Apgrade to OHS '''+

Jad$mwprdKuscosprdo$map% Dis#L pwd/stageo$m/Dumps/OHS9'''+'%/Dis#

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 18/27

Jad$mwprdKuscosprdo$map% Dis#L '/runBnstaller

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 19/27

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 20/27

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 21/27

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 22/27

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 23/27

Clic# 0etr!

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 24/27

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 25/27

Similarl! do the OHS installation and upgrade on ap%./ap%/ap%= ser-ers as

applicable'

'. Setting up Oracle H""P Ser-er through the 4oad alancer

 "a#e bac#up o$ httpd'con$ be$ore editing it'

 Bn httpd'con$ fle under/u%/ad$mwprd/admin/web/instances/ad$9ohsn/confg/OHS/ohsn 2n/.//=3 director!put the below entries*

4isten +.%%4isten +%%4isten +%%%

 "a#e bac#up o$ mod9wl9ohs'con$ be$ore editing it'

Bn mod9wl9ohs'con$ under/u%/ad$mwprd/admin/web/instances/ad$9ohsn/confg/OHS/ohsn 2n/.//=3 director!'1dd the $ollowing entries to the fle*

8O"6 * "his is a template to confgure mod9weblogic'

4oadModule weblogic9module QRO01C469HOM6/ohs/modules/mod9wl9ohs'soQ

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 26/27

"his empt! bloc# is needed to sa-e mod9wl related confguration $rom 6M to this fle when changes aremade at the ase Iirtual Host 4e-elB$Module weblogic9module7/B$Module74ocation / 7 SetHandler weblogic(handler eb4ogicCluster uscosprdo$map%'hrbl'net*+.%, uscosprdo$map%.'hrbl'net*+.%,

uscosprdo$map%'hrbl'net*+.%, uscosprdo$map%='hrbl'net*+.% Path"rim /GOC PathPrepend /GOC/4ocation7

8ameIirtualHost T*+%%%IirtualHost T*+%%%7  Ser-er8ame herbali$e($usionapps'hrbl'net  Ser-er1dmin !ouK!our'address  0ewrite6ngine On  0ewriteOptions inherit4ocation /console 7 SetHandler weblogic(handler eb4ogicCluster herbali$e(admprd'hrbl'net*=%%/4ocation7/IirtualHost7

8ameIirtualHost T*+%%IirtualHost T*+%%7  Ser-er8ame herbali$e(dm'hrbl'net*?%  Ser-er1dmin !ouK!our'address  0ewrite6ngine On  0ewriteOptions inherit4ocation / 7 SetHandler weblogic(handler eb4ogicCluster uscosprdo$map%'hrbl'net*+%, uscosprdo$map%.'hrbl'net*+%,uscosprdo$map%'hrbl'net*+%, uscosprdo$map%='hrbl'net*+% Path"rim /DM PathPrepend /DM/4ocation7/IirtualHost7

Ma#e sure that !ou restart OHS ser-ers a$ter modi$!ing the httpd'con$ fles*Jad$mwprdKuscosprdo$map% binL cd/u%/ad$mwprd/admin/web/instances/ad$9ohs/bin

Jad$mwprdKuscosprdo$map% binL '/opmnctl stopall

Jad$mwprdKuscosprdo$map% binL '/opmnctl startall

Similarl!, bounce OHS on other nodes accordingl!'

Ieri$! that the ser-er status is reported as Q0unningQ in the 1dmin Console' B$ the

ser-er is shown as QStartingQ or Q0esuming,Q wait $or the ser-er status to change toQStarted'Q B$ another status is reported 2such as Q1dminQ or Q;ailedQ3, chec# the ser-eroutput log fles $or errors' See Section %', Q"roubleshootingQ $or possible causes'

)egister new ohs with ad* domain

opmnctl registerinstance -adminHost herbalife-admts4.hrbl.net -adminPort 4001 -adminUsername

fusion_admin

7/18/2019 Installing Oracle HTTP Server in ADF Domain

http://slidepdf.com/reader/full/installing-oracle-http-server-in-adf-domain 27/27

ew )%s a*ter a#ove confgurations would #e as *ollows!'DF adminconsole* http*//herbali$e($usionapps'hrbl'net*+%%%/console  0-leaseveri*y i* you can login to the 'DF admin console using this url1

GOC * http*//herbali$e(goc'hrbl'net or http*//goc'hrbl'netDM * http*//herbali$e(dm'hrbl'net  or http*//dm'hrbl'net

Please share the abo-e urls to the Migration "eam and Bnter$ace Monitoring "eam andas# them to use the newl! confgured 1D; adminconsole url to login to 1D; adminconsole and to deplo! the GOC application targeting to GOC9C4S

2erifcation!

&1 -lease veri*y i* you can login to the 'DF admin console using this urlhttp*//herbali$e($usionapps'hrbl'net*+%%%/console

.3 Once the GOC application is deplo!ed, !ou should be able to access it usinghttp*//goc'hrbl'net or http*//herbali$e(goc'hrbl'net or through the host(specifcindi-idual urls listed under testing tab o$ the deplo!ment'

33334nd o* Document3333