Skip to main content

Removing IBM Websphere broker services on AIX, Linux, Solaris - Middleware News


Removing IBM Websphere broker services on AIX, Linux, Solaris

In some situations, you may want to remove broker services from a server where you install IBM® WebSphere® MQ and WebSphere Event Broker. Removing broker services involves deleting the queue manager, the configuration manager, the broker itself, and the database tables used for storing associated information.

Before you begin

There are several situations in which you may want to remove the broker services from a Linux® deployment; for example:
  • When you want to replace the WebSphere Event Broker configuration (possibly to use different ports for the listeners)
  • When you are uninstalling WebSphere MQ and WebSphere Event Broker, and you want to be sure you are leaving a clean configuration

Procedure

  1. Log on to the server hosting WebSphere MQ and WebSphere Event Broker as root.
  2. Remove the broker services as follows:
    1. Open the Message Broker Command Console..
    2. Navigate to the directory where you installed WebSphere Event Broker.
    3. Stop the message broker with the following command:
      su - mqsi -c "mqsistop broker_name"
      For example:
      su - mqsi -c "mqsistop BRKR_SCCS"
    4. Delete the message broker with the following command:
      mqsideletebroker broker_name
      For example:
      mqsideletebroker BRKR_SCCS
    5. Stop the configuration manager with the following command:
      su - mqsi -c "mqsistop config_manager_name"
      For example:
      su - mqsi -c "mqsistop CMGR_SCCS"
    6. Now delete the configuration manager with the following command:
      mqsideleteconfigmgr config_manager_name -n
      For example:
      mqsideleteconfigmgr CMGR_SCCS -n
      You will see a confirmation:
      BIP8071I: Successful command completion. 
      You can verify that the broker has been removed by ensuring that it no longer appears in the results when you run the following command:
      mqsilist
  3. Remove the queue manager as follows:
    1. Open a terminal and navigate to the root of the WebSphere MQ installation.
    1. Stop the queue manager with the following command:
      su - mqsi -c 
        "/opt/mqm/bin/endmqm queue_manager_name"
      For example,
      su - mqsi -c 
        "/opt/mqm/bin/endmqm sccs.queue.manager"
      You will see a confirmation message:
      Quiesce request accepted. 
      The queue manager will stop when all outstanding work is complete.
    2. Delete the queue manager with the following command:
      dltmqm queue_name
      For example:
      dltmqm sccs.queue.manager
      You will see a confirmation message:
      WebSphere MQ queue manager 'sccs.queue.manager' deleted.
  4. Still on the same server, remove the data source for WebSphere Event Broker as follows:
    1. Open the ODBC Tool by clicking Start > Programs > Administrative Tools > DataSources (ODBC).
    2. Click the System DSN - System Data Sources tab.
    3. Select the datasource that you created for WebSphere Event Broker, and then click Remove.
  5. On the IBM DB2® server, open a DB2 Command Window and drop the database that stores WebSphere Event Broker data.
    Note: Make sure the database is not in use; all users must be disconnected from the database before the database can be dropped.
    For example, if your database is called BRKRDB:
    DB2 DROP DATABASE BRKRDB

Comments

adsrerrapop

Popular posts from this blog

Troubleshooting Java/JMS SSL Configurations - Middleware News

 This document is intended to help diagnose WebSphere MQ V7 Java™ or JMS SSL setup errors. It lists most of the common configuration errors that can cause an SSL connection from a Java/JMS client to a queue manager to fail, and gives the course of action to resolve the problem. In each case the error can be diagnosed by a combination of the error seen in the client log - either a console output, trace file or SystemOut.log file - and the queue manager's error logs. The document is quite long, so the easiest way to find the potential error is to search for one of the errors seen in this list, then filter this list using the error from the opposite end of the channel. All cases here assume that 2-way authentication is being attempted (SSLCAUTH set to REQUIRED on the queue manager's SVRCONN channel). This is the default, and the errors are very similar for 1-way authentication (SSLCAUTH set to OPTIONAL). Symptom Instructions on collecting documentation...

Using telnet to test connectivity between IBM Websphere MQ Client and MQ server - Middleware News

You are having trouble connecting a WebSphere MQ client to a MQ server, receiving errors that you can not connect to the MQ queue manager. One of the first things to determine is if the two machines can communicate, and using the telnet tool is one way to accomplish it. Symptom Receiving errors which state that a queue manager is not found or not available. Connection errors. For example: AMQ9213, AMQ9524, AMQ9202 or AMQ9508 or MQRC =2059 0x0000080b MQRC_Q_MGR_NOT_AVAILABLE. Please note, this is by no means an exclusive list of errors related to this type a problem but just a sample of some of the more common error messages and codes that might occur. Cause One possible cause is that the two machines can not communicate. May be the IP address or hostname was not properly specified by the MQ client. The port number might be incorrect. A queue manager is not running at the desired host. The queue manager could be running, but the corresponding listener is not runnin...

IBM Websphere MQ interview Questions Part 5

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\BM\clipse\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 maintains all the objects and services. QUEUE: – it is a database structure ...