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 » Configuring WMQ6 via Microsoft Remote Desktop connection.

Post new topic  Reply to topic
 Configuring WMQ6 via Microsoft Remote Desktop connection. « View previous topic :: View next topic » 
Author Message
aboggis
PostPosted: Fri Jan 19, 2007 2:21 pm    Post subject: Configuring WMQ6 via Microsoft Remote Desktop connection. Reply with quote

Centurion

Joined: 18 Dec 2001
Posts: 105
Location: Auburn, California

I have WMQ 6.0.2 installed on a Windows Server 2003 machine. Installation was successful and service runs.

I followed the guides for configuring user ids, etc.

Now, when I connect as a user via Remote Desktop, I can create (crtmqm) and configure (runmqsc) queue managers. However, when I log off as a user (even if I was logged on as Administrator), as you might expect, all my user processes are terminated, so any queue manager that I created "ends unexpectedly". Even if I restart the service, the new queue manager(s) that I set to auto-start do not.

So, my question is, what's the trick to using Remote Desktop?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
pathipati
PostPosted: Sat Jan 20, 2007 5:41 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

How did you set your queue manager to default QM?Did you see any thing different if you directly control your machine instead of remote desktop?
Back to top
View user's profile Send private message Yahoo Messenger
aboggis
PostPosted: Sat Jan 20, 2007 5:58 pm    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2001
Posts: 105
Location: Auburn, California

I didn't set the created queue manager to default. I did set it to auto-start (and it's listener).

I don't (at the moment) have the ability to log on to the machine locally (it's 50 miles away). I'm going to try things through a telnet client on monday to see if it makes a difference.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
jefflowrey
PostPosted: Sun Jan 21, 2007 6:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Try starting the queue manager from MQ Explorer, rather than the command line.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
aboggis
PostPosted: Sun Jan 21, 2007 10:47 am    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2001
Posts: 105
Location: Auburn, California

Makes no difference. I can only control the queue manager (either via command line or via Explorer) whilst my remote desktop session is active. I can connect (and manage) to the running queue manager remotely or locally when it's running.

However, disconnecting from the remote desktop, ends all active processes that I stared during that session.

Even if I create the queue manager, set it to autostart with MQ, stop the queue manager then restart the MQ service, the queue manager I just created doesn't start - this is because Terminal Services, does not pass through all registry changes made in a session to the system registry.

Now I know people out there must use remote desktop/terminal services to remotely manage MQ on Windows.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
SAFraser
PostPosted: Mon Jan 22, 2007 1:21 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

aboggis,

This is very interesting to me. Did you do the original installation via Remote Desktop (I'm assuming yes, due to the geography you mentioned).

Your statement:
Quote:
I can connect (and manage) to the running queue manager remotely or locally when it's running.

Do you mean that you can connect from your local desktop via Eclipse to the 50-miles-away queue manager?

Can you use Eclipse on your local desktop to create a queue manager on the faraway machine? And does is auto-start properly?

I actually have not tried this yet, but I think you have inspired me to do so soon.

Shirley
Back to top
View user's profile Send private message
MQALearner
PostPosted: Mon Jan 22, 2007 1:38 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jun 2006
Posts: 9

Hi
if its windows 2003 and MQ Ver 6.0.2
have you tried to use this "amqmdain AUTO QMGR"
Back to top
View user's profile Send private message
aboggis
PostPosted: Mon Jan 22, 2007 4:24 pm    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2001
Posts: 105
Location: Auburn, California

Yes. Tried that.
Quote:
C:\Program Files\Support Tools>strmqm TEST
WebSphere MQ queue manager 'TEST' starting.
5 log records accessed on queue manager 'TEST' during the log replay phase.
Log replay for queue manager 'TEST' complete.
Transaction manager state recovered for queue manager 'TEST'.
WebSphere MQ queue manager 'TEST' started.

C:\Program Files\Support Tools>amqmdain auto TEST
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Initialization of resource 'amqmsrvn' failed, rc=0x8000401a
The server process could not be started because the configured identity is incorrect. Check the username and password.


Any clues?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
mapa
PostPosted: Tue Jan 23, 2007 6:19 am    Post subject: Related: Remote desktop console option Reply with quote

Master

Joined: 09 Aug 2001
Posts: 257
Location: Malmö, Sweden

If you start the remote desktop session from a command prompt you can use the console option (the session where you are logged on as if sitting on the server locally).

mstsc /v:hostname /console

Here is one article from MS with some information regarding the console session:
How to Connect to and Shadow the Console Session with Windows Server 2003 Terminal Services

(Console option does not exist for Win2K servers)
Back to top
View user's profile Send private message Visit poster's website
rtsujimoto
PostPosted: Tue Jan 23, 2007 8:20 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

I have V6.0.1.1 on Windows 2003 and I used Remote Desktop for defining and managing purposes. But, I login using a local userid. Did you try that?
Back to top
View user's profile Send private message
MQALearner
PostPosted: Tue Jan 23, 2007 9:10 am    Post subject: Reply with quote

Newbie

Joined: 10 Jun 2006
Posts: 9

[img]C:\Program Files\Support Tools>amqmdain auto TEST
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Initialization of resource 'amqmsrvn' failed, rc=0x8000401a
The server process could not be started because the configured identity is incorrect. Check the username and password.[/img]


I got the same error at one time. but i don’t recall exactly what i did. but its related to your domain account. check with the startup services(IBM MQ SERVICES) and DCOMCNFG and also in Task manager

make sure all the services are running with one account and that account should be the part of mqm and domain account(if needed)

reply with your result will be appreciated
Back to top
View user's profile Send private message
SAFraser
PostPosted: Tue Jan 23, 2007 11:08 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

I guess you looked at this already?
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.amqtac.doc/amqqmissue.htm
Back to top
View user's profile Send private message
aboggis
PostPosted: Tue Jan 23, 2007 11:37 am    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2001
Posts: 105
Location: Auburn, California

Quote:
I guess you looked at this already?
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.amqtac.doc/amqqmissue.htm

Yes. I had. And it didn't seem to resolve our issue.

However, I repeated the "Prepare MQ Wizard", and we created an explicit MQ user ID, "MQuser", in the domain and just gave it the necessary (documented) permissions. It doesn't have any interactive login rights or anything like that.

After doing that the issue remained. However, restarting the machine (not just restarting the MQ service) seemed to provide some measure of fix. There's still some quirks, but it's better...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Configuring WMQ6 via Microsoft Remote Desktop connection.
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.