Sunday, September 2, 2018

Tell me about yourself - WebSphere Application Server Interview Questions - Part -6.2

11) IHS (IBM Http Server) default port no ?

A) 80



12) How many ways can we deploy Applications ?

A) There are 2 ways of Deployments in was

   a) using Admin console (front end)

   b) using WSAdmin Scripting (Jython/Jacl) (back end)

13) What is Clustering? How many types are there?

A) Grouping of App servers under a single application/Name

     Using Clustering we can create a scope, and we can achieve through WORK LOAD MANAGEMENT,    FAILOVER and can achieve through clustering
     Clustering are set of App servers having same applications installed,grouped locally for work load mgmt.

    There are 2 types of Clustering

1) Vertical Clustering
2) Horizontal Clustering


1) Vertical Clustering : we can Deployed the application on same machine/Local machine/same box
     In this clustering machine failover is not possible
     means if one server will fails the other server or other machine will handles the request but if Machine will fails it cannot take back and handles that request.



2) Horizontal Clustering : Grouping of App servers in which one App server should be on one node and Another App server should be on Another node
means we can deployed the applications on different machines or remote machine

Ex: One App server Machine 1 should be in India and Other App server Machine 2 should be in US at a particular point of time if we want to deployed the application on Machine 1 in India through US we have to know about the IP address of the Machine 1 then only it is possible to deploy the application in case that machine 1 will fails another machine2 will takes care and handles the request in this clustering Machine failover is possible.

14) What is Session Affinity? what is the use?

A) whenever one request comes from the same client it should routed back to that particular server (or) same server.
Maintaining the state till the session closes .
Affinity means it happens repeatedly again and again
                           (or)
Server ID is appended to session ID when HTTP Session is created its ID is passed back to browser as part of cookie or Url encoding .
When browser makes further request the cookie will be sent back to webserver. The webserver plug-in examines HTTP Session ID, Extracts Unique ID of cluster member handling Session and forwards the request

With out Session Affinity : 
Plug-in is responsible to send requests based on weights
Maximum weights is 20

Request           Server1             Server2
    1                     4                        1
    2                     3                        1
    3                     3                        0
    4                     2                        0
    5                     1                        0
    6                     0                        0
    7                     4                        1

With Session Affinity :  
Ebay site having a link if we click link it is like a new request This request is coming from 1 server

Request           Server1             Server2 
    0                     4                        1
    1                     3                        1
    2                     2                        1
    3                     2                        0
    4                     2                        0
    5                     2                        -1
    6                     1                        -1
    7                     0                        -2

15) WAS Repositories ?

A) Repository means location for storage where we can store the files

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Recover password from .sth file

Create perl file (unstash.pl) and run the script. #!/usr/bin/perl #usage perl unstash.pl use strict; die "Usage: $0 \...