Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo ' { "policies":{"policy1":[
- {
- "replica":"#ALL",
- "type":"TLOG",
- "nodeset":{"sysprop.rex.node.type":"tlog"}},
- {
- "replica":"#ALL",
- "type":"PULL",
- "nodeset":{"sysprop.rex.node.type":"pull"}},
- {
- "replica":"<2",
- "shard":"#EACH",
- "node":"#ANY",
- "strict":true}]},
- "cluster-preferences":[
- {
- "minimize":"cores",
- "precision":1},
- {"maximize":"freedisk"}]}}' > policy2.json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement