Skip to main content

Posts

Showing posts with the label WebSphere MQ Series Interview Questions

What is Clustering in WebSphere MQ Series?

What is Cluster? Ans: A cluster is a group of queue managers set up in such a way that the queue managers can communicate directly with one another over a single network, without the need for transmission queue, channel, and remote queue definitions.   Some important MQSC commands that work with cluster DISPLAY CLUSQMGR SUSPEND CLUSQMGR RESUME CLUSQMGR REFRESH CLUSTER RESET CLUSTER     What are the Advantages of clustering? Advantages: Reduced system administration Increased high availability Improved resource utilization Workload sharing What is the algorithm that is followed by MQ in clustering? Ans: WebSphere MQ uses a workload management algorithm that uses a round-robin routine to select an available queue manager to route a message to.   What is Cluster queue manager? A cluster Queue manager is a queue manager that is a member of a cluster. A queue manager can be a member of more than one cluster   What happe...

WebSphere MQ Admin Interview Questions

What is MQ and what does it do? Ans. MQ stands for MESSAGE QUEUEING. WebSphere MQ allows application programs to use message queuing to participate in message-driven processing. Application programs can communicate across different platforms by using the appropriate message queuing software products. What is Message driven process? Ans . When messages arrive on a queue, they can automatically start an application using triggering . If necessary, the applications can be stopped when the message (or messages) have been processed. What are advantages of the MQ? Ans. 1. Integration. 2. Asynchrony 3. Assured Delivery 4. Scalability. How does it support the Integration? Ans . Because the MQ is independent of the Operating System you use i.e. it may be Windows, Solaris,AIX.It is independent of the protocol (i.e. TCP/IP, LU6.2, SNA, NetBIOS, UDP).It is not required that both the sender and receiver should be running on the same platform

Advantages & Disadvantages of Synchronous / Asynchronous Communications?

  Asynchronous Communication Advantages: Requests need not be targeted to specific server. Service need not be available when request is made. No blocking, so resources could be freed.  Could use connectionless protocol Disadvantages: Response times are unpredictable. Error handling usually more complex.  Usually requires connection-oriented protocol.  Harder to design apps Synchronous Communication Advantages: Easy to program Outcome is known immediately  Error recovery easier (usually)  Better real-time response (usually) Disadvantages: Service must be up and ready. Requestor blocks, held resources are “tied up”.  Usually requires connection-oriented protocol

What is the Need of Message Queuing?

The composition of a organization’s network is fluid and unpredictable. The organization may acquire or merge with other organizations that have diverse data processing networks. Also the data held on different database systems has to be synchronized. In implementing this challenge the following difficulties must be overcome. ·          Mixed environments ·          Complex programming ·          Limited design choice ·          Difficult coordination of data

What is Messaging and Queueing?

n   Messaging - programs communicate by sending data in messages rather than by calling each other directly. n   Queuing - messages are put on queues in storage, eliminating the need for programs to be logically connected. n   A messaging and queuing framework is inherently ASYNCHRONOUS ! n   Programs communicate by writing and retrieving application-specific data (messages) to/from queues, without having a private, dedicated, logical connection to link them.   ::DISCLAIMER:: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of re...

WebSphere MQ Script Commands

-- SCRIPT COMMANDS:- After entering in to queue manager we can find script commands. Script commands are same for every queue manager. (These Commands should be used in CAPITAL LETTERS) · DEFINE :-To define/create MQ manager objects like queue, Channels, process, and listener. · ALTER :-to update or modify the existing objects · DISPLAY :-to view all the properties of a particular object or to Display all objects · DELETE :-to delete created objects · CLEAR :-to clear the message from the queue · END :-to come out of the queue manager · PING :-to check whether other side channel / queue manager is ready to accept our request. · START :- to start the particular channel or listener · STOP :-to stop particular channel or listener · REFRESH :-used to refresh the security every time after giving or executing, set mgr or command for queue manager or object · RESET :-used to reset channel,cluster,queue manager · RESOLVE :-to resolve the channel w...

WebSphere MQ Series Interview Questions - 1

-- How does MQ support the Integration? Ans. Because the MQ is independent of the Operating System you use i.e. it may be Windows, Solaris,AIX.It is independent of the protocol (i.e. TCP/IP, LU6.2, SNA, NetBIOS, UDP).It is not required that both the sender and receiver should be running on the same platform What is Asynchrony? Ans. With message queuing, the exchange of messages between the sending and receiving programs is independent of time. This means that the sending and receiving application programs are decoupled; the sender can continue processing without having to wait for the receiver to acknowledge receipt of the message. The target application does not even have to be running when the message is sent. It can retrieve the message after it is has been started. What is a Message and what does it contain? Ans: A message is a string of bytes that is meaningful to the applications that use it. Messages are used to transfer information from one application program to...

What is the effect of using Persistant messages?

-- Ans: Persistent messages are usually logged. Logging messages reduces the performance of your application, so use persistent messages for essential data only. If the data in a message can be discarded if the queue manager stops or fails, use a nonpersistent message. WebSphere MQ messages: Messages are made up of Two parts: Message descriptor, Application data Types of messages Datagram : A Message sent with no response expected. Request : A Message sent for which a response is expected. Reply : A Response Message for a requested message. Report : A Message that describes the occurrence or event Ex COA/COD Sizes ? Qmanagerà10000 Msgs Maxmsglengthà4 Mb Queueà5000 Msgs Maxmsglengthà4 Mb  

What are the hardware and Software requirements for MQ Installation in AIX?

-- Ans. WebSphere MQ for AIX, V5.3 runs on any machine that supports the AIX V4.3.3 PowerPC® 32.bit, or AIX® V5.1 Power 32 bit only operating system. Disk Storage: Typical storage requirements are as follows: 1 Server installation: 50 MB 2. Client installation: 15 MB 3 Data storage (server): 50 MB 4. Data storage (client): 5 MB. Software Requirements: Operating system: The operating systems supported by WebSphere MQ for AIX, V5.3 are: 1. AIX V4.3.3, with PTF U472177, running in a 32 bit environment, on 32 or 64 bit hardware. 2. AIX V5.1, with PTFs U476879, U477366, U477367 and U477368, and APAR fix IY29345 running 32 bit kernel running on 32 or 64 bit hardware. 3. AIX V5.1, with PTF U476879, U477366, U477367 and U477368, and APAR fix IY29345 running 64 bit kernel running on 64 bit hardware. Connectivity The network protocols supported by WebSphere MQ for AIX, V5.3 are: 1. TCP/IP 2. SNA LU 6.2. Databases: DB2 7.1, 7.2 Oracle 8i and 9i Sybase v12 or v 12...

WebSphere MQ Series Archives

To know what is MQ, Fundamentals of MQ and what is the basic concept of Message Oriented Middleware click below link  Fundamentals of MQ To know how to use MQ with Java Application Programming, check below link. WebSphere MQ Using Java Version 6.0 Finally if you have any questions regarding MQ and Java programming check below links. MQSeries.Net MQSeries.Net Forum

WebSphere MQ Series Tutorial

MQ Series : - It is an IBM web sphere product which is evolved in 1990’s. MQ series does transportation from one point to other. It is an EAI tool (Middle ware) VERSIONS :-5.0, 5.1, 5.3, 6.0, 7.0(new version). The currently using version is 6.2 Note : - MQ series supports more than 35+ operating systems. It is platform Independent. For every OS we have different MQ series software’s. But the functionality of MQ series Default path for installing MQ series is:- C: programfiles\IBM\Eclipse\SDK30 C: programfiles\IBM\WebsphereMQ After installation it will create a group and user. Some middleware technologies are Tibco, SAP XI. MQ series deals with two things, they are OBJECTS, SERVICES. In OBJECTS we have QUEUES CHANNELS PROCESS AUTHENTICATION QUERY MANAGER. In SERVICES we have LISTENERS. Objects : - objects are used to handle the transactions with the help of services. QUEUE MANAGER maint...

WebSphere MQ Triggering Q&A

What is Triggering? Ans: Web Sphere MQ enables you to start an application automatically when certain conditions on a queue are met. For example, you might want to start an application when the number of messages on a queue reaches a specified number. This facility is called triggering How many ways of Triggering? EVERY: A trigger event occurs every time that a message arrives on the application queue. Use this type of trigger if you want a serving program to process only one message, then end. FIRST: A trigger event occurs only when the number of messages on the application queue changes from zero to one. Use this type of trigger if you want a serving program to start when the first message arrives on a queue, continue until there are no more messages to process, then end. DEPTH: A trigger event occurs only when the number of messages on the application queue reaches the value of the TriggerDepth attribute. What are the Trigger types available Explain? a. Application tr...

WebSphere MQ Interview Questions

What is MQ and what does it do? Ans. MQ stands for MESSAGE QUEUEING. WebSphere MQ allows application programs to use message queuing to participate in message-driven processing. Application programs can communicate across different platforms by using the appropriate message queuing software products. What is Message driven process? Ans . When messages arrive on a queue, they can automatically start an application using triggering. If necessary, the applications can be stopped when the message (or messages) have been processed. What are advantages of the MQ? Ans. 1. Integration. 2. Asynchrony 3. Assured Delivery 4. Scalability. How does it support the Integration? Ans. Because the MQ is independent of the Operating System you use i.e. it may be Windows, Solaris,AIX.It is independent of the protocol (i.e. TCP/IP, LU6.2, SNA, NetBIOS, UDP).It is not required that both the sender and receiver should be running on the same platform What is Asynchrony? Ans. With messag...