Posted: Wed Jul 01, 2009 5:57 am Post subject: Create broker reference without toolkit or config mgr proxy
Apprentice
Joined: 29 Jan 2007 Posts: 45
Hi,
To my limited knowledge, I understand that creating a broker reference is really just adding database entries related to the broker in to the configutration manager repository.
Is there any command to do this by a simple mqsi command(say mqsicreatebrokerreference <broker name> <config manager name> <queue manager name>) avoiding the toolkit and the config manager proxy exerciser(including the java API's for the config manager proxy) or why there is no command available till date and have to depend upon the toolkit?
P.S: Pls excuse me if it is such a blunt question.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
The broker creation process involved more than just creating rows in DB tables.
It includes the following
1) Creating WMQ Queues and setting up their authorisations
2) Creating (on Unix/Linux) directories & files in /var/mqsi
3) Creating (on Windows) registry entries and some directories/files.
I'm sure there could be other things it does under the hood.
Stephen D _________________ 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.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Please ignore my previous reply. I misread the question. _________________ 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.
Very much thanks to all for your replies. This allows me to automate the process of creating the broker, config manager, creating broker reference using a simple shell script. I think "mqsicreateexecutiongroup -f" option is available from v6.1.
-f brokerQMgr
Forces a broker with the supplied queue manager name to be defined in the Configuration Manager, if it does not already exist. If the broker is already defined in the Configuration Manager, this flag is ignored.
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