Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
deploy_es_synonym
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
deploy_es_synonym
Commits
91a1d410
Commit
91a1d410
authored
Apr 02, 2019
by
段英荣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
018a6c6e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
disable_cluster_routing_allocation.sh
disable_cluster_routing_allocation.sh
+1
-1
enable_cluster_routing_allocation.sh
enable_cluster_routing_allocation.sh
+1
-1
No files found.
disable_cluster_routing_allocation.sh
View file @
91a1d410
#!/bin/bash
#!/bin/bash
curl
-v
$(
hostname
)
:9200/_cluster/settings
-XPUT
-d
'{
curl
-v
$(
hostname
)
:9200/_cluster/settings
-XPUT
-
H
"Content-Type: application/json"
-
d
'{
"transient" : {
"transient" : {
"cluster.routing.allocation.enable" : "none"
"cluster.routing.allocation.enable" : "none"
}
}
...
...
enable_cluster_routing_allocation.sh
View file @
91a1d410
#!/bin/bash
#!/bin/bash
curl
-v
$(
hostname
)
:9200/_cluster/settings
-XPUT
-d
'{
curl
-v
$(
hostname
)
:9200/_cluster/settings
-XPUT
-
H
"Content-Type: application/json"
-
d
'{
"transient" : {
"transient" : {
"cluster.routing.allocation.enable" : "all"
"cluster.routing.allocation.enable" : "all"
}
}
...
...
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