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 » migrating existing broker to HA CMP

Post new topic  Reply to topic
 migrating existing broker to HA CMP « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Tue May 08, 2012 11:42 am    Post subject: migrating existing broker to HA CMP Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

What r the steps to get an existing V7 broker to point to SAN for HA CMP. I know I do an mqsiaddinstance on the second but all instructions say to create the first broker. Mine is already there.
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Tue May 08, 2012 11:57 am    Post subject: Reply with quote

Grand High Poobah

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

you need to move the relevant work directory on to san.
I would expect that to be all under /var/mqsi

see /var/mqsi/components/<brokername>...
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bobbee
PostPosted: Tue May 08, 2012 12:31 pm    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

yup, now, with out creating a soft link, how do you tell the broker to look up there
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Tue May 08, 2012 7:55 pm    Post subject: Reply with quote

Grand High Poobah

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

bobbee wrote:
yup, now, with out creating a soft link, how do you tell the broker to look up there


You stop the broker, move to san and mount the san at the same point so that the path has not changed...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue May 08, 2012 9:49 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Or just move the relevant parts of the file system (registry and components) and symlink them (like the HA support pac for WMB does).
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Tue May 08, 2012 9:57 pm    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

I think you should study support pack "IC91: High Availability for WebSphere Message Broker on Distributed Platforms" to find out what is required for HA configuration before you do your changes to existing environment.

--
Marko
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Tue May 08, 2012 11:00 pm    Post subject: Reply with quote

Jedi Council

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

marko.pitkanen wrote:
Hi,

I think you should study support pack "IC91: High Availability for WebSphere Message Broker on Distributed Platforms" to find out what is required for HA configuration before you do your changes to existing environment.

--
Marko


The IC91 Support Pack is really only applicable to brokers with a version less than 7.0.0.0.

If you have scripts to create, provision and deploy objects to your existing broker it should be fairly simple to drop the broker and re-create it as a multi-instance one.

This is always assuming that you have configured the underlying Queue Manager into the HA environment.
_________________
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
zpat
PostPosted: Wed May 09, 2012 12:21 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I use IC91 with broker 7 (as I don't want a mixture of types of HA setup and also I may upgrade brokers in place).

Works fine (leaving out the config manager and DB2 of course).

This script below can be used to move & symlink your non-SAN directories to SAN. Use at own risk of course.

Code:

#!/bin/ksh
#
#   This script fixes an MQSI broker so that it can once again run in an HA
#   cluster, following a mqsirestorebroker (which resets the HA symbolic links)
#   set the name of the broker and MQ HA data mount point in this script

if [ `id -u`  -ne 0 ]
then
  echo "Must be running as root"
  exit 1
fi

BROKER=<brokername>
DATAPATH=/MQHA/<brokername>/data

curdir=`pwd`
cd /var/mqsi/components
echo "Moving components/$BROKER directory back to $DATAPATH"
if [ ! -d $DATAPATH/components ]
then
  mkdir $DATAPATH/components
fi
cp -Rp $BROKER $DATAPATH/components
rm -fr $BROKER
ln -fs $DATAPATH/components/$BROKER $BROKER

cd /var/mqsi/registry
echo "Moving registry/$BROKER directory back to $DATAPATH"
if [ ! -d $DATAPATH/registry ]
then
  mkdir $DATAPATH/registry
fi
cp -Rp $BROKER $DATAPATH/registry
rm -fr $BROKER
ln -fs $DATAPATH/registry/$BROKER $BROKER
cd $curdir
echo "ended - check the outcome"
exit 0
Back to top
View user's profile Send private message
bobbee
PostPosted: Wed May 09, 2012 2:03 am    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

The confirmation that IC91 is still an option was a valuable post. Thanks you also for the script. I have also put up a WMB Requirement to add any and all of this to the Infocenter including the lab thinking about adding a simular -e parm to the mqsichangebroker. There is one now but it is nothing like the -e on the other commands. Thanks everyone who posted, back on course.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » migrating existing broker to HA CMP
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.