learn oracle weblogic server 12c administration
TRANSCRIPT
Raastech Inc2201 Cooperative Way Suite 600Herndon VA 20171+1-703-884-2223inforaastechcom
Learn Oracle WebLogic Server 12c AdministrationFor Middleware Administrators
Wednesday November 182015115 - 210 pm
VT425
copy Raastech Inc 2015 | All rights reserved Slide 2 of 40Raastech
Agenda
About Raastech
Fusion Middleware Overview
WebLogic Terminology
Configuration and Changes
Administration Tools
WebLogic Security
Initial Planning
QA
copy Raastech Inc 2015 | All rights reserved Slide 3 of 40Raastech
About Raastech
Small systems integrator founded in 2009
Headquartered in the Washington DC area
Specializes in Oracle Fusion Middleware
Oracle Platinum Partner 1 in 3000 worldwide
Oracle SOA Specialized 1 in 1500 worldwide
Oracle ACEs 2 in 500 worldwide
copy Raastech Inc 2015 | All rights reserved Slide 4 of 40Raastech
About Arun
15+ years of infrastructure administration
Focus on Oracle Fusion Middleware infrastructure implementation
security high availability and disaster recovery
OCA ITIL PMP certified
Active WMOUG memberpresenter
Hobbies ndash leisure travel eating out working out watching movies
copy Raastech Inc 2015 | All rights reserved Slide 5 of 40Raastech
Understanding Oracle Fusion Middleware
ldquoOracle Fusion Middlewarerdquo is a misleading term
Used to describe middleware products such as
Business Intelligence (eg OBIEE Discoverer)
Integration (eg SOA Suite OSB)
Web Center (Web Center Content and Portal)
Identity Management (eg Oracle Access Manager)
Monitoring (eg OEM Grid Control)
But usually used to describe a single product
WebLogic Server
copy Raastech Inc 2015 | All rights reserved Slide 6 of 40Raastech
Fusion Middleware Overview
copy Raastech Inc 2015 | All rights reserved Slide 7 of 40Raastech
Oracle WebLogic Server
Java Enterprise Edition (Java EE) Application server
Acquired from BEA in 2008
Replaced Oracle Application Server
Required for almost all Oracle Fusion Middleware products
Supports the deployment of many distributed applications
Provides a standard set of APIs for creating distributed Java
applications that can access a wide variety of services such as
JMS JDBC RMI Web Services XML EJB etc
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 2 of 40Raastech
Agenda
About Raastech
Fusion Middleware Overview
WebLogic Terminology
Configuration and Changes
Administration Tools
WebLogic Security
Initial Planning
QA
copy Raastech Inc 2015 | All rights reserved Slide 3 of 40Raastech
About Raastech
Small systems integrator founded in 2009
Headquartered in the Washington DC area
Specializes in Oracle Fusion Middleware
Oracle Platinum Partner 1 in 3000 worldwide
Oracle SOA Specialized 1 in 1500 worldwide
Oracle ACEs 2 in 500 worldwide
copy Raastech Inc 2015 | All rights reserved Slide 4 of 40Raastech
About Arun
15+ years of infrastructure administration
Focus on Oracle Fusion Middleware infrastructure implementation
security high availability and disaster recovery
OCA ITIL PMP certified
Active WMOUG memberpresenter
Hobbies ndash leisure travel eating out working out watching movies
copy Raastech Inc 2015 | All rights reserved Slide 5 of 40Raastech
Understanding Oracle Fusion Middleware
ldquoOracle Fusion Middlewarerdquo is a misleading term
Used to describe middleware products such as
Business Intelligence (eg OBIEE Discoverer)
Integration (eg SOA Suite OSB)
Web Center (Web Center Content and Portal)
Identity Management (eg Oracle Access Manager)
Monitoring (eg OEM Grid Control)
But usually used to describe a single product
WebLogic Server
copy Raastech Inc 2015 | All rights reserved Slide 6 of 40Raastech
Fusion Middleware Overview
copy Raastech Inc 2015 | All rights reserved Slide 7 of 40Raastech
Oracle WebLogic Server
Java Enterprise Edition (Java EE) Application server
Acquired from BEA in 2008
Replaced Oracle Application Server
Required for almost all Oracle Fusion Middleware products
Supports the deployment of many distributed applications
Provides a standard set of APIs for creating distributed Java
applications that can access a wide variety of services such as
JMS JDBC RMI Web Services XML EJB etc
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 3 of 40Raastech
About Raastech
Small systems integrator founded in 2009
Headquartered in the Washington DC area
Specializes in Oracle Fusion Middleware
Oracle Platinum Partner 1 in 3000 worldwide
Oracle SOA Specialized 1 in 1500 worldwide
Oracle ACEs 2 in 500 worldwide
copy Raastech Inc 2015 | All rights reserved Slide 4 of 40Raastech
About Arun
15+ years of infrastructure administration
Focus on Oracle Fusion Middleware infrastructure implementation
security high availability and disaster recovery
OCA ITIL PMP certified
Active WMOUG memberpresenter
Hobbies ndash leisure travel eating out working out watching movies
copy Raastech Inc 2015 | All rights reserved Slide 5 of 40Raastech
Understanding Oracle Fusion Middleware
ldquoOracle Fusion Middlewarerdquo is a misleading term
Used to describe middleware products such as
Business Intelligence (eg OBIEE Discoverer)
Integration (eg SOA Suite OSB)
Web Center (Web Center Content and Portal)
Identity Management (eg Oracle Access Manager)
Monitoring (eg OEM Grid Control)
But usually used to describe a single product
WebLogic Server
copy Raastech Inc 2015 | All rights reserved Slide 6 of 40Raastech
Fusion Middleware Overview
copy Raastech Inc 2015 | All rights reserved Slide 7 of 40Raastech
Oracle WebLogic Server
Java Enterprise Edition (Java EE) Application server
Acquired from BEA in 2008
Replaced Oracle Application Server
Required for almost all Oracle Fusion Middleware products
Supports the deployment of many distributed applications
Provides a standard set of APIs for creating distributed Java
applications that can access a wide variety of services such as
JMS JDBC RMI Web Services XML EJB etc
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 4 of 40Raastech
About Arun
15+ years of infrastructure administration
Focus on Oracle Fusion Middleware infrastructure implementation
security high availability and disaster recovery
OCA ITIL PMP certified
Active WMOUG memberpresenter
Hobbies ndash leisure travel eating out working out watching movies
copy Raastech Inc 2015 | All rights reserved Slide 5 of 40Raastech
Understanding Oracle Fusion Middleware
ldquoOracle Fusion Middlewarerdquo is a misleading term
Used to describe middleware products such as
Business Intelligence (eg OBIEE Discoverer)
Integration (eg SOA Suite OSB)
Web Center (Web Center Content and Portal)
Identity Management (eg Oracle Access Manager)
Monitoring (eg OEM Grid Control)
But usually used to describe a single product
WebLogic Server
copy Raastech Inc 2015 | All rights reserved Slide 6 of 40Raastech
Fusion Middleware Overview
copy Raastech Inc 2015 | All rights reserved Slide 7 of 40Raastech
Oracle WebLogic Server
Java Enterprise Edition (Java EE) Application server
Acquired from BEA in 2008
Replaced Oracle Application Server
Required for almost all Oracle Fusion Middleware products
Supports the deployment of many distributed applications
Provides a standard set of APIs for creating distributed Java
applications that can access a wide variety of services such as
JMS JDBC RMI Web Services XML EJB etc
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 5 of 40Raastech
Understanding Oracle Fusion Middleware
ldquoOracle Fusion Middlewarerdquo is a misleading term
Used to describe middleware products such as
Business Intelligence (eg OBIEE Discoverer)
Integration (eg SOA Suite OSB)
Web Center (Web Center Content and Portal)
Identity Management (eg Oracle Access Manager)
Monitoring (eg OEM Grid Control)
But usually used to describe a single product
WebLogic Server
copy Raastech Inc 2015 | All rights reserved Slide 6 of 40Raastech
Fusion Middleware Overview
copy Raastech Inc 2015 | All rights reserved Slide 7 of 40Raastech
Oracle WebLogic Server
Java Enterprise Edition (Java EE) Application server
Acquired from BEA in 2008
Replaced Oracle Application Server
Required for almost all Oracle Fusion Middleware products
Supports the deployment of many distributed applications
Provides a standard set of APIs for creating distributed Java
applications that can access a wide variety of services such as
JMS JDBC RMI Web Services XML EJB etc
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 6 of 40Raastech
Fusion Middleware Overview
copy Raastech Inc 2015 | All rights reserved Slide 7 of 40Raastech
Oracle WebLogic Server
Java Enterprise Edition (Java EE) Application server
Acquired from BEA in 2008
Replaced Oracle Application Server
Required for almost all Oracle Fusion Middleware products
Supports the deployment of many distributed applications
Provides a standard set of APIs for creating distributed Java
applications that can access a wide variety of services such as
JMS JDBC RMI Web Services XML EJB etc
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 7 of 40Raastech
Oracle WebLogic Server
Java Enterprise Edition (Java EE) Application server
Acquired from BEA in 2008
Replaced Oracle Application Server
Required for almost all Oracle Fusion Middleware products
Supports the deployment of many distributed applications
Provides a standard set of APIs for creating distributed Java
applications that can access a wide variety of services such as
JMS JDBC RMI Web Services XML EJB etc
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 8 of 40Raastech
Current Releases and Installers
Current releases
Oracle WebLogic Server 12c R2 (1221)
Oracle WebLogic Server 12c (1212 and 1213)
Installers can be downloaded through
Oracle Software Delivery Cloud (httpedeliveryoraclecom)
Oracle OTN Network (httpdownloadoraclecom)
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 9 of 40Raastech
Installer Types
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 10 of 40Raastech
WebLogic Terminology
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 11 of 40Raastech
Domain
Logically related group of WebLogic Server instances that can be managed from a single set of configuration files
Domain Consists of
Servers
Clusters of servers
Each Domain requires an Administration server
All managed servers in a cluster must be part of same domain
Domain can spread across many machines but the WebLogic version has to be the same
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 12 of 40Raastech
Server
What is it
A configured instance to host applications and resources
WebApps Enterprise Apps Web Services hellip
JMS JDBC Diagnostics hellip
What types of servers are there
Administration Server
Managed Server
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 13 of 40Raastech
Administration Server
Controls configuration for the domain
Only one Admin server per domain
Admin Server can only control one domain
Hosts the Administration Console
Enables you to start and stop servers from a central location
Enables you to migrate servers and services within the domain
Enables you to deploy applications within the domain
It can be used as a managed server for lower environments
Admin Server
Managed Servers
configxml
Admin Console
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 14 of 40Raastech
Managed Server Managed Servers host business applications application
components Web services and their associated resources
Each Managed Server can function independent of other
Managed Servers in the domain
Managed servers do not share resources such JDBC JMS
and connection factories
No restrictions on the number of managed servers in a
domain
Can be cloned or added dynamically through the
administration console
Individual Managed Servers are typically added for
capacity and application isolation
Each Managed server stores a local copy of its
configuration
JNDI
JMS Queue
JDBC Pool
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 15 of 40Raastech
Cluster A cluster is a group of Managed Servers running
simultaneously and working together to provide increased scalability and reliability
Scalability through parallelism
ReliabilityAvailability through replication and redundancy
A Cluster is part of a single domain and each domain can contain multiple clusters
Domain can contain clustered and non-clustered managed servers
A cluster appears as a single instance to most clients
Clusters enable some advanced features such as Whole Server Migration Service Migration and clustered JMS destinations
Cluster 1
Cluster 2
Admin Svr
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 16 of 40Raastech
Load Balancing in a Cluster
For JSPs and Servlets load balancing is external
Web server proxy plug-in (round robin)
HTTP Proxy servlet (ie using WLS as a load balancer)
3rd party hw or sw load balancer (F5 Big IP LTM or Cisco CSM)
EJBs and RMI Objects load balancing is done at connection
Objects are cluster-aware
Load balancing algorithm is stored in the clustered objectrsquos stub
Objects are available on all cluster members remote objects connectuse according the LB algorithm in the stub
Load balancing algorithms Round robin weighted random server affinity
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 17 of 40Raastech
Failover in a Cluster
Servlets and JSPs
HTTP session state is replicated to a secondary server in the cluster
or to a database
EJBs and RMI Objects
Replicas available throughout the cluster
Exceptions caught and retried on another instance
For Stateful Session Beans state is replicated on a secondary server
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 18 of 40Raastech
Communication in a Cluster
Peer to Peer using Sockets - used for
Accessing non-clustered objects deployed to another clustered server instance on a different machine
Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance
Accessing clustered objects that reside on a remote server instance
Peer to Peer using Unicast or Multicast - used for
Cluster-wide JNDI updates
Heartbeats
Cluster-wide JNDI tree
Lists local resources and resources available throughout the cluster
List is maintained on all servers in the cluster
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 19 of 40Raastech
Node Manager
Process running on a physical server that enables you to start stop suspend and restart WebLogicServer instances remotely
Runs on each physical server that hosts WebLogicServer instances
Not associated with a domain Can start any server instance that resides on the same physical server
Node Manager is Optional but required to startstop servers using the Administration Console
Required for Whole Server Migration and for some configurations of Automatic Service Migration
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 20 of 40Raastech
Machine
A definition that identifies a particular physical piece of hardware
A machine definition is used to associate a computer with the
Managed Servers it hosts
Used by Node Manager in restarting a failed Managed Server
Used by a clustered Managed Server in selecting the best location
for storing replicated session data
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 21 of 40Raastech
Configuration and Changes
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 22 of 40Raastech
Main Configuration Files
ltdomain (schema locations)gt
ltnamegtwl_serverltnamegt
ltsecurity-configurationgtltsecurity-configurationgt
ltjtagtltjtagt
ltservergt
ltnamegtexamplesServerltnamegt
ltservergt
ltapp-deploymentgtltapp-deploymentgt
ltjms-servergtltjms-servergt
ltjms-system-resourcegtltjms-system-resourcegt
ltjdbc-system-resourcegt
ltnamegtexamples-demoltnamegt
lttargetgtexamplesServermanagedServer-0lttargetgt
ltdescriptor-file-namegtjdbcexamples-demoxmlltdescriptor-file-namegt
ltjdbc-system-resourcegt
ltdomaingt
configxml
examples-demoxml
ltjdbc-data-sourcegt
ltnamegtexamples-demoltnamegt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-driver-paramsgtltjdbc-driver-paramsgt
ltjdbc-data-source-paramsgtltjdbc-data-source-paramsgt
ltjdbc-data-sourcegt
references to other files
bull configxml ndash central configuration file for a domain
bull includes the configuration of each server instance cluster resource and service in the domain
bull references additional XML files that are stored in subdirectories of the domainconfig directory JMS JDBC WLDF and Security
bull All files are based on schemas
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 23 of 40Raastech 23
Two-Phase Configuration Changes
Changes activated in batches
Reliability consistency
Make (related) changes as a group
Validate before making the change
Activate or Roll back as a single unit (all changes on all servers)
General process
Get an edit lock
make changes
changes are stored in the pending directory
activate your changes (with implicit validation through the Admin Console or WLST)
changes are distributed to servers in the domain
Two phases prepare and commit
Prepared on all servers any failures will cause total rollback
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 24 of 40Raastech
Administration Tools
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 25 of 40Raastech
Administration Tools
Configuration Wizard
GUIscriptable tool to create and extend WebLogic domains
Administration Console
Browser-based tool for configuring and monitoring domains deploying applications and controlling servers
WebLogic Scripting Tool (WLST)
Script or command line tool to do the same thing as the Administration Console and Configuration Wizard
weblogicAdmin
weblogicDeployer
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 26 of 40Raastech 26
Configuration Wizard
Wizard that walks you through domain creation off line
Not intended to run against a running domain
WLS ships with a default template and templates for samples domains
Customers and layered products can create their own templates
Domain creation can be automated using WLST Scripts
Platform or Operating System Independent
Is used for creation of clustered and non-clustered domains
Is also used for extending an existing domain to add new managed servers components and features
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 27 of 40Raastech 27
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 28 of 40Raastech
Configuration Wizard
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 29 of 40Raastech
Administration Console
Administration console can be accessed through the
following url httphostnameportconsole
Administration Console is used for
Configure start and stop WebLogic Server instances
Configure WebLogic Server clusters
Configure WebLogic Server services such as database
connectivity (JDBC) and messaging (JMS)
Configure security parameters including managing users
groups and roles
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 30 of 40Raastech
Administration Console
Configure and deploy your applications
Monitor server and application performance
View server and domain log files
View application deployment descriptors
Edit selected run-time application deployment descriptor elements
Control (start stop and restart) managed Coherence servers
Create and configure Coherence clusters
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 31 of 40Raastech
Administration Console
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 32 of 40Raastech
WebLogic Scripting Tool (WLST)
Scripting tool for administering a domain (create configure manage monitor deploy applications)
Based on Jython which is a pure Java implementation of Python
Great for automating repetitive tasks
All changes in Admin console can be recorded as a WLST script
WLST online commands do not require Weblogic Installation
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 33 of 40Raastech
WebLogic Security
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 34 of 40Raastech
WebLogic Security Introduction
WebLogic Server provides a unique and secure foundation for applications that are available via the Web
Includes a security architecture that provides a unique and secure foundation for applications that are available via the Web
Key features include
Support for configuring multiple security providers as part of a transition scheme or upgrade path
Customization of security schemes using custom security providers
support for Security Assertion Markup Language (SAML) 11 and 20
Can participate in single sign-on (SSO) with web sites web applications and desktop clients
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 35 of 40Raastech
Initial Planning
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 36 of 40Raastech
WebLogic Server Architectural Considerations
Typically fronted by WebTierOHSApache but with with the newer
versions you can use web sockets
Requires JDK
Requires shared filesystem or a DB for setting up highly available
clusters
WebLogic Server WebLogic Server WebLogic Server
Shared File System
WebTier WebTier WebTier
Single AdminServerto administer entire
cluster Node Manager runs on every
server
Hardware load balancer
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 37 of 40Raastech
Key things to Consider for your environment
Plan your environment based on the key business factors
Functionality
Availability
Throughput
Future Growth Easy Scaling
Implement the best practices starting with lower environments
Automate every task that can be automated
Secure environments to avoid non-functional and human breaches
All environments need to have a backup and Recovery plan
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 38 of 40Raastech
References and useful resources
httpsdocsoraclecomcdE24329_01web1211e24446introhtmI
NTRO123
httpsdocsoraclecommiddleware1213wlsINTROadminconsole
htmINTRO146
httpblograastechcom
httpmiddlewaremagiccomweblogic
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 39 of 40Raastech
QampA
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom
copy Raastech Inc 2015 | All rights reserved Slide 40 of 40Raastech
Contact Information
Arun Reddy
Technical Director
arunreddyraastechcom