Iâm an integration specialist at Solita Oy, an IT service management company, and a Boomi implementation partner. Our team was given the task of migrating master data from one Boomi Data Hub cloud to another Boomi Data Hub cloud location.
In the first blog of this series, I talked about the background of the project, and things to consider before migration. In the second blog, I covered MDM solution configuration. Now, itâs time to share the lessons we learned and best practices we implemented based on these discoveries.
Boomi Data HubããããŒã¿ãååŸããéã«åãã£ãéèŠãªãã€ã³ã
ããŒã¿ååŸã®é²ãæ¹
Boomi Data HubããããŒã¿ãååŸããã«ã¯ãBoomi APIãæŽ»çšããŸããç§»è¡ãããžã§ã¯ãã§ã¯ãç¹ã«ä»¥äžã®ã¯ãšãªã®å©çšãéèŠãšãªããŸãã
- ãŽãŒã«ãã³ã¬ã³ãŒãã®ååŸ
- ãŽãŒã«ãã³ã¬ã³ãŒãã®å±¥æŽååŸ
- ãŽãŒã«ãã³ã¬ã³ãŒãã®ã¡ã¿ããŒã¿ååŸ
- ãããæŽæ°ã®ã¹ããŒã¿ã¹ç¢ºèª
Fetching data from Boomi Data Hub through Query Golden Records works like a paging API, where you receive batches of 200 records and you have to repeat the query with an offset token provided in the previous result. When the offset token is empty, you have fetched the last batch.
If you need the history of each golden record, you will need to query that individually for each record.
ããŒã¿ããç§»è¡ã®ããã®ããŒã¿å€æã§åãã£ãéèŠãªãã€ã³ã
ããŒã¿åœ¢åŒã®æŽãæ¹
ç§»è¡æã«ã¯ãããŒã¿ãç»é²ãæ¯èŒã«é©ãã圢åŒãžå€æããããšãéèŠã§ããä»åã®ãããžã§ã¯ãã§ã¯ãè€æ°ã®ãŽãŒã«ãã³ã¬ã³ãŒããšãã®å±¥æŽãæ±ããããã«ãé åã®äžã«ããã«é åãæã€æ§é ã§ããŒã¿ã管çããŸããã
ç°¡æçãªæ¯èŒã§ããã°ãææ°ã®å±¥æŽã ãã察象ã«ããæ¹æ³ã§ãååã§ããäžæ¹ã§ãããæ£ç¢ºã«ããŒã¿ãæ¯èŒãããå Žåã¯ãç§»è¡åŸã«ãœãŒã¹åŽãšç§»è¡å
ã®MDMéã§ãå±¥æŽã®ãã¹ãŠã®ã¹ãããããœãŒã¹ãšã®çŽä»ãæ
å ±ãŸã§å«ããŠæ¯èŒããå¿
èŠããããŸãã
ãªããç§»è¡ããã»ã¹ã®äžã§æãæéãèŠããäœæ¥ã¯ãããŒã¿ååŸãšãªãã±ãŒã¹ãå€ããšãããŸãããã®ãããå±¥æŽããŒã¿ãååŸããããŽãŒã«ãã³ã¬ã³ãŒãã®çŸåšã®ç¶æ
ã®ã¿ãæ¯èŒãããããªè»œéãªæ¯èŒããžãã¯ãèšèšããããšããå¹ççãªé²ãæ¹ãšãªããŸãã
ããŒã¿ã®æŽçã¯ç§»è¡èšç»ã®æ®µéãã
ããŒã¿ã®æŽçã»ã¯ã¬ã³ãžã³ã°ã¯ãç§»è¡ãããžã§ã¯ãã®èšç»æ®µéãã宿œãã¹ãéèŠãªåãçµã¿ã§ããéè€ããŒã¿ãå
¥åãã¹ãªã©ã®äžæŽåããããšãç§»è¡äœæ¥ã®é£æåºŠã倧ããé«ãŸããŸãã
ãã ããåææ®µéã§ã®æŽçã ãã§ã¯äžååãªå Žåãå€ããç§»è¡ã®é²è¡äžã«ãæ°ããªåé¡ãèŠã€ããå¯èœæ§ããããŸãããã®ãããç§»è¡æéäžãç¶ç¶çã«ããŒã¿åè³ªã®æ¹åã«åãçµãåæã§é²ããããšãéèŠã§ãã
ãŸããããŒã¿å質ã«é¢ãã倿ã察å¿ãã§ããæ¥åæ
åœè
ããããžã§ã¯ãã«é¢äžããŠãããšãç§»è¡ãåæ»ã«é²ãããããªããŸãã
Boomi Data Hubããã®ããŒã¿ç§»è¡ã§åãã£ãå®è·µçãªé²ãæ¹
ç§»è¡ããã»ã¹ã®èãæ¹
ããã§ç޹ä»ããããã»ã¹ã¯ã次ã®2ã€ã®ç¶æ³ã«å¯Ÿå¿ã§ããããèšèšãããŠããŸãã
ã»ç§»è¡å
ã®MDMã«ãŸã ãŽãŒã«ãã³ã¬ã³ãŒããååšãããèšå®ã®ã¿å®äºããŠããå Žå
ã»äžéšã®ç§»è¡ãå®äºããŠããMDMã«å¯Ÿããç§»è¡ã®å®äºãåæãè¡ãå Žå
This enabled us to pause the migration process when we ran into quarantine issues or other errors that paused the process. We were also able to purge any corrupted golden records and re-migrate only those records. This enabled an approach that didnât require everything to go perfect on the first try, enabled us to compare the data and monitor the synchronization levels when testing the new MDM, and make changes to configurations like source ranking in order to handle issues related to configuration changes that occurred during the history of golden records.
The process we found the best for our case was roughly like this:
1. Store the timestamp for the start of the process.
2. Fetch all the golden records from the source MDM.
3. Fetch all the golden records from the target MDM.
4. Compare these to each other.
1. Check the values of the golden records.
2. Check the update timestamps of golden records.
5. Records that donât exist in the target MDM are marked to be migrated.
6. Records that have differences either in the update timestamp or field values are to be either updated with the latest data or removed from target MDM and then migrated completely.
7. Gather all the records that need to be migrated.
8. Fetch the record history of these golden records.
9. Arrange your data into batches.
1. Loop through your sources.
2. Take the first history step for the record that has not yet been sent forward on this round.
3. If the contributing source for the history step matches the source you are currently
processing, throw the step into a batch of that source. Remember there are only 200 updates in a batch, so either send full batches or store them to wait for the round to complete and switch to a new one.
4. The generation of the batch might require you to compare the current step in golden records history to the previous one in order to generate an update that contains only the fields that have changed.
5. Remove the golden record from the group of golden records that you are currently looping through. This will ensure that you will send only a single step of each recordâs history at a time.
6. Switch to the next source.
10. Send your batches and store the batch ID that you receive in the reply.
11. The update process is asynchronous, and as such you will need to query for the status of records before you can continue. Wait a moment and start querying the status of these batches with the Get Batch Update Status described in the API documentation.
12. If any of the statuses of your batches end up completed with errors or your entries got quarantined, pause the process and handle any issues manually before continuing the process. You can also ignore errors during the process and clean up the records afterwards, but errors might cause duplicates or data corruption which might affect other golden records.
13. Once all the batches have completed for this round, process the next step for all the golden records.
14. End the process with comparison of data to get a feel for how well the migration process went.
ã¬ã³ãŒãå šäœã段éããšã«é²ããç§»è¡æ¹æ³
Boomi Data Hubã§ã¯ã1åã®ãããã§æå€§200ä»¶ã®ãŽãŒã«ãã³ã¬ã³ãŒãæŽæ°ãåãä»ããããšãã§ããŸããããã¯ãæŽæ°åæ°ãã¯ãšãªæ°ãæããããã«æŽ»çšãã¹ãåºæ¬åäœã§ãããªãã1ã€ã®ãããã«å«ããããæŽæ°ã¯ãåãããŒã¿æäŸå ã§ããå¿ èŠããããŸãã
It is more efficient to handle the migration of the golden records by sending the first history step of each record and ensuring they are processed before sending the second step in the records histories.
If you migrate the records one record at a time and want to replay their history one step at a time you might end up with scrambled histories, and batches might not process in the order you send them. On the other hand, if you wait for each batch to finish and migrate depth first, you will end with an extremely long execution time.
ç§»è¡ã«ã¯äœè£ãæã£ãèšç»ãéèŠ
The Boomi Data Hub address is in use by multiple customers, and even though the environments are separated the other traffic will have an effect on your migration process. During periods of high traffic your migration batches might take a bit longer to get through or to be processed. Timeouts might occur if there are problems.
Plan your tools in a way where you have the possibility to adapt to such situations. Timeouts need to be retried with adaptive intervals to give the target system time to adjust and process.
ç¹æ§ãçè§£ããããã§ç§»è¡ãé²ãã
Boomi Data Hubãžã¬ã³ãŒããéä¿¡ããåŠçèœåã¯ãData HubåŽãã¬ã³ãŒããåä¿¡ã»åŠçã§ããèœåãäžåãå¯èœæ§ããããŸããç§»è¡äœæ¥ã§ã¯éåžžéçšæãããMDMãžã®ãã©ãã£ãã¯ãå€§å¹ ã«å¢å ããããããã®ç¹ãåæã«èšç»ãç«ãŠãããšãéèŠã§ãã
ãŸããè€æ°ã®ããããé£ç¶ããŠéä¿¡ããå Žåã§ããããããéä¿¡ããé åºã©ããã«åŠçããããšã¯éããŸããã ãã®ç¹æ§ãèæ ®ããã«ç§»è¡ãé²ãããšããŽãŒã«ãã³ã¬ã³ãŒãã®å±¥æŽãæ£ããé åºã§åçŸãããªãå¯èœæ§ããããŸãã
ããã«ãçµäºæ¥ãèšå®ããããŽãŒã«ãã³ã¬ã³ãŒãïŒend-dated golden recordsïŒç¹å®ã®æéã®ã¿æå¹ãšãããå±¥æŽäžã®ã¬ã³ãŒãïŒãç§»è¡ããå Žåã¯ããããã³ã°ã«ãŒã«ã«ãããéè€å€å®ã®ãªã¹ã¯ãé«ãŸããŸããçŸåšã®ããŒã¿ã«éè€ããªãããšã確èªããŠããŠããå±¥æŽäžã®ã¬ã³ãŒãã«åäžã®ãããã³ã°é ç®ãååšããå¯èœæ§ãããããã®çµæãç§»è¡ããã»ã¹äžã«æ€ç«å¯Ÿè±¡ã®ãšã³ãã£ãã£ãçºçããããšããããŸãã
ãããå ã§ã®å±¥æŽããŒã¿çææã®æ³šæç¹
ãŽãŒã«ãã³ã¬ã³ãŒãã®å±¥æŽãååŸãããšãåæŽæ°åŸã®æç¹ã«ããããã¹ãŠã®é ç®ã®å€ãè¿ãããŸããã€ãŸããéå»ã«ãœãŒã¹ã·ã¹ãã ãData Hubãžã©ã®é ç®ãæŽæ°ãšããŠéä¿¡ããã®ããŸã§ã¯åãããŸãããå±¥æŽäžã§ååŸã®ã¹ãããéã«å€æŽããªãé ç®ã«ã€ããŠããå®éã«ã¯æŽæ°ã«å«ãŸããŠããã®ããåã«çç¥ãããŠããã®ããåºå¥ã§ããªããšããããšã§ãã
å€ãã®å Žåããã®ç¹ã¯å€§ããªåé¡ã«ã¯ãªããŸãããå±¥æŽã¹ãããããšã«ããã®æç¹ã®ãã¹ãŠã®é ç®ããã®ãŸãŸéä¿¡ããŠãæ¯éããªãããã§ããããããé ç®å¥åªå é äœïŒranked fieldsïŒããŒã¿æäŸå ããšã«é ç®åäœã§åªå 床ãèšå®ããã©ã®ãœãŒã¹ã®å€ãæ¡çšããããå¶åŸ¡ããæ©èœïŒãæå¹ã«ããŠããå Žåã¯æ³šæãå¿ èŠã§ãã
倿Žã®æç¡ã確èªããã«ãã¹ãŠã®é ç®ãéä¿¡ãããšãäžäœã®ãœãŒã¹ããã¹ãŠã®é ç®ã«å¯ŸããŠæŽæ°ãè¡ã£ããšèŠãªãããå¯èœæ§ããããŸãããã®çµæãåŸããäžäœã®ãœãŒã¹ãæŽæ°ããããšããŠãã該åœé ç®ã倿Žã§ããªããªãå ŽåããããŸããããšãé ç®ã®å€èªäœãå€ãã£ãŠããªããŠããData Hubã¯ã©ã®ãœãŒã¹ãã©ã®é ç®ã«é¢äžããããèšé²ããåªå 床ã®äœããœãŒã¹ã«ããæŽæ°ãå¶éããä»çµã¿ãæã£ãŠããããã§ãã
ãªããã©ã®é ç®ãã©ã®ãœãŒã¹ã«ãã£ãп޿°ãããããå€å¥ã§ããæ å ±ã¯ãAPIããååŸããããšãã§ããŸããããã®ãããranked fieldsãå©çšããŠããç°å¢ã§ã¯ãåçŽã«å±¥æŽããŒã¿ããã¹ãŠéä¿¡ããæ¹æ³ã¯é©ããŠããŸããã
å®åäžã¯ãå±¥æŽã®åã¹ããããåã®ã¹ããããšæ¯èŒããå®éã«å€æŽããã£ãé ç®ã®ã¿ãæœåºããŠæŽæ°ããŒã¿ãçæããå¿ èŠããããŸãã ãŸããç§»è¡å ã®MDMã§æ£ãããŽãŒã«ãã³ã¬ã³ãŒããç¹å®ã§ããããããããã³ã°ã«äœ¿çšãããé ç®ã¯å¿ ãæŽæ°ããŒã¿ã«å«ããããšãéèŠã§ãã
æ§ç°å¢ãšæ°ç°å¢ãäžå®æé䞊è¡éçšãã
æ§ãã¹ã¿ãŒããŒã¿ãããšæ°ãã¹ã¿ãŒããŒã¿ããã®åæ¹ãžåæã«ã¬ã³ãŒããéä¿¡ããæéãèšããããšã§ãç§»è¡ããã»ã¹ããã³é£æºåŠçã®äž¡æ¹ã«ãããåé¡ãæ©æã«ç¹å®ãããããªããŸãããã¹ãŠã®åä¿¡ã¡ãã»ãŒãžãäž¡ç°å¢ãžè€è£œããŠéä¿¡ããã°ãæ§ç°å¢ãšæ°ç°å¢ã®éã§ããŒã¿ã®åæç¶æ ãç¶æãããããªããŸãã
ç§»è¡äœæ¥ã§ã¯æ³å®å€ã®ãšã©ãŒãçºçããå¯èœæ§ãããããããã®ãããªäžŠè¡éçšæéãèšããããšã¯ãããŒã¿ã®ä¿¡é Œæ§ãé«ããããã§æå¹ã§ãããŸãããã®æéãéããŠã䞊è¡éçšããªããã°çºèŠãé£ããåé¡ã®ç¹å®ã«ãã€ãªãããŸãã
æ°ãããã¹ã¿ãŒããŒã¿ããã§ããŒã¿åä¿¡ãæŽæ°åŠçãå®å®ããŠè¡ãããããšã確èªã§ããæ®µéã§ãåšèŸºã·ã¹ãã ãžã®ããŒã¿æŽæ°éä¿¡ã®åœ¹å²ãæ°ç°å¢ãžç§»è¡ã§ããŸãããã ãããã®åã«ã¢ãŠãããŠã³ããã¥ãŒïŒoutbound queueïŒå€éšã·ã¹ãã åãã«éä¿¡åŸ ã¡ãšãªã£ãŠããæŽæ°ããŒã¿ã®åŸ æ©é åïŒã空ã«ããŠããããšãéèŠã§ãããããè¡ããªãå Žåã飿ºåŠçã«ãã£ãŠå€éšã·ã¹ãã ãšæ¥ç¶ããçŽåŸã®ååå®è¡ã§ãåæããŒããšããŠãã¹ãŠã®ããŒã¿ãäžæã«éä¿¡ãããŠããŸãå¯èœæ§ããããŸãã
The wrong way to do this is just emptying the outbound source queues in the Boomi Data Hub management view. Especially for bi-directional sources. This would cause a situation where any further updates to golden records would not generate updates toward such sources, as Data Hub wants to establish a connection to a bi-directional system before it sends further updates to the system. To establish a connection, Data Hub wants the sent data acknowledged and an update sent back with a source linking ID.
The correct way to perform this is to have a dummy integration that reads all the outbound updates for sources and responds back to the hub with the correct source IDs to verify the connection.
ç§»è¡å ãšç§»è¡å ã®MDMéã§ããŒã¿æ¯èŒã容æã«è¡ããä»çµã¿ãçšæãã
ç§»è¡ãããžã§ã¯ãã§ã¯ãå€ãã®å·¥çšãååšããã ãã§ãªããäžå®æéã¯ç§»è¡å
ãšç§»è¡å
ã®MDMã䞊è¡éçšããªããããŒã¿ã®åæç¶æ
ã確èªããå¿
èŠããããŸãã
ãã®ãããäž¡ã·ã¹ãã éã®ããŒã¿å·®åãç°¡åã«æ¯èŒã§ããä»çµã¿ãäºåã«çšæããŠããããšãéèŠã§ãã
å
·äœçã«ã¯ãå¿
èŠãªã¿ã€ãã³ã°ã§æ¯èŒåŠçãããã«å®è¡ã§ããããŒã¿ã®äžäžèŽãå·®åã®å
容ãç¶²çŸ
çã«ç¢ºèªã§ããã¬ããŒããååŸã§ããããã«ããŒã«ãèšèšããŠãããšå¹æçã§ãããã®ãããªæ¯èŒæ©èœã¯ãç§»è¡ã®é²è¡ç¶æ³ãåè³ªãææ¡ããããã§éåžžã«éèŠãªåœ¹å²ãæãããŸãã
ãœãŒã¹ãªã³ã¯IDã®æ±ãã«æ³šæãã
ç§»è¡ãé²ããåã«ããœãŒã¹ãªã³ã¯IDãšããŠã©ã®ãããªå€ã䜿çšããŠãããã確èªããããšãéèŠã§ããããšãã°ããŽãŒã«ãã³ã¬ã³ãŒãã®IDããœãŒã¹ãšã³ãã£ãã£IDãšããŠå©çšããŠããã±ãŒã¹ãååšããå¯èœæ§ããããŸããããã¯ãããŒã¿æŽåæ§ãä¿ã€ããã«Boomi Data HubããããŒã¿ãååŸãããŽãŒã«ãã³ã¬ã³ãŒããæŽæ°ãã飿ºåŠçã«ãããŠãèå¥åãšããŠå©çšãããŠããå Žåã«èµ·ããåŸãŸãã
ãã ãããŽãŒã«ãã³ã¬ã³ãŒãã®IDã¯ã¬ã³ãŒãäœææã«èªåçæããããããç§»è¡æã«åãIDãåŒãç¶ãããšã¯ã§ããŸããããã®ãããç§»è¡åŸã¯æ°ããããã§çæãããGolden Record IDã«åºã¥ããŠãœãŒã¹ãšã³ãã£ãã£ã®ãªã³ã¯æ
å ±ãæŽæ°ããå¿
èŠããããŸãã
ãã®å¯Ÿå¿ã®ãããç§»è¡ããã»ã¹ã®éäžã§å¯Ÿè±¡ã¬ã³ãŒããç
§äŒããæ°ããGolden Record IDãååŸããåŠçãå¿
èŠã«ãªãå ŽåããããŸãããããåæã«èšèšããŠããããšã§ãç§»è¡åŸã®ããŒã¿æŽåæ§ã確å®ã«ç¶æã§ããŸãã
ãŸãšã
MDMã®ç§»è¡ã¯ãããèªäœãè€éãªãããžã§ã¯ãã§ãããååãªæéãšéäžãã察å¿ãæ±ããããŸããäºåã«ååãªæºåãè¡ããé©åãªç§»è¡ããŒã«ãéžå®ãããšãšãã«ãMDMã飿ºåŠçã®èšå®ãæŽããŠããããšãéèŠã§ãã
ããã§ã玹ä»ããç¥èŠãå®åäžã®ãã€ã³ãããçããŸã®ç§»è¡ãããžã§ã¯ãã®æ€èšãæšé²ã«åœ¹ç«ãŠã°å¹žãã§ãã
Boomi Data Hub ã¯ãäŒæ¥å ã«ååšããããŸããŸãªããŒã¿ãµã€ãïŒData SiloïŒéšéãã·ã¹ãã ããšã«åæãããå ±æããã«ããããŒã¿ã®ç¶æ ïŒã®äžå¿ã«äœçœ®ãããã¯ã©ãŠããã€ãã£ãåã®ãã¹ã¿ãŒããŒã¿ç®¡çãœãªã¥ãŒã·ã§ã³ ã§ããæ¢åã® MDM ç°å¢ãå«ããããŒã¿åºç€å šäœãã€ãªããå°å ¥ãããããæ¡åŒµæ§ã»æè»æ§ã»ã»ãã¥ãªãã£ã«åªããããµãŒãã¹ãšããŠã®ãã¹ã¿ãŒããŒã¿ç®¡çããããå®çŸããŸãã
詳现ã«ã€ããŠã¯é¢é£æ å ±ãã確èªããã ããã Boomi æ åœè ãŸã§ãåãåãããã ããã
ãã®ã·ãªãŒãºã®èšäºã¯ãã¡ãïŒ
Part One: Things to Consider Before Migration
Part Two: Boomi Data Hub Configuration
â