Created
July 16, 2021 16:11
-
-
Save carlsverre/73a93c14ba6ad47ed923c2464b5a4199 to your computer and use it in GitHub Desktop.
Setup HTTP api on all SingleStore Aggregators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdb-admin list-nodes --role aggregator -q \ | |
| xargs -I NODEID sdb-admin -y update-config --memsql-id NODEID --key http_api --value on | |
sdb-admin list-nodes --role aggregator -q \ | |
| xargs -I NODEID sdb-admin -y update-config --memsql-id NODEID --key http_proxy_port --value <port> | |
sdb-admin list-nodes --role aggregator -q \ | |
| xargs -I NODEID sdb-admin -y query --memsql-id NODEID --sql "RESTART PROXY" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment