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 » WebSphere Message Broker (ACE) Support » REG: Creating a IIB9 Broker in Linux Machine

Post new topic  Reply to topic
 REG: Creating a IIB9 Broker in Linux Machine « View previous topic :: View next topic » 
Author Message
ppraveen33
PostPosted: Fri Dec 20, 2013 6:05 am    Post subject: REG: Creating a IIB9 Broker in Linux Machine Reply with quote

Apprentice

Joined: 26 Jun 2013
Posts: 36

Hi,
I have installed MQ v7.5, Runtime in Linux machine Successfully. Now I want to create a BROKER in it. So My installation path is /opt/ibm/mqsi. So I am running this command to create a broker but getting following error.

mbadmin@dev4065:/opt/ibm/mqsi/9.0.0.1/bin> mqsicreatebroker MB9BROKER -q MB9QMGR
BIP8967E: Failed to create the queue manager 'MB9QMGR' because the Websphere MQ environment has not been set up.
The Websphere MQ environment must be set up for the command mqsicreatebroker to be able to create a queue manager. Runfrom the install of the version of Websphere MQ you want to use to create the queue manager.
So can anyone guide me on this??
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 20, 2013 7:08 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You need to set a default WMQ installation

look at the setmqinst command

http://pic.dhe.ibm.com/infocenter/wmqv7/v7r1/index.jsp?topic=%2Fcom.ibm.mq.doc%2Ffa15635_.htm
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
DP1234
PostPosted: Wed Jun 11, 2014 4:50 am    Post subject: Reply with quote

Apprentice

Joined: 25 May 2014
Posts: 40

Getting below error while creating Broker in IIB 9.0


BIP8967E: Failed to create the queue manager 'IIB_MQ' because the Websphere MQ environment has not been set up.
The Websphere MQ environment must be set up for the command mqsicreatebroker to be able to create a queue manager. Run the setmqenv command from the install of the version of Websphere MQ you want to use to create the queue manager.


Anybdy help me out in fixing this prob
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 11, 2014 4:58 am    Post subject: Reply with quote

Grand High Poobah

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

Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...

This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
DP1234
PostPosted: Wed Jun 11, 2014 5:04 am    Post subject: Reply with quote

Apprentice

Joined: 25 May 2014
Posts: 40

fjb_saper wrote:
Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...

This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...

Have fun


i tried using setmqenv command for the same..,didn't help much
can u guide me thru setting MQ environment manually
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 11, 2014 5:15 am    Post subject: Reply with quote

Grand High Poobah

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

DP1234 wrote:
fjb_saper wrote:
Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...

This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...

Have fun


i tried using setmqenv command for the same..,didn't help much
can u guide me thru setting MQ environment manually


Straight forward. Use the setmqenv of the highest level installation (absolute path) and set the environment to the named installation of your choice...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
DP1234
PostPosted: Wed Jun 11, 2014 5:35 am    Post subject: Reply with quote

Apprentice

Joined: 25 May 2014
Posts: 40

fjb_saper wrote:
DP1234 wrote:
fjb_saper wrote:
Alternatively you can look at how to configure your environment (command files being called by mqsiprofile) to set the mq environment. Particularly useful when running multiple versions of the command environment... at multiple versions of the broker...

This is the way I am setting the mq environment depending on the version of the broker being initialized in mqsiprofile ...

Have fun


i tried using setmqenv command for the same..,didn't help much
can u guide me thru setting MQ environment manually


Straight forward. Use the setmqenv of the highest level installation (absolute path) and set the environment to the named installation of your choice...


Can u please help me through steps to do it..,as am very new to Integration tool world.

Thanks in advance
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 11, 2014 7:47 am    Post subject: Reply with quote

Grand High Poobah

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

Code:
C:\Windows\System32>\mq75\bin\setmqenv -?
Usage: setmqenv (-m QMgrName| -n InstallationName | -p Path | -r | -s)
                [-x 32|64]

Set up the environment for use with WebSphere MQ.

 -m  Set the environment for the specified queue manager.
 -n  Set the environment for the specified installation.
 -p  Set the environment for the installation located in the specified path.
 -r  Remove WebSphere MQ from the environment.
 -s  Set the environment for the installation that this command comes from.
 -x  Set a 32-bit or 64-bit environment.


and the result of dspmqinst, notice the InstallationName...

Code:
C:\Windows\System32>\mq75\bin\dspmqinst
InstName:      Installation0
InstDesc:      IBM WebSphere MQ Installation
Identifier:    0
InstPath:      C:\Program Files (x86)\IBM\WebSphere MQ
Version:       7.0.1.8
Primary:       Yes
State:         Available

InstName:      mq75
InstDesc:      WMQ V7.5
Identifier:    1
InstPath:      C:\mq75
Version:       7.5.0.2
Primary:       No
State:         Available
MSIProdCode:   {38E913AA-0F10-434C-BEEC-7473D6C196E8}
MSIMedia:      7.5 Server
MSIInstanceId: 1


There is really nothing more to it...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
DP1234
PostPosted: Wed Jun 11, 2014 9:44 pm    Post subject: Reply with quote

Apprentice

Joined: 25 May 2014
Posts: 40

C:\Program Files\IBM\MQSI\9.0.0.0>setmqenv -m IIB_MQ -n Installation1 -p "C:\Program Files\IBM\WebSphere MQ" -r -s

AMQ7255: Arguments supplied to a command are incompatible.
AMQ7024: Arguments supplied to a command are not valid.

Can u point out where i've gone wrong
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 12, 2014 4:52 am    Post subject: Reply with quote

Grand High Poobah

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

DP1234 wrote:
C:\Program Files\IBM\MQSI\9.0.0.0>setmqenv -m IIB_MQ -n Installation1 -p "C:\Program Files\IBM\WebSphere MQ" -r -s

AMQ7255: Arguments supplied to a command are incompatible.
AMQ7024: Arguments supplied to a command are not valid.

Can u point out where i've gone wrong

You can only use one of [-m qmgr | -n installationName | -p Path | -r | -s ] ... so for your command drop -m -r and -s ...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » REG: Creating a IIB9 Broker in Linux Machine
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.