ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » how to find whether MQ client is installed in Linux

Post new topic  Reply to topic Goto page 1, 2  Next
 how to find whether MQ client is installed in Linux « View previous topic :: View next topic » 
Author Message
pandeg
PostPosted: Tue Aug 25, 2015 9:22 am    Post subject: how to find whether MQ client is installed in Linux Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Hi, I want to find out whether MQ client is installed on the linux machine and how can i use it to run mqsc commands on MQ server remotely
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 25, 2015 9:43 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pandeg wrote:
Hi, I want to find out whether MQ client is installed on the linux machine


How would you check if any software is installed on Linux? Do the same thing to check for the client.

pandeg wrote:
how can i use it to run mqsc commands on MQ server remotely


Try reading the instructions

In the end, looking things up yourself is much faster and more effective than posting simplistic questions to a bunch of strangers on the Internet who may decide to mislead you because it's a slow day in the office and they're not very nice people at the best of times, and you've got no recourse no matter how much distress they cause you......
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pandeg
PostPosted: Tue Aug 25, 2015 10:29 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

I already MQ server installed on my linux machine. I am able to exeucte runmqsc command as you mentioned in the link. My question is how to check if mq client is also installed on this machine. I want to use MQ client to run mqsc command on remote Queue manager.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 25, 2015 11:01 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pandeg wrote:
I already MQ server installed on my linux machine.


That's nice.

pandeg wrote:
I am able to exeucte runmqsc command as you mentioned in the link.


That's nice too.

pandeg wrote:
My question is how to check if mq client is also installed on this machine.


How did you check that the MQ Server was installed? Follow the same process to check for the MQ Client.

pandeg wrote:
I want to use MQ client to run mqsc command on remote Queue manager.


The instructions for how to do that were in the link I provided:

more carefully
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pandeg
PostPosted: Tue Aug 25, 2015 11:05 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

I wanted to check if i can execute "runmqsc" command remotely.
I got this link https://www.ibm.com/developerworks/community/blogs/messaging/entry/bitesize_blogging_mq_v8_client_mqsc?lang=en

Which says that we can execute "runmqsc" remotely.I tried to do the same, but i am not able to connect (I am using old MQ client)
export MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/myhost.mycorp.com(1414)
runmqsc -c -w 60 MYQMGR

I found another similar command in IBM center,
runmqsc -w 30 -m QMLOCAL QMREMOTE , here it says we need local queue manager to submit the command.

Can't i run this command without local queue manager if i don't want MQ server to be installed on my machine.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 25, 2015 11:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's almost as if it is only new versions of runmqsc that allow for client connections.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 25, 2015 11:41 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pandeg wrote:
I wanted to check if i can execute "runmqsc" command remotely.
I got this link https://www.ibm.com/developerworks/community/blogs/messaging/entry/bitesize_blogging_mq_v8_client_mqsc?lang=en

Which says that we can execute "runmqsc" remotely.


You can. In the version which that blogger is using and to which I provided the link. If you actually read the blog rather than look at it, you'll observe the quote:

Quote:
With MQ V8, runmqsc is now capable


The emphasis is mine.

pandeg wrote:
I tried to do the same, but i am not able to connect (I am using old MQ client)


And given that this feature is new to v8, I'm not surprised.

pandeg wrote:

I found another similar command in IBM center,
runmqsc -w 30 -m QMLOCAL QMREMOTE , here it says we need local queue manager to submit the command.


You do indeed. Before the client capability was added in v8, runmqsc (unsurprisingly) used a binding connection.

pandeg wrote:
Can't i run this command without local queue manager if i don't want MQ server to be installed on my machine.


Only in v8 or higher.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pandeg
PostPosted: Tue Aug 25, 2015 12:38 pm    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Thanks Vitor for the information.

I want to install MQ client version 8, from below link
http://www-01.ibm.com/support/docview.wss?uid=swg24037500

but , it doesn't shows the java requirement for the installing the client.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 25, 2015 6:45 pm    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

pandeg wrote:
Thanks Vitor for the information.

I want to install MQ client version 8, from below link
http://www-01.ibm.com/support/docview.wss?uid=swg24037500

but , it doesn't shows the java requirement for the installing the client.

That may be because the client comes with it's own version of java...
If you need to use a client connection to submit mqsc style commands to a remote server, before V8, look at support pack MO72 (initially from Paul Clarke I believe)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Aug 26, 2015 4:26 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pandeg wrote:
I want to install MQ client version 8, from below link
http://www-01.ibm.com/support/docview.wss?uid=swg24037500


If you have a v8 server install, the client is on the media and you don't need that link.

If you don't have a v8 server install, adding a v8 client will magically add the ability to understand remote commands to a lower level queue manager.

fjb_saper wrote:
If you need to use a client connection to submit mqsc style commands to a remote server, before V8, look at support pack MO72 (initially from Paul Clarke I believe)



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Philip Morten
PostPosted: Wed Aug 26, 2015 8:01 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

pandeg wrote:
Hi, I want to find out whether MQ client is installed on the linux machine ...


To answer the original question:

    rpm -qa | grep MQSeriesClient


will show all installed MQ client packages.
_________________
Philip Morten

The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
pandeg
PostPosted: Wed Aug 26, 2015 8:46 am    Post subject: Re: how to find whether MQ client is installed in Linux Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Quote:
If you have a v8 server install, the client is on the media and you don't need that link.


We have v8 server installed on one linux machine, not sure what does this mean "the client is on the media"

Also, for installing client do we have to execute both runtime and client package.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 26, 2015 8:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you only want to install the client, you can only install the client package.

It used to be the case that you should install the client using the rpms that came in the same download as the server rpms.

I don't know if that's still true.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Aug 26, 2015 8:57 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

"...on the media" means that both client and server (and Explorer, and other stuff) are included in the distribution media (CD, DVD, electronic) used to install the product.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
pandeg
PostPosted: Wed Aug 26, 2015 12:52 pm    Post subject: Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Quote:
[quote="mqjeff"]If you only want to install the client, you can only install the client package.


Hi mqjeff, I have installed MQ8.0.0.2 client in linux and trying to execute below command to connect to remote queue manager and execute "runmqsc" command on that qmgr
export MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/myhost.mycorp.com(1414)
runmqsc -c -w 60 MYQMGR

But, i am getting below message.

AMQ9508: Program cannot connect to the queue manager.

0 command responses received.

Not sure , what I am missing. I tried to connect giving username also
runmqsc -c -w 60 -u MYQMGR , still getting the same response.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » how to find whether MQ client is installed in Linux
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.