Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
8e7b502c
Commit
8e7b502c
authored
Dec 09, 2014
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NEO: new parameters to setup an external backup cluster
parent
a766be5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
software/neoppod/cluster.cfg.in
software/neoppod/cluster.cfg.in
+2
-0
software/neoppod/instance-neo-master.cfg.in
software/neoppod/instance-neo-master.cfg.in
+2
-0
software/neoppod/software.cfg
software/neoppod/software.cfg
+2
-2
No files found.
software/neoppod/cluster.cfg.in
View file @
8e7b502c
...
@@ -21,6 +21,8 @@ config-masters = ${all-masters:addresses}
...
@@ -21,6 +21,8 @@ config-masters = ${all-masters:addresses}
< = request-common
< = request-common
config-partitions = {{ dumps(slapparameter_dict.get('partitions', 12)) }}
config-partitions = {{ dumps(slapparameter_dict.get('partitions', 12)) }}
config-replicas = {{ dumps(slapparameter_dict.get('replicas', 0)) }}
config-replicas = {{ dumps(slapparameter_dict.get('replicas', 0)) }}
config-upstream-cluster = {{ dumps(slapparameter_dict.get('upstream-cluster', '')) }}
config-upstream-masters = {{ dumps(slapparameter_dict.get('upstream-masters', '')) }}
software-type = {{ mysql_storage_software_type }}
software-type = {{ mysql_storage_software_type }}
[mysql-storage-request-base]
[mysql-storage-request-base]
...
...
software/neoppod/instance-neo-master.cfg.in
View file @
8e7b502c
...
@@ -14,6 +14,8 @@ port = ${publish:port}
...
@@ -14,6 +14,8 @@ port = ${publish:port}
cluster = {{ dumps(slapparameter_dict['cluster']) }}
cluster = {{ dumps(slapparameter_dict['cluster']) }}
partitions = {{ dumps(slapparameter_dict['partitions']) }}
partitions = {{ dumps(slapparameter_dict['partitions']) }}
replicas = {{ dumps(slapparameter_dict['replicas']) }}
replicas = {{ dumps(slapparameter_dict['replicas']) }}
upstream-cluster = {{ dumps(slapparameter_dict['upstream-cluster']) }}
upstream-masters = {{ dumps(slapparameter_dict['upstream-masters']) }}
# "masters" parameter is not provided when just requesting a partition.
# "masters" parameter is not provided when just requesting a partition.
# No actuall installation takes place at that time
# No actuall installation takes place at that time
# (slapos.cookbook:neoppod.master raises), but cfg expansion must succeed. So
# (slapos.cookbook:neoppod.master raises), but cfg expansion must succeed. So
...
...
software/neoppod/software.cfg
View file @
8e7b502c
...
@@ -37,7 +37,7 @@ scripts =
...
@@ -37,7 +37,7 @@ scripts =
[cluster]
[cluster]
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
url = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
md5sum =
bdb9d8d2b23916ef8b056698f3a56835
md5sum =
85e88660335bbdfb13ba9026c24858b0
[instance-neo-admin]
[instance-neo-admin]
< = cluster
< = cluster
...
@@ -45,7 +45,7 @@ md5sum = 43eb053841e9dabdbed2a3501a0a3f13
...
@@ -45,7 +45,7 @@ md5sum = 43eb053841e9dabdbed2a3501a0a3f13
[instance-neo-master]
[instance-neo-master]
< = cluster
< = cluster
md5sum =
b1a8f2a3eda57a43dda67da5aec94e7a
md5sum =
2cba73dbfa3f6e1a60d54de3bae38fee
[instance-neo-storage-mysql]
[instance-neo-storage-mysql]
< = cluster
< = cluster
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment