-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstartservers
More file actions
executable file
·12 lines (10 loc) · 1.13 KB
/
startservers
File metadata and controls
executable file
·12 lines (10 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
mkdir logs
source startwest
source startcentral
source starteast
nats context add sc-west --server nats://127.0.0.1:14222,nats://127.0.0.1:14223,nats://127.0.0.1:14224 --description "Test Super-Cluster West Cluster"
nats context add sc-central --server nats://127.0.0.1:24222,nats://127.0.0.1:24223,nats://127.0.0.1:24224 --description "Test Super-Cluster Central Cluster"
nats context add sc-east --server nats://127.0.0.1:34222,nats://127.0.0.1:34223,nats://127.0.0.1:34224 --description "Test Super-Cluster East Cluster"
nats context add sc-west-sys --server nats://127.0.0.1:14222,nats://127.0.0.1:14223,nats://127.0.0.1:14224 --user admin --password "s3cr3t!" --colors=red --description "Test Super-Cluster West Cluster System"
nats context add sc-central-sys --server nats://127.0.0.1:24222,nats://127.0.0.1:24223,nats://127.0.0.1:24224 --user admin --password "s3cr3t!" --colors=red --description "Test Super-Cluster Central Cluster System"
nats context add sc-east-sys --server nats://127.0.0.1:34222,nats://127.0.0.1:34223,nats://127.0.0.1:34224 --user admin --password "s3cr3t!" --colors=red --description "Test Super-Cluster East Cluster System"