Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit bc6a595

Browse files
committed
Updates from vsdk2.1 plugin
1 parent 84bbc50 commit bc6a595

25 files changed

+327
-1207
lines changed

artifact.json

Lines changed: 0 additions & 436 deletions
This file was deleted.

plugin_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ pluginType: STAGED
77
entryPoint: plugin_runner:plugin
88
srcDir: src
99
schemaFile: schema.json
10-
buildNumber: 1.00.0
10+
buildNumber: 1.69.9

schema.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,20 @@
8686
"type": "string",
8787
"prettyName": "DB User",
8888
"description": "DB user for the virtual database",
89-
"default": "delphix1"
89+
"default": "delphixdb"
9090
},
9191
"vdbPass": {
9292
"type": "string",
9393
"format": "password",
9494
"prettyName": "DB Password",
9595
"description": "DB user password for the virtual database",
96-
"default": "delphix"
96+
"default": "Delphix@123"
9797
},
9898
"baseDir": {
9999
"type": "string",
100100
"prettyName": "BaseDir",
101101
"description": "Path of the MySQL Installation, where binaries (./bin) exists",
102-
"default": "/opt/mysql57/mysql57d"
102+
"default": "/usr"
103103
},
104104
"port": {
105105
"type": "string",
@@ -111,7 +111,7 @@
111111
"type": "string",
112112
"prettyName": "VDB Server ID",
113113
"description": "Server ID for the MySQL VDB",
114-
"default": "200"
114+
"default": "201"
115115
},
116116
"config_settings_prov" : {
117117
"type" : "array",
@@ -142,8 +142,8 @@
142142
"mPath": {
143143
"type": "string",
144144
"prettyName": "Mount Location",
145-
"description": "NFS Mount folder for Delphix",
146-
"default": "/home/mysql/delphix/mount3"
145+
"description": "Unique NFS Mount folder for Delphix",
146+
"default": "/mnt/provision/mysql_vdb"
147147
}
148148
}
149149
},
@@ -202,26 +202,26 @@
202202
"type": "string",
203203
"prettyName": "Source DB Host IP address",
204204
"description": "* Required if using Replication Method",
205-
"default": "neomysqlsrc.dlpxdc.co"
205+
"default": "10.0.1.20"
206206
},
207207
"mountPath": {
208208
"type": "string",
209209
"prettyName": "Mount Location on Staging Host",
210-
"description": "NFS mount directory on the Staging Host",
211-
"default": "/home/mysql/delphix/mount"
210+
"description": "Unique NFS mount directory on the Staging Host",
211+
"default": "/mnt/provision/mysql_stage"
212212
},
213213
"sourceUser": {
214214
"type": "string",
215215
"prettyName": "Source DB UserName",
216216
"description": "* Required if Delphix is taking backups",
217-
"default": "delphix1"
217+
"default": "delphixdb"
218218
},
219219
"sourcePass": {
220220
"type": "string",
221221
"format": "password",
222222
"prettyName": "Source Connection Password",
223223
"description": "* Required if Delphix is taking backups",
224-
"default": "delphix"
224+
"default": "Delphix@123"
225225
},
226226
"logSync": {
227227
"default": true,
@@ -240,7 +240,7 @@
240240
"format": "password",
241241
"prettyName": "Replication User's Password",
242242
"description": "* Required if using Replication Method with LogSync",
243-
"default": "delphix"
243+
"default": "Delphix@123"
244244
},
245245
"stagingUser": {
246246
"type": "string",
@@ -253,7 +253,7 @@
253253
"format": "password",
254254
"prettyName": "Staging DB Password",
255255
"description": "Staging DB User's Password",
256-
"default": "***REMOVED***"
256+
"default": "Delphix@123"
257257
},
258258
"serverId": {
259259
"type": "string",
@@ -265,7 +265,7 @@
265265
"type": "string",
266266
"prettyName": "Source DB",
267267
"description": "* Name of the Source DB to backup. Required for Simple Tablespace Backup Method",
268-
"default": ""
268+
"default": "delphixdb"
269269
},
270270
"sourceTables": {
271271
"type": "string",
@@ -277,25 +277,25 @@
277277
"type": "string",
278278
"prettyName": "Source scp Username",
279279
"description": "* Required for Simple Tablespace Backup Method",
280-
"default": "mysql"
280+
"default": "delphix"
281281
},
282282
"scpPass": {
283283
"type": "string",
284284
"prettyName": "Source scp Password",
285285
"description": "* Required for Simple Tablespace Backup Method",
286-
"default": "mysql"
286+
"default": "delphix"
287287
},
288288
"stagingPort": {
289289
"type": "string",
290290
"prettyName": "Staging DB Port",
291291
"description": "Staging Database Port",
292-
"default": "3307"
292+
"default": "3308"
293293
},
294294
"stagingBasedir": {
295295
"type": "string",
296296
"prettyName": "MySQL Base Directory",
297297
"description": "Base Directory of MySQL Installation (Location of /bin/mysql)",
298-
"default": "/opt/mysql57/mysql57d"
298+
"default": "/usr"
299299
}
300300
}
301301
},

src/common/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self):
2424

2525
@staticmethod
2626
def find_binary_path():
27-
return "find / -not \( -path /etc -prune \) -name mysqld -type f -print 2>&1 | grep -v 'Permission denied'"
27+
return "find / ! -path \"/etc/*\" ! -path \"/var/lock/*\" -name mysqld -type f -print 2>&1 | grep -v 'Permission denied'"
2828

2929
@staticmethod
3030
def find_install_path(binary_path):
@@ -171,4 +171,4 @@ def __init__(self):
171171
binary_path = "/opt/mysql/bin"
172172
hostname = "hostname"
173173
port = "3320"
174-
print "find_install_path: ", CommandFactory.find_install_path(binary_path), "\n"
174+
print "find_install_path: ", CommandFactory.find_install_path(binary_path), "\n"

0 commit comments

Comments
 (0)