MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  MQ -Openshift- Linear Logging

    Posted 07/26/22 10:07 AM
    Team,
    I was in a discussion recreate lost or damaged data by replaying the contents of the log of MQ objects which is only possible if the Queue manager is configured with Logging type as Linear logging

    I couldn't able to locate opting Logging type as Linear while deploying MQ on OCP.  Do we have an option how we can deploy an IBM MQ Queue Manager with Logging type as Linear logging on OpenShift Container Platform (OCP)? 

    ------------------------------
    Srikanth Nandala
    ------------------------------


  • 2.  RE: MQ -Openshift- Linear Logging

    Posted 08/02/22 11:46 AM
    Hi there, Srikanth. I'm looking into this for you! Sit tight and someone will respond here.

    ------------------------------
    Jina K
    ------------------------------



  • 3.  RE: MQ -Openshift- Linear Logging

    Posted 08/02/22 12:33 PM

    Thank you, Jina for looking into, I was able to create Queue manager with circular login and then able to migrate the Logging type as Linear logging.

    Just wondering to know if there is any option in Openshift that Queue manager can be created with Linear Logging,?  



    ------------------------------
    Srikanth Nandala
    ------------------------------



  • 4.  RE: MQ -Openshift- Linear Logging

    Posted 08/04/22 06:15 AM
    Did you migrate the logs with the migmqlog command? or did you simply edit the MQ configuration ?
    If the latter then MQ will have ignored the change, the logging type is embedded in the recovery logs themselves and can only be changed after QM creation by migrating the recovery logs with migmqlog.

    ------------------------------
    Andrew Hickson
    ------------------------------



  • 5.  RE: MQ -Openshift- Linear Logging

    Posted 08/04/22 07:43 AM

    Hello Andrew,

    Log conversion was done using migmqlog command, I understood OCP design perspective, it is not possible to set up a Queue manager with Linear logging by default it allows a Circular type, apparently logging type conversion for a queue manager is possible only after the Queue manager creation. 



    ------------------------------
    Srikanth Nandala
    ------------------------------



  • 6.  RE: MQ -Openshift- Linear Logging

    Posted 08/04/22 08:28 AM
    It's very hard to believe that IBM intended this, migmqlog is quite a new concept and I'd speculate that IBM didn't consider the migration of a circular logging queue manager to linear at the time OCP support was announced (around the same time that miqmqlog was added).
    I'm unaware of any reason it shouldn't work, but I'd be surprised if it has been tested within IBM.
    I assume you would plan to use the built in scheduling of media images and automatic management of the linear log extents (both non-default for historical reasons).

    ------------------------------
    Andrew Hickson
    ------------------------------



  • 7.  RE: MQ -Openshift- Linear Logging
    Best Answer

    Posted 08/04/22 09:44 AM
    Hi Srikanth,

    unfortunately, you can't choose linear logging at creation time.

    ------------------------------
    Salvatore Matrone
    ------------------------------