+ All Categories
Home > Documents > WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT...

WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT...

Date post: 20-Apr-2018
Category:
Upload: lamnhu
View: 220 times
Download: 5 times
Share this document with a friend
25
WAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 Présentation Profils Editions Installation Installation du plugin Eclipse Création du runtime WAS Création d’un profil Ajout d’un serveur 1
Transcript
Page 1: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

WAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT

WAS et DB2

• Présentation• Profils• Editions• Installation• Installation du plugin Eclipse• Création du runtime WAS• Création d’un profil• Ajout d’un serveur

1

Page 2: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Présentation

WAS (WebsphereApplication Server) est un serveur d’application certifié Java EE

Historique 1998: 1.0 2000: 3.5 2003: 5.0 2006: 6.1 2008: 7.0 (java EE 6) 2011: 8.0 2012: 8.5 (Java EE 6,

supporte aussi Java EE 7)

2013: 8.5.5 2016: 9.0 (Java EE 7, Java

8)

2

Page 3: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Profiles du serveur.

WAS supporte les profils

Un profile= JVM Applications Fichiers de configurations

Un profil permet d’avoir des applications isolées les unes des autres avec des ports et des fichiers de configurations serveur différents.

WAS Network Deployment: gère les installations des applications et les profiles

3

Page 4: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Editions WAS

WebSphere Application Server for

Developers

WebSphere Application Server Network

Deployment

WebSphere Application Server for z/OS

WebSphere Application Server Hypervisor

Edition

WebSphere Application

Server

WebSphere Application Server Community Edition

WebSphere Application Server -

Express

Edition destinéeaux développeurs, les applications développées avec cette edition peuvent êtredéployées enproduction

Optimisé pour fonctionner dans VMware et autres environnements de virtualisation.

Offre des performances et des capacités de gestion avancées, pour les applications à mission critique

Optimisée pour z / OS Sysplex

Fournit moteur de transaction sécurisée, de haute performance pour les configurations de taille modérée et le basculement sur un maximum de cinq profils de serveur d'application

Offre à moindre coûtpour construire des sites et des applications Web dynamiques

Version open source, basée sur Apache Geronimo

4

Page 5: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

IDE

IDE Eclipse IntelliJ IBM RAD IBM RSA

5

Page 6: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Installation

1- Lien de téléchargement: https://www-01.ibm.com/marketing/iwm/iwm/web/pick.do?source=swerpws-

wasdevdl85&S_CMP=web_opp_ibm_ws_appinfra_wasdev&S_TACT=109J84JW&lang=fr_MA

2- Télécharger IBM Installation Manager

3- Télécharger IBM WAS

6

Page 7: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Installation WAS

4- Décompresser les fichiers télécharger (Installation Manager et WAS 5- Installer IBM Installation Manager 6- Exécuter « Installation Manager » et ajouter le dossier de WAS dans le

référentiel (Repository) , à partir du lien encadré de la figure ci-dessous

7

Page 8: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Installation WAS

7- Installer WAS 8.5.5

Lors des différentes étapes d’installation, acceptez les valeurs par défaut.

La dernière étape permet la création d’un profil serveur, choisir aucun (nous le créerons ultérieurement à partir d’eclipse) 8- Démarrer eclipse et créer un nouveau Workspace

8

Page 9: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Installation du pluging WAS developertools À partir d’Eclipse Marketplace, dans la zone de recherche tapez « websphere »,

puis sélectionnez le plugin « IBM Webshpere Application Server V8.5x DevelopperTools for Mars

9

Page 10: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Ajouter le runtime WAS dans eclipse

Dans la fenêtre window/preferences/Server/Runtime Environnements, cliquez sur « Add ».

Sélectionnez « WebSphere Application Server v8.5 et cliquez sur suivant

Dans la zone « Installation Directory » sélectionnez le dossier AppServer du dossier d’installation de WAS

10

Page 11: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

1- Dans la fenêtre window/preferences/Server/WebSphere Application Server, -cliquez sur « Run Profile Management Tool ».

2- Sélectionnez « Outil de gestion des profils » et cliquez sur le bouton « Lancer l’outil sélectionné ».

3- Cliquez sur le bouton « Créer » pour créer un nouveau profil

11

Page 12: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

4- Choisissez « Serveur d’applications » comme environnement du profil

5- Choisissez « Création d’un profil avancé » .

12

Page 13: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

7- Choisissez les applications à déployer dans le serveur, sélectionnez la console d’administration et l’outil IVT.

13

Page 14: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil 8- Donnez un nom et choisir un répertoire pour le profil, sélectionnez « Développement » pour les paramètres d’optimisation,

WebSphere supporte aussi les options Standard

Activité maximale: pour le mode production où les mises à jour sont rares.

14

Page 15: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil 9- Donnez un nom de nœud, un nom pour le serveur et le nom ou l’adresse IP de l’hôte (

vous pouvez conserver les valeurs par défaut)

15

Page 16: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

10- Cette étape vous permet de créer un compte administrateur

16

Page 17: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

11- Création d’un certificat de sécurité (Gardez les options par défaut)

17

Page 18: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

12- Définition des numéros de ports (gardez les valeurs par défaut)

18

Page 19: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil 13- Choix du mode d’exécution du serveur: décocher « Exécuter le processus du serveur en tant que service Windows ».

19

Page 20: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

14- Définition de serveur web

20

Page 21: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

15- Résumé des options du profil

21

Page 22: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

16- Fin de la création du profil, gardez la case « Lancer la console Premiers pas » cochée

22

Page 23: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Création d’un profil

17- Cliquez sur le lien « Vérifier l’installation » pour vérifier les paramètres du nouveau profil créé

23

Page 24: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Ajout d’un serveur dans Eclipse

1- Cliquez avec le bouton droit dans le panneau « Servers » et sélectionnez la commande New/Server

2- Sélectionnez WebSphere, puis cliquez sur « Next »

24

Page 25: WAS et DB2itformation.com/iir5/was_install.pdfWAS PRÉSENTATION ET INSTALLATION DE L’ENVIRONNEMENT WAS et DB2 • Présentation • Profils • Editions • Installation • Installation

Ajout d’un serveur

3- Sélectionnez le profil déjà créé, saisissez éventuellement un nom dans la zone « application server name ».

25


Recommended