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

Oracle Fusion Middleware Administration: Naveen

This document provides guidelines for administering Oracle Fusion Middleware including creating user accounts, updating JVM settings, configuring BAM adapters, creating data sources and JMS resources, starting and stopping composites using WLST, and changing log levels for WebLogic and SOA logs. Administration tasks covered include security, patching with Opatch, and configuration of servers, databases, and messaging.

Uploaded by

Naveen
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Oracle Fusion Middleware Administration: Naveen

This document provides guidelines for administering Oracle Fusion Middleware including creating user accounts, updating JVM settings, configuring BAM adapters, creating data sources and JMS resources, starting and stopping composites using WLST, and changing log levels for WebLogic and SOA logs. Administration tasks covered include security, patching with Opatch, and configuration of servers, databases, and messaging.

Uploaded by

Naveen
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 17

Oracle Fusion Middleware

Administration
Authors

Naveen

6:20 AM6:20 AM6:20 AM6:20 AM

-2-

- 2 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

Contents
Introduction.....................................................................................................4
Security............................................................................................................4
Creating User Accounts (Read-only Privileges)................................................4
Create user accounts for developer access.....................................................8
Adding Operator Privileges from EM console :.................................................8
Updating JVM settings (e.g., increasing JVM heap)..........................................9
OPatch lsinventory...........................................................................................9
BAM Adapter Configuration............................................................................10
Create data sources (XA/non-XA)...................................................................10
Create JMS servers/modules/persistent stores (file based, must be shared). 11
wlst to start/stop composites.........................................................................13
Changing log levels of WebLogic logs............................................................13
Changing log levels of SOA logs....................................................................16

2 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

-3-

- 3 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

3 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

-4-

- 4 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

INTRODUCTION
This document provided basic administration guidelines for weblogic and
SOA suite.

SECURITY
CREATING USER ACCOUNTS (READ-ONLY PRIVILEGES)
1. Login to Weblogic console as administrator
2. Click on Security Realms
3. Click on myrealm
4. Click on Users and Group Tab
5. Click on New
6. Enter username and password ,see Following Pic

4 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

-5-

- 5 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

7. Click on OK . It will take you to Users and Groups page . Now click on
the user you just created .
8. Click on Groups Tab.
9. Select Monitors from Avialble list and click on >> , then Monitors will
come in to Chosen section.

5 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

-6-

- 6 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

Click on save.
Readonly user will be create , which wil have priivlages to login to weblogic .
You need add SOA monitor role to the readonly user ,so that tthis use will
have monitor privialages for SOA_INFRA.
1 . Log in to EM console (http://soahost:port/em)
2. Right click on soa-infra and select security ,then select Application Roles

6 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

-7-

- 7 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

Select SOA Monitor and click on EDIT .


From Members section clik on Add
Select User from Type drop down list and in startwith enter read then click
on play button ,it will display all users starts with read.
Now select readonly and click Ok.
Click ok

7 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

-8-

CREATE

- 8 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

USER ACCOUNTS FOR DEVELOPER ACCESS

Sometimes you might need to give access developers . You can


give monitor access to developer in production environments.
If you want to give more privileges to developers on non-prod
environment. repeat the steps 1-8 in previous section , when
selecting the groups , select Deployers and/or Operators based
the requirement.
Adding Operator Privileges from EM console :
Log in to EM console (http://soahost:port/em)

8 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

-9-

- 9 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

Right click on soa-infra and select security ,then select Application


Roles

Select SOA Operator , click on EDIT .


From Members section clik on Add
Select User from Type drop down list and in startwith field enter first
few letters of the user then click on play button ,it will display users.

Now select the user and click Ok.


Click ok

UPDATING JVM SETTINGS (E.G., INCREASING JVM HEAP)


To Update heap settings Perform following
1. Log on weblogic console as administrator and click on Lock and Edit in Change center.
2. Click On Environment -> Servers
3. Select SOA_Server1 and Click on on Server Start Tab
4. Go to Arguments field and update Xms and Xmx values to the desired values
-Xms8191m Xmx8192m
5.

Save and Activate the changes. You need restart the server for changes to affect.

6. Repeat the same steps for other servers if required.

OPATCH LSINVENTORY
Opatch is a utility to manage patches for SOA Suite. You can install, unistall
view the patches applied to your environment by Opatch utility.
To view the patches and Fusion middleware products installed on your
environment

9 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 10 -

- 10 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

1 . Log in to the Host where SOA suite is installed


2 . Set ORACLE_HOME.
3 . Execute Following command
$ORACLE_HOME /OPatch /opatch lsinventory
Above command will display Fusion Middleware inventory information on that
host

BAM ADAPTER CONFIGURATION


1. Login to weblogic console as administrator.
2. Click on Deployments
3. Find OracleBamAdapter and click on it to go to its configuration page.
4. Click on Configuration tab -> Outbound Connection pools
5. Click New
6. Select oracle.bam.adapter.adc.RMIConnectionFactory
7. Enter JNDI name eis/bam/rmiJNDI
8. Save the plan.xml file in cluster folder and then click ok
9. Go to Bamadpater home page and click on on Configuration tab ->
Outbound Connection pools
10.
Expand
oracle.bam.adapter.adc.RMIConnectionFactory
click on newly created connection
11.

and

Enter the details for host, port and credentials and save.

12.
Now go to deployment, select OracleBamAdapter click on update
to update the adapter configuration.

CREATE DATA SOURCES (XA/NON-XA)


1. Log in to weblogic console as administrator, Click on Lock &Edit.
2. Click on ServicesData sources
10 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 11 -

- 11 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

3. Click on New,Select Generic


4. Enter the Name and JNDI for the data source ,select database type as
Oracle click Next
5. Select the driver Thin XA or Thin driver of Instance connections .select
XA driver if your application participates in distributed transactions , if
not select non-xa driver and then click Next on transaction options
6. Enter the details for Database , Name ,Port,host and credentials and
click on next
7. Click on Test configuration to verify the connection to DB ,once it is
successful click Next
8. Target the data source to Cluster, save and activate the changes.

CREATE JMS SERVERS/MODULES/PERSISTENT STORES (FILE


BASED, MUST BE SHARED)
Persistent Store
1. Login to weblogic console as administrator click on Lock & Edit
2. Click on Services Persistent Stores
3. Click New ,Select Create File store
4. Enter Name of the File store
5. Select the Target as SOA_Server1
6. Enter Full path of the Directory where Filestore need to be stored. Make
sure this path is accessible by SOA_Server2 also ,(it need be on shared
file system) click OK
7. Repeat steps 1-6 for soa_Server2
8. Click on Activate changes.
JMS Server Creation:
1. Login to weblogic console as administrator click on Lock & Edit
2. Click on Services Messaging JMS Servers

11 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 12 -

- 12 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

3. Click On New
4. Enter name of the JMS server
5. Select the Filestore from drop down list which was Targeted to
Soa_server1 and click Finish.
6. Select Target as Soa_Server1 from drop down list
7. Repeat the steps to 1-6 for JMS server2 for Soa_Server2

JMS MODULES Creation


1. Login to weblogic console as administrator click on Lock & Edit
2. Click on Services Messaging JMS Modules
3. Click on New
4. Enter the Name of The module. Other fields are options. By default
module descriptor file stored in jms folder for domain home.
5. Click Next Select the Target as soa_cluster, click Next and Click Finish .
Activate the changes
Now you are ready to create JMS resources in the module.
To create JMS resources click on the JMS module you just created.
1. Click on Lock &Edit and click New
2. Select the resource you want to create .,Select Queue
3. Enter Name and JNDI for the Queue
4. Click on create New sub deployments and Enter the Name of the sub
deployment.
5. Select the Target (jms server) and click finish.

12 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 13 -

- 13 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

WLST TO START/STOP COMPOSITES


You can manage the composites command line through WLST script.
1 . Set WLST Environment by executing following command
Middleware_Home/Oracle_SOA1/common/bin/setWlstEnv.sh
Starting a Composite :
Syntax

sca_startComposite(host, port, user, password, compositeName, revision,


[label], [partition])

The following example starts revision 1.0 of the HelloWorld application in


the partition myPartition.
wls:/mydomain/ServerConfig> sca_startComposite("stadp10",
"7001", "weblogic",
"weblogic", "HelloWorld", "1.0", partition="myPartition")
Stopping a Composite
Syntax:

sca_stopComposite(host, port, user, password, compositeName, revision,


[label],
[partition])

Following example stops the HelloWorld composite which has revision 1.0
wls:/mydomain/ServerConfig> sca_stopComposite("stadp10",
"7001", "weblogic",
"weblogic", "HelloWorld", "1.0", partition="myPartition")

CHANGING LOG LEVELS OF WEBLOGIC LOGS


1. Log in to weblogic console
2. Click on Environment Servers soa_server1
3. Click on logging.
13 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 14 -

- 14 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

4. Select Rotation type as Bytime as shown in the pic


5. Enter The rotation time and rotation interval
6. Click Advanced
7. Select appropriate value for Minimum severity Trace and Debug will log
lot of info ,but logs will be filled very quickly.

14 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 15 -

- 15 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

15 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 16 -

- 16 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

8.

CHANGING LOG LEVELS OF SOA LOGS.


You can update the log severity in SOA console, which affects the details of
info to be logged in the log file.
1. Log in EM Console as admin (http://soahost1:port/em)
2. Right click on soa-infra, then select Logs->Log configuration, you will
be directed to following page.

3. You can update each component logging severity based on your


requirement.Select Trace to get more detailed logging ,but it will fill up
the logs very quickly.You can expand each Logger and select
component level fine loggin as well.
16 / 17

6:20 AM6:20 AM6:20 AM6:20 AM

- 17 -

- 17 -ORACLE FUSION MIDDLEWARE ADMINISTRATION

4. Click apply.

17 / 17

You might also like