| Author | 
		  Message
		 | 
		
		  | bobbee | 
		  
		    
			  
				 Posted: Tue May 08, 2012 11:42 am    Post subject: migrating existing broker to HA CMP | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 20 Sep 2001 Posts: 546 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue May 08, 2012 11:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bobbee | 
		  
		    
			  
				 Posted: Tue May 08, 2012 12:31 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 20 Sep 2001 Posts: 546 Location: Tampa 
  | 
		  
		    
			  
				| yup, now, with out creating a soft link, how do you tell the broker to look up there | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue May 08, 2012 7:55 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | zpat | 
		  
		    
			  
				 Posted: Tue May 08, 2012 9:49 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 19 May 2001 Posts: 5867 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | marko.pitkanen | 
		  
		    
			  
				 Posted: Tue May 08, 2012 9:57 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Tue May 08, 2012 11:00 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | zpat | 
		  
		    
			  
				 Posted: Wed May 09, 2012 12:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 19 May 2001 Posts: 5867 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bobbee | 
		  
		    
			  
				 Posted: Wed May 09, 2012 2:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 20 Sep 2001 Posts: 546 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |