-
Notifications
You must be signed in to change notification settings - Fork 2
/
tenant1-whitelist.sh
executable file
·13 lines (13 loc) · 1.09 KB
/
tenant1-whitelist.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
docker exec -ti yb-master-n1 /bin/bash -c \
'yb-admin -master_addresses yb-master-n1:7100,yb-master-n2:7100,yb-master-n3:7100 change_leader_blacklist REMOVE yb-tserver-tenant1-1:9100'
docker exec -ti yb-master-n1 /bin/bash -c \
'yb-admin -master_addresses yb-master-n1:7100,yb-master-n2:7100,yb-master-n3:7100 change_leader_blacklist REMOVE yb-tserver-tenant1-2:9100'
docker exec -ti yb-master-n1 /bin/bash -c \
'yb-admin -master_addresses yb-master-n1:7100,yb-master-n2:7100,yb-master-n3:7100 change_leader_blacklist REMOVE yb-tserver-tenant1-3:9100'
docker exec -ti yb-master-n1 /bin/bash -c \
'yb-admin -master_addresses yb-master-n1:7100,yb-master-n2:7100,yb-master-n3:7100 change_blacklist REMOVE yb-tserver-tenant1-1:9100'
docker exec -ti yb-master-n1 /bin/bash -c \
'yb-admin -master_addresses yb-master-n1:7100,yb-master-n2:7100,yb-master-n3:7100 change_blacklist REMOVE yb-tserver-tenant1-2:9100'
docker exec -ti yb-master-n1 /bin/bash -c \
'yb-admin -master_addresses yb-master-n1:7100,yb-master-n2:7100,yb-master-n3:7100 change_blacklist REMOVE yb-tserver-tenant1-3:9100'