→ Applies to: SynetoOS 5.x
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Become Super User
sudo su
Step 3. Execute this command
kubectl exec -it pods/postgres-postgresql-0 -- bash -c 'PGPASSWORD=$POSTGRES_PASSWORD psql --host localhost --user postgres -d chronos -c "select host,password,pools from hosts"'
This command shows the replication targets from CLI.
Example output:
host | password | pools --------------+---------------------------+--------------------------------------------------------------------------------------------------------- 10.10.44.101 | VFxeboqd6qRiDWZkRIN8AFhw_ | [{"guid": "1463139326898184673", "name": "hybrid"}] 192.168.0.6 | Ushaler!sjaosajksa | [{"guid": "12094617785522457037", "name": "flash"}, {"guid": "17004328789652812398", "name": "hybrid"}]