0% found this document useful (0 votes)
28 views

install-setup_spwa_using_oracle_wls_12.2.1.4

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)
28 views

install-setup_spwa_using_oracle_wls_12.2.1.4

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/ 55

Install and Setup Supply Planning

Working Area Using Oracle


WebLogic Server 12.2.1.4
Prerequisite Software Downloads
Prior to performing the installation and setup of the Oracle WebLogic Server 12.2.1.4 , it is important to
download the necessary software. This includes:

 Java Development Kit 8


 Fusion Middleware Infrastructure Installer

Install Java Development Kit 8


To install Java Development Kit (JDK) 8, you need to have access to the ‘root’ user. Using the Java
Development Kit 8 link in the Prerequisites section, download the software to a staging area. For
example /u01/install/oas_software. From the staging area, execute the following command to install
the JDK 8 package.
rpm -ihv jdk-8u321-linux-x64.rpm
Install Fusion Middleware Infrastructure
Once you have installed JDK 8, you can proceed with installing the Fusion Middleware Infrastructure, but
before you begin, you need to set your environment accordingly.

1. Login to the environment as the ‘oracle’ user.

2. Set your $JAVA_HOME and $PATH environment variables. You should set your $JAVA_HOME
first and then ensure your $PATH includes the $JAVA_HOME in it.

export JAVA_HOME=<path_to_java_installation>
export PATH=$JAVA_HOME/bin:$PATH

3. Change directories to the location where you have staged your Fusion Middleware files and
unzip them.

4. Execute the following command to launch the installer.

java -jar fmw_12.2.1.4.0_infrastructure.jar

5. The command above will launch the Oracle Fusion Middleware 12c Infrastructure Installation
program. Included below are each of the steps.
Select Next
Enter the necessary information for Auto Updates
Select Next
Specify the location to install the Oracle Fusion Middleware software
Select Next
Specify whether to install Fusion Middleware Infrastructure with Examples or not
Select Next
Ensure that all Prerequisite Checks have passed
Select Next
Review the Installation Summary and select the Save Response File button if desired.
Select Install
Confirm that all the installation steps completed without error. View any Messages or Logs as
necessary.
Select Next
Review the Installation Location and Feature Sets that were installed successfully
Select Finish

Create Database Schemas (Repository Creation Utility)


Before you configure the Fusion Middleware Infrastructure domain, you must run the Repository
Creation Utility (RCU).

1. Login as the ‘oracle’ user.

2. Set your $JAVA_HOME and $PATH environment variables. You should set your $JAVA_HOME
first and then ensure your $PATH includes the $JAVA_HOME in it.

export JAVA_HOME=<path_to_java_installation>
export PATH=$JAVA_HOME/bin:$PATH

3. Change directories to $MW_HOME/oracle_common/bin

4. Execute the following command to launch the installer.

./rcu

5. The command will launch the Repository Creation Utility.

Select Next
Select the radio button next to ‘Create Repository’ and ‘System Load and Product Load’
Select Next
Enter the connection information for your database and connect as the ‘system’ user
In our case, we used a Connection String to connect:
For Database Type, select Oracle Database
Select the radio button next to ‘Connection String’
Enter the Connection String information (hostname.domain:db_port/db_service_name)
For Username, enter System
For Password, enter the password for System
Select Next
After the prerequisite check is performed, select OK

Select the radio button next to the ‘Create new prefix’ option and either keep the default prefix
or change it as needed. In this case, we changed it to SPWA.
Select the checkbox next to the Component ‘AS Common Schemas’. This will check all the
options below it and each Schema Owner will start with the prefix entered previously
Select Next

After the prerequisite check is performed, select OK


Define the password for the main and auxiliary schema users based on your business practices
The example above uses the same password for all schemas
Select Next
Select Next

After tablespaces are created select OK


Select Create
Assuming successful completion, select Close

Create WebLogic Admin Server


After installing the Fusion Middleware Software (this includes WebLogic Server), you need to configure
the WebLogic Admin Server. To accomplish this, you need to run the config.sh script under
$MW_HOME/oracle_common/common/bin directory. In our case, the $MW_HOME is
/u01/install/VCP/ui.

1. Login as the ‘oracle’ user.

2. Set your $JAVA_HOME and $PATH environment variables. You should set your $JAVA_HOME
first and then ensure your $PATH includes the $JAVA_HOME in it.

export JAVA_HOME=<path_to_java_installation>
export PATH=$JAVA_HOME/bin:$PATH
3. Change directories to $MW_HOME/oracle_common/common/bin

4. Execute the following command to launch the installer.

./config.sh

5. The command will launch the Fusion Middleware Configuration Wizard.

Select the radio button next to the ‘Create a new domain’ option
Enter the complete path for the new domain
Select Next
Select the radio button next to the ‘Create Domain Using Product Templates’ option
From the Available Templates, the ‘Basic WebLogic Server Domain [wlserver]’ template is
selected by default. Also select the template ‘Oracle JRF [oracle_common]’
Select Next
Enter and Confirm the password for the ‘weblogic’ user
Select Next
For Domain Mode, select the ‘Production’ radio button
For JDK, select the radio button next to the JDK that was installed earlier (this should default) or
select another JDK location
Select Next
Select radio button next to ‘Manual Configuration’
Select Next
When the page first comes up, the top part will be grayed out
Place the cursor on the line for Component Schema ‘LocalSvcTbl Schema’
Now the region on the top will no longer bey grayed out
Now, the values you enter in the top portion will be reflected in the lower portion for each
Component Schema
Select the radio button for ‘Connection URL String’
From the Driver dropdown, select ‘Oracle’s Driver (Thin) for pooled instance connections;
Versions Any’
For the URL field, enter the connection string; value in the field is an example
Enter the Schema Owner and Schema Password you created in the RCU steps
Repeat the steps above and it will look like this:
Select Next
Confirm that all the JDBC Tests pass
Select Next
Select Next
Select the checkbox next to Administration Server
Select Next
Set the ‘Listen Port’ to a desired value
Select ‘Enable SSL’ and enter ‘SSL Listen Port’ (optional)
Select Next
Select Create
Select Next
Select Finish

Create ASCP Managed Server and Deploy Planning UI

1. Start the WebLogic Admin Server

2. Use the URL for the WebLogic Admin Server and login as the ‘weblogic’ user (see last screenshot
of the Create WebLogic Admin Server section for the complete URL
3. From the menus on the left lock the system for changes and then drill into the Domain Structure
to create a new Managed Server
Domain Structure > ascp_ui_domain > Environment > Servers
Select Lock & Edit
Select the ‘New’ button
Enter a values for:
- Server Name = ASCP Managed Server
- Server Listen Address = hostname.domain
- Server Listen Port = 7004 (or whatever port is free)
Select Next
Confirm the data you entered
Select Finish
Activate Changes

4. Create Machine to associate with ASCPManaged Server


Domain Structure > ascp_ui_domain > Environment > Machines
Select Lock & Edit
Select the ‘New’ button
Enter the Name
Select Machine OS from drop-down
Select Next
The Type should default to SSL. Leave this as it is.
Enter the Listen Address (hostname.domain)
Enter the Listen Port
Select Finish
Activate Changes

5. Return to the ASCPManagedServer and associate the Machine


Domain Structure > ascp_ui_domain > Environment > Servers
Select Lock & Edit
Select the hyperlink for the ASCPManagedServer
For the drop-down associated with the Machine field, select the Machine you defined
Select the Save button
Activate Changes

6. Apply the JRF file by running the following commands:

cd $MIDDLEWARE_HOME/oracle_common/common/bin
./wlst.sh

In the WebLogic Scripting Tool, execute the following commands:

connect('weblogic','welcome1','hostname.domain:7003')
applyJRF('ASCPManagedServer','/u01/install/VCP/ui/user_projects/domains/
ascp_ui_domain/',true)

7. Create the JDBC Data Source and associate it with the ASCPManagedServer created in the last
step.
Domain Structure > ascp_ui_domain > Services > Data Sources
Select Lock & Edit
Select the ‘New’ > Generic Data Source
Enter ApplicationDB for the Name
Enter jdbc/ApplicationDBDS for the JNDI Name
Select Oracle from the drop-down for Database Type
Select Next

IMPORTANT: The Name field MUST be ‘ApplicationDB’ and the JNDI Name must be
‘jdbc/ApplicationDBDS’
For the Database Driver drop-down select ‘*Oracle’s Driver (Thin) for Instance connections;
Versions:Any’
Select Next
Select Next
Enter the Database Name
Enter the Host Name
Enter the Port
Enter the Database User Name (apps user)
Enter the Database Password and Re-enter to confirm (apps password)
Select Next
Select Test Configuration
Confirm ‘Connection test succeeded’ message
Select Next
Select the checkbox next to ASCPManagedServer
Select Finish
Select the link for ApplicationDB Data Source that you just created
Under the Configuration tab, select the Connection Pool tab
Scroll down and find the Maximum Capacity field and change it to 150
Scroll further down and expand the Advanced region
Select the checkbox next to ‘Test Connections On Reserve’
Select Save
Activate Changes

8. Set Up the MDS Repository


a. Change directories to the $DOMAIN_HOME/servers directory
b. Create a directory called ‘ASCPManagedServer’ if it does not already exist
c. Create a directory called ‘mds’ under the ASCPManagedServer directory

9. Create File Persistence Store


Domain Structure > ascp_ui_domain > Services > Persistent Stores
Select Lock & Edit
Select the ‘New’ > Create FileStore
For the Name field enter ‘mds-ascp-repos’
For the Directory field, enter the path of the ‘mds’ directory you created previously
Select Next
For the Target drop-down, select ASCPManagedServer
Select Finish
Activate Changes

You might also like