You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Delphix is a data management platform that provides the ability to securely copy and share datasets. Using virtualization, you will ingest your data sources and create virtual data copies, which are full read-write capable database instances that use a small fraction of the resources a normal database copy would require. The Delphix engine has built-in support for interfacing with certain types of datasets, such as Oracle, SQL Server and ASE.
4
5
@@ -7,105 +8,27 @@ The Delphix virtualization SDK (https://github.com/delphix/virtualization-sdk) p
7
8
## MySQL Plugin
8
9
MySQL plugin is developed to virtualize MySQL data source leveraging the following built-in MySQL technologies:
9
10
Features:
10
-
- Environment Discovery: MySQL plugin can discover environments where MySQL server is installed.
11
-
- Ingesting Data: Create a dSource using differnt methods specified below.
12
-
- VDB Creation: Single node MySQL VDB can be provisioned from the dsource snapshot.
11
+
- Environment Discovery: MySQL plugin can discover environments where MySQL server is installed.
12
+
- Ingesting Data: Create a dSource using differnt methods specified below.
13
+
- VDB Creation: Single node MySQL VDB can be provisioned from the dsource snapshot.
13
14
14
15
Different Ways to Ingest Data ( Dsource creation )
15
-
- Replication with Delphix initiated Backup: Delphix takes an initial backup from source DB to ingest data and create a dSource. Delphix also sets up a master-slave replication to keep this dSource in sync with the source database. User can select the databases they want to virtualize
16
-
- Replication with User Provided Backup: User provides a backup file from source DB to ingest data and create a dSource. Delphix sets up a master-slave replication to keep this dSource in sync with your source database.
17
-
- User Provided Backup with no Replication: User provides a backup file from source DB to ingest data and create a dSource. When a new backup is available, user initiates a resync of the dSource to ingest data from the new backup.
18
-
- Manual Backup Ingestion: Delphix creates an empty seed datanase and User manually ingests a backup to create a dSource.
19
-
- Simple Tablespace Backup/Subsetting: Allows to create a dSource using a specific list of tables from source database.
20
-
21
-
22
-
### Table of Contents
23
-
1.[Prerequisites](#requirements-plugin)
24
-
2.[Build and Upload Plugin](#upload-plugin)
25
-
3.[Download logs](#run_unit_test_case)
26
-
4.[Tested Versions](#tested-versions)
27
-
5.[Supported Features](#support-features)
28
-
6.[Unsupported Features](#unsupported-features)
29
-
7.[How to Contribute](#contribute)
30
-
8.[Statement of Support](#statement-of-support)
31
-
9.[License](#license)
32
-
33
-
34
-
### <aid="requirements-plugin"></a>Prerequisites
35
-
**Software Requirements**
36
-
1. jq - This toolkit requires jq to be configured on Staging and Target Hosts.
37
-
38
-
**MySQL instance requirements**
39
-
1. Binary logging must be enabled on MySQL source instance.
40
-
2. Server ID for the source must be greater than 0.
41
-
42
-
**MySQL database user with following privileges**
43
-
1. delphixdb
44
-
This MySQL user must be configured to have following privilege from the Delphix Engine IP, the staging host IP and localhost
45
-
To grant the privilege for this user, use the following command:
46
-
47
-
```js
48
-
SQL>GRANTSELECT, SHUTDOWN, SUPER, RELOAD, REPLICATIONCLIENT,REPLICATIONSLAVE,SHOWVIEW, EVENT, TRIGGER on *.* to 'delphix'@'%';
49
-
```
50
-
51
-
OR
52
-
53
-
```js
54
-
SQL>GRANTALLPRIVILEGESON*.*TO'<delphix>'@'%';
55
-
```
56
-
57
-
#### _Staging Host Specific Requirements_
58
-
59
-
**O/S user with following privileges**
60
-
1. Regular o/s user. should be able to ps all processes.
61
-
2. Should be in the same primary and secondary groups as mysql user ( or the MySQL binary owner )
62
-
3. Execute access on all files within MySQL installation folder - Min permission level 775 recommended.
63
-
4. Sudo privileges for mount, umount. See sample below assuming `delphix_os` is used as delphix user.
1. Same version as Source MySQL Binaries installed.
96
-
2. A MySQL config file (my.cnf) to be used for the Staging DB instance must be available under Delphix Toolkit Directory.
97
-
3. Empty folder on host to hold delphix toolkit [ approximate 2GB free space ]
98
-
4. Empty folder on host to mount nfs filesystem. This is just and empty folder with no space requirements and act as base folder for nfs mounts.
16
+
- Replication with Delphix initiated Backup: Delphix takes an initial backup from source DB to ingest data and create a dSource. Delphix also sets up a master-slave replication to keep this dSource in sync with the source database. User can select the databases they want to virtualize
17
+
- Replication with User Provided Backup: User provides a backup file from source DB to ingest data and create a dSource. Delphix sets up a master-slave replication to keep this dSource in sync with your source database.
18
+
- User Provided Backup with no Replication: User provides a backup file from source DB to ingest data and create a dSource. When a new backup is available, user initiates a resync of the dSource to ingest data from the new backup.
19
+
- Manual Backup Ingestion: Delphix creates an empty seed datanase and User manually ingests a backup to create a dSource.
99
20
21
+
MySQL Plugin documentation can be found at https://delphix.github.io/mysqllinux/
100
22
101
23
### <aid="upload-plugin"></a>Steps to build, upload and run unit tests for plugin
102
24
103
-
1. Build the source code. It generates the build with name `artifacts.json`:
25
+
1. Build the source code. It generates the build with name `artifacts.json`:
104
26
```bash
105
27
dvp build
106
28
```
107
-
108
-
2. Upload the `artifacts.json` ( generated in step 3 ) on Delphix Engine:
29
+
dvp version 2.1 required.
30
+
31
+
2. Upload the `artifacts.json` ( generated in step 1 ) on Delphix Engine:
0 commit comments