WLS OCIenvs
WLS OCIenvs
Prereq:
Login to the env via VNC , based on details given in the ENV details page.
Example below:
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
/u01/install/APPS/fs2/FMW_Home/wlserver_10.3
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.
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
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/
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)
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)
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
WLS_PW="weblogic1"
export WLS_PW
nohup ./startManagedWebLogic.sh
ASCPAdminServer t3://ebs1227master.ebsonoci.ebsdev.net:7003 -
Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic1 >
ASCPServer.out &
Deployments-> Install ->Select Planning UI.ear and point to ASCPServer-> Next-> Next ->Finish-> Save
Ensure plannui is active
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
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.
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
mkdir log
chmod 777 log
mkdir output
chmod 777 output
6. Engine datasource creation:
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
Environment-. Machines
As below