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 information in remote server

Post new topic  Reply to topic
 how to find information in remote server « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Thu Feb 16, 2006 12:23 pm    Post subject: how to find information in remote server Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I have to collect information from different server. In order to do that I have to run one mq command. is there way that I can do that staying in one terminal? I mean i login in one server and do that?

Thanks a lot
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Feb 16, 2006 12:26 pm    Post subject: Re: how to find information in remote server Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

jeevan wrote:
I have to collect information from different server. In order to do that I have to run one mq command. is there way that I can do that staying in one terminal? I mean i login in one server and do that?

What sort of information has to be collected? If will help if you give an example of the type of information - is it files, messages, or something else?
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Feb 16, 2006 12:29 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

verson of the mq running on different machines
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Feb 16, 2006 12:41 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

jeevan wrote:
verson of the mq running on different machines

This type of command works for me, where the local machine is running Fedora Core 4, and the remote machine is running Sun Solaris. Note that SSH must be installed and configured correctly on both machines.
Code:
ssh -l REMOTEUSERNAME MACHINENAME.mycompany.com /opt/mqm/bin/dspmqver

The output I get back is
Code:
Name:        WebSphere MQ
Version:     6.0.0.0
CMVC level:  p000-L050519
BuildType:   IKAP - (Production)
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Feb 17, 2006 6:10 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

when I run the script, it gave me an error message as follows:

no address associated with name

The string I used is the same i used for logging every day.

I am not sure about ssh installed or not on every machine. but when i type ssh it comes up. So, ssh seems installed. Any reason.

By the way, the correct the path in AIX is

/usr/mqm/bin/dspmqver

thanks
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Feb 17, 2006 6:23 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

jeevan wrote:
I am not sure about ssh installed or not on every machine. but when i type ssh it comes up. So, ssh seems installed. Any reason.

You'll need an SSH client installed locally and an SSH server installed on the remote machine. It's possible you have only the client installed(?)

Sorry I am not the greatest AIX expert. The AIX system administrator should tell you whether the SSH server installation has been done successfully, and is configured correctly.

For other AIX questions, you might wish to try http://www.ibm.com/developerworks/forums/dw_forum.jsp?forum=747&cat=56 or some other forum that deals with AIX?

Yes, /usr/mqm/bin/dspmqver is the path on AIX, sorry I didn't mention that.
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Feb 17, 2006 6:25 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

jeevan wrote:
no address associated with name

Did you replace my example machine name MACHINENAME.mycompany.com with a real DNS name or IP address that works in your network?
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Feb 17, 2006 6:29 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Yes, i replace with the correct address
for example i can login with

ssh -l username machine


but when i give the whole string with command it gives that error
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Feb 17, 2006 6:35 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

jeevan wrote:
Yes, i replace with the correct address
for example i can login with

ssh -l username machine


but when i give the whole string with command it gives that error

The command ssh -l username machine /opt/mqm/bin/dspmqver worked for me between a Linux and a Solaris installation, as I mentioned.

The error message you mentioned in your previous post ("no address associated with name") suggests a network name lookup problem, which I would not expect to receive as ouput when running /usr/mqm/bin/dspmqver on the AIX machine.

Perhaps try (a) logging into the machine first, and running /usr/mqm/bin/dspmqver from a normal shell, to make sure this command is actually installed, and works ; (b) asking on the AIX forum?

Other than this, I'm out of ideas.
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Feb 17, 2006 6:43 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

when I break down the two parts, it works fine. I mean i canlogin with

ssh -l username machine.company.com

and use /usr/mqm/bin/dspmqver

But when i combine, it did not work. Anyway,

I will ask my unix folks

thanks anyway
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Feb 17, 2006 10:06 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
when I break down the two parts, it works fine. I mean i canlogin with

ssh -l username machine.company.com

and use /usr/mqm/bin/dspmqver

That is just fine.
The machine where you are running the command from and the target machine are not trusted by each other. Logging in is a different thing and issung the command is a different thing.

The best thing for you to do is to ask your sysadmin on how to do it and what machine to use.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jeevan
PostPosted: Fri Feb 17, 2006 12:32 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Thanks a lot.
Back to top
View user's profile Send private message
nathanw
PostPosted: Wed Mar 01, 2006 8:21 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

this just helped me with a problem as well

just goes to prove

SEARCHING WORKS!
Back to top
View user's profile Send private message MSN Messenger
HubertKleinmanns
PostPosted: Wed Mar 01, 2006 8:40 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

jeevan wrote:
... By the way, the correct the path in AIX is

/usr/mqm/bin/dspmqver ...

/usr/bin/dspmqver works on all Unixes (because it is linked to the correct path)
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » how to find information in remote server
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.