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 » General IBM MQ Support » Powershell - Support Pac MO74

Post new topic  Reply to topic Goto page Previous  1, 2
 Powershell - Support Pac MO74 « View previous topic :: View next topic » 
Author Message
adm1122
PostPosted: Fri Feb 28, 2014 2:37 pm    Post subject: Reply with quote

Newbie

Joined: 27 Feb 2014
Posts: 4

I think Markt is right about the registry stuff. I'm on server 2008. It also looks like the support pack mo78 isn't very well supported.
I'm giving up on the snapin and I'll use powershell to run mq scripts instead.

Back to top
View user's profile Send private message
jcv
PostPosted: Tue Aug 04, 2015 12:55 am    Post subject: Reply with quote

Chevalier

Joined: 07 May 2007
Posts: 411
Location: Zagreb

An update is done in February this year, but after that a userid/password combination still cannot be specified when connecting to remote qmgr:

PS C:\> get-help New-WMQQmgrConnDef -full

NAME
New-WMQQmgrConnDef

SYNOPSIS
Creates a definition of a connection to a remote queue manager.

SYNTAX
New-WMQQmgrConnDef [-Name] <String[]> [[-Hostname] <String[]>] [[-Port] <Int32[]>] [[-Channel] <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
The New Queue Manager Connection Definition cmdlet creates a definition of a connection to a remote queue manager. This can be used to allow the Get-WMQQueueManager cmdlet to create queue manager objects representing remote queue managers.

. . .

Does anyone use these cmdlets? Although I'm not particularly interested in it, I investigated it since I was notified recently about MQ support packs that were recently changed.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Wed Aug 05, 2015 2:01 pm    Post subject: Reply with quote

Grand High Poobah

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

use runmqsc V8 in client mode...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
MarkDJ
PostPosted: Tue Sep 15, 2015 4:45 am    Post subject: mo74_v2.0 Reply with quote

Newbie

Joined: 15 Sep 2015
Posts: 2

Hi, I have been seeing the same issues with this Powershell plugin. I installed in on a Win 2008 R2 SP1 server running MQ 7.5.0.3 in a preprod environment and the snapin worked perfectly.

However when I installed it onto an identical production environment the snapin failed to return any data from a get-wmqqueue command. No errors were thrown, just no output was returned.

I checked the registry and saw that MQ had installed to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM rather than HKEY_LOCAL_MACHINE\SOFTWARE\IBM.

It turns out that this isn't an issue. All I ended up doing to get the snapin to work was to run it from Start > All Programs > Accessories > Windows Powershell > Windows Powershell rather than from the Powershell shortcut pinned to the task bar. I tested this on both systems and it didn't work from the task bar shortcut, but did from the long path.

Deleting and repinning the powershell window should resolve it.

Not sure if it was just a foible of the systems I was installing MQ on (they were customer-created servers) but I hope that it helps if anybody is seeing the same issue.
Back to top
View user's profile Send private message
MarkDJ
PostPosted: Thu Sep 17, 2015 3:05 am    Post subject: mo74_v2.0 Reply with quote

Newbie

Joined: 15 Sep 2015
Posts: 2

Actually, ignore my post above... it's complete tosh. The issue is with the 32 vs 64 bit powershell.

The 32 bit powershell works fine with the registry entries in [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM] however the 64 bit version just returns empty as it cannot find the queue manager reference.

The 64 bit version looks in [HKEY_LOCAL_MACHINE\SOFTWARE\IBM] for the information. The way to get both 32 & 64 bit powershell version running is to add this key into [HKEY_LOCAL_MACHINE\SOFTWARE\IBM]

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\QueueManager\<YOUR QM NAME>]
"Directory"="<YOUR QM NAME>"
"Name"="<YOUR QM NAME>"
"Prefix"="D:\\Program Files (x86)\\IBM\\WebSphere MQ" <-- Your install path

Back to top
View user's profile Send private message
FrankHaarlem
PostPosted: Mon Feb 22, 2016 6:14 am    Post subject: Reply with quote

Newbie

Joined: 22 Feb 2016
Posts: 5

i have the same problem.
I have installed mo74 and afterwards I get no errrors but also no queues returned. While I have 1 queue manager and 11 queues on the server where I do my powershell reqeust (Get-WMQQueue).
I am on Windows server 2012 and WebSphere MQ 7.5.02.
But it seems there are no newer versions then the m074?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 22, 2016 6:24 am    Post subject: Reply with quote

Grand High Poobah

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

FrankHaarlem wrote:
i have the same problem.
I have installed mo74 and afterwards I get no errrors but also no queues returned. While I have 1 queue manager and 11 queues on the server where I do my powershell reqeust (Get-WMQQueue).
I am on Windows server 2012 and WebSphere MQ 7.5.02.
But it seems there are no newer versions then the m074?


Have you tried using the 32 bit version of powershell for this task?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
FrankHaarlem
PostPosted: Mon Feb 22, 2016 6:27 am    Post subject: Reply with quote

Newbie

Joined: 22 Feb 2016
Posts: 5

fjb_saper wrote:
FrankHaarlem wrote:
i have the same problem.
I have installed mo74 and afterwards I get no errrors but also no queues returned. While I have 1 queue manager and 11 queues on the server where I do my powershell reqeust (Get-WMQQueue).
I am on Windows server 2012 and WebSphere MQ 7.5.02.
But it seems there are no newer versions then the m074?


Have you tried using the 32 bit version of powershell for this task?


Yes I have tried both 32bit and 64bit.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 22, 2016 6:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You could try contacting the author of the supportPac and ask them to release it at https://github.com/ibm-messaging
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
FrankHaarlem
PostPosted: Thu Feb 25, 2016 5:46 am    Post subject: Reply with quote

Newbie

Joined: 22 Feb 2016
Posts: 5

mqjeff wrote:
You could try contacting the author of the supportPac and ask them to release it at https://github.com/ibm-messaging


Thanks, I will check github if they have any answers and if they have a newer version for 64bit.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 25, 2016 5:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

FrankHaarlem wrote:
mqjeff wrote:
You could try contacting the author of the supportPac and ask them to release it at https://github.com/ibm-messaging


Thanks, I will check github if they have any answers and if they have a newer version for 64bit.


I don't think it is on github. My suggestion was to ask the author to release it there.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
FrankHaarlem
PostPosted: Wed Mar 02, 2016 5:14 am    Post subject: Reply with quote

Newbie

Joined: 22 Feb 2016
Posts: 5

mqjeff wrote:
You could try contacting the author of the supportPac and ask them to release it at https://github.com/ibm-messaging


The author is IBM itself but it is not supported and sadly enough they don't answer my question.

Category 2 SupportPacs are provided in good faith and AS-IS. There is no warranty or further service implied or committed and any supplied sample code is not supported via IBM product service channels.

You may submit a question and return email address using the 'rate this page' below, but a response is not guaranteed.

Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 02, 2016 5:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

FrankHaarlem wrote:
mqjeff wrote:
You could try contacting the author of the supportPac and ask them to release it at https://github.com/ibm-messaging


The author is IBM itself but it is not supported and sadly enough they don't answer my question.

The pdf documentation contains several IBM emails. Cat 2 supportPacs are never supported by IBM support through PMRs, but only through the authors in question.

It also looks like it was updated in November...
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
FrankHaarlem
PostPosted: Wed Mar 02, 2016 6:09 am    Post subject: Reply with quote

Newbie

Joined: 22 Feb 2016
Posts: 5

mqjeff wrote:
FrankHaarlem wrote:
mqjeff wrote:
You could try contacting the author of the supportPac and ask them to release it at https://github.com/ibm-messaging


The author is IBM itself but it is not supported and sadly enough they don't answer my question.

The pdf documentation contains several IBM emails. Cat 2 supportPacs are never supported by IBM support through PMRs, but only through the authors in question.

It also looks like it was updated in November...


Thanks I will try to email one of the IBM emails mentioned in the PDF.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Powershell - Support Pac MO74
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.