Re: AS400 Queue Manager Recognition

2004-04-06 Thread David George
Chad,

I use the IFS. But you will need a HLL program inside your CLP to do the leg
work.
I used RPGLE to use the UNIX/POSIX APIs to open and read file
'/qibm/userdata/mqm/mqs.ini', look for the "QueueManager:" stanza, and from
within there look for the "Library=" string. Extract the library name from
the string and pass it to your journal handler.
If you need to assess what its run status is, you will also need to extract
the value from "Directory=" from within the queue manager data. Then you can
construct the path, open and read file
"/qibm/userdata/mqm/qmgrs/YOUR_DIRECTORY/qmstatus.ini". In there you will be
looking for values:
QueueManagerStatus:
  CurrentStatus=Running
  CmdSvrStatus=Ended
or whatever you will want to test for.

Mark Phillips has already written the command set to clean the journals, so
take a look at
http://www-106.ibm.com/developerworks/websphere/library/techarticles/0308_phillips/phillips.html
before you get too bogged down in your own code.
If you need examples on using UNIX/POSIX APIs consult the "Sorcerers Guide".
http://www.redbooks.ibm.com/redbooks/pdfs/sg245402.pdf
Hope this helps.

Dave George




From: Rick Tsujimoto <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: AS400 Queue Manager Recognition
Date: Mon, 5 Apr 2004 20:00:24 -0400
Chad,

I have very little experience on the AS/400, but you might be able to "see"
the defined queue managers by examining the IFS.


  "Chad P. Little"
  <[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
  .COM>cc:
  Sent by: Subject: AS400 Queue
Manager Recognition
  MQSeries List
  <[EMAIL PROTECTED]
  en.AC.AT>
  04/05/2004 02:29
  PM
  Please respond
  to MQSeries List




I am attempting to create a generic CL program for journal receiver
maintenance
to use on multiple servers. To pass the appropriate parameters to commands,
I
need to determine all queue manager names currently in RUNNING (ACTIVE)
state on
the server and their queue manager library names. I have yet to determine
how to
capture those values within a CL program. Any help is greatly appreciated.
Thanks.
Chad
This transmission is intended only for use by the intended recipient(s). If
you
are not an intended recipient you should not read, disclose, copy,
circulate or
in any other way use the information contained in this transmission. The
information contained in this transmission may be confidential and/or
privileged. If you have received this transmission in error, please notify
the
sender immediately and delete this transmission including any attachments.
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_
Sign-up for a FREE BT Broadband connection today!
http://www.msn.co.uk/specials/btbroadband
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: AS400 Queue Manager Recognition

2004-04-06 Thread Lynn Nelson
Hi Chad,

I have used the IFS to determine all the queue managers on the system,
however this method will return all of them, both active and inactive.  I
use the CVTIFS command (which is a TAATOOL utility you may or may not have)
to convert the QMGRS folder to a file and then process the file (skipping
records for "&SYSTEM", etc.).

Once you have the name of the QMgr you can probably determine if it is
active by doing a DSPMQM for it and monitoring for an error indicating that
the QMgr is not active.

If you have TAATOOL and you're interested in the CL source program that
determines all QMgrs, let me know.

Another option, which can determine if a QMgr is active or not, is to use
the QMgr's qmstatus.ini file.  The QueueManagerStatus stanza shows the
current status.  However, I don't think you can do that easily with a CL
program.  It would be simpler with a high-level language.

Lynn


-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Chad P.
Little
Sent: Monday, April 05, 2004 2:29 PM
To: [EMAIL PROTECTED]
Subject: AS400 Queue Manager Recognition


I am attempting to create a generic CL program for journal receiver
maintenance
to use on multiple servers. To pass the appropriate parameters to commands,
I
need to determine all queue manager names currently in RUNNING (ACTIVE)
state on
the server and their queue manager library names. I have yet to determine
how to
capture those values within a CL program. Any help is greatly appreciated.

Thanks.
Chad

This transmission is intended only for use by the intended recipient(s). If
you
are not an intended recipient you should not read, disclose, copy, circulate
or
in any other way use the information contained in this transmission. The
information contained in this transmission may be confidential and/or
privileged. If you have received this transmission in error, please notify
the
sender immediately and delete this transmission including any attachments.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Webshere Integrator V2.1 and Oracle 9i

2004-04-06 Thread Dennis Bryngelson
Is there any compatibility issues with running Webshere Integrator V2.1 and
Oracle 9i on Solaris 8 or 9 that anyone is aware of ?

Thanks,
Dennis Bryngelson
Phone: (763) 765-4224
Fax: (763)  765-3820
mailto:[EMAIL PROTECTED]




*
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the 
exclusive use of addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, disclosure, 
dissemination or distribution is strictly prohibited.  If you are not the intended 
recipient, please notify the sender immediately by return e-mail, delete this 
communication and destroy all copies.
*

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: AS400 Queue Manager Recognition

2004-04-06 Thread Chad P. Little
Lynn, David, and Rick-

Thanks for your responses.  Your comments were exactly what I was looking for.

Chad



  Lynn Nelson
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]
  .COM>cc:
  Sent by: MQSeriesSubject:  Re: AS400 Queue Manager 
Recognition
  List
  <[EMAIL PROTECTED]
  n.AC.AT>


  04/06/2004 08:20
  Please respond to
  lynn.nelson






Hi Chad,

I have used the IFS to determine all the queue managers on the system,
however this method will return all of them, both active and inactive.  I
use the CVTIFS command (which is a TAATOOL utility you may or may not have)
to convert the QMGRS folder to a file and then process the file (skipping
records for "&SYSTEM", etc.).

Once you have the name of the QMgr you can probably determine if it is
active by doing a DSPMQM for it and monitoring for an error indicating that
the QMgr is not active.

If you have TAATOOL and you're interested in the CL source program that
determines all QMgrs, let me know.

Another option, which can determine if a QMgr is active or not, is to use
the QMgr's qmstatus.ini file.  The QueueManagerStatus stanza shows the
current status.  However, I don't think you can do that easily with a CL
program.  It would be simpler with a high-level language.

Lynn


-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Chad P.
Little
Sent: Monday, April 05, 2004 2:29 PM
To: [EMAIL PROTECTED]
Subject: AS400 Queue Manager Recognition


I am attempting to create a generic CL program for journal receiver
maintenance
to use on multiple servers. To pass the appropriate parameters to commands,
I
need to determine all queue manager names currently in RUNNING (ACTIVE)
state on
the server and their queue manager library names. I have yet to determine
how to
capture those values within a CL program. Any help is greatly appreciated.

Thanks.
Chad

This transmission is intended only for use by the intended recipient(s). If
you
are not an intended recipient you should not read, disclose, copy, circulate
or
in any other way use the information contained in this transmission. The
information contained in this transmission may be confidential and/or
privileged. If you have received this transmission in error, please notify
the
sender immediately and delete this transmission including any attachments.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive






This transmission is intended only for use by the intended recipient(s). If you
are not an intended recipient you should not read, disclose, copy, circulate or
in any other way use the information contained in this transmission. The
information contained in this transmission may be confidential and/or
privileged. If you have received this transmission in error, please notify the
sender immediately and delete this transmission including any attachments.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Linear Logging

2004-04-06 Thread Ruzi R
Windows 2000  WMQ 5.3 (CSD 6). We have been using
Circular logging for the Test queue managers. To be
able to do a media recovery, I would like to use
Linear logging in Production.  However, my colleagues
are in favor of using Circular logging instead  as it
does not require any maintenance/backup. They say, if
an object is damaged they can re-create it manually.
They are willing to live with the damaged queue and
its contents by deleting and recreating the queue etc.



I would like to know from the real experiences of the
people using Linear logging:

1- The Admin book says  If you do not take regular
media images of the objects that you want to
re-create, you might have insufficient disk space to
hold all the log files required to re-create an
object.

How often do you take media images?

2-Is there a tool (preferably free)  out there that
could be used to retrieve  selected messages from the
log and put them onto a queue ? I think there are
some, but I don t remember the names.

3-How often do you clean-up the logs?  Of course, it
depends on the how fast the files are getting full.
But I just need some idea

4- Any complexities, problems etc with dealing with
Liner logging?

Thanks in advance,

Ruzi

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Beinert, William
I use linear logging in all my systems (Win & HP).
I probably don't need it, not having any long units of work in my applications, but 
I'm super conservative about such things.
I take a media image weekly, and clean up unneeded logs weekly.

There are scripts for Win & Unix to do these things as Support Packs, and have been 
distributed on this list. I'll send you copies of mine, if you want.

Bill Beinert
Systems Programming
Con Edison

When they took the fourth amendment,
   I was quiet because I didn't deal drugs!
When they took the sixth amendment,
   I was quiet because, I was innocent.
When they took the second amendment,
   I was quiet because I didn't own a gun!
Now they've taken the first amendment,
   and I can say (or do) nothing about it.
The Second Amendment is in place in case they ignore the others.
MODWN DAbE



-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Ruzi R
Sent: Tuesday, April 06, 2004 10:29 AM
To: [EMAIL PROTECTED]
Subject: Linear Logging


Windows 2000  WMQ 5.3 (CSD 6). We have been using
Circular logging for the Test queue managers. To be
able to do a media recovery, I would like to use
Linear logging in Production.  However, my colleagues
are in favor of using Circular logging instead  as it
does not require any maintenance/backup. They say, if
an object is damaged they can re-create it manually.
They are willing to live with the damaged queue and
its contents by deleting and recreating the queue etc.



I would like to know from the real experiences of the
people using Linear logging:

1- The Admin book says  If you do not take regular
media images of the objects that you want to
re-create, you might have insufficient disk space to
hold all the log files required to re-create an
object.

How often do you take media images?

2-Is there a tool (preferably free)  out there that
could be used to retrieve  selected messages from the
log and put them onto a queue ? I think there are
some, but I don t remember the names.

3-How often do you clean-up the logs?  Of course, it
depends on the how fast the files are getting full.
But I just need some idea

4- Any complexities, problems etc with dealing with
Liner logging?

Thanks in advance,

Ruzi

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


More "rebranding" nonsense

2004-04-06 Thread David C. Partridge
You remember that the suits re-branded good 'ole MQSeries and WMQI (WBIMB or
unofficially BIMBO).

Well, they've now re-branded WAS Enterprise as WBISF (WebSphere Business
Integration Server Foundation).

At this rate no-one will know what anything is called anymore (perhaps
that's the idea).

Dave

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Nick Beckson
Hi Ruzi,

Some considerations:

If somebody has accidentally deleted the queue then rcrmqobj is not going to
help you, as the object is not damage, it's just not there, which is what
rcrmqobj will tell you.

Another point to consider is that rcrmqobj will only recover a damaged
object to the current point in time, you can't tell it to stop at a
timestamp before current, the roll-forward, after the object has been
recreated, replays the Gets as well.

So if your application has gone south and you want to replace some messages
on a queue then once again rcrmqobj will not help as it will replay the
Gets, leaving the queue empty.

There are also some performance implications you should consider when using
Linear logging if your Disks are running at max.

And now the commercial: Cressida's ReQuest can perform the tasks you
require, although not completely free of charge.

cheers,

Nick

=
Nick Beckson
Country Manager Benelux Region.

Cressida Technology Ltd.
Tel:   +31 (0)416 340 447

Mob: +31 (0)6 53 20 29 29
Mail: [EMAIL PROTECTED]
Web: www.cressida.info
-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Ruzi R
Sent: dinsdag 6 april 2004 16:29
To: [EMAIL PROTECTED]
Subject: Linear Logging

Windows 2000  WMQ 5.3 (CSD 6). We have been using Circular logging for the
Test queue managers. To be able to do a media recovery, I would like to use
Linear logging in Production.  However, my colleagues are in favor of using
Circular logging instead  as it does not require any maintenance/backup.
They say, if an object is damaged they can re-create it manually.
They are willing to live with the damaged queue and its contents by deleting
and recreating the queue etc.



I would like to know from the real experiences of the people using Linear
logging:

1- The Admin book says  If you do not take regular media images of the
objects that you want to re-create, you might have insufficient disk space
to hold all the log files required to re-create an object.

How often do you take media images?

2-Is there a tool (preferably free)  out there that could be used to
retrieve  selected messages from the log and put them onto a queue ? I think
there are some, but I don t remember the names.

3-How often do you clean-up the logs?  Of course, it depends on the how fast
the files are getting full.
But I just need some idea

4- Any complexities, problems etc with dealing with Liner logging?

Thanks in advance,

Ruzi

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Ruzi R
Bill,

Thanks for the response. I have just downloaded and
tested MS0L actually. What do you use for clean-up --
MS62?

Ruzi

--- "Beinert, William" <[EMAIL PROTECTED]> wrote:
> I use linear logging in all my systems (Win & HP).
> I probably don't need it, not having any long units
> of work in my applications, but I'm super
> conservative about such things.
> I take a media image weekly, and clean up unneeded
> logs weekly.
>
> There are scripts for Win & Unix to do these things
> as Support Packs, and have been distributed on this
> list. I'll send you copies of mine, if you want.
>
> Bill Beinert
> Systems Programming
> Con Edison
>
> When they took the fourth amendment,
>I was quiet because I didn't deal drugs!
> When they took the sixth amendment,
>I was quiet because, I was innocent.
> When they took the second amendment,
>I was quiet because I didn't own a gun!
> Now they've taken the first amendment,
>and I can say (or do) nothing about it.
> The Second Amendment is in place in case they ignore
> the others.
> MODWN DAbE
>
>
>
> -Original Message-
> From: MQSeries List
> [mailto:[EMAIL PROTECTED] Behalf Of Ruzi R
> Sent: Tuesday, April 06, 2004 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: Linear Logging
>
>
> Windows 2000  WMQ 5.3 (CSD 6). We have been using
> Circular logging for the Test queue managers. To be
> able to do a media recovery, I would like to use
> Linear logging in Production.  However, my
> colleagues
> are in favor of using Circular logging instead  as
> it
> does not require any maintenance/backup. They say,
> if
> an object is damaged they can re-create it manually.
> They are willing to live with the damaged queue and
> its contents by deleting and recreating the queue
> etc.
>
>
>
> I would like to know from the real experiences of
> the
> people using Linear logging:
>
> 1- The Admin book says  If you do not take regular
> media images of the objects that you want to
> re-create, you might have insufficient disk space to
> hold all the log files required to re-create an
> object.
>
> How often do you take media images?
>
> 2-Is there a tool (preferably free)  out there that
> could be used to retrieve  selected messages from
> the
> log and put them onto a queue ? I think there are
> some, but I don t remember the names.
>
> 3-How often do you clean-up the logs?  Of course, it
> depends on the how fast the files are getting full.
> But I just need some idea
>
> 4- Any complexities, problems etc with dealing with
> Liner logging?
>
> Thanks in advance,
>
> Ruzi
>
> Instructions for managing your mailing list
> subscription are provided in
> the Listserv General Users Guide available at
> http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
> Instructions for managing your mailing list
> subscription are provided in
> the Listserv General Users Guide available at
> http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Adiraju, Rao
Hi Ruzi

We are using Linear Logging on Windows for sometime. Personally, I don't see
any major overheads of the Linear. Please note that one of our such queue
manager generates large volume of logs because of traffic. On all our
Windows servers, we have scheduled  a "batch" job which runs once a day,
issues rcdmqimg command, followed by my VB Script to clean up the old logs.

However so far we never needed to repair the objects (other than testing it
to make sure it works) but it gives a good cosy feeling having LINEAR logs.

Cheers

Rao Adiraju
WebSphere MQ Specialist
The National Bank of NZ Ltd.
Wellington - New Zealand
Tel:  +64-4-494 4299
Fax: +64-4-802 8509
Mbl: +64-211-216-116


-Original Message-
From: Ruzi R [mailto:[EMAIL PROTECTED]
Sent: 7 April 2004 2:29 AM
To: [EMAIL PROTECTED]
Subject: Linear Logging

Windows 2000  WMQ 5.3 (CSD 6). We have been using Circular logging for the
Test queue managers. To be able to do a media recovery, I would like to use
Linear logging in Production.  However, my colleagues are in favor of using
Circular logging instead  as it does not require any maintenance/backup.
They say, if an object is damaged they can re-create it manually.
They are willing to live with the damaged queue and its contents by deleting
and recreating the queue etc.



I would like to know from the real experiences of the people using Linear
logging:

1- The Admin book says  If you do not take regular media images of the
objects that you want to re-create, you might have insufficient disk space
to hold all the log files required to re-create an object.

How often do you take media images?

2-Is there a tool (preferably free)  out there that could be used to
retrieve  selected messages from the log and put them onto a queue ? I think
there are some, but I don t remember the names.

3-How often do you clean-up the logs?  Of course, it depends on the how fast
the files are getting full.
But I just need some idea

4- Any complexities, problems etc with dealing with Liner logging?

Thanks in advance,

Ruzi

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

This communication is confidential and may contain privileged material.
If you are not the intended recipient you must not use, disclose, copy or retain it.
If you have received it in error please immediately notify me by return email
and delete the emails.
Thank you.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Beinert, William
I use MS62 (hacked slightly) on Windows. You'll need ActiveState Perl to run it...

Bill

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Ruzi R
Sent: Tuesday, April 06, 2004 4:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Linear Logging


Bill,

Thanks for the response. I have just downloaded and
tested MS0L actually. What do you use for clean-up --
MS62?

Ruzi

--- "Beinert, William" <[EMAIL PROTECTED]> wrote:
> I use linear logging in all my systems (Win & HP).
> I probably don't need it, not having any long units
> of work in my applications, but I'm super
> conservative about such things.
> I take a media image weekly, and clean up unneeded
> logs weekly.
>
> There are scripts for Win & Unix to do these things
> as Support Packs, and have been distributed on this
> list. I'll send you copies of mine, if you want.
>
> Bill Beinert
> Systems Programming
> Con Edison
>
> When they took the fourth amendment,
>I was quiet because I didn't deal drugs!
> When they took the sixth amendment,
>I was quiet because, I was innocent.
> When they took the second amendment,
>I was quiet because I didn't own a gun!
> Now they've taken the first amendment,
>and I can say (or do) nothing about it.
> The Second Amendment is in place in case they ignore
> the others.
> MODWN DAbE
>
>
>
> -Original Message-
> From: MQSeries List
> [mailto:[EMAIL PROTECTED] Behalf Of Ruzi R
> Sent: Tuesday, April 06, 2004 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: Linear Logging
>
>
> Windows 2000  WMQ 5.3 (CSD 6). We have been using
> Circular logging for the Test queue managers. To be
> able to do a media recovery, I would like to use
> Linear logging in Production.  However, my
> colleagues
> are in favor of using Circular logging instead  as
> it
> does not require any maintenance/backup. They say,
> if
> an object is damaged they can re-create it manually.
> They are willing to live with the damaged queue and
> its contents by deleting and recreating the queue
> etc.
>
>
>
> I would like to know from the real experiences of
> the
> people using Linear logging:
>
> 1- The Admin book says  If you do not take regular
> media images of the objects that you want to
> re-create, you might have insufficient disk space to
> hold all the log files required to re-create an
> object.
>
> How often do you take media images?
>
> 2-Is there a tool (preferably free)  out there that
> could be used to retrieve  selected messages from
> the
> log and put them onto a queue ? I think there are
> some, but I don t remember the names.
>
> 3-How often do you clean-up the logs?  Of course, it
> depends on the how fast the files are getting full.
> But I just need some idea
>
> 4- Any complexities, problems etc with dealing with
> Liner logging?
>
> Thanks in advance,
>
> Ruzi
>
> Instructions for managing your mailing list
> subscription are provided in
> the Listserv General Users Guide available at
> http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
> Instructions for managing your mailing list
> subscription are provided in
> the Listserv General Users Guide available at
> http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Ruzi R
I have done some testing with the supportpack MS0L. It
reported that:

The oldest file required for restart is "S000.LOG
The oldest file required for recovery is "S000.LOG

So, I kept these two files and deleted the remaing two
despite the fact that the report said "no MQ Linear
Logfiles available for cleanup". I stopped the qmgr
and restarted but it would not come up because of the
missing log files (producing error 7017). I thought
the oldest log file as indicated by the supportpack
was what was required for a restart/recovery.  Can
someone please explain why it did not work?

Thanks,

Ruzi

--- Ruzi R <[EMAIL PROTECTED]> wrote:
> Windows 2000  WMQ 5.3 (CSD 6). We have been using
> Circular logging for the Test queue managers. To be
> able to do a media recovery, I would like to use
> Linear logging in Production.  However, my
> colleagues
> are in favor of using Circular logging instead  as
> it
> does not require any maintenance/backup. They say,
> if
> an object is damaged they can re-create it manually.
> They are willing to live with the damaged queue and
> its contents by deleting and recreating the queue
> etc.
>
>
>
> I would like to know from the real experiences of
> the
> people using Linear logging:
>
> 1- The Admin book says  If you do not take regular
> media images of the objects that you want to
> re-create, you might have insufficient disk space to
> hold all the log files required to re-create an
> object.
>
> How often do you take media images?
>
> 2-Is there a tool (preferably free)  out there that
> could be used to retrieve  selected messages from
> the
> log and put them onto a queue ? I think there are
> some, but I don t remember the names.
>
> 3-How often do you clean-up the logs?  Of course, it
> depends on the how fast the files are getting full.
> But I just need some idea
>
> 4- Any complexities, problems etc with dealing with
> Liner logging?
>
> Thanks in advance,
>
> Ruzi
>
>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Adiraju, Rao
Hi Ruzi

It needs all the files starting FROM and NOT JUST THAT file. So if your
current log number S003652.log, MQ needs all the log files starting from
 to 3652 log files.

That's why one need to run "rcdmqimg", which takes the dump of MQ objects
and accordingly the entry in the error file will change something like, MQ
needs 3650 for media recovery and 3651 for qmgr restart. Which means you
need to keep 3650, 3651, 3652 

Basically what it tells you is - you can safely delete all LOGS LESS THAN
THAT NUMBER.

In your case restore all deleted logs back and restart the queue manager.

Cheers

Rao






-Original Message-
From: Ruzi R [mailto:[EMAIL PROTECTED]
Sent: 7 April 2004 9:15 AM
To: [EMAIL PROTECTED]
Subject: Re: Linear Logging

I have done some testing with the supportpack MS0L. It reported that:

The oldest file required for restart is "S000.LOG The oldest file
required for recovery is "S000.LOG

So, I kept these two files and deleted the remaing two despite the fact that
the report said "no MQ Linear Logfiles available for cleanup". I stopped the
qmgr and restarted but it would not come up because of the missing log files
(producing error 7017). I thought the oldest log file as indicated by the
supportpack was what was required for a restart/recovery.  Can someone
please explain why it did not work?

Thanks,

Ruzi

--- Ruzi R <[EMAIL PROTECTED]> wrote:
> Windows 2000  WMQ 5.3 (CSD 6). We have been using Circular logging for
> the Test queue managers. To be able to do a media recovery, I would
> like to use Linear logging in Production.  However, my colleagues are
> in favor of using Circular logging instead  as it does not require any
> maintenance/backup. They say, if an object is damaged they can
> re-create it manually.
> They are willing to live with the damaged queue and its contents by
> deleting and recreating the queue etc.
>
>
>
> I would like to know from the real experiences of the people using
> Linear logging:
>
> 1- The Admin book says  If you do not take regular media images of the
> objects that you want to re-create, you might have insufficient disk
> space to hold all the log files required to re-create an object.
>
> How often do you take media images?
>
> 2-Is there a tool (preferably free)  out there that could be used to
> retrieve  selected messages from the log and put them onto a queue ? I
> think there are some, but I don t remember the names.
>
> 3-How often do you clean-up the logs?  Of course, it depends on the
> how fast the files are getting full.
> But I just need some idea
>
> 4- Any complexities, problems etc with dealing with Liner logging?
>
> Thanks in advance,
>
> Ruzi
>
>

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

This communication is confidential and may contain privileged material.
If you are not the intended recipient you must not use, disclose, copy or retain it.
If you have received it in error please immediately notify me by return email
and delete the emails.
Thank you.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Linear Logging

2004-04-06 Thread Roger Lacroix
Hi,

The oldest is the LOWEST numbered log file.

I don't know what files you deleted by your comments of 'deleted the remaing
two' but if you deleted S001.LOG and S002.LOG then you are in big
trouble.  If true, then I don't think this is recoverable.  You may need to
re-create the queue manager.

Regards,
Roger Lacroix
Capitalware Inc.
http://www.capitalware.biz


Quoting Ruzi R <[EMAIL PROTECTED]>:

> I have done some testing with the supportpack MS0L. It
> reported that:
>
> The oldest file required for restart is "S000.LOG
> The oldest file required for recovery is "S000.LOG
>
> So, I kept these two files and deleted the remaing two
> despite the fact that the report said "no MQ Linear
> Logfiles available for cleanup". I stopped the qmgr
> and restarted but it would not come up because of the
> missing log files (producing error 7017). I thought
> the oldest log file as indicated by the supportpack
> was what was required for a restart/recovery.  Can
> someone please explain why it did not work?
>
> Thanks,
>
> Ruzi
>
> --- Ruzi R <[EMAIL PROTECTED]> wrote:
> > Windows 2000  WMQ 5.3 (CSD 6). We have been using
> > Circular logging for the Test queue managers. To be
> > able to do a media recovery, I would like to use
> > Linear logging in Production.  However, my
> > colleagues
> > are in favor of using Circular logging instead  as
> > it
> > does not require any maintenance/backup. They say,
> > if
> > an object is damaged they can re-create it manually.
> > They are willing to live with the damaged queue and
> > its contents by deleting and recreating the queue
> > etc.
> >
> >
> >
> > I would like to know from the real experiences of
> > the
> > people using Linear logging:
> >
> > 1- The Admin book says  If you do not take regular
> > media images of the objects that you want to
> > re-create, you might have insufficient disk space to
> > hold all the log files required to re-create an
> > object.
> >
> > How often do you take media images?
> >
> > 2-Is there a tool (preferably free)  out there that
> > could be used to retrieve  selected messages from
> > the
> > log and put them onto a queue ? I think there are
> > some, but I don t remember the names.
> >
> > 3-How often do you clean-up the logs?  Of course, it
> > depends on the how fast the files are getting full.
> > But I just need some idea
> >
> > 4- Any complexities, problems etc with dealing with
> > Liner logging?
> >
> > Thanks in advance,
> >
> > Ruzi
> >
> >
>
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Communication between Weblgoic JMS and MQSeries JMS

2004-04-06 Thread Smitha
Hello,

Anybody tried communication between Weblogic JMS and MQSeries JMS?
If so can you please give me some idea regarding your implementation.

Any help will be appreciated...

Thank you,
Smitha.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Communication between Weblgoic JMS and MQSeries JMS

2004-04-06 Thread Brian S. Crabtree
Smitha

How did you want to do this - have 2 JMS applications in a WebLogic Server
or a bridge between Weblogic JMS and MQ ?

I don't believe that a J2EE server would allow 2 JMS implementations
simultaneously

Brian S. Crabtree
WBI Consultant
- Original Message -
From: "Smitha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 06, 2004 9:25 PM
Subject: Communication between Weblgoic JMS and MQSeries JMS


> Hello,
>
> Anybody tried communication between Weblogic JMS and MQSeries JMS?
> If so can you please give me some idea regarding your implementation.
>
> Any help will be appreciated...
>
> Thank you,
> Smitha.
>
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive