Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Preparing the Operating System for the installation of the WebLogic Server 12.2.1.1,
Installation JDK 1.8 and the WebLogic Server 12.2.1.1: WebLogic Server 12.2.1.1.0:
Installation on the Linux OS
Post-Installation Tasks:
o Configuring of components
o Creating of Start & Stop scripts for the automatic start/stop of components
The SOA/OSB Domain will be installed without BAM (different Domain) because of:
host01.example.com
host02.example.com
SOA Cluster
OSB 12.2.1.1.0
Prerequisite Checks:
Verify the Summary of the Installation and click the button Install:
Verify installationNext:
Note: All tasks described in this chapter must be running on both servers: host01 and
host02
[oracle@host01 SOA_Suite]$ cd /u01/app/oracle/software/OSB/
[oracle@host01 OSB]$ unzip V138477-01.zip
[oracle@host01 OSB]$ export JAVA_HOME=/u01/app/oracle/product/JAVA/jdk
[oracle@host01 OSB]$ export PATH=$JAVA_HOME/bin:$PATH
[oracle@host01 OSB]$ java -jar ./fmw_12.2.1.1.0_osb.jar
Prerequisite Checks:
Verify the Summary of the Installation and click the button Install:
Verify installationNext:
Step 2: Create Repository: For the new SOA Installation choose Create Repository and
System Load and Production Load:
Step 3: Database Connection Details: On this Page provide the database connection
information:
Database Type: Oracle Database
Step 6: Choose the size of the SOA Repository (small, medium or high): Medium
Step 7: Map Tablespaces: On this page you can change the tablespace settings:
In the next step the installer asks for the creating tablespaces for the soa repository:
On the next page you can add several WebLogic Server and SOA OSB Templates.
Select SOA Suite, Oracle Service Bus, Oracle API Manager, Oracle Enterprise
Scheduler Service Basic, Oracle User Messaging Service Basic and Oracle OPSS REST
Service Application (additional prerequisite components Coherence and JRF will be selected
automatically).
For more information about templates please refer to oracle documentation:
https://docs.oracle.com/middleware/1221/wls/WLDTR/fmw_templates.htm#WLDTR227
We dont configure the Key Store. Let default values and click Next
Activate check boxes for Administration Server, Node Manager and Topology for the
advanced configuration:
On the page Managed Servers add 8 Managed Servers with following settings:
Managed
server
soa_server1
192.168.75.32
osb_server1
192.168.75.32
ess_server1
192.168.75.32
owsm_server1
192.168.75.32
soa_server2
192.168.75.33
osb_server2
192.168.75.33
ess_server2
192.168.75.33
owsm_server2
192.168.75.33
700
3
700
4
700
5
700
6
700
3
700
4
700
5
700
SOA-MGD- SVRS-ONLY
OSB-MGD-SVRS-ONLY
ESS-MGD-SVRS
JRF-MAN-SVR, WSM-CACHE-SVR, WSMPMMAN-SVR
SOA-MGD- SVRS-ONLY
OSB-MGD-SVRS-ONLY
ESS-MGD-SVRS
JRF-MAN-SVR, WSM-CACHE-SVR, WSMPM-
MAN-SVR
In this example we will create eight managed servers for soa, osb, scheduler and webservices.
We will place the four managed server (soa_server1, osb_server1, ess_server1 and
owsm_server1) on the server host01.example.com (IP Address: 192.168.75.32) and the four
managed server (soa_server2, osb_server2, ess_server2 and owsm_server2) on the
host02.example.com (IP Address: 192.168.75.32).
Server groups in the Middleware 12c allow to target and execute of middleware components
(such soa or osb) on managed servers.
For example the server group SOA-MGD-sRVC-ONLY is responsible to execute the SOA
content.
Server groups JRF-MAN-SVR and WSM-CACHE-SVR / WSMPM-MAN-SRV ensure that
Oracle JRF and Oracle Web Services Manager (OWSM) services target Managed Servers you
are creating.
For more info about Server Groups please refer to:
https://docs.oracle.com/middleware/1221/core/INFIN/GUID-CA80A6E9-8903-4E19-81D7A3647A11D0A6.htm#INFIN332
Create two Unix Machines: one for the host host01.example.com and the second UNIX
Machine for the host02.example.com):
Name
host01.example.com
Listen Address
192.168.75.32
Port
5556
host02.example.com
192.168.75.33
5556
Post-Installation Tasks
Disabling the Derby Database
Note: All tasks described in this chapter must be running on both servers:
host01.example.com and host02.example.com
[oracle@host01]$ cd
/u01/app/oracle/product/FMW/Oracle_Home/wlserver/common/derby/lib/
[oracle@host01 lib]$ mv derby.jar disable_derby.jar
Copying the Domain configuration from the server host01 to the host02
Save the Domain configuration on the server host01:
[oracle@host01 oracle]$ cd
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin
[oracle@host01 bin]$ ./pack.sh
-domain=/u01/app/oracle/user_projects/domains/soa_domain
-template=/home/oracle/soa_domain.jar -template_name=soa_domain
Output:
<< read domain from "/u01/app/oracle/user_projects/domains/soa_domain"
>> succeed: read domain from
"/u01/app/oracle/user_projects/domains/soa_domain"
<< write template to "/home/oracle/soa_domain.jar"
..............................
>> succeed: write template to "/home/oracle/soa_domain.jar"
<< close template
>> succeed: close template
Output:
<< read template from "/home/oracle/soa_domain.jar"
>> succeed: read template from "/home/oracle/soa_domain.jar"
<< set config option AppDir to "/u01/app/oracle/user_projects/applications"
>> succeed: set config option AppDir to
"/u01/app/oracle/user_projects/applications"
<< find User "weblogic" as u1_CREATE_IF_NOT_EXIST
>> succeed: find User "weblogic" as u1_CREATE_IF_NOT_EXIST
<< set u1_CREATE_IF_NOT_EXIST attribute Password to "********"
>> succeed: set u1_CREATE_IF_NOT_EXIST attribute Password to "********"
<< set u1_CREATE_IF_NOT_EXIST attribute IsDefaultAdmin to "true"
>> succeed: set u1_CREATE_IF_NOT_EXIST attribute IsDefaultAdmin to "true"
<< write Domain to "/u01/app/oracle/user_projects/domains/soa_domain"
...........................................................................
....................
>> succeed: write Domain to
"/u01/app/oracle/user_projects/domains/soa_domain"
<< close template
>> succeed: close template
Change parameter:
Old:
CrashRecoveryEnabled=false
New:
CrashRecoveryEnabled=true
Start NodeManager:
[oracle@host01 bin]$ cd
/u01/app/oracle/user_projects/domains/soa_domain/bin
[oracle@host01 bin]$ nohup ./startNodeManager.sh &
Server host02:
Edit file nodemanager.properties:
[oracle@host02 ~]$ cd
/u01/app/oracle/user_projects/domains/soa_domain/nodemanager
[oracle@host02 nodemanager]$ vi nodemanager.properties
Change parameter:
Old:
ListenAddress=192.168.75.32
CrashRecoveryEnabled=false
New:
ListenAddress=192.168.75.33
CrashRecoveryEnabled=true
Start NodeManager:
[oracle@host02 bin]$ cd
/u01/app/oracle/user_projects/domains/soa_domain/bin
[oracle@host02 bin]$ nohup ./startNodeManager.sh &
Start AdminServer via NodeManager and WLST on the Server host01 (as OS User oracle)
Start wlst:
[oracle@host01 oracle]$
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
wlst> nmConnect('nodemanager','welcome1',
'192.168.75.32','5556','soa_domain','/u01/app/oracle/user_projects/domains/
soa_domain')
Start AdminServer:
wls:/nm/soa_proddomain> nmStart('AdminServer')
Output:
Starting server AdminServer ...
Successfully started server AdminServer ...
Execute nmEnroll commando on the second server: host02.example.com (as OS User oracle)
Start wlst:
[oracle@host02]$
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Output.
Enrolling this machine with the domain directory at
/u01/app/oracle/user_projects/domains/soa_domain ...
Successfully enrolled this machine with the domain directory at
/u01/app/oracle/user_projects/domains/soa_domain.
Get your familiar with the new look of the Enterprise Manager:
Open the page: http://192.168.75.32:7001/em:
nmStart('osb_server1')
nmStart('soa_server1')
nmStart('ess_server1')
Set permissions:
[oracle@host01 scripts]$ chmod -R 747 /u01/app/oracle/scripts
-f
-f
-f
-f
-f
-f
${HOME}/fmw_nodemanager.sh \
${HOME}/fmw_admin_and_ms.sh
${HOME}/start_admin.py
\
${HOME}/stop_admin.py
\
${HOME}/start_ms.py
\
${HOME}/stop_ms.py ]
case "$1" in
'start')
su $ORA_OWNER
sleep 120
su $ORA_OWNER
;;
'stop')
su $ORA_OWNER
su $ORA_OWNER
;;
esac
-c "$HOME/fmw_nodemanager.sh start"
-c "$HOME/fmw_admin_and_ms.sh start"
-c "${HOME}/fmw_admin_and_ms.sh stop"
-c "${HOME}/fmw_nodemanager.sh stop"
Check ( as root):
[root@host01 init.d]# chkconfig --list oracle
oracle 0:off 1:off 2:off 3:on 4:on 5:on 6:off
Server soa02
Create directory (as OS User oracle):
[oracle@host02 ~]$ mkdir /u01/app/oracle/scripts
[oracle@host02 ~]$ chmod 744 /u01/app/oracle/scripts
[oracle@host02 ~]$ cd /u01/app/oracle/scripts
;;
stop)
${WLST} ${WORK_DIR}/stop_ms.py
;;
*)
echo "usage: $0 [start|stop]"
exit 2
;;
esac
Set permissions:
[oracle@host02 scripts]$ chmod -R 747 /home/oracle/scripts
-f
-f
-f
-f
${HOME}/fmw_nodemanager.sh \
${HOME}/fmw_ms.sh
\
${HOME}/start_ms.py
\
${HOME}/stop_ms.py ]
case "$1" in
'start')
su $ORA_OWNER -c "$HOME/fmw_nodemanager.sh start"
sleep 120
-Dweblogic.MaxMessageSize=300000000
-Dweblogic.threadpool.MinPoolSize=1024
For more information about the customizing of Java settings please refer to my article
https://borysneselovskyi.wordpress.com/2016/07/24/how-to-customize-java-virtual-machinesettings-in-oracle-weblogic-server-12-on-os-linux-unix
Creating the File setUserOverrides.sh on both hosts: host01.example.com and
host02.example.com:
[oracle@host01 ~]$ cd /u01/app/oracle/user_projects/domains/soa_domain/bin
[oracle@host01 bin]$ cat setUserOverrides.sh
Content of setUserOverrides.sh:
#!/bin/bash
echo "Setting from UserOverrides.sh"
# global settinga (for all servers)s
fi
Set variables:
wls:/soa_domain/domainCustom/>
myMBean=ObjectName('emoms.props:Location=AdminServer,name=emoms.properties,
type=Properties,Application=em')
wls:/soa_domain/domainCustom/> types=['java.lang.String',
'java.lang.String']
wls:/soa_domain/domainCustom/> type=['java.lang.String']
Set property
oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_USE_CACHED_RESULTS=true:
wls:/soa_domain/domainCustom/>
params=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_USE_CACHED_RESULTS'
, 'true']
wls:/soa_domain/domainCustom/>
mbs.invoke(myMBean,'setProperty',params,types)
Set property
oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_CACHE_AGE=7200000:
wls:/soa_domain/domainCustom/>
params=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_CACHE_AGE','720
0000/soa_domain/domainCustom/>
mbs.invoke(myMBean,'setProperty',params,types)
Set property
oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_WAIT_TIME=10000:
wls:/soa_domain/domainCustom/>
params=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_WAIT_TIME','100
00/soa_domain/domainCustom/> mbs.invoke(myMBean,'setProperty',params,types)
Invoke getProperty operations to display and confirm parameter values (Values returned by
wlst are in red):
Display changes added:
wls:/soa_domain/domainCustom/>
param=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_USE_CACHED_RESULTS']
wls:/soa_domain/domainCustom/> mbs.invoke(myMBean,'getProperty',param,type)
'true'
wls:/soa_domain/domainCustom/>
param=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_CACHE_AGE']
wls:/soa_domain/domainCustom/> mbs.invoke(myMBean,'getProperty',param,type)
'7200000'
wls:/soa_domain/domainCustom/>
param=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_WAIT_TIME']
wls:/soa_domain/domainCustom/> mbs.invoke(myMBean,'getProperty',param,type)
'10000'
Tuning the WebLogic Server Start: Avoiding JVM Delays Caused by Random Number
Generation
Change the JVM random generation from /dev/random to /dev/urandom. For more
Information refer to the Oracle Documentation:
https://docs.oracle.com/cd/E13209_01/wlcp/wlss30/configwlss/jvmrand.html
Go to the file java.security and change the parameter securerandom.source:
Server host01 (as OS User oracle):
[oracle@host01 ~]$ vi
/u01/app/oracle/product/JAVA/jdk/jre/lib/security/java.security
Old value:
securerandom.source=file:/dev/random
Change to:
securerandom.source=file:/dev/urandom
Repeat the step on the Server host02.example.com.
Restart the Admin and all Managed Servers.
Configure the SOA Purging via Enterprise Manager Fusion Middleware Control
Go to Fusion Middleware Control
http://10.10.240.123:7001/em
Navigate to SOA -> soa-infra:
The Purge Configuration Page appears. You can set the scheduling options, Type of Purge
(single or parallel) and another settings:
enjoy
Teilen mit:
hnlich
Erste Erfahrungen mit dem neuen WebLogic Server 12.2.1: Installation und KonfigurationIn
"Howto"
WebLogic Server 12.2.1.1.0: Create, configure and tune a DomainIn "12c"
SOA Suite auf einer ODA? Mit O-Box - ein KinderspielIn "Allgemein"
Beitragsnavigation
Vorheriger Beitrag Vorheriger Beitrag: WebLogic Server 12.2.1.1.0: Create, configure and
tune a Domain
Letzte Beitrge
WebLogic Server 12.2.1.1.0: Installation on the Linux OS: step by step instruction
Archive
Archive
Gib deine E-Mail-Adresse ein, um diesem Blog zu folgen und per E-Mail Benachrichtigungen
ber neue Beitrge zu erhalten.
Schlagwrter
11g 12.2.1.1
Configuration DOAG
Engineered System Engineered Systems Exadata Forms Frontend Howto Installation Integration Java
Heap Size JDK ODA On-Premise
OSB
OWSM Reports Security SOA Purge SOA Suite SSL start weblogic server tuning java garbage
WebLogic