production:shaman.ceph.com
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| production:shaman.ceph.com [2020/10/21 19:49] – djgalloway | production:shaman.ceph.com [2023/04/06 00:51] (current) – [Summary] dmick | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| There are three VMs in the [[https:// | There are three VMs in the [[https:// | ||
| - | * shaman.ceph.com is just a load balancing VM | + | * shaman.ceph.com is just a load balancing VM. Accesses are proxied to either 1.shaman.ceph.com or 2.shaman.ceph.com with an ' |
| * 1.shaman.ceph.com is the primary shaman node that has the postgres DB with all the repo information | * 1.shaman.ceph.com is the primary shaman node that has the postgres DB with all the repo information | ||
| * 2.shaman.ceph.com is a **READ ONLY** backup in the event 1.shaman.ceph.com goes down | * 2.shaman.ceph.com is a **READ ONLY** backup in the event 1.shaman.ceph.com goes down | ||
| + | * 2.shaman.ceph.com can handle write requests because pecan, the web framework, is also aware of the primary/hot standby configuration, | ||
| ===== User Access ===== | ===== User Access ===== | ||
| Line 66: | Line 67: | ||
| irvingi_builds = {} | irvingi_builds = {} | ||
| braggi_builds = {} | braggi_builds = {} | ||
| + | adami_builds = {} | ||
| rest_of_the_world = {} | rest_of_the_world = {} | ||
| ovh_count = 0 | ovh_count = 0 | ||
| irvingi_count = 0 | irvingi_count = 0 | ||
| braggi_count = 0 | braggi_count = 0 | ||
| + | adami_count = 0 | ||
| for build in builds: | for build in builds: | ||
| Line 82: | Line 85: | ||
| mapping = braggi_builds | mapping = braggi_builds | ||
| counter = braggi_count | counter = braggi_count | ||
| + | elif ' | ||
| + | mapping = adami_builds | ||
| + | counter = adami_count | ||
| else: | else: | ||
| mapping = rest_of_the_world | mapping = rest_of_the_world | ||
| Line 90: | Line 96: | ||
| mapping[node_name] = 1 | mapping[node_name] = 1 | ||
| | | ||
| - | for mapping in [ovh_builds, | + | for mapping in [ovh_builds, |
| count = 0 | count = 0 | ||
| for key, value in mapping.items(): | for key, value in mapping.items(): | ||
production/shaman.ceph.com.1603309785.txt.gz · Last modified: by djgalloway
