Professional Documents
Culture Documents
2019-Infra-Klaus Eckstein-Exadata Infrastructure Patching Und Upgrades in Eigenregie-Praesentation
2019-Infra-Klaus Eckstein-Exadata Infrastructure Patching Und Upgrades in Eigenregie-Praesentation
in Eigenregie
Klaus Eckstein, Daniel Hillinger
Dr. Klaus Eckstein
• DBA @ V-TServices
• Focus:
• OEM
• RAC including Grid Infrastructure
• Exadata
@klausecks
Value Transformation Services
Joint Venture founded 2013 by IBM and Unicredit
1000 employees, 6 countries, 6 data centers (www.v-tservices.com)
• Exadatas since 2010
• 21 Exadatas running
• All versions: X3 – X8; HC, HP, EF
• All expansions: quarter/half/full rack, flex configuration
Daniel Hillinger
• Senior Consultant at Trivadis Germany GmbH
Munich
• Focus:
• Oracle (RAC, Grid Infrastructure, Exadata, Dataguard)
• Unix/Linux (OEL, RedHat, Solaris)
• Azure (Automation, Design and Security)
@daniel8192 daniel8192.wordpress.com
Agenda
• Platinum service
• Components
• Time frames
• Lessons learned
Platinum service
Platinum service (patching)
Limits (as of 2019):
• Configuration must be certified (Config/Patch level)
• Patching at a minimum of 2x per year
• Max. 20/40 (full rack) DBs in max. 2 Oracle Homes (max. 4 virtual RACs per rack)
• Multi-rack
• Connect several Exadata racks to one logical Exadata (serveral clusters possible)
• ZFS storage appliance
• Storage for backup or storage tiering (HCC supported)
• Connected directly to leaf IB switches
• Exalogic / Private Cloud Appliance
• Engineered system for weblogic (connected with Infiniband)
• Listener on Infiniband interfaces
• Big Data Appliance
• Zero Data Loss Recovery Appliance
Patches
• MOS note 888828.1
• Two patch download options:
• Single patches , download patch for each component
• Quarterly Full Stack Download Patch (QFSDP) contains the complete collection of current
software patches (DB node OS, Cell, InfiniBand Switch, Power Distribution Unit, Oracle
Database and Grid Infrastructure DBBP, Oracle JavaVM PSU, OPatch, OPlan, EM Agent, EM
OMS, EM Plug-ins) > 20G
• Base releases not included
• Best practices
• Reboot before patching
• Problems
• Switch subnet master (sm)
• CentOS → OEL major release switch …
• Upgrade fails → manual update
Infiniband switches
• Change to the patch directory
• Check prerequisites
• Patch
• Best practices
• Reboot OS and ILOM before update
• Problems
• If Exadata is enlarged, maybe different hardware present
• (Next slide)
Storage cells
• Change to the patch directory
• Cleanup the previous update utility runs
• Check prerequisites
• Shutdown the cell services and patch
• Cleanup
# /var/log/exadatatmp/SAVE_patch_20830449/cell-
12.1.2.1.1.20830449V1_LINUX.X64_150521-1-rpm.bin --doall –force
• Best Practices
• Reset ILOM → included in patchmgr and dbnodeupdate
• Use latest dbserver.patch (DOC ID 1553103.1, patchmgr/dbnodeupdate.sh)
• Remove all NFS mounts (umount and comment in /etc/fstab)
• Cleanup root fs, to decrease backup time
• Install only packages from iso (example: exadata_ol7_base_repo_19.2.7.0.0.191012.iso)
DB server
• Make sure that password less login is possible
• Reset ILOM
# dcli -l root -g /root/db_group.txt ipmitool bmc reset cold
• Run precheck
• Start upgrade
• -log_dir auto automatically generates a log directory based on the current location.
• Strange upgrades OEL5 → OEL6 (RHEL does not support upgrades at all)
Database
Cells rolling:
• One after the other, with rebalance
Time frames DB nodes
DB nodes in parallel?
• How many instances have to run?
Grid Infrastructure
• First node separate; rest in parallel (since 19c)
Time frames
• Full Rack
• Patching cells offline
• Patch regularly
• Don‘t forget Cloud Contol agents and plugins (agents are part of QFSDP)
Do it Yourself