0% found this document useful (0 votes)
32 views24 pages

WLS OCIenvs

Uploaded by

Swetha Maguluri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views24 pages

WLS OCIenvs

Uploaded by

Swetha Maguluri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

Document for WLS setup on OCI env’s

Prereq:

1. VNC details of the EBS env (Log an SR)


2. APPS pwd of EBS env (Srini can share)
3. JDBC connection string of env (Log an SR)
4. Log an SR to enable GUI mode to run config .sh script in VNC (Log an SR)
5. EBS Env details link (to be shared in requirements bug)

Info to keep handy:

1. WLS HOME loc:


2. MSCTOP loc
3. APPLCSF loc

Steps to get above details:

Login to the env via VNC , based on details given in the ENV details page.

Example below:

 Login to rws3270767.us.oracle.com (oralcmqa/orac13)


 ssh [email protected]
 ssh [email protected]

echo $MSC_TOP

/u01/install/APPS/fs2/EBSapps/appl/msc/12.0.0

echo $APPLCSF

/u01/install/APPS/fs_ne/inst/DKBPDB_adbmig1227app01/logs/appl/conc

WL_HOME sample locations(Pls recheck it may change env to env)

/u01/install/APPS/fs2/FMW_Home/wlserver_10.3

Domain Creation for ASCP/RP UI:

1. Login to env via VNC and sudo su as Oracle user. Steps below
 Login to rws3270767.us.oracle.com (oralcmqa/orac13)
 ssh [email protected]
 ssh 141.148.140.78
 sudo su – oracle

2. cd to WL_HOME/common/bin
location and run config.sh script

./config.sh
Pls change the domain name and domain location in below screenshot:
Name: uidomain
Loc: /u01/install
Inputs username and password in below screen
User: weblogic
Pwd: weblogic1
For UI domain, create 1 Admin server and 1 managed server which can be used for ASCP
In below screen enter free port available in env and also ask OPS team to keep this port open.
Below screenshot is for reference only, but create server with details below

Name: ASCPServer

Listen Port: Use any free port and get it enabled by OPS team
Once domain creation is completed, This domain will be used as UI domain for both ASCP/RP.

3. Additional steps to be performed on UI domain:

Update the XMX and XMS settings in setDomainEnv.sh

cd /u01/install/uidomain/bin

XMS_SUN_64BIT="1024"

export XMS_SUN_64BIT

XMS_SUN_32BIT="1024"

export XMS_SUN_32BIT

XMX_SUN_64BIT="3072"

export XMX_SUN_64BIT

XMX_SUN_32BIT="3072"
export XMX_SUN_32BIT

XMS_JROCKIT_64BIT="3072"

export XMS_JROCKIT_64BIT

XMS_JROCKIT_32BIT="1024"

export XMS_JROCKIT_32BIT

XMX_JROCKIT_64BIT="3072"

export XMX_JROCKIT_64BIT

XMX_JROCKIT_32BIT="3072"

export XMX_JROCKIT_32BIT

replace ojdbc6dms.jar with ojdbc6.jar (2 places)

4. Start the Weblogic:


cd /u01/install/uidomain/bin

nohup ./startWebLogic.sh -Dweblogic.management.username=weblogic -


Dweblogic.management.password=weblogic1 > weblogic.out &

check the server status in log file once it moves to running state. Open console and check.
Frame the login console url:

http://<ebsenvhost>:<uidomainadminserverport>/console

example:

http://ebs1227master.ebsonoci.ebsdev.net:7003/console/

5. Enable the following for ASCPServer & AdminServer

Deployments->select the below jars/ear and open->Targets

the following need to target AdminServer and ASCPServer:

adf.oracle.domain

adf.oracle.domain.webapp

jsf

jstl

oracle.adf.desktopintegration

oracle.adf.desktopintegration.model

oracle.jsp.next
6. Download files from EBS locations to current domain and deploy in console.
Login as oracle user via VNC
cd /u01/install/uidomain
Create a folder applications , steps below:
mkdir applications
chmod 777 applications
cd applications
pwd:
/u01/install/uidomain/applications
Copy the ui.zip and PlanningUIEar.zip to current location
cp -r /u01/install/APPS/fs2/EBSapps/appl/msc/12.0.0/dist/orp/ui.zip .
cp -r /u01/install/APPS/fs2/EBSapps/appl/msc/12.0.0/patch/115/ear/PlanningUIEar.zip .
Unzip the patches and install in deployments from UI.
OrpUI_EAR.ear target AdminServer
PlanningUI.ear target ASCPServer
7. Create a persistence store for ASCPServer and Admin server in console and backend:
ASCPServer persistence store:
cd /u01/install/uidomain/servers/ASCPServer
(create a folder ASCPServer name if that doesn’t exist)

mkdir mds
chmod 777 mds
Also create the persistence store(mds-ascp-repos) in console
Service->Persistence stores-> New->Create FileStore-> mds-ascp-repos ->Directory(give path of mds
created above)

Admin Server persistence store:


cd /u01/install/acspdomain/servers/AdminServer

mkdir mds
chmod 777 mds
Also create the persistence store(mds-repos) in console.
Service->Persistence stores-> New->Create FileStore-> mds-repos ->Directory(give path of mds
created above)

8. ASCP datasource creation:

Create a datasource with name ApplicationDB and target it to ASCPServer.


Login to console.
Service -> datasource ->New Generic Data source with details below:
Name: ApplicationDB
JNDI Name : jdbc/ApplicationDBDS
Supports Global Transactions checkbox is checked.
Connection pool: 150
9. Start ASCP Server through below command: port should be of AdminServer port

nohup ./startManagedWebLogic.sh
ASCPAdminServer t3://ebs1227master.ebsonoci.ebsdev.net:7003 -
Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic1 >
ASCPServer.out &

try to start this way if you see any failures to starting the server and msg as authentication issue then
follow steps below

Pls edit startManagedWeblogic.sh


And edit below lines
WLS_USER="weblogic"
export WLS_USER

WLS_PW="weblogic1"
export WLS_PW

Take a copy of boot.properties file


cd /u01/install/acspdomain/servers/ASCPAdminServer/security
cp boot.properties boot.propertiesbkp
and then edit and
update boot.properties to actual user pwd.
password=weblogic1
username=weblogic

Then try startup with same cmd

nohup ./startManagedWebLogic.sh
ASCPAdminServer t3://ebs1227master.ebsonoci.ebsdev.net:7003 -
Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic1 >
ASCPServer.out &

10. RP UI datasource creation:

Create a datasource with EBSENVNAME and target it to AdminServer.


Login to console.
Service -> datasource ->New Generic Data source with details below:
Name: EBSENVNAME
JNDI Name : jdbc/ma0dv220DS
Supports Global Transactions checkbox is unchecked.
Connection pool: 300
Steps same as that of ASCP datasource except above changes
11. Deployments to be done:

Deployments-> Install ->Select Planning UI.ear and point to ASCPServer-> Next-> Next ->Finish-> Save
Ensure plannui is active

And point OrpUI_EAR.ear -> to Admin Server

Domain Creation for RP Engine :

1. Enter to loc of WL HOME and run config .sh script same like that of UI domain creation with details below:
Name: rpengine_domain
Loc: /u01/install
Inputs username and password in screen
User: weblogic
Pwd: weblogic1
Here for RP engine select admin server and managed servers too .
Create 3-7 RP_MS based on required.
Ensure the port used for domain- Admin Server and Managed Servers are free ports. And ensure OPS
team keeps these ports open.
2. Start the Weblogic:
cd /u01/install/engine_domain/bin

nohup ./startWebLogic.sh -Dweblogic.management.username=weblogic -


Dweblogic.management.password=weblogic1 > weblogic.out &

check the server status in log file once it moves to running state. Open console and check.
Frame the login console url:

http://<ebsenvhost>:<enginedomainadminserverport>/console

example:

http://ebs1227master.ebsonoci.ebsdev.net:7003/console/

3. Download files from EBS locations to current domain and deploy in console: RPadmin.zip and engine.zip
Login as oracle user via VNC
cd /u01/install/engine domain
Copy the ui.zip and PlanningUIEar.zip to current location
cp -r /u01/install/APPS/fs2/ EBSapps/appl/msc/12.0.0/dist/orp/RPAdmin.zip .
cp -r /u01/install/APPS/fs2/ EBSapps/appl/msc/12.0.0/dist/orp/engine.zip .
Unzip the patches and install in deployments from UI.

From Weblogic Console:Deployments->Install->select RPAdmin and below ear file.

weblogic console -> target ORPAdmin.ear to AdminServer

From Weblogic Console:Deployments->Install->select RPAdmin and below ear file.


target "rpws.ear" to managed servers

4. From console page- JMS servers and JMS modules (Create below for the no. of managed servers
created)
Services->Messaging
JMS servers---
Create "RPWSJMSServer_RP_MS1", target to RP_MS1
Create "RPWSJMSServer_RP_MS2", target to RP_MS2
......
Create "RPWSJMSServer_RP_MS8", target to RP_MS8

JMS modules----
Create "RPModule",
Traget to all 8 RP-MS servers

Under configuration , create the following Queue:


select the radio button "Queue"
RPQueue_RP_MS1 JNDI Name: weblogic.wsee.DefaultQueue, Subdeployments:
RPQueue_RP_MS1, target to RPWSJMSServer_RP_MS1
RPQueue_RP_MS2 JNDI Name: weblogic.wsee.DefaultQueue, Subdeployments:
RPQueue_RP_MS2, target to RPWSJMSServer_RP_MS2
......
RPQueue_RP_MS8 JNDI Name: weblogic.wsee.DefaultQueue, Subdeployments:
RPQueue_RP_MS8, target to RPWSJMSServer_RP_MS8

5. Create log and output folder under domain /u01/install/engine_domain


and give 777 permission

mkdir log
chmod 777 log
mkdir output
chmod 777 output
6. Engine datasource creation:

Create a datasource with name EBSENVNAME and target it to RP Managed Servers.


Login to console.
Service -> datasource ->New Generic Data source with details below:
Name: EBSENVNAME
JNDI Name : RapidPlanningDS2
Supports Global Transactions checkbox is unchecked.
Connection pool: 300

7. Prepare a script for starting Managed Servers with the APPLCSF loc you have handy.
In script ensure you give engine domain host port and APPLCSF loc like below
Port refers to admin port
#!/bin/bash
export WLS_USER=weblogic
export WLS_PW=weblogic1

./startManagedWebLogic.sh RP_MS1 http://slc04psh.us.oracle.com:7001/ -


DAPPLCSF="/net/rws3260287/u01/R122_EBS/fs_ne/inst/mz4st227_rws3260287/logs/appl/conc/out" &
8. Assign the profiles in EBS Env for accessing ASCP and RP.
open Apps login link (RTRUNNER1 / Welcome1 or mfg/welcome), System Administrator -> Profile ->
System ->search profile
i) Oracle Rapid Planning URL: To access RP UI
%Oracle Rapid Planning URL% - This should point to UI domain URL and set this at site level.
Format: http://domain_name:port_number
Example: https://slc04prz.us.oracle.com:7002
ii) MSC: Rapid Planning UI Refresh Timeout : 5000 at site level
iii) MSC: Rapid Planning WebLogic Server Home : should point to WL HOME
/u01/oracle/Oracle/MW/wlserver_10.3
iv) MSC: ASCP Planning URL : To access ASCP UI
This should point to UI domain host and ASCP server port
format: http://<hostname>:<port>
hostname: UI domain hostname
Port: ASCPAdminServer listen port
Example: https://slc04prz.us.oracle.com:18002
v) MSC: New Material and Resource Plan Fetch Size : 20
vi) Allow Unrestricted Redirects: Yes
9. Open RP url through EBS and also direct url to ensure its working
RP Via EBS ENV:
Log into the env and open RP UI :
Supply Chain Simulation Planner Standard -> Plan Inputs and Simulation. Ensure this page should open
and point to UI domain ost port
If above responsibility is not shown in EBS env , pls follow below steps to add

i) Login to the EBS env


ii) System Administrator->Security->User->Define
iii) F11
iv) MFG
v) Ctrl F11
vi) Click add button
vii) Add the new responsibility "Supply chain simulation planner"(the date should be old, you can
set around year 2004)
viii) Save
RP through Direct URL:
http://rpuidomainhost:rpuidomainport/rapidplanning/faces/RPMainUI
example: http://ebs1227master.ebsonoci.ebsdev.net:7003/rapidplanning/faces/RPMainUI
10. Ensure ASCP url is opening properly.
i) Login to the EBS env
ii) Advanced Supply Chain Planner Standard ->Supply Chain Plan -> Supply Planning Work area
Error While starting managed servers RP
The admin server could not be reached at
https://sp2rp213.appsdev.fusionappsdphx1.oraclevcn.com:7015
<Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for
user denied
weblogic.security.SecurityInitializationException: Authentication for user denied

Environment-. Machines

Create New machine


Add servers

As below

You might also like