| 1 | = Zarafa migratie van Connectux naar SYN-3 = |
| 2 | |
| 3 | == Users == |
| 4 | |
| 5 | Zorg dat de users zijn aangemaakt op de SYN-3 server. |
| 6 | |
| 7 | Als de installatie te groot is om dit handigmatig te doen, neem dan contact op met ons. Wij kunnen hiervoor scripts maken. |
| 8 | |
| 9 | |
| 10 | == Database converteren van Zarafa naar SYN-3 == |
| 11 | |
| 12 | * Zorg dat u mimimaal SYN-3 versie 4.4.1 hebt. |
| 13 | |
| 14 | * Achterhaal de mysql user en pass van de database op de Connectux server: |
| 15 | {{{ |
| 16 | linux:/md0 # grep mysql /etc/araneus/zarafa/server.cfg |
| 17 | mysql_user = root |
| 18 | mysql_password = 12345 |
| 19 | mysql_database = zarafa |
| 20 | }}} |
| 21 | |
| 22 | * Achterhaal de mysql user en pass van de database op de SYN-3 server: |
| 23 | {{{ |
| 24 | [Syn-3] root@syn.kado.local ~# grep mysql /etc/zarafa/server.cfg |
| 25 | # Database engine (mysql) |
| 26 | database_engine = mysql |
| 27 | # MYSQL SETTINGS (for database_engine = mysql) |
| 28 | mysql_host = localhost |
| 29 | mysql_port = 3306 |
| 30 | mysql_user = zarafa |
| 31 | mysql_password = 4bee250a-3363-4764-b7fc-9c1d64844b09 |
| 32 | mysql_database = zarafa |
| 33 | }}} |
| 34 | |
| 35 | |
| 36 | * Verwijder de Zarafa database op de SYN-3 server: |
| 37 | {{{ |
| 38 | [Syn-3] root@syn.kado.local ~# svcstop /service/zarafa-server/ |
| 39 | Stopping /service/zarafa-server/ ....OK |
| 40 | [Syn-3] root@syn.kado.local ~# mysqladmin -p4bee250a-3363-4764-b7fc-9c1d64844b09 -u zarafa drop zarafa |
| 41 | Dropping the database is potentially a very bad thing to do. |
| 42 | Any data stored in the database will be destroyed. |
| 43 | |
| 44 | Do you really want to drop the 'zarafa' database [y/N] y |
| 45 | Database "zarafa" dropped |
| 46 | [Syn-3] root@syn.kado.local ~# |
| 47 | }}} |
| 48 | |
| 49 | * Om tijd te besparen, zorgen we dat de database rechtstreeks geïmporteerd word op de SYN-3 server, zonder tussenkomt van tijdelijke files: |
| 50 | |
| 51 | {{{ |
| 52 | linux:/md0 # mysqldump zarafa -p'12345' > zarafa.sql |
| 53 | Enter password: |
| 54 | }}} |
| 55 | |