필수 구성요소 코드가 있는 제품의 버전 6.0 설치가 설치되어 있어야 합니다. 즉, 필요한 경우 브로커 구성요소가 설치됩니다.
이주를 시작하기 전에 제어 센터의 디버깅 세션을 정지하십시오. 디버그 중인 메시지 플로우를 이주할 수는 없습니다.
mqsimigratecomponents 명령은 레지스트리 및 파일 시스템, WebSphere MQ 정의 및 데이터베이스 정의를 갱신합니다. 명령을 발행하는 사용자에게 이 단계 중 일부를 수행할 권한이 없으면 한번에 하나씩 명령을 실행할 수 있습니다. 종합적인 결과를 얻기 위해 다른 사용자가 수행할 권한이 있는 부분을 실행할 수 있습니다. 이 방법은 분할 이주라고 부르며 -1, -2 및 -3 매개변수를 사용하여 수행됩니다.
1> use master 2> go 1> sp_dboption "BROKER1","ddl in tran",TRUE 2> go Database option 'ddl in tran' turned ON for database 'BROKER1'. Run the CHECKPOINT command in the database that was changed. (return status = 0) 1> use BROKER1 2> go 1> checkpoint 2> go여기서 BROKER1은 Sybase 브로커 데이터베이스의 이름입니다.
mqsimigratecomponents FIRSTBROKER -t 6.0.0.1
mqsimigratecomponents BROKERB -1 -2
mqsimigratecomponents BROKERB -1 mqsimigratecomponents BROKERB -2
이주 점검은 실행 중인 구성요소에 대해 실행할 수 있습니다. 이는 약간의 성능 손실을 제외하고는 구성요소에 영향을 주지 않습니다. UNIX 시스템에서 점검 명령이 브로커 데이터베이스에 액세스할 수 있어야 하므로 점검을 실행하기 전에 odbc.ini 파일을 병합해야 합니다(즉, 기존의 것과 동일한 데이터 소스 세트로 새 형식 odbc.ini 파일을 작성해야 함).
점검 명령이 성공하거나 실패하고, 이주가 성공하는지 여부에 대한 메시지를 인쇄하지만 프로세스 중 수정사항이 작성되지 않습니다.
이 명령은 다양한 조작의 결과에 따라 가능한 많은 수의 응답을 생성할 수 있습니다. 이 명령은 메시지를 생성하는 방법에서 다른 명령과 다름에 유의하십시오. 프로그램 끝에
배치로 생성되지 않고 필요한 대로 표시됩니다.
데이터베이스 테이블을 이주할 때 z/OS는
분산 시스템보다 많은 출역을 생성합니다.
다음 예는 버전 2.1에서 버전 6.0으로의 BROKER1의 이주를 점검합니다.
mqsimigratecomponents –c BROKER1 BIP8849I: Broker 'BROKER1' (Version 2.1) with Queue Manager 'brkqm1' and Data Source 'brkdb1' specified for migration. BIP8791I: Duplicate rows check started. BIP8794I: Table BRMINFO has no duplicated rows. BIP8794I: Table BRMRTDDEPINFO has no duplicated rows. BIP8794I: Table BROKERRESOURCES has no duplicated rows. BIP8794I: Table BRMRTDINFO has no duplicated rows. BIP8794I: Table BRMWFDINFO has no duplicated rows. BIP8792I: Duplicate rows check passed. BIP8791I: Duplicate rows check started. BIP8800W: No invalid topic syntax was detected in table BSUBSCRIPTIONS. BIP8800W: No invalid topic syntax was detected in table BPUBLISHERS. BIP8800W: No invalid topic syntax was detected in table BRETAINEDPUBS. BIP8797I: Topic syntax check succeded BIP8680I: Pre-migration check succeeded. BIP8071I: 명령이 정상적으로 완료되었습니다.
다음 예는 버전 2.1에서 버전 6.0으로의 BROKER1의 자동 이주를 수행합니다.
mqsimigratecomponents BROKER1 BIP8849I: Broker 'BROKER1' (Version 2.1) with Queue Manager 'BROKER1' and Data Source 'BROKERDB' specified for migration. BIP8755I: Copied value 'QueueManagerName' into the new location BIP8755I: Copied value 'DataSourceName' into the new location BIP8755I: Copied value 'DataSourceUserId' into the new location BIP8755I: Copied value 'DataSourcePassword' into the new location BIP8755I: Copied value 'LilPath' into the new location BIP8755I: Copied value 'ConfigurationTimeout' into the new location BIP8755I: Copied value 'ConfigurationDelayTimeout' into the new location BIP8755I: Copied value 'MigrationNeeded' into the new location BIP8755I: Copied value 'MQTrustedQueueManager' into the new location BIP8755I: Copied value 'UserNameServerQueueManagerName' into the new location BIP8755I: Copied value 'BrokerUUID' into the new location BIP8755I: Copied value 'AdminAgentPID' into the new location BIP8763I: Deleted value 'QueueManagerName' from the old location BIP8763I: Deleted value 'DataSourceName' from the old location BIP8763I: Deleted value 'DataSourceUserId' from the old location BIP8763I: Deleted value 'DataSourcePassword' from the old location BIP8763I: Deleted value 'LilPath' from the old location BIP8763I: Deleted value 'ConfigurationTimeout' from the old location BIP8763I: Deleted value 'ConfigurationDelayTimeout' from the old location BIP8763I: Deleted value 'MigrationNeeded' from the old location BIP8763I: Deleted value 'MQTrustedQueueManager' from the old location BIP8763I: Deleted value 'UserNameServerQueueManagerName' from the old location BIP8763I: Deleted value 'BrokerUUID' from the old location BIP8763I: Deleted value 'AdminAgentPID' from the old location BIP8768I: Finished registry migration for component 'BROKER1'. BIP8654I: Moving filesystem artefacts from '' to 'C:\Documents and Settings\AllUsers\Application Data\IBM\MQSI' BIP8670I: Database migration started BIP8663I: Creating temporary new tables BIP8664I: Migrating from existing tables to temporary new tables BIP8665I: Dropping existing tables BIP8666I: Creating new tables BIP8667I: Copying all rows from temporary new tables to new tables BIP8668I: Dropping temporary new tables BIP8669I: Database migration successful BIP8785I: Starting WebSphere MQ queue migration for component 'BROKER1'. The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.AGGR.REQUEST' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.AGGR.CONTROL' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.AGGR.REPLY' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.AGGR.TIMEOUT' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.AGGR.UNKNOWN' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.TIMEOUT.QUEUE' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.INTERBROKER.MODEL.QUEUE' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.WS.INPUT' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.WS.REPLY' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.WS.ACK' The setmqaut command completed successfully. BIP8786I: Created WebSphere MQ queue 'SYSTEM.BROKER.IPC.QUEUE' BIP8787I: Cleared WebSphere MQ queue 'SYSTEM.BROKER.ADMIN.QUEUE' BIP8787I: Cleared WebSphere MQ queue 'SYSTEM.BROKER.EXECUTIONGROUP.QUEUE' BIP8787I: Cleared WebSphere MQ queue 'SYSTEM.BROKER.EXECUTIONGROUP.REPLY' BIP8787I: Cleared WebSphere MQ queue 'SYSTEM.BROKER.IPC.QUEUE' BIP8789I: Finished WebSphere MQ queue migration for component 'BROKER1'. BIP8071I: 명령이 정상적으로 완료되었습니다.
다음 예는 버전 2.1에서 버전 6.0으로의 분할 이주를 설명합니다.
mqsimigratecomponents BROKER -1 mqsimigratecomponents BROKER -s 2.1.0.8 -2 mqsimigratecomponents BROKER -s 2.1.0.8 -3
다음 예는 버전 6.0에서 버전 2.1로의 분할 이주를 설명합니다.
mqsimigratecomponents BROKER -t 2.1.0.8 -2 mqsimigratecomponents BROKER -t 2.1.0.8 -3 mqsimigratecomponents BROKER -t 2.1.0.8 -1