Help Docs

Automations to start, stop, resume, and reload AWS DMS replication tasks.

Using Site24x7's IT automation framework, you can create an action profile to start, stop, resume, and reload your AWS DMS replication tasks. Plus, you can configure the automation to be triggered when there is a change in the status of the monitor or individual attributes.

Required Permissions

Please make sure the IAM role assumed by Site24x7, or the IAM user created for Site24x7, has the following partial write actions in the attached policy document so it can perform the actions.

  • dms:StartReplicationTask
  • dms:StopReplicationTask

Constraints

  • To start a replication task in AWS DMS, that task must be monitored by Site24x7 and the status must be AVAILABLE.
  • A replication task in AWS DMS can only be stopped if it is running.

Create an action profile

  • Log in to the Site24x7 web console, select Admin > IT Automation Templates > Add Automation Templates.
  • Click on the drop-down, and select the action to be performed: Start/Stop/Resume/Reload DMS Task.
  • Enter a display name.
  • The action (start, stop, resume, or reload) will be pre-populated in the field below. Choose the action to be performed.
  • Next, select the destination tasks where the action has to be performed.
  • Enter the Max Allowed Action Execution Time. This is the maximum number of seconds Site24x7 will wait before the request times out. By default, the execution time is set to 15 seconds. You can define an execution time between one and 90 seconds.
  • If you’d like to receive an email regarding the automation result, select Yes next to Send the Automation Result via Email. Share automation results via an email to your User Alert Group configured in the Notification Profile. This email will contain parameters including the automation name, type of automation, incident reason, destination hosts, and more.
  • Click Save.

Simulate the Automation

Before mapping the action profile, you can test its functionality by invoking the operational task manually within the Site24x7 console or by using our REST APIs to check whether the appropriate write-level permission is in place. To test, navigate back to the IT Automation summary page (Admin > IT Automation Templates) and click the play icon to execute a dry run.

Map the Action Profile

To execute the automation, map the action profile to the desired alert event. You can either map the profile to a predefined monitor-level event type or to a custom attribute-level event type.

Monitor-level mapping

Navigate to the Edit page of the monitored AWS DMS replication task, and map the action profile with any of the following monitor status changes:

  • Execute on Down
  • Execute on Up
  • Execute on Trouble
  • Execute on Critical
  • Execute on any Status change

Attribute level mapping

You can also associate the action profile with a related performance metric, like CDC changes at disk or memory, throughput at source and target, or latency of validation bulk query.

Navigate to the Edit Threshold Profile page of the monitored AWS DMS replication task by going to the Edit page of the resource, clicking on the pencil icon beside the Threshold and Availability field. Map the profile to any desired attribute by clicking Select Automation to Execute.

Was this document helpful?

Shortlink has been copied!