Skip to content

Commit 2cf0a64

Browse files
authored
Merge pull request #22 from jelastic-jps/stage-cluster
Stage cluster
2 parents 7a31b76 + 176b1b2 commit 2cf0a64

14 files changed

+27
-19
lines changed

addons/auto-clustering/auto-cluster.jps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description:
99
healthcheck and autodiscovery of newly added DB nodes
1010
short: Scalable MySQL cluster with ProxySQL for even load distribution
1111

12-
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/v3.0.0
12+
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/stage-cluster
1313

1414
logo: https://github.com/raw/jelastic-jps/mysql-cluster/master/images/mysql-logo.png
1515

addons/auto-clustering/scripts/auto-cluster-logic.jps

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ onInstall:
4040
REPLICA_PSWD: ${fn.password(20)}
4141
SCHEME: ${settings.scheme}
4242

43-
- install:
44-
jps: https://github.com/raw/jelastic-jps/mysql-cluster/master/addons/recovery/manifest.yml?_r=${fn.random}
43+
- install:
44+
jps: https://github.com/raw/dimkadt/mysql-cluster/master/addons/recovery/manifest.yml?_r=${fn.random}
4545
nodeGroup: sqldb
4646
targetNodes: sqldb
4747
settings:
4848
install: true
4949

5050
- install:
51-
jps: https://github.com/raw/jelastic-jps/mysql-cluster/master/addons/check-corrupts/manifest.yml?_r=${fn.random}
51+
jps: https://github.com/raw/dimkadt/mysql-cluster/master/addons/check-corrupts/manifest.yml?_r=${fn.random}
5252
nodeGroup: sqldb
5353
targetNodes: sqldb
5454
settings:

addons/mariadb-cluster.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"jps": "https://github.com/raw/jelastic-jps/mysql-cluster/v2.4.1/addons/auto-clustering/auto-cluster.jps",
2+
"jps": "https://github.com/raw/dimkadt/mysql-cluster/v3.0.0/addons/auto-clustering/auto-cluster.jps",
33
"defaultState": false,
44
"skipOnEnvInstall": true,
55
"nodeGroupData": {

addons/mariadb104-cluster.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"jps": "https://github.com/raw/jelastic-jps/mysql-cluster/v2.3.0/addons/auto-clustering/auto-cluster.jps",
2+
"jps": "https://github.com/raw/dimkadt/mysql-cluster/v3.0.0/addons/auto-clustering/auto-cluster.jps",
33
"defaultState": false,
44
"skipOnEnvInstall": true,
55
"nodeGroupData": {

addons/mysql-cluster.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"jps": "https://github.com/raw/jelastic-jps/mysql-cluster/v2.4.1/addons/auto-clustering/auto-cluster.jps",
2+
"jps": "https://github.com/raw/dimkadt/mysql-cluster/v3.0.0/addons/auto-clustering/auto-cluster.jps",
33
"defaultState": false,
44
"skipOnEnvInstall": true,
55
"nodeGroupData": {

addons/recovery/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description:
55
text: The Database Cluster Recovery add-on performs a comprehensive diagnostic of your MySQL/MariaDB Cluster (Galera, Primary-Primary, Primary-Secondary) to detect any disruptions of the provisioned service. In case of errors, the automatic Cluster Recovery functionality can restore the cluster operability after most of the problems.
66
short: The add-on performs a comprehensive diagnostic of your database cluster and can perform automatic recovery.
77

8-
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/v2.5.0/addons/recovery
8+
baseUrl: https://github.com/raw/dimkadt/mysql-cluster/v2.5.0/addons/recovery
99

1010
targetNodes:
1111
nodeGroup: sqldb

manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ logo: /images/mysql-mariadb-percona-logo.png?_r=1
1616

1717
onBeforeInit: /scripts/settings.js?_r=${fn.random}
1818

19-
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/v3.0.0
19+
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/stage-cluster
2020

2121
settings:
2222
fields:

scripts/galera.jps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: mysql-galera-cluster
33
name: MariaDB Galera Cluster
44
description: MariaDB Galera Auto Clustering
55

6-
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/v3.0.0
6+
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/stage-cluster
77

88
success:
99
text: /texts/phpmyadmin-credentials.md

scripts/master-master.jps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: mysql-master-master-replication-cluster
33
name: MySQL/MariaDB/Percona Primary-Primary Replication Database Cluster
44
description: 'DB Auto Clustering: 1 x Primary + N x Secondary'
55

6-
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/v3.0.0
6+
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/stage-cluster
77

88
success:
99
text: /texts/phpmyadmin-credentials.md
@@ -88,7 +88,7 @@ actions:
8888

8989
setupPrimaryPrimaryReplication:
9090
- cmd[${globals.primary2_id}]: |-
91-
curl --silent https://github.com/raw/jelastic-jps/mysql-cluster/master/addons/recovery/scripts/db-recovery.sh > /tmp/db-recovery.sh;
91+
curl --silent https://github.com/raw/jelastic-jps/mysql-cluster/stage-addon/addons/recovery/scripts/db-recovery.sh > /tmp/db-recovery.sh;
9292
bash /tmp/db-recovery.sh --scenario restore_primary_from_primary --donor-ip ${globals.primary1_ip};
9393
user: root
9494

scripts/master-slave.jps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: mysql-master-slave-replication-cluster
33
name: MySQL/MariaDB/Percona Primary-Secondary Replication Database Cluster
44
description: 'DB Auto Clustering: 1 x Primary + N x Secondary'
55

6-
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/v3.0.0
6+
baseUrl: https://github.com/raw/jelastic-jps/mysql-cluster/stage-cluster
77

88
success:
99
text: /texts/phpmyadmin-credentials.md
@@ -83,6 +83,6 @@ actions:
8383
- setGlobals:
8484
PRIMARY_IP: ${nodes.sqldb.master.address}
8585
- cmd[${this}]: |-
86-
curl --silent https://github.com/raw/jelastic-jps/mysql-cluster/master/addons/recovery/scripts/db-recovery.sh > /tmp/db-recovery.sh;
86+
curl --silent https://github.com/raw/jelastic-jps/mysql-cluster/stage-addon/addons/recovery/scripts/db-recovery.sh > /tmp/db-recovery.sh;
8787
bash /tmp/db-recovery.sh --scenario restore_secondary_from_primary --donor-ip ${globals.PRIMARY_IP};
8888
user: root

0 commit comments

Comments
 (0)