Author |
Message
|
ankurlodhi |
Posted: Tue Aug 23, 2011 10:57 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
1: as this is solaris 5.3 /etc/servies does not exist over there so I tried checking the serviese related to MQ
2: To get some info on the processes running.
3: I want to check that how may boxes is this development box communicating with so i want to find out all those boxes and which channel is communicating with which box.
can u suggest something in order to achieve my goal. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 23, 2011 11:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
1: as this is solaris 5.3 /etc/servies does not exist over there so I tried checking the serviese related to MQ |
But why? What information would this give you that's any help in your task?
ankurlodhi wrote: |
2: To get some info on the processes running. |
Again I ask why? These processes will be different for different versions of WMQ and certainly don't tell you anything about the configuration of a given queue manager.
ankurlodhi wrote: |
3: I want to check that how may boxes is this development box communicating with so i want to find out all those boxes and which channel is communicating with which box. |
Information which is not recorded in either /etc/services or the running processes.
ankurlodhi wrote: |
can u suggest something in order to achieve my goal. |
You've been advised to use saveqmgr repeatedly through this thread. If you've not listened to those suggestions before what's the point of me repeating it? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Tue Aug 23, 2011 11:10 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
I am have 2 questions about save saveqmgr.
1: I dont know what will saveqmgr do ?
2: how and where to use? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 23, 2011 11:13 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Saveqmgr creates an MQSC file that represents all of the objects that are defined on the queue manager.
It will thus allow you to RUN that MQSC file on ANOTHER queue manager and, for example, DEFINE CHANNELS. The *same* channels, more or less, that are on the v5.3 qmgr.
Or it will at least allow you to review the definitions of those channels in a simple and easy way. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 23, 2011 11:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
1: I dont know what will saveqmgr do ? |
Make a guess from the name - SAVE QMGR.
Or you could just try it and see.
I find it amazing you can work with WMQ and have not at least encountered this.
ankurlodhi wrote: |
2: how and where to use? |
Read the instructions that come with it. Seriously. You're being paid by someone to do a job; they're not paying me.
And this is about as simple as it gets. There are very few moving parts in the utility in question.
"What does saveqmgr do and where should I use it?" - we've hit a new low.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Tue Aug 23, 2011 11:17 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
one more question how to use saveqmgr if i have a running quemanager
Qmanager1
and where will the file will be created. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 23, 2011 11:19 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ankurlodhi wrote: |
one more question how to use saveqmgr if i have a running quemanager
Qmanager1
and where will the file will be created. |
One more time.
READ THE INSTRUCTIONS THAT COME WITH SAVEQMGR.
It is unprofessional of you to continue to ask for basic assistance with basic tasks without having spent any effort on your own, or at least without demonstrating that effort. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 23, 2011 11:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
one more question how to use saveqmgr if i have a running quemanager
Qmanager1 |
It's the only way you can use it - you've been told already you need a running command server.
And no, I'm not going to just give you the syntax until you give me your pay check.
(I accept most major credit cards and PayPal)
ankurlodhi wrote: |
and where will the file will be created. |
Wherever you tell it to, just like any Unix utility. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 23, 2011 11:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The other option, than using saveqmgr, is to just use runmqsc itself.
Then you can issue "DISPLAY CHANNEL(*) CHLTYPE(SDR)" for example, and see all of the sender channel definitions.
But then you have to manually do things to record that information and manually do things to recreate those same channels somewhere else. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Tue Aug 23, 2011 11:22 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
I know I am bad and i need to learn a lot but thats y you are you and I am me , and I am trying to learn, where no one bothers telling anything, I joined here as a trinee and atleast I am trying ...
so please stop Looking down at me ...
I dont knwo these things that does not means I can't learn them. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 23, 2011 11:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
I dont knwo these things that does not means I can't learn them. |
So off you go - start learning. By reading the documentation that comes with the product (and the utility), experiementing with it and seeing the outcome. Your task is not a difficult one and will be a good learning experience for you.
Post back here when you hit problems. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Tue Aug 23, 2011 11:27 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
Haha..!! No thanks Pal I will do the hard work and configure it maunually
so that atleast i get to do somethings my self and learn a bit of new things . I guess people over here wouldn't tell me anything I wonder how are my sceniors are my scenior. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 23, 2011 11:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
I will do the hard work and configure it maunually |
You'll still need the settings of the existing box.
ankurlodhi wrote: |
so that atleast i get to do somethings my self and learn a bit of new things |
Learning runmqsc is essential. And you will need saveqmgr at some point in your career.
ankurlodhi wrote: |
I guess people over here wouldn't tell me anything |
No, we're not a training resource. If you posted with your problems as I suggested, along the lines of "I looked at the instructions for saveqmgr and did <series of steps> which I expected would <predicted result> but instead did <actual result> - what's happening>" you'll get a much better answer.
ankurlodhi wrote: |
I wonder how are my sceniors are my scenior. |
There's no-one senior to you here - we're all WMQ people.
If you mean "how did we get like this", by being where you are now 14 years ago. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Tue Aug 23, 2011 11:58 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
I found out how to use this saveqmgr but it is showing command not found
bash-2.05$ saveqmgr -m QM1 -f /apps/mqm/opt/mq QM1_prod_data.mqsc -z /apps/mqm/opt/QM1_prod_auth.sh
bash: saveqmgr: command not found
there is a difference of 13 year experience between. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 23, 2011 12:03 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
I found out how to use this saveqmgr but it is showing command not found |
Which is a Unix problem from the bash shell not a WMQ one. So:
a) How does Unix find applications?
b) What methods can you use to influence this process?
Happy learning.
ankurlodhi wrote: |
there is a difference of 13 year experience between. |
And in 13 years you'll be where I am now. Try to avoid the personality problems I've picked up. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|