<Insert Picture Here> Managing WebLogic Server Lifecycle



Similar documents
Oracle Fusion Middleware

WebLogic Server: Installation and Configuration

Oracle Fusion Middleware

WebLogic Server Administration

Sample copy. Introduction To WebLogic Server Property of Web 10.3 Age Solutions Inc.

No.1 IT Online training institute from Hyderabad URL: sriramtechnologies.com

Oracle WebLogic Server

Working with Managed Servers

Robert Honeyman

WebLogic Server Foundation Topology, Configuration and Administration

Oracle WebLogic Server

all you need to know about Node Manager for by Jacco H. Landlust zaterdag 8 december 12

Oracle WebLogic Server 11g Administration

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Basic TCP/IP networking knowledge of client/server concepts Basic Linux commands and desktop navigation (if don't know we will cover it )

Symantec ApplicationHA 6.1 Agent for WebLogic Server Configuration Guide - Linux on VMware

WebLogic Server - OGG Domain under Windows7 Startup and Shutdown Admin Server and Managed Servers

About Node Manager and the WebLogic Scripting Tool

MagDiSoft Web Solutions Office No. 102, Bramha Majestic, NIBM Road Kondhwa, Pune Tel: /

Automating Management for Weblogic Server on JRockit-VE. Marius Sandu-Popa

WebLogic Server Admin

WEBLOGIC ADMINISTRATION

Department of Veterans Affairs VistA Integration Adapter Release Enhancement Manual

OBIEE Cloning. Cloning the OBIEE 11g database migration to a new host. Ashok Thiyagarajan ADVANS MARLBOROUGH, MA AND CHENNAI, INDIA

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Oracle WebLogic Server 11g: Administration Essentials

WebLogic Server 11g Administration Handbook

5 Days Course on Oracle WebLogic Server 11g: Administration Essentials

An Oracle White Paper September Oracle WebLogic Server 12c on Microsoft Windows Azure

Oracle Exam 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 9.0 [ Total Questions: 111 ]

JD Edwards EnterpriseOne 9.1 Clustering Best Practices with Oracle WebLogic Server

Application Servers - BEA WebLogic. Installing the Application Server

Implementing a Weblogic Architecture with High Availability

Top Weblogic Tasks You can Automate Now

AGENDA. Introduction About Weblogic Server Weblogic Server Administration Top Ten Concepts Q & A

Coherence Managed Servers

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

1z0-102 Q&A. DEMO Version

BEAWebLogic. Server. Configuring and Managing WebLogic Server

Learn Oracle WebLogic Server 12c Administration For Middleware Administrators

Weblogic Server Administration Top Ten Concepts. Mrityunjay Kant, AST Corporation Scott Brinker, College of American Pathologist

This document summarizes the steps of deploying ActiveVOS on oracle Weblogic Platform.

Understanding the WebLogic Scripting Tool c (12.1.3)

How To: Manage your Oracle patch deployment life cycle using Oracle Support Patch Plans

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

1Z Oracle Weblogic Server 11g: System Administration I. Version: Demo. Page <<1/7>>

Maximum Availability Architecture

Configuring BEA WebLogic Server for Web Authentication with SAS 9.2 Web Applications

2012 Oracle Corporation

Deployment patterns for Fusion Middleware. a best practice session by Simon Haslam & Jacco H. Landlust

WebLogic Server System Administration Top Ten Fundamentals Concepts Session ID# 11579

Glassfish Architecture.

Server and WebLogic Express

ITG Software Engineering

Code:1Z Titre: Oracle WebLogic. Version: Demo. Server 12c Essentials.

Oracle Cloud Platform

Architecting OSB for High Availability and Whole Server Migration Final Draft. By Jack Desai, Oracle A-Team. Published: October 2009.

Oracle Fusion Applications Splitting Topology from Single to Multiple Host Servers

How to Enable Remote JMX Access to Quartz Schedulers. M a y 1 2,

A Beginners Guide to Fusion Middleware

Configure AlwaysOn Failover Cluster Instances (SQL Server) using InfoSphere Data Replication Change Data Capture (CDC) on Windows Server 2012

Robert Honeyman Honeyman IT Consulting.

JBoss AS Administration Console User Guide. by Shelly McGowan and Ian Springer

BEAWebLogic. Platform. 8.1 Supported Configurations: HP OpenVMS 7.3 on Alpha

Getting Started with RES Automation Manager Agent for Linux

Maximum Availability Architecture. Oracle Best Practices For High Availability. Backup and Recovery Scenarios for Oracle WebLogic Server: 10.

Oracle Weblogic. Setup, Configuration, Tuning, and Considerations. Presented by: Michael Hogan Sr. Technical Consultant at Enkitec

TIBCO Spotfire Statistics Services Installation and Administration Guide. Software Release 5.0 November 2012

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

APAC WebLogic Suite Workshop Oracle Parcel Service Overview. Jeffrey West Application Grid Product Management

Cúram Deployment Guide for WebLogic Server

Chapter 1 - Web Server Management and Cluster Topology

White Paper DEPLOYING WDK APPLICATIONS ON WEBLOGIC AND APACHE WEBSERVER CLUSTER CONFIGURED FOR HIGH AVAILABILITY AND LOAD BALANCE

CHAPTER 7 SSL CONFIGURATION AND TESTING

KillTest. 半 年 免 费 更 新 服 务

Qualogy M. Schildmeijer. Whitepaper Oracle Exalogic FMW Optimization

Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications

An Oracle White Paper Sep Embedding Oracle WebLogic Server

Oracle WebLogic Server 11g: Administration Essentials

Implementing a SAS Metadata Server Configuration for Use with SAS Enterprise Guide

/ Preparing to Manage a VMware Environment Page 1

Virtual Code Authentication User s Guide. June 25, 2015

1. Installation Overview

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Administration Guide

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Oracle. NoSQL Database Security Guide. 12c Release 1

Oracle Exam 1z0-599 Oracle WebLogic Server 12c Essentials Version: 6.4 [ Total Questions: 91 ]

Guide to deploy MyUSBOnly via Windows Logon Script Revision 1.1. Menu

EMC Documentum Content Management Interoperability Services

Hadoop Data Warehouse Manual

Knowledge Base Article: Article 218 Revision 2 How to connect BAI to a Remote SQL Server Database?

Configuring and Monitoring Database Servers

Step by step guide for installing highly available System Centre 2012 Virtual Machine Manager Management server:

Configuring Nex-Gen Web Load Balancer

User Guide for VMware Adapter for SAP LVM VERSION 1.2

Installation Overview

How To - Implement Clientless Single Sign On Authentication in Single Active Directory Domain Controller Environment

Transcription:

<Insert Picture Here> Managing WebLogic Server Lifecycle

Starting WLS with Domain Supplied Scripts $DOMAIN_HOME/startWebLogic.sh Starts the domain admin server Starting Managed Servers $DOMAIN_HOME/bin/startManagedWebLogic.sh managedservername http://adminserverdomainname:7001

Stopping WLS Servers via Scripts $DOMAIN_HOME/bin/stopWebLogic optionaluser optionalpassword t3://host:port If no arguments are supplied then t3://localhost:7001 is used Uses WSLT do shutdown WLS

Creating a Boot Identity File Create a file called boot.properties in the DOMAIN_NAME/servers/<server_name>/security directory that contains two lines: username=username password=password The first time you start the server, the server reads the Boot Identity file and overwrites it with an encrypted version of the username and password. Thereafter, the server remembers the credentials for subsequent startup cycles. 4

Starting WLS Servers as a Windows Service There are the scripts named installsvc.cmd and uninstallsvc.cmd located in %MIDDLEWARE_HOME%/wlserver_10.3/server/bin You should set a number of environment variables before calling these scripts Boot.properties file should exists for each servers that is going to be started as a Windows service 5

Setting up a Windows Service to start WLS server - example @echo off SETLOCAL set DOMAIN_NAME=FoundationLab set USERDOMAIN_HOME=c:\wls103\user_projects\domains\FoundationLab set SERVER_NAME=AdminServer set PRODUCTION_MODE=true set JAVA_OPTIONS= Dweblogic.Stdout="c:\wls103\user_projects\domains\FoundationLab\stdout.txt" - Dweblogic.Stderr="c:\wls103\user_projects\domains\FoundationLab\stderr.txt" set MEM_ARGS=-Xms128m -Xmx256m call "c:\wls103\wlserver_10.3\server\bin\installsvc.cmd" ENDLOCAL 6

Node Manager Is a process that runs on a machine and it not associated with a domain Required to start WLS Servers from Console WLST can also call node manager to start/stop servers Two Flavors Java Flavor Shell Scripts

Starting/Stopping Node Manager Starting Node Manager $WL_HOME/server/bin/startNodeManager.sh(cmd) Stopping Node Manager Nothing supplied (kill -9 in UNIX for example) You can install/uninstall NodeManager as a Windows Service using scripts named installnodemgrsvc.cmd and uninstallnodemgrsvc.cmd located in %MIDDLEWARE_HOME%/wlserver_10.3/server/bin

What is a Machine? Logical representation of physical host Includes configuration of Node Manager Listen Ports Ensures State is replicated to JVM s on separate machines

Relationship of Machines to Other Components domain computer1 computer2 computer3 NodeMgr NodeMgr machine1a machine1b machine2 AdmSrv1 cluster server4 server6 server2 server3 server5 10

Node Manager Architecture Machine A WLST JMX client Node Manager(NM) Administration server Admin Console Node Manager Node Manager Managed server 1(MS1) Machine C Managed server 2 Machine B 11

How a Node Manager Starts an Administration Server WLST Node Manager 4. NM creates the process for AS. Admin server 1. The user issues a command to start the administration server. 3. NM obtains the startup properties for AS. 2. NM determines the domain directory and authenticates the user. 5. AS obtains the domain configuration. Machine A 12

How a Node Manager Starts a Managed Server 1. The user issues a command to start MS1. Admin Console Managed Server 1 5. MS1 caches the configuration. 4. MS1 obtains the configuration. 3. NM creates the MS1 process. Node Manager Admin server Machine A 2. AS invokes the NM and provides the startup properties. Machine B 13

How a Node Manager Restarts a Managed Server 4. MS1 obtains the configuration. Admin server Machine A Managed Server 1 3. NM creates the MS1 process. (5. If AS is not available, MS1 obtains cached configuration.) Node Manager 1. NM determines that MS1 needs a restart. Machine B 2. NM obtains the remote start username/password and startup properties for MS 1. 14

How a Node Manager Shuts Down a Managed Server Admin Console 1. User issues the shutdown command for MS1. Machine A Admin server 2. AS tries to shut down MS1. Machine B Operating system 3. AS sends the shutdown command for MS1 to NM. Managed Server 1 5. Stop MS1. 4. NM tries to shut down MS1. Node Manager 15

Node Manager Configuration and Log Files Two sets of files: The Node Manager config files, located in DOMAIN_HOME/servers/server_name/ data/nodemanager The Node Manager log files, located in DOMAIN_HOME/servers/server_name/ logs and <WL_HOME>/common/ nodemanager 16

Node Manager Configuration and Log Files Node Manager configuration files: nodemanager.properties nm_password.properties nodemanager.domains nm_data.properties Node Manager Node Manager log files nodemanager.log Server configuration files: boot.properties startup.properties server_1 Server state files: server_1.lck server_1.pid server_1.state Server log files: server_1.out Server configuration files: boot.properties startup.properties Server state files: server_2.lck server_2.pid server_2 server_2.state Server log files: server_2.out 17

Starting/Stopping Servers with WLS Admin Console

Starting/Stopping Servers with WLS Admin Console Requirements Admin Server has to be running Hosts the Console Node Manager must be running to start servers from the console

Starting/Stopping With WLST Without Node Manager Starting wls:offline/>startserver('adminserver','mydomain','t3://localhost:70 01','weblogic','weblogic','c:/bea/user_projects/domains/mydomai n','true','60000','false') Stopping wls:/offline> connect('weblogic','weblogic','t3://localhost:7001').connected wls:/mydomain/serverconfig> shutdown( AdminServer', Server','false',1000, block='false')

Creating a Managed Server on a Remote Computer 1.Install WLS on both computers. 2.Create a managed server using the Administration Console. 3.Create a managed server template using pack. 4.Create a managed server on a remote computer using unpack. 5.Start the remote managed server. 21

Creating a Managed Server on a Remote Computer Computer one FMW home Domain directory Admin server Managed svr template: config.xml mg_svr_tmpl.jar pack unpack Computer two FMW home Domain directory mg_svr_tmpl.jar config.xml 22

pack and unpack: Examples On computer one (administration server): [oracle@wls-sysadm]$ cd $WL_HOME/common/bin [oracle@wls-sysadm]$ pack -managed=true -domain=/u01/app/oracle/user_projects/domains/mydomain -template=/home/oracle/work/mydomain_managed.jar -template_name="my Managed Server Domain" On computer two (remote managed server): [oracle@wls-mgdsvr2]$ cd $WL_HOME/common/bin [oracle@wls-mgdsvr2]$ unpack -domain=/u01/app/oracle/user_projects/domains/mydomain -template=/home/oracle/work/mydomain_managed.jar 23

Domain scale-up using GridControl http://bit.ly/wls11gdomainscaleup 24