The staging and target environments must meet a set of requirements mentioned below:
|
Staging/Target environment requirements |
Explanation |
|---|---|
|
Host compatibility check The Operating System and architecture of the staging/target host must be compatible with the source environment. |
The source and target environments must have identical Operating Systems and hardware configurations. |
|
MySQL installation and compatibility check MySQL must be installed on the staging/target host in a way that is compatible with MySQL installation on the source host. |
For standard staging and target operations, the staging/target version number must equal the source version number. For the SDI exception, see the additional requirements below. |
|
Network Connectivity Requirements |
Delphix Continuous Data Engine, staging and target host must follow the network requirements mentioned in the Network and connectivity requirements topic. The source database must be accessible from the staging host whenever Replication Ingestion Mechanism is used. |
|
Staging/Target Operating System Environment OS User An environment user with elevated permissions can execute ps, mount, umount, mkdir, and rmdir commands without entering a password. The Delphix Continuous Data Engine connects to the target host (via SSH) to perform the following operations:
|
You need to provide the below permissions in the sudoers file for the staging/target or Delphix Continuous Data Engine user for the plugin to work correctly: 1. Open the sudoers file using the below: vi /etc/sudoers # Or visudo 2. Below entries need to be created in the sudoers file: Defaults:delphix_os !requiretty delphix_os ALL=NOPASSWD: \ /bin/mount, /bin/umount, /bin/mkdir, /bin/rmdir, /bin/ps Delphix Continuous Data Engine requires that the It is required to specify the NOPASSWD qualifier within the "sudo" configuration file, as shown here, This ensures that the "sudo" command does not demand the entry of a password, even for the “display permissions” (i.e. Privilege elevation is not supported.
|
|
Toolkit Pathfield On the staging/target host, a directory with the following properties must exist:
|
The directory on the staging/target host where the MySQL connector support files are installed (for example, |
|
Required utilities and tools Make sure the netstat or ss utilities are installed on the staging/target host. |
MySQL connector checks the status of the running MySQL instance and the availability of ports on the staging/target host using the Checking to see if the netstat and ss utilities are installed. which netstat which ss |
|
Set Hostname and IP in host file (Optional) Hostname and IP can be defined in the |
The For example: [root@source ~]# hostname -i 10.110.252.214 |
|
MySQL Configuration File (Optional) Define a |
|
| Path Validation |
To ensure consistent and secure path handling, the MySQL connector now applies path validation on UI fields. Paths must start with |
| Username Validation |
To ensure consistent and secure username handling, validation has been added to UI fields. Usernames must start with a letter or |
Additional Requirements for Selective Database Ingestion (SDI)
The following requirements apply in addition to the general staging environment requirements described above.
|
SDI requirements |
Explanation |
|---|---|
|
MySQL version |
8.0 or higher on the staging host. |
server-id
|
Must be unique and numerically greater than the source server-id. |
| Network connectivity |
Staging host must reach the source MySQL port. By default, the port number is set to 3306. |
Backup directory (BackupDir plugin) |
Must have sufficient disk space for mysqldump output of all selected databases. Default path: /tmp. |
| Staging data directory |
For SDI, the staging MySQL version must be 8.0 or higher, but does not need to match the source version exactly, provided the source is also 8.0 or higher. |