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 » Clustering » Security in a clustered environment

Post new topic  Reply to topic
 Security in a clustered environment « View previous topic :: View next topic » 
Author Message
jeasterl
PostPosted: Tue Apr 02, 2002 3:24 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Jun 2001
Posts: 65

I am limiting access to certain queues via the setmqaut command. The command is run against alias queues pointing to clustered queues. However, once I try to put to the alias, I receive a MQRC_OBJECT_NOT_FOUND.

I have searched through the manuals searching for information on setting up security in a clustered environment, but there is very little available. Any help would be appreciated

[ This Message was edited by: jeasterl on 2002-04-03 04:46 ]

[ This Message was edited by: jeasterl on 2002-04-03 04:47 ]
Back to top
View user's profile Send private message
abanks
PostPosted: Fri Apr 05, 2002 8:14 am    Post subject: Reply with quote

Newbie

Joined: 04 Apr 2002
Posts: 3

This was fixed as of V5.2 CSD03.
The folowing is an example of some definitions that should work.

#!/bin/ksh
#
# Set up the queue managers.
#

HOST=`hostname`
crtmqm -u SYSTEM.DEAD.LETTER.QUEUE -lf64 QM1 &
crtmqm -u SYSTEM.DEAD.LETTER.QUEUE -lf64 QM2 &
crtmqm -u SYSTEM.DEAD.LETTER.QUEUE -lf64 QM3 &
crtmqm -u SYSTEM.DEAD.LETTER.QUEUE -lf64 QM4 &
wait

strmqm QM1 &
strmqm QM2 &
strmqm QM3 &
strmqm QM4 &
wait

runmqlsr -m QM1 -t tcp -p 1414 &
runmqlsr -m QM2 -t tcp -p 1415 &
runmqlsr -m QM3 -t tcp -p 1416 &
runmqlsr -m QM4 -t tcp -p 1417 &

echo "*** set up QM1 ***"
echo "DEFINE CHANNEL(TO.QM1) CHLTYPE(CLUSRCVR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1414)') SHORTTMR(10) HBINT(5)" | runmqsc QM1
echo "DEFINE CHANNEL(TO.QM2) CHLTYPE(CLUSSDR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1415)') SHORTTMR(10) HBINT(5)" | runmqsc QM1
echo "DEFINE QALIAS(QA) TARGQ(Q1)" | runmqsc QM1

echo "*** set up QM2 ***"
echo "ALTER QMGR REPOS(DEMO)" | runmqsc QM2
echo "DEFINE CHANNEL(TO.QM2) CHLTYPE(CLUSRCVR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1415)') SHORTTMR(10) HBINT(5)" | runmqsc QM2
echo "DEFINE CHANNEL(TO.QM3) CHLTYPE(CLUSSDR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1416)') SHORTTMR(10) HBINT(5)" | runmqsc QM2

echo "*** set up QM3 ***"
echo "ALTER QMGR REPOS(DEMO)" | runmqsc QM3
echo "DEFINE CHANNEL(TO.QM3) CHLTYPE(CLUSRCVR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1416)') SHORTTMR(10) HBINT(5)" | runmqsc QM3
echo "DEFINE CHANNEL(TO.QM2) CHLTYPE(CLUSSDR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1415)') SHORTTMR(10) HBINT(5)" | runmqsc QM3

echo "*** set up QM4 ***"
echo "DEFINE CHANNEL(TO.QM4) CHLTYPE(CLUSRCVR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1417)') SHORTTMR(10) HBINT(5)" | runmqsc QM4
echo "DEFINE CHANNEL(TO.QM2) CHLTYPE(CLUSSDR) CLUSTER(DEMO) TRPTYPE(TCP) CONNAME('$HOST(1415)') SHORTTMR(10) HBINT(5)" | runmqsc QM4
echo "DEFINE QLOCAL(Q1) DEFBIND(NOTFIXED) CLUSTER(DEMO)" | runmqsc QM4
sleep 5

setmqaut -m QM1 -t qmgr -p guest -all +connect +inq

# V5.2. CSD03 onwards.
setmqaut -m QM1 -t q -n SYSTEM.CLUSTER.TRANSMIT.QUEUE -p guest +put
setmqaut -m QM1 -t q -n QA -p guest -all

# Run the following signed on as guest
# echo "PUT to Q1 on QM1" | amqsput Q1 QM1
# echo "PUT to QA on QM1" | smqsput QA QM1
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Security in a clustered environment
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.