Websphere Ques Mq

March 23, 2018 | Author: Abhinav Garg | Category: Computer Architecture, Technology, Computing, Information Technology Management, Software


Comments



Description

M Websphere MQ interview Questions Part 1 - Middleware NewsIBM Websphere MQ interview Questions Part 1 - Middleware News =============================================================== 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 pr ograms can communicate across different platforms by using the appropriate messa ge queuing software products. What is Message driven process? Ans . When messages arrive on a queue, they can automatically start an applicati on using triggering. If necessary, the applications can be stopped when the mess age (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 b e Windows, Solaris,AIX.It is independent of the protocol (i.e. TCP/IP, LU6.2, SN A, 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 rece iving 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 targe t 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 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 bi t hardware. 2. AIX V5.1, with PTFs U476879, U477366, U477367 and U477368, and APAR fix IY293 45 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 IY2934 5 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.5 Java: If you want to use the Java Messaging Support, you need the Java Runtime E nvironment Version 1.3 or later What are the software and hardware requirements for installing MQ on Windows? Ans: MQ v 5.3 supports Windows 2000, Windows 2000XP,Windows 2000NT, Windows 2003 SE, Windows 2003EE. 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. Connectivity The network protocols supported by WebSphere MQ for AIX, V5.3 are: 1. TCP/IP 2. SNA LU 6.2. 3. LU 6.2 4. NetBIOS Databases: DB2 7.1, 7.2 Oracle 8i and 9i Sybase v12 or v 12.5 such as the type of message and the priority assigned to the message by the sending application. A message descriptor. so use persistent messages for essential data only. For a complete description of the message descri ptor. What is the Max Length of the message does MQ support/ Ans: The default maximum message length is 4 MB. WebSphere MQ messages have two parts: 1. WebSphere MQ defines the fo rmat of the message descriptor. us e a nonpersistent message. Reply: A Response Message for a requested message. but it does not promise to deliver them once. Logging messages reduces the perfor mance of your application. Report: A Message that describes the occurrence or event Ex COA/COD Sizes ? Qmanagerà10000 Msgs Maxmsglengthà4 Mb . What is the effect of using Persistant messages? Ans: Persistent messages are usually logged. I f the data in a message can be discarded if the queue manager stops or fails. 2. or on different platforms.Java: If you want to use the Java Messaging Support. persistent messages are guaranteed to be delivered once and only o nce. Application data Types of messages? Datagram: A Message sent with no response expected. Nonpersistent messages are not logged. The message descriptor identifies the message and conta ins additional control information. messages can be either persistent or non persistent.3 or later 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. What is the difference between Persistent and Non Persistent Messages? Ans: In Web Sphere MQ. although you can increase this to a maximum length of 100 MB (where 1 MB equals 1 048 576 bytes). Web Sphere still guarantees to deliv er them not more than once. Messages are used to transfer information from one application program t o another (or between different parts of the same application). Thus. Request: A Message sent for which a response is expected. you need the Java Runtime E nvironment Version 1. The applications can be running on the same platform. The content and structure of the application data is de fined by the application programs that use it. The application data. Pers istent messages are logged and can be recovered in the event of a WebSphere MQ f ailure. WebSphere MQ messages: Messages are made up of Two parts: Message descriptor. Queue Managers. the object is processed with a name in uppercase. Channel Initiator. What about is the Default port number for MQ Queue Manager? Ans: 1414 Difference between MQSC commands and Control commands? MQSC Commands These commands are used to handle the admin related functions for the components that are present in the MQ Series.Queueà5000 Msgs Maxmsglengthà4 Mb What is the attribute used to see the Message length? Ans: MaxMsgLength What is MQ Client? Ans: A Web Sphere MQ client is a component that allows an application running on a system to issue MQI calls to a queue manager running on another system. Clusters etc Control Commands These commands are used to manage the processes and services th at are helpful in the functioning of the MQ Series. can be written in uppercase or l owercase. unless the names are enclosed within single q uotation marks. What is MQ Server? Ans: A Web Sphere MQ server is a queue manager that provides queuing services to one or more clients. including their attributes. In general these commands ar e used for Channel listener. exist o nly on the queue manager machine (the Web Sphere MQ server machine). If quotation marks are not used. All the Web Sphere MQ objects. for example queues. Mention the No of Characters required for creating names of the MQ objects? Ans: For MQ Channels it is 20 Characters For Remaining objects it is 48 characters. Queues 3. . Name lists. Object names in MQSC commands are folded to uppercase (that is. QUEUE and queue are not differentiated). Channels 4. The o utput from the call is sent back to the client. SCRIPT COMMANDS:After entering in to queue manager we can find script commands. which passes it back to the appl ication. and not on the client. A Web Sphere MQ server can also support local Web Sphere MQ Applications What are the Objects used in Web sphere MQ? Ans: 1. Processes 5. Trigger monitor etc Is the MQSC attributes are Case sensitive? Ans: MQSC commands. Queue Manager 2. In general MQSC commands are u sed for creating and maintaining Message channels. XMIT. A minus sign ( ) indicates that the command is to be continued from the start of _ the following line.Script commands are same for every queue manager. What is programmable command format (PCF) commands? These commands are issued from a programme for local or remote administration do ne by programmers. use continua tion characters to indicate that a command is continued on the following line: 1. 2. (These Commands should be used in CAPITAL LETTERS) · DEFINE :-To define/create MQ manager objects like queue.queue manager · RESOLVE :-to resolve the channel which is in indoubt state · SUSPEND :-to suspend a queue manager from a cluster environment · RESUME :-to remove a queue manager from a cluster environment How can we write the MQSC commands that have too many parameters/ Ans: For commands that have too many parameters to fit on one line.QUEUE -u DEAD. process.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.LETTER. What are commands used for creating the Queue manager from the Command prompt? Ans: crtmqm -q -d MY. · START :. Channels. and listener.cluster. · 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 ou r request.DEFAULT.QUEUE QM1 Here -q used to define the Queue manager QM1 as a Default Queue manager -d is used to define the default transmission Queue -u is used to define the def . A plus sign (+) indicates that the command is to be continued from the first nonblank character on the following line. A queue manager owns ea ch queue. Where are the backup files are present after creating the Queue Manager? Ans: Windows systems: If you use Web Sphere MQ for Windows NT and Windows 2000. endmqm i QMName This type of shutdown does not wait for applications to disconnect from the queu e manager. and check the Make queue manager the default box . How can U make the existing Queue Manager as an default Queue Manager? Ans: On Windows systems. configuration information is stored in the Windows Registry. You need to stop and restart the queue manager for the change to take effect.ault dead letter queue. The queue manager is responsible for maintaining the queues it owns.ini) is automatically created. the Web Sphere MQ configuration f ile (mqs. UNIX Systems: 1. What is the command used for starting the Queue Manager? Ans: strmqm QMName What is the command used for stopping the Queue manager? Ans: endmqm -w QMName The command waits until all applications have stopped and the queue manager has ended.ini file per nod e. a nd for storing all the messages it receives onto the appropriate queues What is the Default max Queue depth? . a new queue manager configuration file ( qm. 2. What s the message code for Stopping a Queue Manager? AMQ4044 Queue manager stopping What is the command used to delete the QueueManager? Ans: dltmqm QMName Display the attributes of the Queue Manager QM1? Ans: runmqsc QM1 Display qmgr IBM Websphere MQ interview Questions Part 2 What is Queue? Ans: A queue is a data structure used to store messages. use the Web Sphere MQ Services snap-in to display the p roperties of the queue manager. When you install the product. There is one mqs. It contains a list of queue managers that is updated e ach time you create or delete a queue manager.ini) is created. This contains configuration parameters for the queue manager. When you create a new queue manager. Alias Queue: Queue definition. Cluster Queue: Custer queue is a local queue that is known throughout a cluster of queue managers.Ans 5000 Types of Queues? Local Queue Remote Queues Alias Queues Model Queue Dynamic Queues Cluster Queues. Alias Q Manager: Queue-manager aliases. Transmission Queue Name. Remote Local Queue Name How can U define Queues in MQ? Ans: Queues are defined to Web Sphere MQ using: 1. Initiation Queue: An initiation queue is a local queue to which the queue manage r writes a trigger message when certain conditions are met on another local queu e Dynamic Queue: Such a queue is defined on the fly when the application needs it. Channels. Reply-To-Queue: A request message must contain the name of the queue into which the responding program must put the Reply Message. it belongs to the Q mgr to which the application is connected. .Name of the Queue 2. You must define at least one transmission queu e for each remote queue manager to which the local queue manager is to send mess ages directly. Queue Manager: Provides Messaging services and manages the Queues. Queue: A safe place to store messages for Prior-To-Delivery.To store intermediate results. are created using a remote-queue definit ion with a blank RNAME. Remote QueueManager name 4. The MQSC command DEFINE 2. Remote Queue: Object that defines a Queue belongs to another Q Manager (Logical Def). D ynamic queues may be retained by the queue manager or automatically deleted when the application program ends. which is Alias to an actual Local or Remote Q. 3. Model Queue: Model queue is a template of a queue definition that uses when crea ting a dynamic queue. The PCF Create Queue command What is Transmission Queue? Ans: Transmission queues are queues that temporarily store messages that are des tined for a remote queue manager. What are the attributes required for the Remote Queue Definition? Ans: 1. Us ed for security and easy maintenance. Use. and Processes that belongs to it. What is the Max size that Queues support in MQ v5. Messages that have the same priority are retrieved on a FIFO basis.Message priority. For distributed queuing. and data specific to the application. define a dead-letter queue on each queue manager involved. for exampl e. 3. 2. This occurs when.They support around 2GB of Size How can u create a Transmission Queue from a local Queue? Ans. as defined in the message descriptor. the destination queue is full. they exist independently of th e applications that use them and survive Web Sphere MQ restarts. What is Process Definition and what are the attributes does it contain? Ans: A process definition object defines an application that starts in response to a trigger event on a WebSphere MQ queue manager.DEAD. The supplied dead-letter queue is called SYSTE M.LETTER. which is called a model queue. What is the Algorithm followed in retrieving the Messages from the Queue? Ans: 1.3? Ans.QUEUE. Predefined queues are created by an administrator using the appropriate MQSC or PCF commands. 2 Dynamic queues are created when an application issues an MQOPEN request specif ying the name of a model queue. the application type.First-in-first-out (FIFO). A trig ger event is a logical combination of conditions that is detected by a queue man ager. The queue created is based on a template queue d efinition. The process definition attri butes include the application ID. A queue manager p uts a trigger message on an initiation queue when a trigger event occurs. What is intercommunication and its components to send message ? What is Intercommunication? . Predefined queues are permanent.What is Initiation Queues? Ans: Initiation queues are queues that are used in triggering. Change the usage attribute from normal to Transmission Define a Local Queue LQ using the MQSC Commands in the QM QM1 Ans: runmqsc QM1 Define qlocal (LQ) What are the Difference B/W Predefined & Dynamic Queues? Ans: Queues can be characterized by the way they are created: 1. What is Dead Letter Queue? Ans: A dead-letter (undelivered-message) queue is a queue that stores messages t hat cannot be routed to their correct destinations. A program request for a specific message. Server Connection Channels. They shield applications from the underlying communi cations protocols.They are Bi-directional Channels 1. Sender Channel On Target Queue Manager 1. pla tforms. Remote queue definition. Client Connection channels 4. Channels are used in distributed queuing to move messages from on e queue manager to another. This is called a distributed environment. intercommunication means sending messages from one Queue manager to another. Server-connection 2. 6. The receiving queue manager could be on the same machine or another. It could be running on the sa me platform as the local queue manager. 5. Cluster Receiver Channels What are MQI channels and there types? MQI channels are the channels that carry messages from MQ Client application to the MQ server and vice versa.The local queue manager is sometimes called the source queue manager and the remote queue manager is sometimes called the target queue manager or the pa rtner queue manager. nearby or on the other side of the world. or could be on any of the platforms supp orted by Web Sphere MQ. Dead Letter Queue(recommended) 4. Requester-Server Channels 3. Sender-Receiver Channels 2. What is the Objects required for the DQM? Ans: On source QueueManager: 1. Local Queue 2.Listenr ***. Message channels Message channel agents Transmission queues Channel initiators and listeners Channel-exit programs What is Distributed Queue Management (DQM). Transmission Queue 2. Different types of Channels: 1. Client-connection How many Channel Combinations? . Receiver Channel 4.Ans: In Web Sphere MQ. or different. Cluster Sender. 3. The queue managers might exist on the same.The sender and receiver channels names should be same. What is channel and mention different types of channels in MQ? Ans: Channels are objects that provide a communication path from one queue manag er to another. Web Sphere MQ handles communication in a distributed environment such as this us ing DQM. Dead Letter Queue 3. Stopped What about Initializing & Binding states? Ans: Before running state first the channel will initializes the listener & Bind s with the Receiver Channel then it goes into running mode. Convert message (CONVERT). Inactive 3. Batch size ( BATCHSZ). Heartbeat interval (HBINT). Running 4. The interval is measured from the point at wh ich a batch ends. Maximum message length (MAXMSGL) Why is Channel RETRYINT attribute used? If a message is places in DLQ because of put inhibited or queue full condition.Client-Server Channel What are the attributes required for the Sender Channel? Ans: 1. for the server. The Connection name 5. RQSTR.Scyexit What are different Channel status? Ans: Channel Status: 1.Sender-receiver Channel 4. and cluster-receiver channels. cluster-send er.Requester-sender Channel 5.Retrying 2. Channel type (CHLTYPE). What is BATCH HEARTBEAT INTERVAL? . Cluster (CLUSTER). the DLQ handler attempts to put the message back to the destination queue. Disconnect interval (DISCI NT). RCVR. The Name of the Channel 4. Long retry count (L ONGRTY). Long retry interval (LONGTMR).Receiver Channel 6. or CLUSRCVR. If the receiving channel is not active. SVR. Tell me Some Channel Attributes? Batch Heartbeat Interval (BATCHHB): This heartbeat interval allows a sending cha nnel to verify that the receiving channel is still active just before committing a batch of messages. This parameter is valid only for channels with a channel type (CHLTYPE) of SDR. that is when the batch size is reached or when the batch inter val expires and the transmission queue becomes empty. Connection name (CONNAME). Batch interval (BATCHINT).Cluster-Sender. Receiver Cluster Receiver Requester What is channel disconnect interval? This is a time-out attribute. KeepAlive Interval (KAINT). the channel closes dow n Explain the channel attribute BATCHSIZE? BATCHSIZE denotes the maximum number of messages that can be sent through a chan nel before taking a checkpoint. the batch can be b acked out rather than becoming in-doubt.Requester-server Channel 2.1. If no messages arrive on t he transmission queue during the specified time interval. Cluster namelist (CLUSNL). Server-receiver Channel 3. specified in seconds. This interval is called as RETRYINT by default the retry interval is 60 seconds. CLUSSDR.Transport Type 2. The valu e must be in the range 1 through 9999. the batch can be backed out rather t han becoming in-doubt. The other MCA receives messages and delivers them onto a queue on the remote queue manager. One MCA takes messages from the transmission queue and puts them on the commun ication link. By backing out the batch.Ans: The batch heartbeat interval allows a sending channel to verify that the re ceiving channel is still active just before committing a batch of messages. the short retr y count number is decremented and the channel retries the remaining number of ti mes. What is LONG Retry count? Ans: Specify the maximum number of times that the channel is to try allocating a session to its partner. Receiver MCA: It transfers messages from the communication link into the targ et queue 3. in seconds. What is Keep Alive Interval? Ans: The Keep Alive Interval parameter is used to specify a time-out value for a channel. Retrying and Active What are the three options for stopping channels? QUIESCE FORCE TERMINATE What are the components of message channel? A queue manager to communicate with another queue manager uses message channel. It allows you to spe cify a different keep alive value for each channel. What is Message Channel agent (MCA)? Ans: A message channel agent (MCA) is a program that controls the sending and re ceiving of messages. What are the ways to start a channel? Use the MQSC command START CHANNEL Use the control command runmqchl to start the channel as a process Use the channel initiator to trigger the channel Type of channel states: Inactive and Current. Sender Message channel agent: Sender MCA is a program that transfers messages from a transmission queue to a communication link 2.Stopped. The value indicates a time. The components of a message channel are 1. the messages remain available for processing so they could. There is one message channel agent at each end of a channel . for example. The Keep Alive Interval parameter is a value passed to the communicati ons stack specifying the Keep Alive timing for the channel. A message channel agent is called a caller MCA if it initiated the communication . Communication protocol: Responsible for transferring messages A message chann el is unidirectional. and must be in the range 0 to 99999. If the initial allocation attempt fails. be redirect ed to another channel. so t hat if the receiving channel is not active. Starting. as would otherwise be the case. Xmitq is set to get disabled 2. Linear: Linear logging gives you both restart recovery and media recovery. Logging fills the first fi le in the ring. initiation queue. You can also start server channels in this way if yo u specified the connection name of the partner in the channel definition. It then goes back to the first file in the ring and starts This continues as long as the product is in use. so you can always retrieve any record logged f rom the time that the queue manager was created. message data conversion. It is used in Production. Circular is used in Development and Testing Queues. because be defined as a triggered queue. the channel li stener detects incoming network requests and starts the associated channel. When a message arrives that satisfies the triggering criteria for that queue. 2. This m eans that channels can be started automatically. Circular l ogging keeps all restart Data in a ring of log files. Listener is not running 5. Linear logging keeps the log data in a continuous Sequen ce of files. and has the advantage that you never run out of log fi les. As disk space is finite. You need a listener program to start receiving (responder) MCAs.QueueManager Stopped 4. based upon messages arriving on the appropriate transmission queue. Channel Errors? Due to: 1. until all the files are full. triggering the channel initiator to s appropriate sender channel. Message-retry Exit: Message-retry exit is called when an attempt to open the tar get queue is unsuccessful Sender and receiver Exit: You can use the send and receive exits to perform task s such as data compression and decompression Channel auto-definition Exit Transport-retry Exit What is the Different Logging Methods available? Ans: There are two different types available 1. It is the defaul t logging method.. What is Channel initiator and Listeners? Ans: A channel initiator a transmission queue may on a transmission queue a message is sent to the tart the acts as a trigger monitor for sender channels. Space is not reused. otherwise it is called a responder MCA. It is an administrative task to . you mi ght have to think about some form of archiving. Circular: The circular logging is used for restart recovery. Network Issues 3. then moves on to the and so on. Responder MCAs are started in response to a startup request from the caller MCA.TriggerTurned Off Explain Channel-Exit programs and what are the types? Channel-exit programs are called at defined places in the processing carried out by MCA programs Security Exit: You can use security exit programs to verify that the partner at the other end of a channel is genuine Message Exit: Message Exit can be used for Encryption on the link. validation of user ID. Is there is any chance for the Message lost? Ans: If the target queuemanager doesn. You cannot change the log file size. dspmqcsv: to display the command server 3. the minimum value is 32. the minimum value is 64.manage your disk space for the log. endmqcsv: To end the command server. In Web Sphere MQ for UNIX systems. The default value is 1024. what is the number for log primary and secondary file allocated? Ans: Primary log files: The number of primary log files to be allocated is 3 by default the minimum is 2 and MAX in Win 253 / Unix 510 Secondary log files: The number of secondary log files to be allocated is 2 by d efault the minimum is 1 and MAX in Win 252 / Unix 509 What is the command used for creating the listener? Ans: crtmqlsr -t tcp -m QMNAME -p portno What is the commands used for running listener in 5. The number of log files primary & secondary can be changed but you need to restart the Q manager for the changes to take effect. . The default value is 256. and the maximum is 1 6 384. How will you change the log file size? Ans . giving a default log size of 4 MB.Then there is a chance of the message loss. What is the Default location where the logs are stored and mention the default s izes? Ans: Default location: Windows: C:\Program Files\IBM\WebSphere MQ\log\qmgr UNIX: /var/mqm/log What is the log file size? Ans: In Web Sphere MQ for Windows NT and Win 2000.t contain the dead letter queue defined an d if the messages are running on a fast channel and of non persistant.strmqcsv: to start the command server 2.3 Version? Ans: runmqlsr -t tcp -m QMNAME -p portno What is command used to perform task on the MQ services? Ans: amqmdain What are commands used on the Command server? Ans: 1. and the maximum is 16 384. For this you need to drop and re-crea te the queue manager. giving a default log size of 1 MB. reusing Or extending the existing space as n ecessary. Transactional logs: 2. Difference between Errors and Qmgr errors? Errors: This will contain all S/W level errors and Information QMGR:This will contains all the information of QMGR objects and errors How you enable Trace? * Or start a high detail trace for one queue manager: strmqtrc -t all -t detail -m MY. Mqrc 2035: MQRC_NOT_AUTHORIZED. Mqrc 2009: MQRC_CONNECTION_BROKEN. Mqrc 2085: MQRC_UNKNOWN_OBJECT_NAME.TRC Or format wrapping trace files: dspmqtrc *.TRC *. Mqrc 2086: MQRC_UNKNOWN_OBJECT_Q_MGR.TRS What does the FDC contain? FDC File:Failure data capture. Mqrc 2043: MQRC_OBJECT_TYPE_ERROR. 1. Mqrc 2033: MQRC_NO_MSG_AVAILABLE.QMGR # End all tracing: endmqtrc -a # Format the trace files: dspmqtrc *.QMGR * Or start a high detail wrapping trace and limit the file size to 5MB : strmqtrc -l 5 -t all -t detail -m MY.What is the command that is used to provide authorization for the clients? Ans: setmqaut -m QMName -t queue -n Queuename -p GUEST +all What are the common errors u get in DQM? Explain how to resolve ? Ans: mqrc 2058: MQRC_Q_MGR_NAME_ERROR Mqrc 2059: MQRC_Q_MGR_NOT_AVAILABLE.If any S/W related error occurs this file will be created. Error logs. INTERVIEW QUESTIONS Tell me about self (or) take me through your resume? What are the different types of Logs? We have two types of logs. probid userid application name major error code minor error code problem civierty probtype process .in FDC we have prob-Id based on that we will find the solution in IBM Te ch notes. These must undergo forward recovery to ensure th at resources modified by them are unavailable until their INDOUBT status is reso lved. an error occurs. this is used assign permissions to the user SETMQAUT -M QMname -n objname -t objtype -p principle/-g group +all dmpmqaut -m qmname -n objectname -t objecttype -p user to display set of all use rs given permission on the object dspmqaut -----.QUEUE SYSTEM.e SYSTEM.administration task will be redused 2.QUEUE SYSTEM. The INFLIGHT count specifies the number that neither completed phase-1 of the co mmit process nor began the process of backing out. The value may be set from 100 through 999 999 999 Difference between Full & Partial Repository? Full repository: This will contains all the information of Cluster QMgrs and oth er objects. Difference between Receiver & Requester channel? requester and reciver are same except that the reuqesters can starts the sender from requester side.CLUSTER. and Ip address That are mentioned in the Rece iver channel What is the backup Queue of the QMGR? Dead letter queue How you set Authentication? Using SETMQAUT.REPOSITORY. in that all the cluster i nfo will stored What does contain in Auto define channel? It contains channel name.work load balancing 3.to display set of all the permission for the user on the object Will you give permission only for USER or GROUP.REPOSITORY.QUEUE.Channel in doubt and in flight state? The INDOUBT count specifies the number that were interrupted between phase-1 and phase-2 of the commit process.CLUSTER. These must undergo backward r ecovery to restore resources modified by them to their previous consistent state Sequence number wrap? This is the highest number the message sequence number reaches before it restart s at 1.if asign permissions to group that are assign all the user who are under that group. Why do we go clustering? we have so many advantages using cluster 1.CLUSTER. Partial repository: This will Contains the information of that particular Qmgr a nd Other instances for communication. Where do we find the cluster information? We have one Queue i. The two ends of a channel mus t have the same sequence number wrap value when a channel starts up.increase resource utilization 4.high availability Components of the cluster? Clussend and clusrcvr channels SYSTEM.COMMAND.QUEUE (Please do not disable the put or get attribute on cluster) Which types of Logs are using in your Organization? Depending upon client requirement we are using both linear and circular loggings How you check the Status of the Queue? . otherwise.TANSMISSION. The value of the number should be high enough to avoid a number being reissued w hile it is still being used by an earlier message. port No.CLUSTER. if GROUP why? We can assign permissions to user and if you want assign permissions to group al so. . remote and cluster queue s.install v./mqlicense. V6 & V7? Differences between persistent and non persistent messages? 1. 2.verbose h. Types of tickets? . used for follow the naming conventions. 3. based on the receiver channel attrib utes only the sdr channel will generated How can you install all the Packages in Linux at a time? rpm -ivh name of the packages with spaces Tell me the process of installation on Windows and Linux? on linux df -k df -h to check the disk space rpm (redhat package manager) Create mqm userid and make mqm as its primary group. if any problem occurs those are discarde d. minor error and so on. Hide the details of reference queue to clients.dis qs(qname) type(handle) Default path of the Error logs & Transaction Logs? In windows:\Program files\IBM/Web spear MQ\Log\ Qmgrs\active C:\Program file\IBM\Web spear MQ\Qmgrs\QMname\Errors In Unix:/var/mqm/log/Qmgrs/active /var/mqm/Qmgrs/Qmname/errors What is the use of PROBID in Fdc? Using ProbID: we can find the solution in IBM info center.if any problem occur Those are placed in Xmitq or in DLQ. you need to add repos keyword to Qm. Difference stopping status of QMGRs? End immediately. ended normally How do you enable the Trigger? we need to set some properties on queue s Trigger on Trigtype (First/every/depth) Trigdepth Trigdata(chalname) initq() Which types of tickets do you mostly resolved? instant tickets How to Suspend a Qmgr from the cluster? Suspend qmgr cluster (clusname) How to add existing Qmgr into the cluster? If you add it as full repository. Provide different levels of access. add cluster attributes to other objects If you want to add it as partial repository. the advantage of alias queue is 1.to accept the license then run the commands to install all the packages required. at any cost those must be deliver to destinatio n QM. If before anybody fac e that problem. Why do we give Conname at Receiver Channel side in Cluster? In cluster sdr channels are auto generated. rpm -ivh packagename rpm -ivh ( i. Nonpersistent msg s are not important. major error.sh -accept --. Difference between V5. Persistent msg s are important. create clusrcvr channel to that QM and a clussdr to a queue manager in full repository and set cluster attribute to objects What is the use of alias queue? This queue is act as reference queue to local. otherwise we will rise PMR(problem management report) and it wil l contains Application name. 2. End abnormally. and creat e one clussdr and clusrcvr channels. the installation directory for mqm are opt/mqm the working data is stored in var/mqm .hash format) to check the packages installed rpm -qa ! grep mq ps -ef ! grep mq to end all the processes. you must .ini file is used to locate the data associated with each queue manager How do you configure the Qmgr before you install fix pack? Difference between upgradation and migration? ---->An "upgrade" generally refers to an enhanced version of the software ---->if you migrate from a previous version of WebSphere MQ for Linux. Take the back up of qmanager using save queue manager 4. contains information relevant to a s pecific queue manager. The qm. Recreate it with linear logging 6. mqs. First stop the channels 2.REPOS(). 3.ini. How do you convert linear to circular? we don t have that type of operation if you want to change. user is not a member of mqm group.ini and mqs.MQCONNX 2. 2053. Recreate all the queue definitions and give the permission to the queues How many applications connect to your current project? Display conn(*) Reason codes for 2033. contains information relevant to al l the queue managers on a WebSphere MQ installation. Instant tickets 2.ini file? A queue manager configuration file. How do you connect MQ Client to MQ Server? we have three types options for connecting client to server 1.ini file is automatically created when the queue manager wit h which it is associated is created. Delete the Qmgr 5.ini file. the mqs.Clientchannel tab Qmgr attributes? dEADQ.MAXHANDS(). 2085.MAXPRTY() What is listener and port? Listener is a program running continuously listening for request msg from sdr Port:unique entry point for a QManager Where the configuration information stores on Linux and windows? in windows it is stored at registry. 2537 2033: Msg not available 2053: Q full 2085: unknown obj name 2035: Not authorized 2537: channel not available 2016 (07E0) (RC2016): MQRC_GET_INHIBITED 2030 (07EE) (RC2030): MQRC_MSG_TOO_BIG_FOR_Q 2031 (07EF) (RC2031): MQRC_MSG_TOO_BIG_FOR_Q_MGR 2042 (07FA) (RC2042): MQRC_OBJECT_IN_USE 2051 (0803) (RC2051): MQRC_PUT_INHIBITED 2057 (0809) (RC2057): MQRC_Q_TYPE_ERROR 2058 (080A) (RC2058): MQRC_Q_MGR_NAME_ERROR 2059 (080B) (RC2059): MQRC_Q_MGR_NOT_AVAILABLE What are the errors we can get at the time of installation? 1. Some mq series processes are running while installing. Change order tickets How many Qmgrs are in your current project? Nearly 400.1.MQSERVER 3.CLWLUSEQ(). 2. It is created automatically during installation.ini. in linux it is stored in mqs. 1.REPOSNL(). The WebSphere® MQ configuration file. There is one queue manager configuration file for each qu eue manager. In particular. What is the difference between qm. Stop the Qmgr 3. qm. 2035. . Which ticketing tool you are using? BMC REMEDY.batchhb(). How many channels we can create in Distribution Queuing for a Qmgr? One sender and receiver channel If you create 100 channels for a Qmgr How can you create 101 Channel? Normal way like:Define chl(chlname) chltype(type) conname(Ip&port) How many years of experience you have? 3. sametime Microsoft outlook.maxmsgl(). System administration requirements are reduced.xmitq() conname() rqmname() Different status of channel? initializing.running. .RADIX.uninstall your current version before installing WebSphere MQ Version Which tool you use to connect with Linux and mainframes? putty to connect to linux. . Have you ever raised change order? no . Hardware requirements on the client system are reduced. Q pasa.3 YEARS Are you supporting for L2 or L3? l2 Who is your Vendor? wipro Who is your Client? Carrefour Project name? Infrastructure engineering services. Application running on a client can connect to multiple queue managers on diff erent systems. BMC Main View Your monitoring and ticketing tools belong to? BMC Your mail server and chat server? lOTUSNODES. Why do we go for MQ Client? .retrying. all the members who are involved in the current project How do you escalate the ticket to L3? Have you ever raised any tickets so far? yes. office communicator At which location your L3 team will be? Client location How can you recover the damaged object and its syntax? using media recovery we can recreate damaged objects rcrmqobj -m Qmname -t objtype -n objname Channel attributes? chltype(). application team. .binding.inactive.paused Are you supporting for 24*7 or on-call? i have supported on-call . OPEN HP view Which monitoring tool you are using? OMEGAMON XE .discint().stopped. Alternative channels using different transmission protocols can be used . Reduce the burden on other clients In your company which Client-Server architecture is using? Do you raise any PMR so far? i have never raised PMR(problem management record) Who send the tickets to you? users.trptype(). No need for a full WebSphere MQ implementation on the client machine. telnet or ssh to connect to mainframes. Difference between Dead-Letter Header and Handler? if msg a are come to DLQ.CLUSTER..QUEUE SYSTEM. Sender 2. ping and tracert? ping is used to check the status of remote channel.requster Default objects in Cluster? SYSTEM.QUEUE SYSTEM. telnet is used for remote access of another system.QUEUE Queues and channels.COMMAND.it contains reason for failure. How can you check the listener port is running from your desktop? NETSTAT -a What is the use of telnet. Cluster sender 4. destination queue and QM details such type of info n using dead letter handler you pick the msg s from DLQ placed it in destination que ue What is sync point? This is nothing but unit of work in two phase commit Tell me something about unit of work? the period of updates between two sync points is called unit of work. those are bi-directional Types: server connection channel Client connection channel MSG channels are uni-directional. and used between QM 1. QM will add dead letter header to msg.CLUSTER.secondary:253 linux:primary files:510. Do you run the runmqdlq program every time? Depending upon the messages those are coming to the DLQ.Which flavor you are using on Linux? Red hat Differences between MQI and MSG Channels? MQI channels are used between MQ client and MQ sever. Where the latest information stores in error logs and why? In the first file.CLUSTER.secondary:509 Explain the concept of cluster workload balance? What are the attributes of workload balance? Defbind(notfixed) . Receiver 3. $ kill -9 Pid -------------to kill particular process. Client 7. Can you increase the no.. How can you connect to remote server from your desktop? Using MSTSC How many primary and secondary logs we can create on windows & Linux (Max)? windows:primary file:254 . it shows path taken to reach a particular destination over a network.server 6. of error logs? no What is the command to check the disk space on Linux? df -k df -h Which command we use to check the installed packages on Linux? rpm -qa | grep mq Command to kill the process on Linux? $ ps ux ----------to list all the processes.TRANSMISSION. Can you change the log file size? No.cluster rceiver 5.REPOSITORY. x-86 201 mb iseries -183 What is the difference between Control & Runmqsc Commands? RUNMQSC commands are used with in Qm for creating Qm objects and altering QMGR. Hardware requirements----disk space 2.copy the data and log files from your primary queue manager over the backup qu eue manager's data and logs . CONTROL commands are used for creating starting and running QM. Software requirements----o/s specifications Explain the process migration? Have you ever done migration and how? How can we take the Qmgr backup? .flag backup qmgr as a backup and replay log extents (strmqm -r) .txt Error log file name? error log file name is:AMQERR01.periodically copy over the log files prior to the CURRLOG value from the queue manager saveqmgr -m MQ_BACKUP -r MQ_C1_01 -f MQ_C1_01.AMQERR02.AMQERR03 What is the use of client channel tables? Using client channel table we can connect with different QM s and different client s will connect to single QM How many max channels can connect to a Qmgr? The default for maximum channels is 100 for qmgr.provide channel name What does initiation queue contain? This will contains trigger massage generated by QM How can we check whether the Qmgr contain Dead-latter queue or not? DIS QMGR DEADQ(*) How many servers. Which programs you use for running the trigger monitor when you use your own ini tiation queue?(in application and channel triggering) In application triggering we are using RUNMQTRM in channel RUNMQCHI INITQ() What is the default size of /var /mqm and /opt /mqm? Allow 130 MB as a minimum for a WebSphere MQ server and 15 MB as a minimum for a WebSphere MQ client.create the backup queue manager . 400 qmgrs..put() clwluseq(local/any/QMGR) clwlrank(0-9) clwlprty(0-9) clwlwght() clwlmruse() Explain client-server architecture? What are the pre-requisites for MQ before install? 1. How can you find the max channels are connected to a Qmgr? dis qmstatus conns Channel components? chltype() conname() trptype() xmitq() batchsz() hbint() What is the use of trig data in channel? which chnnel you want to up at trigger event fired. In Cluster for Round-Robin process defbind (open) what is happen? if you set defbind open. Qmgrs in your environment? 100 servers. and for set auth entication .. all msg s are placed where the first msg is place Explain the distributed queuing setup? What is meant by distribution queuing? .ini. it can be set to higher in the qm. 1. Why we go for clustering? 1. if other side receiver channel is not defined 2.it will store error information the file.secret keys Asymmetric key----------public private key pairs What is the command to see the authentications? DSPMQAUT: It will display the authenticated users What may be reasons for getting channel is in retrying state? 1.of qmgr objects .MODELS.less no of qm objects like rqd.simplifying system administration 2.DEFAULT. an https connector Which key u r using in SSL? symmetric key--.ALIAS.DEFAULT.QUEUE 3.authantication 2.QUEUE 2.integrity to install and configure ssl we need 1.e 2016=MQRC_GET_INHIBITED. tran smission ques and sender. may channel was not started 3. in clustering we can logically connect queue managers with the creation of less no. i.Mag s length is exceeded What happen to messages (persistence& non persistence) if destination queue is f ull if there is no dead letter queue? PERSISTENT: if queue is full. reciever channels for every remote queue manager. What are the reasons for getting messages in dead letter queue? 1.SYSTEM. channels.QUEUE 4. msg are coming back to xmitq and channel will be g oing to retrying state.confidentiality 3. Queue put inhibited.How to take backup of massages from queue? .can we take the backup from XMIT queue massages? when you are trying to get the backup of xmit queue massages.LOCAL.but XMITQ name should be rem ote Queue manager name. 122.QUEUE 5.work load management 3. ssl address following important security considerations.DEFAULT.if queue is full 2.DEFAULT. a server certificate key store.can we define remote queue defination without XMITQ? is it working? we can define remote queue defination without XMITQ. 2.INITIATIONS.SYSTEM. NON-PERSISTENT: That type of msg s are discarded. 3. What is channel state in above case? retrying Tel me some system default queues? 1.QUEUE 121.. Tel me prerequisites for MQ admin? R u configured SSL setup? yes.What is difference between distribution and clustering? in distributions queing we have to create more no of objects like remoteqs. 4.SYSTEM.REMOTE.SYSTEM.SYSTEM.DEFAULT. 121.high availability In cluster we have 4 Qmgrs and having same instance in all Qmgrs I have to send messages to a particular Qmgr then how u configure? assign clwlrank and clwlprty for particular queue. how to increase no.amqbcg Qname QMname > E:/mq 123. of primary and secondary log files size? Go to registry edit.in that only you can change the number of primary and second ary files. .after changing the number .when the default primary files are full than only other files are come into picture.imediatlly those are not effected.
Copyright © 2024 DOKUMEN.SITE Inc.