Enabling and configuring incremental replication

You can incrementally replicate the IBM Guardium Key Lifecycle Manager critical data from the master server to the clone servers. With incremental replication, the master server updates the clone servers with the delta changes frequently. You can use the graphical user interface or REST interface to enable and schedule incremental replication.

Before you begin

Ensure that full replication is already configured on the master server. For more information, see Enabling and configuring full replication.

About this task

Incremental replication needs to be configured on the master server. No configuration is needed on the clone server.

Procedure

  • Using the graphical user interface
    1. Log in to the graphical user interface.
    2. On the home page, click the menu icon (Menu icon) at the upper left of the page.
    3. Click Data redundancy > Replication.
    4. On the Replication page of the master server, click the modify icon (Modify icon) next to Master.
    5. On the Master configuration window, click the Advanced properties tab.
    6. In the Replication scheduler section, select the Incremental replication frequency checkbox.
    7. Optional: Specify the frequency (in seconds) at which you want the incremental replication operation to run.
      By default, the incremental replication operation runs every 60 seconds.
    8. Click Update. On the confirmation window, click OK.
    9. On the Replication page, click Start replication server.
  • Using REST APIs
    1. Open a REST client.
    2. Obtain a unique user authentication identifier to access IBM Guardium Key Lifecycle Manager REST services. For more information about the authentication process, see Authentication process for REST services.
    3. Run Update Replication Config Property REST Service to enable incremental replication as shown in the following example.
      PUT https://localhost:<port>/GKLM/rest/v1/replicationConfigProperties
      {"replication.Incremental.Enable": "true"}
    4. Optional: To modify the default frequency (60 seconds) of the incremental replication, run Update Replication Config Property REST Service and provide the frequency (in seconds) at which you want the incremental replication operation to run as shown in the following example.
      PUT https://localhost:<port>/GKLM/rest/v1/replicationConfigProperties
      {"replication.Incremental.CheckFrequency": "120"}
    5. Start the replication server by running Replication Start REST Service.

Results

Incremental replication is enabled and configured. To run the replication operation immediately, click Replicate now. Otherwise, the operation runs based on the value that is specified in the Incremental replication frequency field. The operation runs until you disable it.