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.
Copy file name to clipboardExpand all lines: README.md
+38-27Lines changed: 38 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,18 @@ The Delphix virtualization SDK (https://github.com/delphix/virtualization-sdk) p
6
6
7
7
## MySQL Plugin
8
8
MySQL plugin is developed to virtualize MySQL data source leveraging the following built-in MySQL technologies:
9
-
- Replication: Allows staging MySQL instance to be kept in sync with teh source database.
10
-
- Ingest Backup: Dsource can be created by ingesting a MySQL backup.
11
-
- Subsetting: Allows to create a dSource using a specific list of tables from source database.
9
+
Features:
12
10
- Environment Discovery: MySQL plugin can discover environments where MySQL server is installed.
11
+
- Ingesting Data: Create a dSource using differnt methods specified below.
13
12
- VDB Creation: Single node MySQL VDB can be provisioned from the dsource snapshot.
14
13
14
+
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
+
15
21
16
22
### Table of Contents
17
23
1.[Prerequisites](#requirements-plugin)
@@ -35,11 +41,11 @@ MySQL plugin is developed to virtualize MySQL data source leveraging the followi
35
41
36
42
**MySQL database user with following privileges**
37
43
1. delphixdb
38
-
This MySQL user must be configured to have following privilege from the Delphix Engine IP as well as the staging host IP.
44
+
This MySQL user must be configured to have following privilege from the Delphix Engine IP, the staging host IP and localhost
39
45
To grant the privilege for this user, use the following command:
40
46
41
47
```js
42
-
SQL>GRANTSELECT, RELOAD, REPLICATIONCLIENT,REPLICATIONSLAVE,SHOWVIEW, EVENT, TRIGGER on *.* to 'delphix'@'%';
48
+
SQL>GRANTSELECT, SHUTDOWN, SUPER, RELOAD, REPLICATIONCLIENT,REPLICATIONSLAVE,SHOWVIEW, EVENT, TRIGGER on *.* to 'delphix'@'%';
43
49
```
44
50
45
51
OR
@@ -48,41 +54,46 @@ OR
48
54
SQL>GRANTALLPRIVILEGESON*.*TO'<delphix>'@'%';
49
55
```
50
56
51
-
#### _Staging Requirements_
57
+
#### _Staging Host Specific Requirements_
52
58
53
59
**O/S user with following privileges**
54
-
55
-
1. Same version as Source MySQL Binaries installed.
56
-
2. A MySQL config file (my.cnf) to be used for the Staging DB instance must be available under Delphix Toolkit Directory.
57
-
3. Regular o/s user. should be able to ps all processes.
58
-
4. Execute access on mysqldump, mysqld, mysql binary
59
-
5. Empty folder on host to hold delphix toolkit [ approximate 2GB free space ]
60
-
6. 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.
61
-
7. sudo privileges for mount, umount. See sample below assuming `delphix_os` is used as delphix user.
62
-
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.
0 commit comments