weblogic basic.pptx

45
Day 1 © 2015 Amadeus IT Group SA Rakesh Kumar R&D-ALB-RDM-FOR-QDS-BCS Weblogic Administration

Upload: rickykuamr

Post on 10-Nov-2015

41 views

Category:

Documents


0 download

TRANSCRIPT

Environmentally friendly template

Day 1 2015 Amadeus IT Group SARakesh KumarR&D-ALB-RDM-FOR-QDS-BCSWeblogic AdministrationChange the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to AllChange the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to AllCover example - this is the simplest cover optionTo update just click on the text1confidentialRESTRICTEDAgenda 2015 Amadeus IT Group SA12345678IntroductionTypes of serversDifference b/w webservers and Application serversWeblogic server overviewJDK InstallationWeblogic server installationWeblogic Domain creation

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All Page 2confidentialRESTRICTED 2015 Amadeus IT Group SATypes of serverApplication server, a server dedicated to running certain software applicationsCommunications server, carrier-grade computing platform for communications networksCompute server, a server intended for intensive (esp. scientific) computationsDatabase server, provides database services to other computer programs or computersFax server, provides fax services for clientsFile server, provides remote access to filesGame server, a server that video game clients connect to in order to play online togetherPrint server, provides printer servicesProxy server, acts as an intermediary for requests from clients seeking resources from other serversWeb server, a server that HTTP clients connect to in order to send commands and receive responses along with data contents

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All Page 3confidentialRESTRICTED

2015 Amadeus IT Group SADifference b/w webserver and Application serverWeb Server is designed to serve HTTP Content. App Server can also serve HTTP Content but is not limited to just HTTP. It can be provided other protocol support such as RMI/RPC.Web Server is mostly designed to serve static content, though most Web Servers have plugins to support scripting languages like Perl, PHP, ASP, JSP etc. through which these servers can generate dynamic HTTP content.Most of the application servers have Web Server as integral part of them, that means App Server can do whatever Web Server is capable of. Additionally App Server have components and features to support Application level services such as Connection Pooling, Object Pooling, Transaction Support, Messaging services etc.As web servers are well suited for static content and app servers for dynamic content, most of the production environments have web server acting as reverse proxy to app server. That means while servicing a page request, static contents (such as images/Static HTML) are served by web server that interprets the request. Using some kind of filtering technique (mostly extension of requested resource) web server identifies dynamic content request and transparently forwards to app server

Example of such configuration is Apache Tomcat HTTP Server and Oracle (formerly BEA) WebLogic Server. Apache Tomcat HTTP Server is Web Server and Oracle WebLogic is Application Server.Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All Page 4confidentialRESTRICTED

2015 Amadeus IT Group SAApplication servers widely used in ITRedhat JbossIBM WebsphereOracle WeblogicOracle WebcenterApache tomcat many morePage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic server WebLogic is a server software application that runs on a middle tier, between back-end databases and related applications and browser-based thin clients. WebLogic is a leading e-commerce online transaction processing (OLTP) platform, developed to connect users in a distributed computing environment and to facilitate the integration of mainframe applications with distributed corporate data and applications.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic Admin responsibilitiesTroubleshooting, Load Balancing, Clustering, Deploying Applications, Performance Tuning and MaintenanceCreate, configure and tune weblogic domains/applications for performanceCode deployments/promotions, performance monitoring and performance tuningUp gradation of WebLogic servers in development, testing and production environment and applying patch and service packs Cluster Configuration Single Cluster, Multiple Clusters and Deployment over clustersServer Performance Tuning - Thread Dump Analysis, Core Dump Analysis when Server crashed unevenlyJMS Configurations JMS Server, Connection Factory, Foreign JMS server, Message Bridge, Topic/Queue, Distributed destinationsCreating security roles, group policy, user authentication, auditing and authorizationNode Manager Configuration remote managed server start and stop. SSL communication between admin server and node managerDeveloping WLST scripts and auto deployment processTuning JVM heap size to maximize the number of clients accessing the applications.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All Page 7confidentialRESTRICTED 2015 Amadeus IT Group SAWeblogic server

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SA

ArtifactsJAR is java archive file. It contain all class file,image,sound and other files which will needed in whole application. Computer users can create or extract JAR files using the jar command that comes with the JDK. They can also use zip tools. The Java Archive (JAR) file format enables you to bundle multiple files into a single archive file. jar was designed mainly to facilitate the packaging of java applets or applications into a single archive.

WAR -Web Archive (WAR) file is a Java archive file used to store jsp,servlets,classes,meta data information, images and Sound and tag libraries etc. Its standard file extension is .war. WAR files are used to package Web modules. A WAR file is for a Web application deployed to a servlet/jsp engine.

EAR -An Enterprise Archive file represents a J2EE application that can be deployed in a Web Sphere application server. EAR files are standard Java archive files and have the file extension .ear. EAR file contain ejb, web or application client module. ear file is complete j2ee application file that contain all(jar +war)

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWhat is deployment descriptor ?A deployment descriptor (DD) refers to a configuration file for an artifact that is deployed to some container/engine.

In the Java Platform, Enterprise Edition, a deployment descriptor describes how a component, module or application (such as a web application or enterprise application) should be deployed. XML is used for the syntax of these deployment descriptor files.

For web applications, the deployment descriptor must be called web.xml and must reside in the WEB-INF directory in the web application root. For Java EE applications, the deployment descriptor must be named application.xml and must be placed directly in the META-INF directory at the top level of the application .ear file.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SADownloadSun Java /Oracle jrockitWeblogic Application server http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html

Installing JDK /Oracle jrockitInstall JDK / JrockitSet Environment variable JAVA_HOME Windows:Right-click on the My Computer icon on your desktop and then click Properties. Click the Advanced tab. Click Environment Variables. Under System Variables, click New. In the Variable name field, enter JAVA_HOME. In the Variable value field, enter the installation path of the Java Development Kit. Click OK. Click Apply Changes. UNIX export JAVA_HOME=PATH

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic Installation TypesGUI ModeConsole ModeSilent Mode

What Is GUI-Mode Installation?GUI-mode installation is the graphics-based method of executing the weblogic Installation program. It can be run on both Windows and UNIX systems.To run GUI-mode installation, the console attached to the machine on which you are installing the software must support a Java-based GUI. All consoles for Windows systems support Java-based GUIs, but not all consoles for UNIX systems do.

Note: In unix, it is always recommended to install weblogic server with the guest user not with root user.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationStart the Installation by double click the installer file.Click Next.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationSelect an Installation Directory. By default, the Middleware home directory is named Oracle/Middleware.Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationRegister for Security Updates Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationChoose a Custom Installation Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationJDK Selection Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationChoose Product Installation Directory Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationChoose Shortcut Location Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationInstall Windows Service Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationInstallation Summary Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationStatus Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAGUI Mode InstallationInstallation Complete Click Next

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAConsole-Mode installationThe console mode installer displays a series of text panels that correspond to the windows in the graphical installer. To complete the console-mode installation process, respond to the prompts in each panel by entering the number associated with your choice or by pressing Enter to accept the default. To exit the installation process, enter exit in response to any prompt. To review or change your selection or to go back to a previous panel, enter previous at the prompt.

Run: platformXXX_win32 -mode=console -log=C:\logs\platform_install.log

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SA

Console-Mode installationPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SA

Console-Mode installationPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SA

Console-Mode installationPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SA

Console-Mode installationPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SA

Console-Mode installationPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SASilent Mode installationLog in to the Windows system.

Create a silent.xml file that defines the configuration settings normally entered by a user during an interactive installation process, such as graphical-mode or console-mode installation.

Silent.xml

Place the silent.xml file in the same directory as where the WebLogic Server Package installer is located.Open a command prompt window.Go to the directory that contains the installation program.Start the installer as follows:

D:\WLS-Installer>wls1036_win32.exe -mode=silent -silent_xml=silent.xml -log=D:\WLS-Installer\install.logPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic DomainWhat Is a Domain?A domain is the basic administration unit for WebLogic Server instances. A domain consists of one or more WebLogic Server instances (and their associated resources) that you manage with a single Administration Server. You can define multiple domains based on different system administrators' responsibilities, application boundaries, or geographical locations of servers. Conversely, you can use a single domain to centralize all WebLogic Server administration activities. Each domain's configuration is stored in a separate configuration file called config.xml, which is stored on the Administration Server along with other files such as logs and security files. When you use the Administration Server to perform a configuration task, the changes you make apply only to the domain managed by that Administration Server

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic DomainContents of a Domain ?A domain can include multiple WebLogic Server clusters and non-clustered WebLogic Server instances. A minimal domain can contain only one WebLogic Server instance, which functions both as an Administration Server, and as a Managed serversuch a domain can be useful while developing applications, but is not recommended for use in a production environment.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SADifferences Between Configuration Startup ModesFunctionIn development mode...In production mode...SSLYou can use the demonstration digital certificates provided by the WebLogic Server security services. With these certificates, you can design your application to work within environments secured by SSL.A warning message is displayed if you use the demonstration digital certificates.Deploying ApplicationsWebLogic Server instances can automatically deploy and update applications that reside in the domain_name/applications directory (where domain_name is the name of a domain).The auto-deployment feature is disabled, so you must use the WebLogic Server Administration Console or the weblogic.Deployer tool. Log File RotationWhen you start a server, the server automatically renames (rotates) its local server log file as server-name.log.n. For the remainder of the server session, the server rotates its local log file whenever the size of the file reaches 500 kilobytes.A server rotates its local log file after the size of the file reaches 500 kilobytes. Execute Queues The default number of threads available to Execute Queues is 15.The thread count determines the number of simultaneous operations that can be performed by applications that use the specified execute queue. By default, all applications use the execute queue named default. You can create additional queues to exercise more control over the resources that your applications use.The default number of threads available to Execute Queues is 25.JDBC Connection Pool CapacityThe default capacity is 15 connections.The default capacity is 25 connections.Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWhat is Managed Server ?Managed Weblogic Server:

Any other server instance other than Administrative Server of a Weblogic domain is called as Managed Weblogic Server. Managed Servers host the components and associated resources that constitute the applicationsfor example, JSPs and EJBs.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWhat is Administration Server ?Administration Server is WebLogic Server instance that maintains configuration data for a domain. You can deploy your application on administration Server but it is recommended to create managed Server and deploy your application in managed server and leave Administration domain for configuration and maintenance.

Note: There will always be atleast one Administration Server in a domainPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic Domain

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creation (Flowchart)

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creationStep1: Create Domain

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creationStep2: Select Domain Source

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creationStep3: Configure Administrator

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creationStep4: Select JDK & Start Mode- In below screen, you define Mode in which you wish tostart your domainand JDK (Sun, JRockit or any other JDK)Production Mode- Domain ismore secure, You need username password to startdomain or deploy application.Development Mode-Not very secure, You can Autodeploy application and no need to provide username/password to start Domain.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creationStep5:Customize your domainOn the next screen select Administration Server and Managed Servers, Clusters and Machines.

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creationStep6: Configure Managed Server and admin server

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAWeblogic domain creationStep7: Summary screen

Page #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All 2015 Amadeus IT Group SAThank YouPage #Change the Year in the Copyright field1. Click Insert in Top menu2. Click Header & Footer 3. Write new Year in field Footer4. Click Apply to All