[gstg] Move lb workload from redis to redis-db-load-balancing

To move over repository traffic:

bin/gkms-vault-edit gitlab-omnibus-secrets gstg

"gitlab-rails": {
...
  "redis_yml_override": {
    "db_load_balancing": {
      "url": "redis://<IAMAPASSWORD>@gstg-redis-db-load-balancing"
    }
  },
...
  • Start double writes:
# start double write
/chatops run feature set use_primary_and_secondary_stores_for_db_load_balancing true --staging --staging-ref

# to check
/chatops run feature get use_primary_and_secondary_stores_for_db_load_balancing --staging --staging-ref

# rollback
/chatops run feature set use_primary_and_secondary_stores_for_db_load_balancing false --staging --staging-ref
# start primary write
/chatops run feature set use_primary_store_as_default_for_db_load_balancing true --staging --staging-ref

# to check
/chatops run feature get use_primary_store_as_default_for_db_load_balancing --staging --staging-ref

# Turn off dual write

/chatops run feature set use_primary_and_secondary_stores_for_db_load_balancing false --staging --staging-ref

# rollback
/chatops run feature set use_primary_store_as_default_for_db_load_balancing false --staging --staging-ref
Edited by Alejandro Rodríguez