Skip to main content
Skip table of contents

Staging push for MySQL

The Staging Push transfers the responsibility of preparing the staging database to the end user. This ingestion method allows you to manually push the source data into the mount path backed by the Delphix Storage. It offers an alternative approach to the Staging Pull model where the Delphix Continuous Data Engine takes care of preparing the dSource.

Prerequisites

For more information, refer to Requirements and Prerequisites

Procedure

Perform the following steps to create a dSource using the staging push ingestion method.

  1. Login to the Delphix Management application.

  2. Navigate to the Manage > Environments page and Select the staging environment from the list of environments.

  3. On the Databases tab, choose a repository for your dSource and click the icon.

  4. In the Add Database dialog window, provide the Data Directory, Port, Base Directory of the source database, and SourceConfigName for your source configuration, and then click Add. It is necessary to provide values for all the fields for the Replication ingestion type.

    mysql_plugin3.png

  5. Select your source configuration and click the Add dSource link located on the right.

  6. On the Source tab, do the following:

    1. Select Staging Push from the Ingestion Type dropdown. The source screen will show fields/properties only relevant to the staging push. 

    2. Staging DB Server ID: This is the Server ID for the dSource database. For Replication Mode, this server id must be greater than the source DB server id.

    3. Staging DB Port: The port number used by the Staging dSource instance. This port should not be used by any other application or MySQL server.

    4. Staging Initialization Password: This is the password used by the connector when initializing the staging MySQL database instance. This password will be assigned to the 'root' user.

    5. MySQL Base Directory: Please provide the location of the MySQL installation directory. This generally has a location of /bin/mysql.

    6. Mount Location on Staging Host: This is the mount directory for Delphix Continuous Data Engine on the staging host. This location should be unique and empty.

    7. Source DB UserName: Delphix Delphix Continuous Data Engine will be using this database user to manage the staging database and other sync operations. The connector will also attempt to create this user and grant the necessary permissions on the staging database.

    8. Source Connection Password: Staging database user's password. 

  1. On the dSource Configuration screen, select the dataset group where the dSource will be placed and click Next.

  2. On the Data Management screen, select the staging environment and the environment user. Please note that there will be a checkbox with the label “Resynchronize dSource“ on this page, this will be checked by default. This is needed to initialize and refresh the mysql staging database. Please keep it as it is and click Next.

  3. On the Policies screen, select the snapsync and retention policies for the dSource and click Next.

  4. On the Hooks screen, add any pre-sync and (or) post-sync hooks as required and click Next.

  5. Review the dSource configuration on the Summary screen and Submit. The Linking process has commenced. Once the dSource creation is successful, the Timeflow tab should show a new snapshot. This snapshot is empty and should be ignored. 

    staging2.png
  6. Populate the staging database instance with your latest source data through any compatible mechanism. As explained above, in this phase, you are responsible for preparing the data in your staging database instance. The database instance can be populated manually or through automation scripts. 

  7. Once the staging database instance is in the desired state, navigate to the Delphix Continuous Data Engine UI and take a new snapshot. This second snapshot can then be used to provision virtual copies.

If you wish to populate Delphix Continuous Data Engine with a more recent dataset at a later time, repeat steps 12 and 13 to create a new snapshot.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.