Thursday, February 18, 2010

websphere aplication server interview questions

1.WHAT IS TRACING?


Tracing is when you go through an entire program and record the value of variables and the output. You trace a program when you want to find out what actually went wrong

2.WHERE TO GIVE APPLICATION PRIORITY WHILE STARTING SERVER?

it will be under Enterprise applications ->app name -> startup behaviour ->Startup order in the admin console

3.HOW TO MOVE CODE DEV ENVIRONMENT TO TESTING ENVIRONMENT?

I'm sure what they mean by code here. I think, incase of applications, export them from in DEC and deploy in TEST.

4.WHAT IS SSL?WHEN IT ENCRYPT & DECRYPT THE DATA?

SSL are digital signed certificates. user for meesage/communication integrity and confidentiality. Generally encrypt at Sender side and decrypt at receiver side

5.WHAT IS INCIDENT MANAGEMENT?

It is part of ITIL process..... simple explanation is, when there is a problem in ur WAS environment, which procedure do you follow.

6.WHEN APPLICATION IS DOWN WHAT U WILL DO?

First look at the logs for errors. If you find the error, save the logs and start ur application. Then start trouble shoot.

If no error found, run a trace and look for FFDC etc..

7.I HAVE 16GB RAM,WHAT IS THE MINIMUM & MAXIMUM HEAPSIZE ?

No relation. Heap settings should be made depends on application

8.HOW TO OPEN ADMIN CONSOLE IN AIX/UNIX & WHAT IS THE DEFAULT FILE SYSTEM OF AIX?

admin console can be viewed from remote machine which has a browser, if not behind firewall.

9.WHAT IS FILE DESCRIPTORS IN AIX?

A file descriptor is a handle created by a process when a file is opened. There is a limit to the amount of file descriptors per process.If the file descriptor limit is exceeded for a process, you may see the following errors:"Too Many Open Files"

10.HOW TO RESOLVE PORT CONFLICTS IN PRODUCTION ENVIRONMENT?


check why there is port conflict

run updateports script in WAS

what is cluster


how do you create a cluster

go to servers -> clusters-> new ->give cluster_name->define first member->define other members->finish


how do you add a new cluster member

go to servers -> clusters->cluster_name ->cluster members ->new ->give name/node/others->apply->ok->save

one of the cluster member (jvm) is having issues. To troubleshoot the issue, you decided to take it out of the cluster. How do you do that?

Make its runtime weight to 0


In a complex environment, there are 10 machines. Machine A is having 8GB RAM and machine B having 2GB of RAM. The administrator decided to send twice as many request as machineB to machineA. How can he achive it?

give machineA twice the weight as machineB

After making some changes on a cluster, it is required to recycle/restart all the cluster JVMs. The lead admin told you to make sure that there should not be any downtime during this recycle. Which option do you use to achieve it?

Ripplestart

A large application which has 5web modules has been deployed on to a cluster. After some months, the developer asked you to update on of the 5web modules. How do you do it?

Rollout

what is a backup cluster

can you change the cluster name, once it was created

No
 
Q. What is jndi?


Ans: we can register resources in the application server's java naming and directory interface (jndi) namespace. Client applications can then obtain the references to these resource objects in their programs.

Q. Application installed but not working. What are troubleshooting steps?


Ans: see jvm & application are up, check plugin-cfg.xml file for the root context used by the web application if it does not exist generate plugin and restart web server.

Q. Applications installed fine, also generated plugin, but application still not working, in this case which log to see?


Ans: plugin.log


Q. What is CellDiscoveryAddress

Ans: Node uses this port to talk to DMGR

Q. What is NodeDiscoveryAddress
Ans: DMGR uses this port to talk to node

Q. How websphere discovers a change in JSP and compiles it?

Ans: There is an algorithm that websphere uses to find the timestamp of .jsp and .class files. It checks that timestamp of .class file is always later than its corresponding .jsp file.

No comments:

Post a Comment