700 likes | 983 Views
ALEPH 500 Upgrade 16.02 – 18.01. Milano, 20 Giugno 2007. Alessandro Fasoli Atlantis. Agenda: Upgrade Express. Concetti base Logica dell‘upgrade Eseguire l‘Upgrade Express. Upgrade Express. Concetti base Logica dell‘upgrade Eseguire l‘Upgrade Express. Concetti base.
E N D
ALEPH 500Upgrade 16.02 – 18.01 Milano, 20 Giugno 2007 Alessandro Fasoli Atlantis
Agenda: Upgrade Express • Concetti base • Logica dell‘upgrade • Eseguire l‘Upgrade Express
Upgrade Express • Concetti base • Logica dell‘upgrade • Eseguire l‘Upgrade Express
Concetti base • Obiettivi dell‘ Upgrade Express • Versioni • Backup • Terminologia
Concetti base • Obiettivi dell‘ Upgrade Express • Versioni • Backup • Terminologia
Concetti base – Obiettivi dell'Upgrade Express • Trasferire il setup della ver. 16.02. • Implementare i cambiamenti “mandatory“. • Upgrade nelle tabelle di configurazione: • Tabelle: [lib]/tab • Display: [lib]/pc_display_eng • Forms: [lib]/form_eng • Tabelle gen.: [alephe]/tab • Web OPAC: [alephe]/www_f_eng nuovi files ed ico
Concetti base – Obiettivi dell'Upgrade Express • Adatta le tabelle/dati ORACLE alla nuova struttura della versione 18.01 • Crea le nuove tabelle ORACLE • 2 Upgrade Kits: • Upgrade Express 16 – 17 (eng) Interim 17 • Upgrade Express 17 – 18 (eng, <lng>) Versione 18 N.B. Le demo libraries non sono soggette a migrazione.
Concetti base • Obiettivi dell‘ Upgrade Express • Versioni • Backup • Terminologia
Concetti base - Versioni • ALEPH ver. 18.01 Service Pack #662 • ALEPH ver. 16.02 Ultimo Service Pack rilasciato da Atlantis • Upgrade Express (16.02 – 17.01) - Version 1.19 upgrade_express_1602_1701.tar.1.19.gz • Upgrade Express (17.01 – 18.01) – Version 1.19 upgrade_express_1701_1801.tar.1.19.gz
Concetti base • Obiettivi dell‘ Upgrade Express • Versioni • Backup • Terminologia
Concetti base - Backup I backup non sono parte del processo di upgrade. Dati Oracle: • Effettuare il backup delle tabelle Oracle Tabelle di configurazione: • Effettuare il backup dell‘albero di produzione
Concetti base • Obiettivi dell‘ Upgrade Express • Versioni • Backup • Terminologia
Concetti base - Terminologia UG-ita User-Guide Upgrade Express 16-18 tradotta/personalizzata da Atlantis. Kit/UE Software Upgrade Express (Versioni 16.02 – 17.01, 17.01 – 18.01) U-Tree ./u16_x , ./u18_x directory A-Tree ./a16_x , ./a18_x directory Source Versione di Aleph(16) che vogliamo aggiornare Target Versione Aleph 18.01
Upgrade Express • Concetti base • Logica dell‘upgrade • Eseguire l‘Upgrade Express
Logica dell‘upgrade fase 1: • upgrade di ottimizzazione alla versione 18 upgrade delle tabelle di configurazione upgrade dei files del web opac upgrade dei dati bibliografici/amministrativi • le versioni 16 e 18 sono attive in parallelo • la versione 16 è in produzione
Logica dell‘upgrade fase 2: • localizzazione Aleph ver.18 verifica della migrazione personalizzazione web opac modifiche manuali alle tabelle di configurazione • la versione 16 è in produzione
Logica dell‘upgrade fase 3: • versione 16 solo in consultazione • upgrade finale alla versione 18 upgrade dei dati bibliografici/amministrativi indicizzazione/verifica • stop versione 16 • STP Aleph versione 18
Upgrade Express • Concetti base • Logica dell‘upgrade • Eseguire l‘Upgrade Express
Eseguire l'Upgrade Express • Overview dell‘upgrade • Prerequisiti • Installare Aleph18 • Installare Upgrade Express Kits • Steps • 0. Verifiche di base • 1. Copiare u-tree • 2. Copiare l‘installazione di apache • 3. Modifiche manuali • 4. Export-Import dati ORACLE
Eseguire l'Upgrade Express • Steps • 5. Configurare l’Upgrade Express 16-17 • 6. Eseguire l’Upgrade Express 16-17 • 7. Controllare i logs UE 16-17 • 8. Configurare l’Upgrade Express 17-18 • 9. Eseguire l’Upgrade Express 17-18 • 10. Controllare i logs UE 17-18 • 11. Final Steps
Eseguire l'Upgrade Express • Overview degli Steps • Prerequisiti • Installare Aleph18 • Installare Upgrade Express Kits • Steps • 0. Verifiche di base • 1. Copiare l'u-tree • 2. Copiare l‘installazione di apache • 3. Modifiche manuali richieste • ...
Eseguire l'Upgrade Express - Overview dell‘upgrade a. Installare Aleph ver.18 SP level #662 b. Installare Upgrade Express Kits 0. Verifiche di base (2.3.3-2.3.5 , UG-ita pag. 4). 1. Copiare l’ U-tree (3.2.1 Copiare l’utree da source a target, UG-ita pag. 5). 2. Eseguire le modifiche manuali necessarie (3.2.2 Eseguire le modifiche manuali, UG-ita pag. 6).
Eseguire l'Upgrade Express - Overview dell‘upgrade 3. Copiare Apache (3.2.3 Copiare apache, UG-ita pag. 6). 4. Export-Import dati Oracle (3.2.4 Export-Import, UG-ita, pag. 7) 5. Configurare l’Upgrade Express 16-17 (3.2.5 Configurare l’Upgrade Express 16-17, UG-ita pag. 9) 6. Eseguire l’Upgrade Express 16-17 (3.2.6 Eseguire l’Upgrade Express 16-17, UG-ita pag. 12) 7. Controllare i logs UE 16-17 (3.2.7 Controllare i log dell’UE 16-17, UG-ita pag. 12)
Eseguire l'Upgrade Express - Overview dell‘upgrade 8. Configurare l’Upgrade Express 17-18 (3.2.8 Configurare l’Upgrade Express 17-18, UG-ita pag. 13) 9. Eseguire l’Upgrade Express 17-18 (3.2.9 Eseguire l’Upgrade Express 17-18, UG-ita pag. 14) 10. Controllare i logs UE 17-18 (3.2.10 Controllare i log dell’UE 17-18, UG-ita pag. 14) 11. Final Steps (3.2.11 – 3.2.13, UG-ita pag.14-17)
Eseguire l'Upgrade Express • Overview dell‘upgrade • Prerequisiti • Installare Aleph18 • Installare l‘Upgrade Express Kits • Steps • 0. Verifiche di base • 1. Copiare u-tree • 2. Copiare l‘installazione di apache • 3. Modifiche manuali richieste • 4. ...
Installare Aleph ver. 18.01 Attività eseguita da Atlantis. Installazione di: Aleph ver.18 Oracle Database 10g Demo libraries Service Pack “rilasciato“ da Atlantis
Installare Upgrade Express Kits Attività eseguita da Atlantis TARGET $ALEPH_MOUNT Versione 16.02 – 17.01 gzip –d upgrade_express_1602_1701.tar.1.19.gz tar xvf upgrade_express_1602_1701.tar.1.19 /exlibris/aleph/upgrade_express_1602_1701 Versione 17.01 – 18.01 gzip –d upgrade_express_1701_1801.tar.1.19.gz tar xvf upgrade_express_1701_1801.tar.1.19 /exlibris/aleph/upgrade_express_1701_1801
Eseguire l'Upgrade Express • Overview dell‘upgrade • Prerequisiti • Installare Aleph18 • Installare l‘Upgrade Express Kits • Steps • 0. Verifiche di base • 1. Copiare u-tree • 2. Copiare l‘installazione di apache • 3. Modifiche manuali richieste • 4. Export-Import dati ORACLE
Eseguire l'Upgrade Express • Steps • 5. Configurare l’Upgrade Express 16-17 • 6. Eseguire l’Upgrade Express 16-17 • 7. Controllare i logs UE 16-17 • 8. Configurare l’Upgrade Express 17-18 • 9. Eseguire l’Upgrade Express 17-18 • 10. Controllare i logs UE 17-18 • 11. Final Steps
0. Verifiche di base • Controllare la dimensione dei tablespaces: TS1D, TS1X, TS2D, TS2X, TS3D, TS3X, TS4D Utilizzate le util/O/13/1 ed util/O/14/1. • Controllare la tabella path_convert delle global amministrative relative all’ U-tree della versione 16 di ALEPH500. • Controllare la directory /exlibris/aleph/upgrade_express_1701_1801/conf/ita. • Shutdown ALEPH500 ver.18
1. Copiare l'u-tree source: cd $alephe_dev tar cvf u16_1.tar ./alephe ./libxx Trasferire u16_1.tar sul target ($ALEPH_MOUNT). target: cd $ALEPH_MOUNT Salvare l’ u-tree originale mv /exlibris/aleph/u18_1 /exlibris/aleph/u18_1.orig Creare la directory mkdir u18_1 cd u18_1 Ripristinare l’archivio tar xvf u16_1.tar
2. Copiare l‘installazione di apache • Copiare apache da u18_x.orig to u18_x • Attività di ripristino: • Ricreare i links to *css to icons apm create_htdocs_links • Pulire la directory di log (./alephe/apache/logs) • Start apache
3. Modifiche manuali richieste • ./alephe/tab/tab_version ! 1 2 3 4 5 6 !!!!!!-!!!!!-!-!-!!!!!!!!-!!!!!!!!!! 18.01 ALEPH Y 0 • Licenze ./alephe/tab/license ./alephe/tab_license.www_x • Sincronizzare i files: $alephe_root/aleph_start $alephe_root/aleph_start.private $alephe_root/aleph_startup & shutdown $alephe_root/www_server.conf
4. Export-Import dati Oracle - 1 Obiettivo: Import dati ORACLE in Aleph500 ver.18 Metodo: Export/Import • La durata dell’operazione di export/import varia in base all’ammontare dei records e al sistema source/target. Test eseguito con circa 500.000 records bib. Export: 2h Import: 1h
4. Export-Import dati Oracle - 2 0.Preparare Source e Target: creare $TMPDIR/libxx/files libxx : global soggette all’upgrade • Source: copiare in $aleph_procoracle_exp_aleph_libs oracle_exp_aleph_libs_a • Target: copiare in $aleph_proc oracle_imp_aleph_libs oracle_imp_aleph_libs_a
4. Export-Import dati Oracle - 3 • Sourcecsh -f $aleph_proc/oracle_exp_aleph_libsCopiare i files estratti dall’export nella rispettiva struttura sul target Attenzione:Export of Z98/Z97 (Word index)? Y(es) (default) = Export N(o) = mandatory manage_01 sul target • Targetcsh -f $aleph_proc/oracle_imp_aleph_libs $TMPDIR/oracle_imp_aleph_libs.log
5. Configurare l'Upgrade Express 16-17- 1 cd $ALEPH_MOUNT/upgrade_express_1602_1701 ./upgrade_util +----------------------------------------------------------+ | Upgrade Express Utility 16.02 -> 17.01 Version 1.19 | +----------------------------------------------------------+ 0. Exit 1. Define Upgrade Parameters 2. Check Environment 3. Run Upgrade Express 4. Backup/Restore Oracle Tables to be Upgraded 5. View/Restore Previously Stored Configuration Files 6. View Logfiles 7. Perform Post Upgrade Express Actions Please select [0]: 1
5. Configurare l'Upgrade Express 16-17 - 2 Define upgrade parameters ------------------------- 0. Exit 1. View Current Parameters 2. Update Parameters Please select [0]: 2 Update upgrade parameters ------------------------- 0. Exit 1. Update ALL Parameters (equivalent to 2-5) 2. Update Upgrade Libraries Definition 3. Update Main BIB Library Definition 4. Update Course Libraries Definition 5. Update Notification email Address definition Please select [0]: 1
5. Configurare l'Upgrade Express 16-17 - 3 1. Update ALL Parameters (equivalent to 2-7) Please select [0]: 1 Libraries to be upgraded: lib01 lib10 lib11 lib50 Enter space delimited list of libraries, D for default or C to continue [C]: D The new upgrade libraries definition is: lib01 lib10 lib11 lib50 Are you sure (Y/[N]): Y
5. Configurare l'Upgrade Express 16-17 - 4 Main BIB library: No main BIB library is currently defined Warning: Current definition does not match recommended definition: lib01 Enter main BIB library, D for default or C to continue [C]: D The new main BIB library definition is: lib01 Are you sure (Y/[N]): Y
5. Configurare l'Upgrade Express 16-17 - 5 Course libraries: No course libraries are currently defined Enter space delimited list of course libraries, D for default or C to continue [C]: C The new course libraries definition is: Are you sure (Y/[N]): Y -------------------------------------------------------- Notification email address: No email addresses are currently defined Enter space delimited list of email addresses or C to continue [C]: fasoli@libris.it The new email addresses definition is: fasoli@libris.it Are you sure (Y/[N]): Y
5. Configurare l'Upgrade Express 16-17 - 6 +---------------------------------------------------+ |Upgrade Express Utility 16.02 -> 17.01 Version 1.19| +---------------------------------------------------+ 0. Exit 1. Define Upgrade Parameters 2. Check Environment 3. Run Upgrade Express 4. Backup/Restore Oracle Tables to be Upgraded 5. View/Restore Previously Stored Configuration Files 6. View Logfiles 7. Perform Post Upgrade Express Actions Please select [0]: 2 The environment contains all of the needed modules and libraries
6. Eseguire l‘Upgrade Express 16-17 cd $ALEPH_MOUNT/upgrade_express_1602_1701 ./upgrade_util +---------------------------------------------------+ |Upgrade Express Utility 16.02 -> 17.01 Version 1.19| +---------------------------------------------------+ 0. Exit 1. Define Upgrade Parameters 2. Check Environment 3. Run Upgrade Express 4. Backup/Restore Oracle Tables to be Upgraded 5. View/Restore Previously Stored Configuration Files 6. View Logfiles 7. Perform Post Upgrade Express Actions Please select [0]: 3
6. Eseguire Upgrade Express 16-17 modalità “iniziale“: files e dati Oracle 3. Run Upgrade Express Upgrade Express runs in the background. At the end of the process you will get an email to the address specified in the parameters. 0. Exit 1. Run a specific step 2. Run all steps 3. Run all steps > 999 Please select [0]: 2
6. Eseguire Upgrade Express 16-17 modalità “produzione“: dati Oracle 3. Run Upgrade Express Upgrade Express runs in the background. At the end of the process you will get an email to the address specified in the parameters. 0. Exit 1. Run a specific step 2. Run all steps 3. Run all steps > 999 Please select [0]: 3
7. Verifica logs Upgrade Express 16-17 - 1 +----------------------------------------------------------+ | Upgrade Express Utility 16.02 -> 17.01 Version 1.19 | +----------------------------------------------------------+ 0. Exit 1. Define Upgrade Parameters 2. Check Environment 3. Run Upgrade Express 4. Backup/Restore Oracle Tables to be Upgraded 5. View/Restore Previously Stored Configuration Files 6. View Logfiles 7. Perform Post Upgrade Express Actions Please select [0]: 6
7. Verifica logs Upgrade Express 16-17 - 2 View Log Files ------------------------------------------- 0. Exit 1. View Main Log 2. View a Specific Step Log 3. View Older Logs Please select [0]: • Main Log: riporta l’esito (OK/Failure) di ogni step • Specific Step Log: attività eseguite nello step. Sono riportati i warnings e gli errori.
8. Configurare l'Upgrade Express 17-18 - 1 cd $ALEPH_MOUNT/upgrade_express_1701_1801 ./upgrade_util +----------------------------------------------------------+ | Upgrade Express Utility 17.01 -> 18.01 Version 1.19 | +----------------------------------------------------------+ 0. Exit 1. Define Upgrade Parameters 2. Check Environment 3. Run Upgrade Express 4. Backup/Restore Oracle Tables to be Upgraded 5. View/Restore Previously Stored Configuration Files 6. Organize pcb files 7. Organize error files 8. View Logfiles 9. Perform Post Upgrade Express Actions Please select [0]:1
8. Configurare l'Upgrade Express 17-18 - 2 Define upgrade parameters ------------------------- 0. Exit 1. View Current Parameters 2. Update Parameters Please select [0]: 2 Update upgrade parameters ------------------------- 0. Exit 1. Update ALL Parameters (equivalent to 2-7) 2. Update Upgrade Libraries Definition 3. Update Main BIB Library Definition 4. Update Course Libraries Definition 5. Update Notification email Address definition 6. Update Languages Definition 7. Update Run Localization step 0 Please select [0]: 1
8. Configurare l'Upgrade Express 17-18 - 3 1. Update ALL Parameters (equivalent to 2-7) Please select [0]: 1 Libraries to be upgraded: lib01 lib10 lib11 lib50 Enter space delimited list of libraries, D for default or C to continue [C]: D The new upgrade libraries definition is: lib01 lib10 lib11 lib50 Are you sure (Y/[N]): Y