weblogic server leicht gemacht - doag deutsche oracle ... · sessions zum weblogic server, die...

42

Upload: others

Post on 12-Sep-2019

12 views

Category:

Documents


0 download

TRANSCRIPT

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server leicht gemacht

Michael Fuhr Principal Sales Consultant November, 2015

WAS ist

WAS

Volker Linz Sales Consultant

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Safe Harbor Statement THE INFORMATION CONTAINED IN THIS DOCUMENT IS FOR INFORMATIONAL SHARING PURPOSES ONLY, AND SHOULD BE CONSIDERED IN YOUR CAPACITY AS A CUSTOMER ADVISORY BOARD MEMBER OR PURSUANT TO YOUR BETA TRIAL AGREEMENT ONLY. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD NOT BE RELIED UPON IN MAKING PURCHASING DECISIONS. THE DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATURES OR FUNCTIONALITY DESCRIBED IN THIS DOCUMENT REMAINS AT THE SOLE DISCRETION OF ORACLE.

THIS DOCUMENT IN ANY FORM, SOFTWARE OR PRINTED MATTER, CONTAINS PROPRIETARY INFORMATION THAT IS THE EXCLUSIVE PROPERTY OF ORACLE. YOUR ACCESS TO AND USE OF THIS CONFIDENTIAL MATERIAL IS SUBJECT TO THE TERMS AND CONDITIONS OF YOUR ORACLE SOFTWARE LICENSE AND SERVICE AGREEMENT, WHICH HAS BEEN EXECUTED AN D WITH WHICH YOU AGREE TO COMPLY. THIS DOCUMENT AND INFORMATION CONTAINED HEREIN MAY NOT BE DISCLOSED, COPIED, REPRODUCED OR DISTRIBUTED TO ANYONE OUTSIDE ORACLE WITHOUT PRIOR WRITTEN CONSENT OF ORACLE. THIS DOCUMENT IS NOT PART OF YOUR LICENSE AGREEMENT NOR CAN IT BE INCORPORATED INTO ANY CONTRACTUAL AGREEMENT WITH ORACLE OR ITS SUBSIDIARIES OR AFFILIATES.

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Agenda

Das 1x1 des WebLogic Servers

Hochverfügbarkeit

Administration

1

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Das des Oracle WebLogic Server

• Domain

• Machine

• Server

– Admin Server

– Managed Server

• Coherence Server

• Cluster

• Node Manager

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Logische Gruppe von WebLogic Server Instanzen

• Administration durch zentrale config.xml Datei

• Bestehend aus

– Ein oder mehrere Server

– Ein oder mehrere Cluster

Die Domain

Was ist eine Domain ?

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Eine Machine ist eine logische Representation von einer physikalischen Maschine (Hardware), welche eine oder mehrere WebLogic Server Instanzen beinhaltet

• Machine Konfiguration ist für die Hochverfügbarkeit wichtig, da darüber die Replikation der Session Daten auf separate Hardware gewährleistet wird.

Die Machine

Was ist eine Machine ?

Machine

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Konfigurierte Instanz eines WebLogic Server

• Hosting von

– Anwendungen

– Ressourcen etc.

• Typen

– Administration Server

– Managed Server

Der Server

Was ist ein Server ?

Server

Machine

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Zentraler Konfigurationsserver

• Ermöglicht:

– Administration durch eine Web- Console

– Start/Stoppen von Servern

– Migration von Servern und Services

– Deployment von Anwendungen und Ressourcen

Der Administration Server

Was ist ein Admin Server ?

Admin Server

Machine

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Deployment von Anwendungen und Ressourcen

• Einzelne Einheit zur Bereitstellung von Diensten

• Domain beinhaltet n Managed Server

• Remote administriert durch Administration Server

Der Managed Server

Was ist ein Managed Server ?

Admin Server

Machine

Managed Server

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Coherence ist eine speicherresidente Daten-Grid-Lösung, die Unternehmen eine Skalierung erfolgskritischer Anwendungen ermöglicht

• Verschiedene Cache Service Topologien (Local Cache, Replicated Cache, Distributed Cache, Near Cache)

• Echtzeitverarbeitung von Anwendungen mithilfe von paralleler Abfrage, Live-Event-Verarbeitung, Map-Reduce-Aggregation und paralleler Transaktionsverarbeitung.

Der Coherence Server

Was ist ein Coherence Server ?

Machine

Admin Server

Machine

Managed Server

Coherence Server

Datenquelle

Coherence Server

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Gruppe von n Managed Servern oder Coherence Server

• Valides Deployment Target

• Ziele:

– Skalierbarkeit

– Zuverlässigkeit

– Server/Service Migration

• Domain kann n Cluster haben

Das Cluster

Was ist ein Cluster ?

Admin Server

Machine

Managed Server

Coherence Server

Datenquelle

Cluster

Cluster

Machine

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Prozess auf jedem physikalischen Server

• Ermöglicht entferntes

– Starten/stoppen – Suspendieren – Restarten

• Unabhängig von Domain

– Pro Domain oder auch Global

• Benötigt von Administration Console

Der Node Manager

Was ist ein Node Manager ?

Admin Server

Machine

Managed Server

Datenquelle

Cluster

Cluster

Machine Node

Manager Node

Manager

start/stop/monitor

start/stop

/mo

nito

r

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle WebLogic Server 12.2.1 Mandantenfähigkeit – Konzept

• Einführung einer Domain Partition

• Anwendungen und Ressourcen werden für jede Partition deployed

– Keine Änderung in der Anwendung nötig

• WebLogic Infrastruktur wird über die Partitionen gemeinsam verwendet

Eigenschaften von Partitionen:

• sind isoliert

• Verteilung über Cluster

• Starten / Stoppen unabhängig voneinander

• Export & Import möglich

• unterstützen Live Migration

Container Database

PDB1 PDB2

Virtual Host

App

App

JMS

Datasource

JNDI

Virtual Host

App

App

JMS

Datasource

JNDI

Partition 1 Partition 2

Web Tier

Managed Server/Cluster

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle WebLogic Server 12.2.1 Mandantenfähigkeit – Partition Isolation

Container Database

PDB1 PDB2

Virtual Host

App

App

JMS

Datasource

JNDI

Virtual Host

App

App

JMS

Datasource

JNDI

Partition 1 Partition 2

Web Tier

Managed Server/Cluster

• Speicher und CPU Isolierung auf JVM Level

– Resource Consumption Management (RCM)

– Oracle JDK 8u51

• Virtual Host pro Partition für Application Zugriff

• Dedizierten JNDI Baum für Ressourcen Isolation

• Work Manager pro Partition für Thread Management

• Security Realm pro Partition

• Daten können bereits separiert werden mit PDBs

– PDBs sind nicht erforderlich

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Hochverfügbarkeit

• Geplante Ausfallzeiten

– Updates / Patching / Rekonfiguration

– Server Upgrades etc.

• Ungeplante Ausfallzeiten – Menschliche-, Software- und Hardwarefehler

– (Natur)Katastrophen etc.

• Ziele:

– Minimierung der Aufallzeit

Ausfallzeiten

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Hochverfügbarkeit

Menschliche Fehler

(Natur)Katastrophen

Software Fehler

Hardware Fehler

Ungeplante Ausfallzeit

WAN Clusters for Disaster Recovery

WLS with Oracle RAC

Clusters Service Migration

Clusters Server & Service Migration

Ungeplante Ausfallzeit

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Hochverfügbarkeit

Updates & Patching

Rekonfiguration

Server Upgrade

Geplante Ausfallzeit

Geplante Ausfallzeit

Rolling cluster upgrade

Hot redeployment Side By Side Deployment

Dynamic changes

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Beispiel: WebLogic Server Topologie

WLS Cluster

WLS Cluster

WLS Cluster Oracle DB

Oracle DB Apache Server or OHS

Apache Server or OHS

Node Mgr

Node Mgr Node Mgr

Administration Server

FW-1 LB-1

FW-2

DMZ Intranet Internet

Node Mgr Desktop

X

X

X

X

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Administration

• Oracle Enterprise Manager

• Oracle EM Fusion Middleware Control

• Oracle WebLogic Server Werkzeuge

• WebLogic Scripting Tool (WLST)

• Oracle Fusion Middleware Kommandozeilen Tools

Administrationswerkzeuge

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager Administration der gesamten Oracle Landschaft

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager Menüleiste

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager Navigation

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager Domain Übersicht

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager Server Übersicht

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Enterprise Manager Deployments Übersicht

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle EM Fusion Middleware Control

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle EM Fusion Middleware Control Domain Übersicht

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle WebLogic Server Werkzeuge

• Configuration Wizard

• Administration Console

• WebLogic Scripting Tool (WLST)

• weblogic.Deployer

Administration des WebLogic Umfelds

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Configuration Wizard

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Configuration Wizard

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle WebLogic Server Admin Console Browser basierte Administration

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle WebLogic Server Admin Console Navigation

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Scripting Tool (WLST) Skript basierte Administration

• Basiert auf Jython (Java Implemtierung von Python, ehem. „JPython“)

• Interaktiv und Skripting Möglichkeiten

• Online und Offline Modus

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Scripting Tool (WLST)

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

weblogic.Deployer

java [SSL Arguments] weblogic.Deployer [Connection Arguments]

[User Credentials Arguments] COMMAND-NAME command-options

[Common Arguments]

java weblogic.Deployer -adminurl t3://127.0.0.1:7001 -username weblogic -password welcome1

-name dd-remote-cluster

-deploy "config\jms\udd-debug-deployment-on-remote-cluster-jms.xml"

-targets mycluster -submoduletargets RemoteCluster@mycluster, D1C2S2@D1C2S2, RemoteClusterServers@D1C2S1, RemoteClusterServers@D1C2S2, RemoteClusterJMSServers@RemoteJMSServer1, RemoteClusterJMSServers@RemoteJMSServer2, RemoteQueue1@RemoteJMSServer1

Commandline Tool

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

IaaS

Public Private Gleiche Software

WebLogic Server 10.3.6, 12.1.3 und Java Cloud Service

PaaS

Compute Storage

Integration

Java

Mobile Developer

Documents Process Identity

Messaging

Ihre Wahl Oracle Cloud On und Off Premises

Verfügbar in Oracle Cloud und On-Premises

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Zusammenfassung

Java

WebLogic Server

WebLogic

REST

Automated Elasticity

Pluggable Partitions

PaaS

CAT

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server leicht gemacht - Ausblick WAS ist

WAS

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Weitere Sessions zum WebLogic Server

• Oracle WebLogic Monitoring mit SNMP/WLDF, Gerard Wisson, 19.11., 14 Uhr, Raum Riga

• Docker & WebLogic Server 12c, Frank Munz, 19.11., 15 Uhr, Raum Kopenhagen

• Der Pfadfinder Referenzierung mit JNDI im WebLogic Server, Anton Frank, 19.11., 15 Uhr, Raum Budapest

• Oracle WebLogic Server 12.2.1 – Do more less, Ed Burns, 19.11., 15 Uhr, Raum Krakau

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Sessions zum WebLogic Server, die bereits waren

• Java Cloud Service for WebLogic Administrator, Simon Haslam

• WebLogic – der beste Application Server für die Oracle Datenbank, Ulf Lämmerhirt

• 12 Dinge die Sie über WebLogic 12c wissen sollten, Franz Munz

• Private Cloud? Kein Problem mit WebLogic Servers Mandantenfähigkeit, Michael Fuhr

• WebLogic im Docker Container, Andreas Koop

• Tuning Oracle Web Applications in WLS 12c, Markus Klenke

• Haben Sie Ihre WebLogic-Umgebung im Griff?, Daniel Joray

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server leicht gemacht WAS ist

WAS