Skip to main content

Collecting data on the command line: IBM WebSphere DataPower SOA Appliances problem determination - Middleware News

The following information describes the basic documentation needed by IBM support to investigate questions or problems when using IBM WebSphere DataPower SOA Appliances:
  • WebSphere DataPower Integration Appliance XI50
  • WebSphere DataPower XML Security Gateway XS40
  • WebSphere DataPower XML Accelerator XA35.

Section 1: Resolving or Collecting information on this problem:


When you log into the appliance, you will see information similar to the following:

    Welcome to DataPower XI50 console configuration.
    (C) 2000-2006 by DataPower Technology, Inc.

    Version: XI50.3.5.1.0 build 130692 on 2006/06/12 13:09:38
    Serial number: xxxxx xxxxx

    xi50#


This will allow you to get the model number, firmware number, and serial number.

If you are already logged into the appliance, show version will give:

xi50# show version
          version: XI50.3.5.1.0
            build: 130692
       build date: 2006/06/12 13:09:38
   watchdog build: XI50.3.5.1.0
   installed DPOS: XI50.3.5.1.0
     running DPOS: XI50.3.5.1.0
       MQ library: 6.0.0-0
      TAM library: 4.1
   Coproc library: 1.2
Netegrity library: (not available)
     ODBC library: (not available)
Tibco EMS library: (not available)
           serial: xxxxx xxxxx
  XML accelerator: xg3

From this you can get the model and firmware version number (both from "version"). Then you can run show system to get the serial number.

xi50# show system
  description: DataPower XI50
serial number: xxxxx xxxxx
   product id: 9002-XI50-03 [Rev 04]
          OID: 1.3.6.1.4.1.14685.1.3
       uptime: 11 days 00:46:51
      contact:
         name:
     location:
     services: 72


Set the following trace and logging settings:

You will need to set the log level to debug for all message types so that the DataPower appliance will log everything. To set the log to debug:

1. Enter show logging target to see what the log is currently set to:
    xi50# show logging target

    logging target: default-log [up]
    ---------------------------
     admin-state enabled
     summary "Default System Log"
     type file
     format text
     timestamp sysloghe
     size 500
     local-file logtemp:///default-log
     archive-mode rotate
     rotate 3
     ansi-color off
     local-address
     facility user
     Signing Mode off
     Encryption Mode off
     event all error
     event mgmt notice


    The last two lines show the types of events and logging levels. You want one of the lines to say "event all debug".
2. Go to config mode to change the logging level:
    xi50# config
    Global configuration mode
3. Use the logging event command to change what gets logged. The syntax is:  logging event all debug.
    xi50(config)# logging event default-log all debug

4. Repeat the show logging target command to see that the logging level is now debug.
    xi50(config)# show logging target

    logging target: default-log [up]
    ---------------------------
     admin-state enabled
     summary "Default System Log"
     type file
     format text
     timestamp syslog
     size 500
     local-file logtemp:///default-log
     archive-mode rotate
     rotate 3
     ansi-color off
     local-address
     facility user
     Signing Mode off
     Encryption Mode off
     event mgmt notice
     event all debug

Recreate the problem.

Collect these files:

1. Save the error report by typing save error-report.
    xi50(config)# save error-report
    Error report written to temporary:///error-report.txt
2. Make a note of the error report directory, in this case temporary:///

3. Type show file to make sure it's there. (You'll see a lot of text, the contents of the file.)

    xi50(config)# show file temporary:///error-report.txt

4. Still in config mode, type backup all.zip to create an export of the configurations for all domains on the appliance:

    xi50(config)# backup all.zip
      Backup to all.zip scheduled (may take a few minutes to complete)
    By default, the file is created in export:///.

5. Type dir export:/// to make sure it's there.
    xi50(config)# dir export:///

    File Name              Last Modified              Size
    ---------              -------------              ----
    querystrings/          Mon Jul 10 09:08:09 2006   1024
    Basics/                Fri Jul 14 13:58:27 2006   1024
    all.zip                Fri Jul 21 10:26:49 2006   1217533

6. Make a note of the all.zip file's location.

7. Note locations for any other relevant files, such as input files, .wsdl files, etc., or any file specifically requested by DataPower support.

8. Download the error report, the backup file, and any other relevant documents from the DataPower appliance. Use the copy command with the scp or sftp protocol. This is much easier if you can transfer the files to a UNIX machine; Windows machines do not come with scp/sftp servers by default.

N ote: scp URLs are implicitly rooted in your home directory. So if the file is actually on host xx.xx.xx.xx, in /home/jdoe/foo.txt, the scp description would be:
    scp://jdoeslogin@xx.xx.xx.xx/bar.txt

and not
    scp://joeslogin@xx.xx.xx.xx/home/jdoe/foo.txt

Section 2. Preparing to contact IBM Support
  1. Obtain the serial number of the appliance which experienced the problem. This is need for IBM entitlement processing, before a PMR can be created. Use the WebGUI, select Status > System > Version Information, locate tag on the case of the appliance, or from the CLI use Show System
  2. Locate the firmware version of the appliance. Use the WebGUI, select Status > System > Version Information or from the CLI use Show Version
  3. Have your IBM customer number ready.
  4. Determine the severity of your problem based on the Severity Levels table found in the following technote: "WebSphere DataPower Extended Maintenance and Support Services".
  5. Prepare to describe how the problem affects your business operations.
  6. Determine which telephone number IBM should use to contact you concerning this problem report.


Section 3. Contacting IBM Support and sending your MustGather information to IBM Support
  1. Reference our technote for information on Contacting IBM WebSphere DataPower SOA Appliance Support.
  2. After you have contacted IBM Support, a PMR number will be assigned. Create a zip file of the MustGather information:
    • A text file which contains: the questions and answers to any of the MustGather steps, elaboration on the problem, list of steps to recreate, notation on specific errors, and description external events noted at the time of the error.
    • WebGui Screen Captures
    • CLI command output results
    • An error report at the time of the error as described in section 1.
  3. Rename the zip file and send to IBM as noted in Exchanging information with IBM WebSphere DataPower Technical Support for problem determination.
  4. Do not send any proprietary or confidential information from your company.

Comments

adsrerrapop

Popular posts from this blog

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

IBM Websphere MQ Reason code list / mq reason codes / websphere mq error codes / mq error messages

Reason code list ================= The following is a list of reason codes, in numeric order, providing detailed information to help you understand them, including: * An explanation of the circumstances that have caused the code to be raised * The associated completion code * Suggested programmer actions in response to the code * 0 (0000) (RC0): MQRC_NONE * 900 (0384) (RC900): MQRC_APPL_FIRST * 999 (03E7) (RC999): MQRC_APPL_LAST * 2001 (07D1) (RC2001): MQRC_ALIAS_BASE_Q_TYPE_ERROR * 2002 (07D2) (RC2002): MQRC_ALREADY_CONNECTED * 2003 (07D3) (RC2003): MQRC_BACKED_OUT * 2004 (07D4) (RC2004): MQRC_BUFFER_ERROR * 2005 (07D5) (RC2005): MQRC_BUFFER_LENGTH_ERROR * 2006 (07D6) (RC2006): MQRC_CHAR_ATTR_LENGTH_ERROR * 2007 (07D7) (RC2007): MQRC_CHAR_ATTRS_ERROR * 2008 (07D8) (RC2008): MQRC_CHAR_ATTRS_TOO_SHORT * 2009 (07D9) (RC2009): MQRC_CONNECTION_BROKEN * 2010 (07DA) (RC2010): MQRC_DATA_LENGTH_ERROR * 2011 (07DB) (RC2011): MQRC_DYNAMIC_Q_NAME_ERROR * 2012 (07DC) (RC201

IBM WebSphere MQ – Common install/uninstall issues for MQ Version on Windows - Middleware News

Creating a log file when you install or uninstall WebSphere MQ WebSphere MQ for Windows is installed using the Microsoft Installer (MSI). If you install the MQ server or client through launchpad , MQPARMS or setup.exe , then a log file is automatically generated in %temp% during installation. Alternatively you can supply parameters on the installation MSI command msiexec to generate a log file, or enable MSI logging system-wide (which generates MSI logs for all install and uninstall operations). If you uninstall through the Windows Add/Remove programs option, no log file is generated. You should either uninstall from the MSI command line and supply parameters to generate a log file, or enable MSI logging system-wide (which generates MSI logs for all install and uninstall operations). For details on how to enable MSI logging, see the following article in the WebSphere MQ product documentation: Advanced installation using msiexec For details on how to enable system-w