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 API Support » MQSeries Channel Reset/Start/Stop VB.NET

Post new topic  Reply to topic
 MQSeries Channel Reset/Start/Stop VB.NET « View previous topic :: View next topic » 
Author Message
morgandoyle
PostPosted: Thu Nov 17, 2005 1:38 pm    Post subject: MQSeries Channel Reset/Start/Stop VB.NET Reply with quote

Newbie

Joined: 17 Nov 2005
Posts: 4

I'm trying to find out if I can stop/start a MQ channel in VB.NET. I know .Net well but this is my first exposure to MQSeries. I have programmed for MSMQ so I have the basic understanding. Any help would be great.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 17, 2005 2:09 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You don't need to start and stop channels unless you're writing your own administration tool.

And there are sufficient free tools out there, that it's probably not worth your time writing your own.

But if you do decide to go down this road, you either need to write your code to fork off runmqsc and interface with it through stdin and stdout, or you need to read about PCF messages in the Script guide.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Nov 17, 2005 5:06 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Or better yet, learn about how MQ channels are started automatically with something called TRIGGERING.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
morgandoyle
PostPosted: Fri Nov 18, 2005 5:43 pm    Post subject: Reply with quote

Newbie

Joined: 17 Nov 2005
Posts: 4

The problem we are having is that we have a server where the channels keep getting hosed. The only way to fix it is to go into the server room and stop/start the channels. I'd like to create an app that will let us do it remotely, over vpn or on our internal network.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Nov 18, 2005 5:46 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I take it the "server" is Windows? (no telent capability??). In any case, you can setup MQ Explorer (or supportpac MO71, or many other tools) to allow you to connect to that queue manager via an MQ client channel and start/stop/display/alter your channels.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
morgandoyle
PostPosted: Fri Nov 18, 2005 5:52 pm    Post subject: Reply with quote

Newbie

Joined: 17 Nov 2005
Posts: 4

I'm not sure what I've got here. I've been thrown into this and I'm trying to make it easier on myself so I don't have to run to work and reset things. If I can use something else to do this then great. I don't know much about MQSeries. What do you recommend? Anything free or trial?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 18, 2005 5:57 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Again, you can use MQExplorer from any machine on your network and connect to the queue manager over SVRCONN channels. You need to "Show Queue Managers", and show a Remote qmgr and give it the hostname and port of the listener, or possibly a connection name ("<hostname>(<port>)").

If your SVRCONN channels are also hosed up when your other channels are hosed up, then you've got a larger problem in more ways than one.

At that point, you will need to use something like Windows Remote Desktop, an SSH server, VNC, or something else to get onto the machine over other protocols - so you can either use runmqsc from a windows command line or use a local copy of MQ Explorer that is connecting in server/bindings mode to start and stop your channels.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
morgandoyle
PostPosted: Fri Nov 18, 2005 6:00 pm    Post subject: Reply with quote

Newbie

Joined: 17 Nov 2005
Posts: 4

One more stupid question: where do I get MQ Explorer?
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Nov 18, 2005 6:07 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

MQExplorer is included with the MQ CD's. If you don't have access to that, then try MO71, here:
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000142&loc=en_US&cs=utf-8&lang=en
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQSeries Channel Reset/Start/Stop VB.NET
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.