You’ll need to upgrade your server. During the upgrade, some data conversion will be performed. That is why we always recommend creating a backup before upgrade, because in order to downgrade you’ll need to restore from this backup. After such restore all new data produced by TeamCity 9 will be lost. Agents will upgrade/downgrade automatically.
Please review our upgrade instructions: http://confluence.jetbrains.com/display/TCD9/Upgrade