home / infca / wbi (navigation links) El pecho de los hombres libres es la tumba de sus secretos

Migracions | CheckList | Problemas  

Migracions de MB


Migracions Amunt! Top Amunt!
2.1 -> 6.0

5.1 -> 6.0

Atenció si s'està en versió 5.0 !

Emir

Creo que lo mejor para el sistema de pre-produccion es crear el broker con su base de datos DB2, y no migrar nada. Una vez testeados los flujos, exporta todo (flujos y mensajes), se importan en pre-produccion y se hace deploy. En V5 y V6 basta con pasar el bar file de un entorno a otro.
Hace mucho escribí esto; creo que todavia se aplica a V2.1: IC04v21.pdf

All the Message Broker V5.0 or 5.1 broker development resources can be used "as is" in the Message Broker V6.0 Toolkit with the exception of user-defined extensions and mapping files, which require further migration.

Migrating to MB v6, SG24-7198-00.

How to migrate

MB v6 Migration.ppt

Single domain migration checklist
ch 19, pg 339
backup the current domain
ch 20, pg 353
migrate the Toolkit and resources (msg flows, msg sets, user-defined nodes)
ch 21, pg 387
migrate the Configuration Manager
ch 22, pg 427
migrate the Name Server (if present)
take a backup of the brokers
ch 24 (AIX), pg 447
migrate the brokers
check for successful migration

Migrating to MB v6, SG24-7198-00, 27.1, page 330 [356/620]

Tip

You can use the script /tmp/output.txt command to make a typescript of everything displayed on your terminal to the specified file (in this case, to /tmp/output.txt) on UNIX systems. The script ends when the forked shell exits.

Backup
Toolkit migration

url

Migrating CM in situ

Configuration Manager maintains the broker domain configuration, interfacing between the Toolkit and a set of executing brokers.

The Configuration Manager acts as the central repository for broker domain components, communicating with other components in the domain using MQ. It also deploys to the broker domain as a result of actions initiated through the Toolkit, and reports the resultant status messages back to the Event Log.

Migrating CM (v6) to a computer without DB2

url

Migrating CM (v5) and moving to a computer without DB2 in one step

url

Migrating AIX broker(s)

Migrating to MB v6, SG24-7198-00, 24.1, page 448 [474/620]

Post-migration tasks

After completing the migration to Message Broker V6.0, perform verification tasks such as:

Migrating to MB v6, SG24-7198-00, 27.1, page 496 [522/620]


MQ v5 -> v6 mig checklist
saveqmgr QMDESA01 > /home/mqm/dades/QMDESA01.TST
separar cluster ( QMDESA01c.TST ) del resto ( QMDESA01r.TST )
(mqm) endmqm QMDESA01
(mqm) amqiclen -x -m QMDESA01 -v
(mqm) /MQHA/bin/mc91_v6/hacmp/hadltmqm QMDESA01
(mqm) rmdir /MQHA/QMDESA01/data/qmgrs/QMDESA01
(root) /MQHA/bin/mc91_v6/hacmp/crea_qm
export MQHAFSDATA="/MQHA/QMDESA01/data" export MQHAFSLOG="/MQHA/QMDESA01/log" ./hacrtmqm -lc -lp 20 -ls 10 -lf 4096 QMDESA01 (5/3/4096 para el resto)
How to set, in ALL channels and queues :
MAXMSGL(104857600)
A tots els QM.INI, posar :
Channels: MaxChannels=400
(mqm) strmqm QMDESA01
runmqlsr -t TCP -p 1414 -m QMDESA01
(mqm) runmqsc QMDESA01 < /home/mqm/dades/QMDESA01c.TST
Wait for the cluster to be updated on MQ Explorer ...
(mqm) runmqsc QMDESA01 < /home/mqm/dades/QMDESA01r.TST
MB v5 -> v6 mig checklist
Get all Execution Groups
Get all BAR files
(root) [/home/wbrkadm/Scripts/] /MQHA/bin/ic91/hacmp/hamqsideletebroker BKDESA01 aixuser BDNAME bduser
rm -r /var/mqsi60/components/BKDESA0n
rm -r /var/mqsi60/registry/BKDESA0n
rm -r /var/mqsi/brokers/BKDESA0n
rm -r /var/mqsi/registry/BKDESA0n
rm -r /MQHA/<qmname>/data/brokers/
rm -r /MQHA/<qmname>/data/registry/
(root) [/MQHA/bin/] /MQHA/bin/hamqsicreatecfgmgr CMname -i aixuser -a aixpwd -q QMname
(root) [/MQHA/bin/] /MQHA/bin/hamqsicreatebroker BKname01 -i aixuser -a aixpwd -q QMname -n BDNAME -u bduser -p bdclau
(wbrkadm) mqsisetdbparms BKname01 -n MQbdTWO -u usuari -p clau
(mqm) setmqaut <lista>
Set deploy timeout to 5 min :
mqsichangebroker BKDESA01 -g 300 ConfigurationDelayTimeout mqsichangebroker BKDESA01 -k 300 ConfigurationTimeout See AIX - /var/mqsi60/registry/BKDESA01/CurrentVersion
(wbrkadm6) mqsistart BKDESA01
(wbrkadm6) mqsicreateexecutiongroup -n cmdesa.config -b BK_NAME -e EXEC_GRP_NAME
donde cmdesa.config contiene :
<?xml version="1.0" encoding="UTF-8"?> <configmgr crlNameList="" domainName="" host="1.2.3.4" listenerPort="1435" queueManager="QMDESACM" securityExit="" securityExitJar="" sslCipherSuite="NONE" sslDistinguishedNames="" sslKeyStore="" sslTrustStore="" svrconn="SYSTEM.BKR.CONFIG"/>
(wbrkadm6) mqsideploy -n cmdesa.config -b BK_NAME -e EXEC_GRP_NAME -a BAR_NAME.bar
A /etc/syslog.conf veure una línia com user.debug /var/path/user.log
Veure el contingut de user.log a cada deploy !
.profile de wbrkadm (v6) has to have
LDR_CNTRL=USERREGS
required by MQSIDEPLOY.

url

Pending :
MB V6.1 sys reqs

url

MB V6.1 migration

url

Resolving problems that occur when migrating or importing resources


Known/solved problems Amunt! Top Amunt!
BIP1506E

Problem You delete the physical broker component before removing it from the broker domain in the toolkit. Now when you attempt to delete and add it back within the toolkit you are getting BIP1506E. This message indicates that the qmgr is already associated with another broker (the one previously deleted).

Cause The broker was physically deleted before it was removed from the toolkit broker domain, this was the reason for the incorrect data in the configmgr database.

Solution Launch the Config Manager Proxy API Exerciser:

  1. Connect to the configmgr by specifying the host, listener port, and config manager's qmgr
  2. Right click PubSubTopology
  3. Select Remove References to a Previously Deleted Broker
  4. Specify the broker name.
  5. Add the broker to the domain.

url

To start the Configuration Manager Proxy API Exerciser (on Windows), click

Start > IBM WebSphere Message Brokers 6.0 > Java Programming APIs > Configuration Manager Proxy API Exerciser

url url


createbroker -1

(1) Make sure Oracle is running :

dx0649:/home/wbrkadm # ps -ef | grep pmon ora9 372940 1 0 17:33:42 - 0:00 ora_pmon_mqbkdesa

altogether with its listener :

dx0649:/home/wbrkadm # ps -ef | grep lsn wbrkadm 155664 405648 0 15:16:36 pts/0 0:00 grep lsn

(2) Make sure in .odbc.ini (usualy at /var/mqsi/odbc/) you have the appropiate driver for Oracle :

Driver=/usr/mqsi/merant/lib/UKor820.so

BIP1100E

Install CSD 03, and verify JVM 1.4 is used

. /usr/mqsi60/bin/mqsiprofile env LIBPATH=/usr/mqsi60/jre/bin:/usr/mqsi60/jre/bin/classic:/usr/mqm/java/lib:/usr/mqsi60/lib:

BIP1510E: Deployment failed; a deployment is already in progress to broker BKDESA02

To cancel the deploy operation, either :


BIP8087E: BKDESA02 already exists and cannot be created.

Qué s'ha de borrar ?

Unix : /var/mqsi60/components/BKNAME /var/mqsi/registry/BKNAME Win : HKLM\software\ibm\WebSphereMQIntegrator\2\TKT01BK\ c:\Documents and Settings\All Users\Application Data\IBM\MQSI\components\TKT01BK\ <restart>

MB v5 un-install
java -jar uninstall.jar

Pending :

BIP1037S: Broker not found.

Si hacemos un mqsicreateexecutiongroup y recibimos este mensaje, Broker 'BKDESA01' was not found in the Configuration Manager repository.

Pregunta : cómo ver lo que hay en el repositorio ? (desde una command line / shell de AIX )


Valid HTML 4.01!   Valid CSS!
Updated : 13/04/2007.  
Uf !