fedmsg/datanommer/datagrepper upgrade in production

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is my plan for upgrading fedmsg/datanommer/datagrepper. I'm not
sure it'll be able to get done before freeze on Tuesday at this point...
but I'd like to try to. I need somebody else to tell me if this is
crazy.

Everything is working as expected in staging. Production has two
servers, which adds a little bit more difficulty.

stage 0: preliminary things
- need a sysadmin-db to create a datagrepper database
- need to know domain/port for a memcached server
- need shared storage on datagrepper{01,02} in
  /var/www/datagrepper_output (only datagrepper01 will be writing to it,
  but both will need to serve it via httpd)

stage 1: upgrade fedmsg and datanommer on busgateway01
- yum update fedmsg python-datanommer-{models,consumer}
- run the two alembic upgrades (which need to be run in reverse order)
- restart all the fedmsg services
- verify everything is working:
  - fedmsg irc is spitting out messages
  - datanommer database is receiving new messages (verify with
    datanommer-latest)

stage 2: upgrade datagrepper on datagrepper{01,02}
- add datagrepper::runner to datagrepper01 manifest
- merge datagrepper from modules-staging into modules
- yum update fedmsg python-datanommer-models datagrepper
- create tables in datagrepper database
- run-puppet nowait

stage 3: upgrade fedmsg on the rest of production
- a sysadmin-main (presumably) will need to do this

-- 
Ian Weller <ian@xxxxxxxxxxxxx>

Attachment: pgpP2IBAGaKpo.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux