ibm webshere application server vertical clustering (1)

Upload: filenetdirector

Post on 02-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    1/34

    P a g e | 1

    IBM WEBSPHERE

    APPLICATION SERVERCLUSTERING (VERTICAL)

    Vertical Clustering:

    A vertical cluster has cluster members on the same node, or a physical machine.

    Horizontal Clustering:

    A horizontal cluster has cluster members on multiple nodes across many

    machines in a cell.

    For Vertical Clustering of Websphere Application Server we should do following

    tasks:

    Install Websphere Application Server Network Deployment

    Create an Deployment Manager Profile

    Create normal profiles atleast two

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    2/34

    P a g e | 2

    Table of ContentsIBM WEBSPHERE APPLICATION SERVER CLUSTERING (VERTICAL) ....................................................... 1

    IBM WEBSHERE APPLICATION SERVER NETWORK DEPLOYMENT INSTALLATION ....................................... 3

    Creating Profiles using Command prompt: ............................................................................................. 16

    Creating Deployment Manger Profile Using Command Prompt: ........................................................... 16

    Enabling Federated Security in Deployment Manager Profile ............................................................... 18

    Adding Nodes to the Deployment Manager ........................................................................................... 22

    Creating Cluster: ..................................................................................................................................... 24

    Verification for Clustering: ...................................................................................................................... 29

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    3/34

    P a g e | 3

    IBM WEBSHERE APPLICATION SERVER NETWORK

    DEPLOYMENT INSTALLATION

    In this scenario installation of Websphere Application Server Network

    Deployment is going to be on:

    Microsoft Windows 2008 R2 Enterprise (64 bit)

    Go to the software package WASND v7.0 for Windows x86-64bit location and

    click on launchpad this initiates the installation program.

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    4/34

    P a g e | 4

    Select Launch the installation wizard for Websphere Application Server Network

    Deployment

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    5/34

    P a g e | 5

    Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    6/34

    P a g e | 6

    Select I accept and Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    7/34

    P a g e | 7

    Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    8/34

    P a g e | 8

    Select Install Sample applications and Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    9/34

    P a g e | 9

    Select path and click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    10/34

    P a g e | 10

    Select None and Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    11/34

    P a g e | 11

    Select Yes

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    12/34

    P a g e | 12

    Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    13/34

    P a g e | 13

    Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    14/34

    P a g e | 14

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    15/34

    P a g e | 15

    Click Finish

    Here in the above process we just installed IBM Websphere Application Server

    Network Deployment.

    Let see how to create profiles and deployment manager using command prompt

    as profile management tool is not available in WAS 64bit installed on 64bit

    Operating System.

    Please go through the below site for more information:

    http://www-01.ibm.com/support/docview.wss?uid=swg21408010

    http://www-01.ibm.com/support/docview.wss?uid=swg21408010http://www-01.ibm.com/support/docview.wss?uid=swg21408010http://www-01.ibm.com/support/docview.wss?uid=swg21408010
  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    16/34

    P a g e | 16

    Creating Profiles using Command prompt:

    Open Command Prompt Goto path WAS installed location AppServer bin folder. For eg: cd C:\Program Files\IBM\WebSphere\AppServer\bin Run Command: ManageProfiles.bat

    It create a default profile eg:- AppSrv01

    Follow the above to create another profile.

    Creating Deployment Manger Profile Using Command Prompt:

    Open Command Prompt

    Goto Path WAS installed location AppServer bin folder

    For eg: cd C:\Program Files\IBM\WebSphere\AppServer\bin

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    17/34

    P a g e | 17

    Run Command:

    ManageProfiles.bat -create -profileName profilename -profilePath "c:\Program

    Files\IBM\WebSphere\AppServer\profiles\profilename" -templatePath

    "c:\Program Files\IBM\WebSphere\AppServer\profileTemplates\dmgr"

    Then the deployment manager will be created in the provided location in above

    command then start this profile using the below command from profile bin path

    Command: startManager

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    18/34

    P a g e | 18

    Enabling Federated Security in Deployment Manager Profile

    Login into Deployment manager WAS console and go to Security>Global Security

    tab.

    click on security configuration wizard

    Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    19/34

    P a g e | 19

    Select Federated Repositories and click next

    Fill required and click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    20/34

    P a g e | 20

    Click Finish and in next page Select Preferences

    Select Synchronize changes with Nodes and click Apply

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    21/34

    P a g e | 21

    Click OK

    Save the changes

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    22/34

    P a g e | 22

    Adding Nodes to the Deployment Manager

    The two profiles which are created earlier should be added to the deployment

    manager using command prompt.

    Using addnode.bat command add the AppSrv02 to the deployment manger

    Give the credentials and click OK

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    23/34

    P a g e | 23

    We will get above message if it is successful

    In the above procedure add AppSrv03 to the deployment manager node.

    Open WAS console of deployment profile and go to System administration>Nodes

    Added nodes will appears in this page like in below screen:

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    24/34

    P a g e | 24

    Creating Cluster:

    Go to Deployment manager profile WAS console

    Go to Clusters>Websphere Application Server clusters. Click New

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    25/34

    P a g e | 25

    Give cluster name and click Next

    Give first node detailed to be added and click Next

    In next screen give second node details

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    26/34

    P a g e | 26

    Click Next

    Click Finish

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    27/34

    P a g e | 27

    Select Preferences

    Select Synchronize changes with Nodes and Click Apply

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    28/34

    P a g e | 28

    Check whether Cluster created is started or not

    Go to Cluster topology to check whether the Nodes added successfully or not

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    29/34

    P a g e | 29

    Verification for Clustering:

    Deploying one sample application into Cluster for verification

    Go to Applications> New Application browse one sample application from the

    WAS installation path

    Click Next

    select cluster and apply. Click Next

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    30/34

    P a g e | 30

    Click Next

    Click Finish

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    31/34

    P a g e | 31

    Click Save

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    32/34

    P a g e | 32

    Click OK

    Check it started or not

    If you check in physical location of WAS go to installedapps folder of both nodes

    the sample application will be deployed on both at the same point of time.

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    33/34

    P a g e | 33

  • 7/27/2019 Ibm Webshere Application Server Vertical Clustering (1)

    34/34

    P a g e | 34