WAS&ND Questions

download WAS&ND Questions

of 11

Transcript of WAS&ND Questions

  • 8/10/2019 WAS&ND Questions

    1/11

    Can we change the port no. of WAS after installation?

    Yes,

    Deployment Directory structure of WAS?

    Administration structure of WAS?

    Architecture of WAS?

    I started server it stopped immediately. Why?

    It may e due to three reasons,

    !"if previous #vm instance is running. $"If the process id still e%its.

    &"Improper stopping of server after enaling security.

    'ossile errors ( solutions while deploying )A*, WA* and +A* files?

    !" If the )A*WA*+A* files are corrupted, it shows a message, corrupted

    )A*WA*+A* file.-o solve this, we need to have new )A*WA*+A*.

    $" If the )A*WA*+A* files are developed using specification less than $,thatparticular file will not deploy.

    -o solve this, we need to develop applications using specification more thanversion $.

    What is wor load management? What are the methods used?

    Admin role comes in which side, source or development side? Support it.

    It comes on oth sides, starts with development environment and with support.

    What is the usage of http server and https server?

    Insecure servers and Secure.

    What is connection pooling, tuning parameter with ottlenec enhancement?

    /etting a connection from dataase is a highly performance issue so we use

    connection pooling, which has a pool of connections already estalished.

    )%plain process choreography?

    What is 0')1 architecture?

    What is stream 2ueuing?

    What is diff. n version 3.4 and 5.4 of WAS?

    Configuration is all taen care y dataase, for v5 for configuration there is no

    need of dataase, needs %ml files.

    What is the difference etween the +6S and 67?

    0oth are used for messaging service,+6S is comes y default whereas 67 is thirdparty tool.

  • 8/10/2019 WAS&ND Questions

    2/11

    What are the versions 8products lie 60, 67, WAS, ICS" your using?

    Which environment u are woring, client place, and state?

    Client 'lace.

    Which Adapters were used in ICS? What is the version of it?

    What is the difference etween 60 and ICS?

    What is channel, clustering in 67?

    9ow do we now connectors are uploading or not, in ICS.

    Can u e%plain your pro#ect and what is your role in that?

    -ell me any ten trouleshooting concepts u faced while woring on pro#ect?

    9ow to handle situation when client connects to dataase?

    :ode federation is done in server side or client side?

    0oth sides.

    9ow to run -rigger monitor?

    Can we change the 1oggings after creating 7ueue 6anager?

    9ow to connect 67series Server and 67series Client?

    Can we open /;I ase 67 on AI

  • 8/10/2019 WAS&ND Questions

    3/11

    Where we are using -hread pooling in WAS on AI

  • 8/10/2019 WAS&ND Questions

    4/11

    Why we need to go for plugin?

    'lugin is the one which decides, which re2uest is handled y which server.

    :ame few weserver you now? And what server you wored on?

    TRACE:

    9ow will you enale trace?

    Troubleshooting >Logging and Tracing> server1> Diagnostic Trace Service

    9ow will you enale it at server startup?

    .startServer.sh server! options enaletrace

    9ow will you enale it on a running server?

    We need to open the administrative console, after that goto

    Troubleshooting >Logging and Tracing> server1> Diagnostic Trace Service

    What is snoop? Where e%actly it will e used?

    Snoop is the default application, it is used to test whether ur application server isinstalled perfectly or not and also it is used to chec whether ur we server is

    configured to application server.

    What is filter? What for it is used?

    VIRTUAL HOST:

    What is a virtual host?

    A single host machine resemling multiple host machines is called virtual hosting.

    9ow you create a new virtual host using template?

    )nvironmentVirtual Hosts> New

    In the conf file you give E4 and 33& under virtual host, what are they? Why we

    have to give only these two?

    E4 is unsecure port and 33& is secure port

    9ow can we say that your port is redirected?

    If it converts from 9--' to 9--'S.

    SESSION:

    what is session affinity? What for is it useful?

    9ow you enale session affinity?

    http://localhost:9060/ibm/console/navigatorCmd.do?forwardName=Logsandtrace.content.mainhttp://localhost:9060/ibm/console/com.ibm.ws.console.probdetermination.forwardCmd.do?forwardName=Logsandtrace.content.list&contextId=cells:mirdev122Node01Cell:nodes:mirdev122:servers:server1&resourceUri=server.xml&perspective=tab.configurationhttp://localhost:9060/ibm/console/navigatorCmd.do?forwardName=Logsandtrace.content.mainhttp://localhost:9060/ibm/console/com.ibm.ws.console.probdetermination.forwardCmd.do?forwardName=Logsandtrace.content.list&contextId=cells:mirdev122Node01Cell:nodes:mirdev122:servers:server1&resourceUri=server.xml&perspective=tab.configurationhttp://localhost:9060/ibm/console/navigatorCmd.do?forwardName=VirtualHost.content.mainhttp://localhost:9060/ibm/console/navigatorCmd.do?forwardName=Logsandtrace.content.mainhttp://localhost:9060/ibm/console/com.ibm.ws.console.probdetermination.forwardCmd.do?forwardName=Logsandtrace.content.list&contextId=cells:mirdev122Node01Cell:nodes:mirdev122:servers:server1&resourceUri=server.xml&perspective=tab.configurationhttp://localhost:9060/ibm/console/navigatorCmd.do?forwardName=Logsandtrace.content.mainhttp://localhost:9060/ibm/console/com.ibm.ws.console.probdetermination.forwardCmd.do?forwardName=Logsandtrace.content.list&contextId=cells:mirdev122Node01Cell:nodes:mirdev122:servers:server1&resourceUri=server.xml&perspective=tab.configurationhttp://localhost:9060/ibm/console/navigatorCmd.do?forwardName=VirtualHost.content.main
  • 8/10/2019 WAS&ND Questions

    5/11

    Application servers> server1> Session management

    What is difference etween user, session and cooie?

    APPSERVER AND ND:

    9ow can you say that live app server is running fine 8don>t say that I will chec

    logs"?

    9e e%plained me a scenario and ased me how you do that? 8Install :D create

    cluster federate two nodes create two servers for each node" Step y Step?

    While I was telling him aout add node for node federation, he ased me

    to e%plain the entire synta% i.e. 8I told him the synta% as .add:ode.shFI' address or machine name of :D Fsoap connector port Fstarting

    port include apps 8optional"

    -hen he ased What for you give .

    Is it good to give I' address or machine name of :D?

    What is soap connector port?

    What is starting port? I never heard aout that?

    What for is include apps?

    Which application does it includes?

    What is difference etween installed apps and installale apps?

    8-his scenario went on lie =B* and A/AI:S-"

    JVM:

    What are the options which come while setting up of +6 heap si@e?

    What is verosegc?

    What is j profile?

    9BW DB)S ; 6AG) ;* AD6I: CB:SB1) *)AD B:1Y?

    AnsH /o to System administration on admin consoleconsole users8give Id"8here u finds operator, monitor, administrator..." go for 6B:I-B*save. /o to

    System administration on admin consoleconsole /roupgive the 'wdgive theoption 6B:I-B*save. /o to securityenale gloal setting. /ive the pwd and

    confirm the pwd. *estart the server. If u opens the admin console it should asfor uid and pwd. /ive the alues. If you try to start the server!, it should give

    the error. /iving the option as 6onitor means read only access. Also now at the

    *emaining options 8administrator, operator...." *egarding pro#ect 2uestions youased, it varies from pro#ect to pro#ect 0ut the answers which iam providing is ofone of the pro#ect over here.

    9ow many WAS ase will installed in a pro#ect?

    AnsH =our

    9ow many WAS :D will installed in a pro#ect?

    AnsH -wo

    http://localhost:9060/ibm/console/navigatorCmd.do?forwardName=ApplicationServer.content.mainhttp://localhost:9060/ibm/console/applicationServerCollection.do?EditAction=true&contextId=cells:mirdev122Node01Cell:nodes:mirdev122:servers:server1&resourceUri=server.xml&perspective=tab.configurationhttp://localhost:9060/ibm/console/navigatorCmd.do?forwardName=ApplicationServer.content.mainhttp://localhost:9060/ibm/console/applicationServerCollection.do?EditAction=true&contextId=cells:mirdev122Node01Cell:nodes:mirdev122:servers:server1&resourceUri=server.xml&perspective=tab.configuration
  • 8/10/2019 WAS&ND Questions

    6/11

    9ow many D0 servers will e installed in a pro#ect? Is that a D0 C1I):-?

    Software or server software?

    AnsH Bne, sever software.

    9ow many application servers will thr in each ase?AnsH -wo

    9ow many application servers will thr in the entire pro#ect?

    AnsH =our

    9ow many applications run in each application server?

    AnsH =our

    What shud the answer if the interviewer ass how applications may Are thr in

    ;r pro#ect?AnsH )ight

    Do we start n stop the servers every day?

    AnsH Yes, y running cron#os.

    Will the same application deployed on more than one application Server?

    AnsHYes

    !4"What are Development servers? And how many development servers will

    thr in a pro#ect?AnsHServers which are used y development people8D) team",two.

    !!"9ow do u we decide the +6 heap si@e to set for each application server?

    AnsHAccording to the performance of the server and applications. please e notedthat the values which I provided are of one of the pro#ect.So now you can #udge

    that it varies from pro#ect to pro#ect.It all depends on the re2uirement.You cansay any numer ut you should e confident enough to tell that8varies from

    pro#ect to pro#ect".0ut never specify high figures !4. 'l@ try to mae theconsole read only.If you still have any 2ueries pl@ do as me.

    9ow many WAS 0ase configurations can e federated to a WAS :D?

    Bnly one ase can e federated to a cell at a time.

    9ow many Applications can e depoyed in a ApplicationServer?

    I don,t have the e%act figure ut you can deploy more than eight.

    =or a pro#ect, 9ow many WAS 0ase configurations should e installed? Can u tella small WAS environment?As chandrasehar,i have given him some information.

    when coming to the Sessions concept i now the concept and sessions can e

    done at three levelsH Application Server level, Application level and We6odulelevel. 0ut i want to now that in which part they r useful in the real time

    environment?Application server level.

  • 8/10/2019 WAS&ND Questions

    7/11

    When coming to the virtual host concept The default port number are 9080,9443,80

    upon that i can create my own portnumbers? (Here i have created my own port

    number but those are not working.) U might have forgotten to save the configuration.

    9ere in my 0ase Configuration i have configured D0$ 8D0$ 1egacy C1Iased

    -ype $ +D0C Driver 8t do this #ust thin, how come ihs will

    identify the appserver.

    What is Web Sphere?

    Briginally, We Sphere was a product 8We Sphere Application Server".

    9owever, today We Sphere is an I06 0rand as well as a set of strategicSW/ products. 0ecause the We Sphere 0rand has Mname recognitionM,

    many of the SW/ products included in the eusiness applicationframewor now have the word We Sphere as part of its> name. =or

    e%ample, We Sphere Application Server, We Sphere Commerce Suite,

    We Sphere 'ayment 6anager, We Sphere Development Studio formiseries, We Sphere -ranscoding 'ulisher, We Sphere 9ome 'age

    0uilder, We Sphere -ranslation Server, We Sphere Site Analy@er, WeSphere )veryplace Access, We Sphere Studio, We Sphere oice Server,

    We Sphere 'ortal Server, We Sphere 'ersonali@ation Server, We Sphere

    )dge Server, We Sphere 0usiness Integrator and We Sphere 9ostIntegration. -he core of the platform is still We Sphere Application

    Server, which provides +$)) application deployment platform and manyenterprise services.

    What versions of We Sphere are currently in use?

    5.4

    -he latest edition of We Sphere Application Server which supports +$))

    !.& specification including +S' !.$, Servlet $.&, and )+0 $.4. Availale in

    0ase 8one +6", :etwor Deployment 86ultiple +6s, Worload

  • 8/10/2019 WAS&ND Questions

    8/11

    6anagement", and )nterprise 8CB*0A services, e%tended management"editions.

    3.4. s fromI06. If you are #ust designing a small site to e used somewhere on the

    we without having to worry aout multiserver environment, you mighte all right with -omcat. We Sphere re2uires significant investment it>s

    not cheap ut it would return the costs for you once you estalish asignificant customer ase to use it.

    What is Worload 6anagement?

    Worload 6anagement is an aility to route re2uests from the clients

    8rowsers" to different servers in the server farm 8several servers ehind

    the same entry point" in such a way, that it would e transparent for theclient rowser 8he would not now and would not care aout it", where

    8which server" hisher re2uests went to. We Sphere provides aility tocluster and clone its services so that they can e easily e%panded from

    singleserver to multiserver environment.

    What is Session 6anagement?

    +$)) Servlet A'I supports cooieased 9--' sessions information aoutcurrently logged in user, for e%ample. It does not provide, however, anysupport for distriuting those sessions across multiple servers. In We

    Sphere, there is a notion of persistent sessions, where session informationis stored in the relational dataase 8such as Bracle and D0$". If one of the

    servers suddenly fails, the user will e automatically redirected to another

    server, and his session information will e preserved heshe would nothave to relogin. -his might not seem important for some small application,

    ut for enterprise trading system where crucial financial information isstored in sessions, it might e 2uite critical having user loosing hisher

    session would mean lost usiness lost OOO for the company.

    What is Connection 'ooling?

    +D0C $.4 which is part of +$)) !.$!.& specification, supports the notion

    of connection pooling reusing the dataase connection for processingseveral dataase operations y several independent threads such as

    servlet invocations, )nterprise +ava 0eans, or simple +ava applications.

    Btaining the connection from the dataase and then closing it is aperformance e%pensive process, which may e%haust the dataase aility

    to handle re2uests. Connection pooling creates a pool of connectionswithin memory, that maintains them while their in use and does not

  • 8/10/2019 WAS&ND Questions

    10/11

    actually close them #ust returns them to the pool when theseconnections are no longer needed. +ava :aming and Directory Interface

    8+:DI" A'I is utili@ed for this purposes to looup the connections throughuse of Data Sources 8literally, sources of data from the dataases".

    Several est practices e%ist regarding use of connection pooling, includingalways using trycatchfinally locs to process dataase transactions

    safely.

    What Security Services does We Sphere provide?

    We Sphere supports a variety of security specifications including +$))

    roleased security, where each resource is protected y defining rolesthat have access to that particular resource. =or instance, Servlet may e

    protected y specifying roles that have access to /)- or 'BS- methods onits ;*1. )+0 can e protected on the method level y specifying which

    roles are allowed to invoe which method. *oles are astract entities utcan e associated with operating system 8Windows :- or ;:It say that I will chec logs"?

    9ow will you analy@e that your weserver is running fine or not 8don>t say that I

    will chec logs"?

    ERROR IN JAVA )IN DIRECTOT* +OR UN,NO%N HOST E-CEPTION:

    -his error can occur if a @eroyte file is in the FwasQhome#avain directory.

    SolutionH

    =or this particular scenario, I06 Support found that there was a @eroyte file in the FwasQhome#avain directory. -he file name for the @ero

    yte file was M#ava.M After the administrator deleted this file, the applicationserver started successfully. -his situation has een reported y multiple

    customers. -he root cause for the @eroyte file is possily due to an incorrectshutdown of the application server.

  • 8/10/2019 WAS&ND Questions

    11/11