Uzstāsies: Jurix, DBACC
Tēma: Migration challenges and Migration process from IBM AIX to Oracle Solaris
Valoda: Latviešu
Tēmas apraksts:
Šajā prezentācijā pastāstīšu par savu pieredzi organizējot klienta datubāzes migrāciju uz Oracle SPARC SuperCluster. Uzdevums ir nomigrēt datubāzi no IBM AIX uz Oracle Solaris. Aprakstīšu dažus migrācijas variantus, kurus izskatījām, kā arī problēmas, kuras sagaidīja procesā.
General Principles of Intellectual Property: Concepts of Intellectual Proper...
Migration challenges and process
1. Migration Challenges and Process
from IBM AIX
to Oracle Solaris on SPARC SuperCluster
Juris Trošins
juris.trosins@dbacc.lv
www.dbacc.lv
2. Who Am I
• More than third of my life with Oracle tech
• OCE, OCP, OCM
• Co-founder of DBA Competence Center Ltd.
• Delivering Oracle University training courses
• Frequent speaker at LVOUG, UKOUG, Harmony
and other technology seminars
3. What We Do
• DBA Outsourcing
• Remote consulting
• Oracle Software
• Oracle Hardware
• Oracle Education
4. Agenda
• What is Oracle SPARC SuperCluster
• SuperCluster architecture
• Migration challenges
• Migration process
14. Migration Challenges
• Switch from IBM AIX to Oracle Solaris
• Upgrade existing databases
• Minimize downtime
• Consolidate application servers to Weblogic
• Extend competency to new technology
16. Full Expdp/Impdp
• Export to dump and import from dump takes
too long time
• One LOB takes ~30% of database size
• Possible to split data into several network
import streams, import LONG separately
• Possible to split LOB by rowid ranges
• Still takes too long
• Solution is complicated and not error prone
17. DataGuard
• Data Guard Support for Heterogeneous
Primary and Physical Standbys in Same Data
Guard Configuration (Doc ID 413484.1)
• AIX <-> Solaris not supported due to BUG
12702521 (controlfile incompatibility)
18. Cross-Platform Duplicate
• RMAN DUPLICATE/RESTORE/RECOVER Mixed
Platform Support (Doc ID 1079563.1)
• Works only for certain combinations
– Solaris x86-64 <-> Linux x86-64
– HP-UX PARISC <-> HP-UX Itanium
– Win Itanium <-> Win x86-64
21. TTS
• Main preparation done with source DB
accessible
• All restrictions of TTS approach apply
• Estimated downtime promises to be
~45minutes
22. TTS
• Initial full backup:
backup for transport allow
inconsistent incremental level 0
tablespace <list of tablespaces>
format ‘<place of backup’;
23. Backup
• Subsequent incremental backups:
backup for transport allow
inconsistent incremental level 1
tablespace <list of tbs> format
‘<backup dest>’;
• Or with SCN
backup for transport allow
inconsistent incremental from scn
<scn before last bckp> tablespace
<list of tbs> format ‘<backup dest>’;
24. Restore
• Restore full backup
restore from platform 'AIX-Based Systems
(64-bit)' foreign datafile <file list>
format ‘<dest>' from backupset ‘<bset
name>’;
• Roll forward restored files
recover from platform 'AIX-Based Systems
(64-bit)' foreign datafilecopy
‘<list of files>’
from backupset
‘<bset name>';
25. Final backup
• Place tablespaces in read-only mode
• Take final backup and TTS expdp dump
backup for transport incremental
level 1 tablespace <tablespaces>
format ‘<backup dest>' datapump
format '<backup dest>';
• Downtime starts NOW!
26. Final restore
• Apply final incremental level 1 backup to datafiles
• Restore TTS dump
restore from platform 'AIX-Based Systems
(64-bit)' dump file ‘<dump name>'
datapump destination ‘<where to restore>'
from backupset '<backupset name>’;
• Import TTS dump
• Place tablespaces read-write
• Downtime ends NOW!