Review fmn SOP

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2021-08-23 15:29:47 +02:00
parent 0b20370aa3
commit 0673035bd5
2 changed files with 16 additions and 22 deletions

View file

@ -35,7 +35,7 @@
** xref:fedocal.adoc[Fedocal - SOP] ** xref:fedocal.adoc[Fedocal - SOP]
** xref:fedora-releases.adoc[Fedora Release Infrastructure - SOP] ** xref:fedora-releases.adoc[Fedora Release Infrastructure - SOP]
** xref:fedorawebsites.adoc[Websites Release - SOP] ** xref:fedorawebsites.adoc[Websites Release - SOP]
** xref:fmn.adoc[fmn - SOP in review ] ** xref:fmn.adoc[FedMsg Notifications (FMN) - SOP]
** xref:gather-easyfix.adoc[gather-easyfix - SOP in review ] ** xref:gather-easyfix.adoc[gather-easyfix - SOP in review ]
** xref:gdpr_delete.adoc[gdpr_delete - SOP in review ] ** xref:gdpr_delete.adoc[gdpr_delete - SOP in review ]
** xref:gdpr_sar.adoc[gdpr_sar - SOP in review ] ** xref:gdpr_sar.adoc[gdpr_sar - SOP in review ]

View file

@ -24,17 +24,17 @@ ____
Production servers: Production servers:
____ ____
* notifs-backend01.phx2.fedoraproject.org (RHEL 7) * notifs-backend01.iad2.fedoraproject.org (RHEL 7)
* notifs-web01.phx2.fedoraproject.org (RHEL 7) * notifs-web01.iad2.fedoraproject.org (RHEL 7)
* notifs-web02.phx2.fedoraproject.org (RHEL 7) * notifs-web02.iad2.fedoraproject.org (RHEL 7)
____ ____
Staging servers: Staging servers:
____ ____
* notifs-backend01.stg.phx2.fedoraproject.org (RHEL 7) * notifs-backend01.stg.iad2.fedoraproject.org (RHEL 7)
* notifs-web01.stg.phx2.fedoraproject.org (RHEL 7) * notifs-web01.stg.iad2.fedoraproject.org (RHEL 7)
* notifs-web02.stg.phx2.fedoraproject.org (RHEL 7) * notifs-web02.stg.iad2.fedoraproject.org (RHEL 7)
____ ____
=== Purpose === Purpose
@ -78,10 +78,10 @@ db01.phx2.fedoraproject.org.
This host runs: This host runs:
* A Python WSGI application via Apache httpd that serves the * A Python WSGI application via Apache httpd that serves the
https://apps.fedoraproject.org/notifications%3E[FMN web user interface]. https://apps.fedoraproject.org/notifications[FMN web user interface].
This host relies on a PostgreSQL database running on This host relies on a PostgreSQL database running on
db01.phx2.fedoraproject.org. db01.iad2.fedoraproject.org.
== Deployment == Deployment
@ -94,11 +94,11 @@ new version can be built an deployed into Fedora infrastructure.
=== Building === Building
FMN is packaged in Fedora and EPEL as FMN is packaged in Fedora and EPEL as
https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn/[python-fmn] https://src.fedoraproject.org/rpms/python-fmn/[python-fmn]
(the backend), (the backend),
https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-web/[python-fmn-web] https://src.fedoraproject.org/rpms/python-fmn-web/[python-fmn-web]
(the frontend), and the optional (the frontend), and the optional
https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-sse/[python-fmn-sse]. https://src.fedoraproject.org/rpms/python-fmn-sse/[python-fmn-sse].
Since all the hosts run RHEL 7, you need to build all these packages for Since all the hosts run RHEL 7, you need to build all these packages for
EPEL 7. EPEL 7.
@ -107,7 +107,7 @@ EPEL 7.
If there are any configuration updates required by the new version of If there are any configuration updates required by the new version of
FMN, update the `notifs` Ansible roles on FMN, update the `notifs` Ansible roles on
batcave01.phx2.fedoraproject.org. Remember to use: batcave01.iad2.fedoraproject.org. Remember to use:
.... ....
{% if env == 'staging' %} {% if env == 'staging' %}
@ -130,10 +130,10 @@ Simply drop the `-l staging` to update the production configuration.
=== Upgrading === Upgrading
To upgrade the To upgrade the
https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn/[python-fmn], https://src.fedoraproject.org/rpms/python-fmn/[python-fmn],
https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-web/[python-fmn-web], https://src.fedoraproject.org/rpms/python-fmn-web/[python-fmn-web],
and and
https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-sse/[python-fmn-sse] https://src.fedoraproject.org/rpms/python-fmn-sse/[python-fmn-sse]
packages, apply configuration changes, and restart the services, you packages, apply configuration changes, and restart the services, you
should use the manual upgrade playbook: should use the manual upgrade playbook:
@ -173,12 +173,6 @@ $ ls /etc/fedmsg.d/
$ sudo fedmsg-config | less $ sudo fedmsg-config | less
.... ....
Monitor performance:
....
http://threebean.org/fedmsg-health-day.html#FMN
....
Upgrade (from batcave): Upgrade (from batcave):
.... ....