@axil yes I tried them. And it's that simple. However, for 9.0, I just learned that we will need a manual step on the secondary step, that I don't exactly know. So if the base could be there, I'd update it with the correct content.
Now that I've tried to upgrade from 8.17 to 9.0, here are my thoughts:
GitLab 9.0 forces both the primary and the secondary to upgrade to PostgreSQL 9.6. This is tricky because right now because the jump from PostgreSQL 9.2 to 9.6 is considered a major revision, and the streaming replication between the two versions is not compatible. GitLab Geo 9.0 is also not compatible with 8.x.
Unless we make changes in omnibus to make it easier, users upgrading from 8.17 to 9.0 will have to:
Shut down the secondary
Upgrade the primary to GitLab 9.0 and PostgreSQL 9.6
Back up the /var/opt/gitlab/postgresql/data/recovery.conf on the secondary
Upgrade the secondary to GitLab 9.0 and PostgreSQL 9.6.
@brodock I believe the JWT token time comparison will be done in UTC irrespective to local time zone configuration. If one node is configured for USA East and the other for CET, then the comparison will work fine.
@SeanPackham Someone should verify my instructions are correct. I nominate @brodock. :)
@bbodenmiller you usually upgrade primary as you need to run database migrations. If you upgrade secondary first you need to restart after upgrading primary and things may fail because of database changes until the replication catches up in the database and the application is restarted