LB2.0 migration
From EgeeWiki
This page is a homepage of a migration to LB2.0 process preparation, testing and documentation effort.
Contents |
[edit]
Status
Tests done, documentation prepared. Known bugs/issues solved or described in the doc.
[edit]
Migration process
- tested environment: LB 1.9.x from RPMs SL4 32bit (mysql 4.1.22-2), LB server node, migration to SL5 64bit (mysql 5.0.45-7) LB2.0 RPM
- migration differs between type of LB (proxy, server)
[edit]
L&B server steps
- stop LB server
- stop mysql server
- upgrade/transfer data
- tune mysql database (required to support bigger transactions), see admin guide, section 2.2.11
- run migration script installed with lb-server (link to CVS here), takes a while
bash -x /opt/glite/etc/glite-lb-migrate_db2version20 -s
- check the L&B indexes (admin guide, section 3.2.2)
You may need to add LastUpdateTime for monitoring services.
- start the L&B server
[edit]
L&B proxy steps
TODO: L&B proxy server 2.0 not released yet.
Migration like L&B server, except the different migration script parameter:
bash -x /opt/glite/etc/glite-lb-migrate_db2version20 -p
[edit]
Documentation
[edit]
Migration process tests
- basic migration test
- fresh LB 1.9.2 installation SL4, a test batch of jobs generated by a script via standard WMS (VOCE), including collections
- migration process (move to SL5 32 bit, database file level copy)
- LB test plan tests performed (LB still working)
- old jobs states and events available after migration (test states of a few pre-migration jobs)
- old job update test
- submit a event to a few pre-migration jobs and test its states
- "purge everything" test
- real dataset test
- the same as the basic test but using a copy of a production LB database
- misc
- migration script run by mistake doesn't harm already migrated LB 2.0 or running server (should it be tested?)
[edit]
Description of test performed
Unofficial performed tests low level technical description also available on request (F.Dvořák).
[edit]
Work area
[edit]
Testovací prostředí
- Vlastní testy na evelýně (SL32-4) a delwinovi (SL64-5).
- Postup upgrade RPM balíky, spuštění skriptu - dopsat do LBAG.
- Přes VOCE posílání skutečných jobů - skript posílající joby.
- Reálná databáze a její pošolíchání (hostname). Získat přes Z.Salveta.
- Přesně popis testů posunutí jobů které existovali před migrací.
- Jaké verze (RPMka) budeme testovat (původní).
