[FIM] How to import data from A, synchronize data to B, delete data in system A, and delete data in system B

Source: Internet
Author: User

Problem description:

Import data from system A, synchronize data to system B, delete data from system A, and delete data from system B.

Premise: A and B have completed A FULL_IMPORT and FULL_SYNC. Assume that all data in A is matched in B (filtering is not considered.

According to the previous ideas, after deleting A record in A and using FULL_IMPORT, record A will be deleted in CS_A through FULL_SYNC, because DATA_1 in CS_ B is still Connected to MV, therefore, this record will always exist, including music videos.

Solution:

1. First, you must delete this record in the MV, which may cause system B to delete the data.

The reason for the above phenomenon is that the default Configuration of the music video is determined, right-click the corresponding music video, "Configuration Object Deletion Rule ...", This is to change the rules for deleting music video objects. This setting is the first item by default, that is, when a music video object is disconnected from all MA, the corresponding music video is deleted, considering that all MA may become the source, reference count similar to C ++. The requirement here is that, once deleted in A, the record in other systems will be deleted. Therefore, we need to configure the record as the second item. After any checked object is deleted, delete this MV object.

2. It is not enough to complete the first step, because it only mentions deleting objects in the MV, but does not delete objects in CS_ B. Therefore, the objects in CS_ B are isolated, in FIM, It is a disconnected object. Such an object will continue to participate in the Rule discussion during the next synchronization. Therefore, we need to delete this non-hukou object. In the corresponding MA configuration, Configure "Configure Deprovisioning" to indicate the behavior after a CS object loses contact with the MV, select Stage a delete on the object for the next export run. This option indicates that the data will be deleted when the next export operation is executed after the contact is lost. The data in connected data source, that is, DB_A, will be deleted, but data in CS_A will not be deleted, because this operation will be processed during the next FULL_IMPORT operation.

3. Execute FULL_SYNC and EXPORT, and delete the data from MV and DB_ B in sequence. Check that DB_A is deleted. Execute B. the data in FULL_IMPORT and CS_ B is also deleted, and the entire lifecycle of this record is now completed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.