SlideShare a Scribd company logo
Oracle Linux
Ksplice
KEEP YOUR DATABASE SYSTEMS
UP TO DATE WITH NO DOWNTIME
Luis & Yves
▪ Luís Marques
▪ Oracle ACE
▪ Lisbon
▪ http://lcmarques.com / @drune / luis.marques@redglue.eu
▪ Yves Colin
▪ Oracle ACE Associate
▪ Paris
▪ http://ycolin.wordpress.com / @ycolin / ycolinora@gmail.com
ksplice - A piece of history (before Oracle)
▪ Created by Jeffrey Arnold, Tim Abbott, Waseem Daher, and Anders Kaseorg at MIT
▪ Released as open source (GPL v2 license) - Latest open source version: 0.9.9
▪ Ksplice (as company) started in 2008 and got 700 customers
▪ Support for RHEL, CentOS, Fedora, Debian, Ubuntu, CloudLinux and Scientific Linux
▪ Announced in LKML as “A system for rebootless kernel security updates” – (23 April
2008) (http://lwn.net/Articles/279378/)
ksplice - A piece of history (after Oracle)
▪ Oracle acquired Ksplice in 2011.
▪
▪ Offers feature only to Oracle Linux Premier Support customers
▪ Support for Oracle Linux (UEK, RH compatible kernels) via ULN – (also supports
RHEL as legacy customers(?))
▪ Support for Ubuntu and Fedora “Desktop” versions as “free community protection”
▪ Strategic move for Oracle: mission critical systems run Linux (eg: Databases,
Exadata, ODA)
ksplice – Why use it?
Allows to install security and reliability patches without reboot and
without downtime
Downtime (and other) dilemmas:
▪ Huge security Linux kernel hole discovered and few Oracle single instance without
DR?
▪ Factory Control Systems, Energy Management System Critical Applications
▪ Rollback an update without another emergency reboot?
▪ SLA or Security?
ksplice – Installation
Kernel Patching – Manual (Recommended)
# wget -N https://www.ksplice.com/uptrack/install-uptrack
# sh install-uptrack ACCESS_KEY
# uptrack-upgrade –y
Kernel Patching - Automatic Mode
# sh install-uptrack ACCESS_KEY –autoinstall
or edit /etc/uptrack/uptrack.conf and change autoinstall = yes
ksplice – Your first live demo with ksplice
Install and view all kernel updates available
# uptrack-show –-available
# uptrack-show
# uptrack-install <ksplice_id> -y
# uptrack-upgrade -y
# uptrack-uname –a
ksplice – Your first live demo with ksplice
You can patch your system without any reboot but remove them
rebootless as well
# uptrack-remove <ksplice_id>
# uptrack-remove –all
# uptrack-uname –a
Exploit, not exploit
ksplice and Oracle Database
▪ Ksplice doesn’t patch any Oracle shared libraries or binaries
▪ You want to patch your Database that is running of top of ext4 (?)
▪ Oracle instrumentation doesn’t catch it (?)
▪ Nothing in “Wait event” interface
▪ A few more cpu cycle are recorded during and after the patch, but is negligible.
ext4_file_open needs to be
patched but it is in use by
Oracle and your OS
The thread that can run the
function is suspended for
<1ms – No CPU can execute
it
Execution is resumed
<1ms
Ksplice ,Exadata and AWS
▪ Email from Ksplice support about Exadata:
▪ Check against OVM on EXADATA version 12.1.2.2.1.160119
▪ Tested under Redhat 7.3 EC2 image
▪ Possible on AWS AMI customized XEN kernel (“Supported for legacy customers”)
Ksplice – Under the wood
Kplice – How patch is created? (1/2)
Source Code of Running Kernel
Slice
Source Code of Patch
Ksplice Build Environment:
• Pre Object Code
• Post Object Code Ksplice-id.ko
Ksplice-id-vmlinux-
new.ko
Ksplice-id-vmlinux-
old.ko
Identify modified functions
Object Level Code difference
Patch Created
Slice
Kplice – How patch is created? (2/2)
▪ Ksplice compares code at object code level
▪ In this way Ksplice patch creation could be completely automated(in most of the cases)
▪ Ksplice compiles code(patched/non patched) with special gcc options -ffunction-sections -
fdata-sections
Patch creation magic (1/2)
Kplice – How patch is applied?
Connect to the
repository
Download the
Splice (tar.gz)
Files in
/var/cache/uptrack/
Linux/$arch/$kernel
Ksplice-id.ko core module
interface
(userland – kernel land)
Ksplice-id-vmlinux-new.ko Ksplice-id-vmlinux-old.ko
Interaction via
/sys/modules/ksplice-id/ksplice
Inspect thread – patched functions
in execution? (safety check)
Execute stop_machine() to
suspend thread
Patched code loaded in
memory
Patch applied
Thread
execution
resumed
Kplice – How patch is applied (in deep) ?
Compare Running Code in
memory to pre-code(safety check)
Resolve Undefined Symbol in Post
Code/Patched code (where are
they located in running kernel?) pre
matching phase
Find the patched function in
running kernel
Modified Old Function to
insert a JMP instruction
Patch
applied
stop_machine() : disable CPU
interruption and set the
patching process in High
priority scheduling mode
Patched Function
Check kernel stack thread
Patch creation magic (2/2)
Ksplice - Alternatives
▪ Kpatch (RedHat) / kGraft (Suse):
▪ Uses ftrace to do the patching
▪ Kpatch uses stop_machine() to load new code (like Ksplice)
▪ Kgraft works on thread level, as soon as the threads reaches
a point it switches to a new function
▪ KernelCare (CloudLinux)
▪ Proprietary software
Kpatch
▪ Kpatch > LivePatch (RedHat)
April 2015
Kernel 4.0
release –
Foundations for
LIVE PATCHING
May 2014
Submitted
Linux Kernel
Mainline
February 2014
Public release
GPLv2
June 2014
RHEL 7 – Preview
Canonical has a service called LivePatch that takes advantage of Kernel 4.x LIVE PATCHING
Ksplice – Web Management tool
▪ Webinterface available at: http://uptrack.ksplice.com or https://status-
ksplice.oracle.com
▪
Ksplice – Web Management tool
▪ Webinterface available at: http://uptrack.ksplice.com or https://status-
ksplice.oracle.com
Ksplice - Uptrack offline client
▪ Remove the need for servers to connect to “public” Ksplice server
▪ Create a local YUM mirror of Ksplice mirror and allow your servers to connect to it
▪ Or, Oracle bundles all available Ksplice patches for each supported kernel version
to one RPM package and install in every server using a pen drive 
▪ A new patch is available, a new RPM is available
▪ You cannot use the Web management tool.
▪ Details for offline client:
https://docs.oracle.com/cd/E37670_01/E37355/html/ol_olcsetup_ksplice.html
Ksplice - Ksplice SNMP Plugin
▪ Use Oracle Enterprise Manager 12c/13c(?) to monitor status of Ksplice on your systems.
▪ Query the status of Ksplice using SNMP command snmpwalk:
[root@phoenix ksplice-46gkktym]# $ snmpwalk -v 1 -c public -O e localhost KSPLICE-UPTRACK-MIB::kspliceStatus
KSPLICE-UPTRACK-MIB::kspliceStatus.0 = STRING: outofdate
▪ [root@phoenix ksplice-46gkktym]# $ snmpwalk -v 1 -c public -O e localhost KSPLICE-UPTRACK-MIB::kspliceAvailTable
▪ KSPLICE-UPTRACK-MIB::kspliceavailName.12 = STRING: [ur5of4nd]
KSPLICE-UPTRACK-MIB::kspliceavailName.13 = STRING: [ue4dtk2k]
KSPLICE-UPTRACK-MIB::kspliceavailName.14 = STRING: [wy52x339]
Details: http://docs.oracle.com/cd/E37670_01/E39380/html/ch01s11s01.html
Watch and learn..to tune wait events 
Watch and learn..to tune wait events 
Ad

More Related Content

What's hot (20)

Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas SchmidtJuniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
Nam Nguyen
 
EIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS DifferencesEIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS Differences
John Berry
 
Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 aug...
Monitoring kubernetes wwith prometheus and grafana   azure singapore - 19 aug...Monitoring kubernetes wwith prometheus and grafana   azure singapore - 19 aug...
Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 aug...
Nilesh Gule
 
BGP Unnumbered で遊んでみた
BGP Unnumbered で遊んでみたBGP Unnumbered で遊んでみた
BGP Unnumbered で遊んでみた
akira6592
 
F5 link controller
F5  link controllerF5  link controller
F5 link controller
Jimmy Saigon
 
시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"
시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"
시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"
InfraEngineer
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
hugo lu
 
Ansible 101
Ansible 101Ansible 101
Ansible 101
YI-CHING WU
 
Summit 16: ETSI NFV Interface and Architecture Overview
Summit 16: ETSI NFV Interface and Architecture OverviewSummit 16: ETSI NFV Interface and Architecture Overview
Summit 16: ETSI NFV Interface and Architecture Overview
OPNFV
 
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
Jo Hoon
 
[Podman Special Event] Kubernetes in Rootless Podman
[Podman Special Event] Kubernetes in Rootless Podman[Podman Special Event] Kubernetes in Rootless Podman
[Podman Special Event] Kubernetes in Rootless Podman
Akihiro Suda
 
【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース
【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース
【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース
Juniper Networks (日本)
 
Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010
Febrian ‎
 
TripleO Deep Dive 1.1
TripleO Deep Dive 1.1TripleO Deep Dive 1.1
TripleO Deep Dive 1.1
Takashi Kajinami
 
ネットワーク構築訓練 入門
ネットワーク構築訓練 入門ネットワーク構築訓練 入門
ネットワーク構築訓練 入門
株式会社 NTTテクノクロス
 
OpenStackで始めるクラウド環境構築入門 Havana&DevStack編
OpenStackで始めるクラウド環境構築入門 Havana&DevStack編OpenStackで始めるクラウド環境構築入門 Havana&DevStack編
OpenStackで始めるクラウド環境構築入門 Havana&DevStack編
VirtualTech Japan Inc.
 
クラウドオーケストレーション「OpenStack Heat」に迫る!
クラウドオーケストレーション「OpenStack Heat」に迫る!クラウドオーケストレーション「OpenStack Heat」に迫る!
クラウドオーケストレーション「OpenStack Heat」に迫る!
Etsuji Nakai
 
Linux Performance Analysis: New Tools and Old Secrets
Linux Performance Analysis: New Tools and Old SecretsLinux Performance Analysis: New Tools and Old Secrets
Linux Performance Analysis: New Tools and Old Secrets
Brendan Gregg
 
Windows Internals for Linux Kernel Developers
Windows Internals for Linux Kernel DevelopersWindows Internals for Linux Kernel Developers
Windows Internals for Linux Kernel Developers
Kernel TLV
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
poojaswami31
 
Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas SchmidtJuniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
Nam Nguyen
 
EIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS DifferencesEIGRP NXOS vs IOS Differences
EIGRP NXOS vs IOS Differences
John Berry
 
Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 aug...
Monitoring kubernetes wwith prometheus and grafana   azure singapore - 19 aug...Monitoring kubernetes wwith prometheus and grafana   azure singapore - 19 aug...
Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 aug...
Nilesh Gule
 
BGP Unnumbered で遊んでみた
BGP Unnumbered で遊んでみたBGP Unnumbered で遊んでみた
BGP Unnumbered で遊んでみた
akira6592
 
F5 link controller
F5  link controllerF5  link controller
F5 link controller
Jimmy Saigon
 
시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"
시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"
시니어가 들려주는 "내가 알고 있는 걸 당신도 알게 된다면"
InfraEngineer
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
hugo lu
 
Summit 16: ETSI NFV Interface and Architecture Overview
Summit 16: ETSI NFV Interface and Architecture OverviewSummit 16: ETSI NFV Interface and Architecture Overview
Summit 16: ETSI NFV Interface and Architecture Overview
OPNFV
 
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
Jo Hoon
 
[Podman Special Event] Kubernetes in Rootless Podman
[Podman Special Event] Kubernetes in Rootless Podman[Podman Special Event] Kubernetes in Rootless Podman
[Podman Special Event] Kubernetes in Rootless Podman
Akihiro Suda
 
【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース
【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース
【SRX】JUNOS ハンズオントレーニング資料 SRXシリーズ サービス ゲートウェイ コース
Juniper Networks (日本)
 
Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010
Febrian ‎
 
OpenStackで始めるクラウド環境構築入門 Havana&DevStack編
OpenStackで始めるクラウド環境構築入門 Havana&DevStack編OpenStackで始めるクラウド環境構築入門 Havana&DevStack編
OpenStackで始めるクラウド環境構築入門 Havana&DevStack編
VirtualTech Japan Inc.
 
クラウドオーケストレーション「OpenStack Heat」に迫る!
クラウドオーケストレーション「OpenStack Heat」に迫る!クラウドオーケストレーション「OpenStack Heat」に迫る!
クラウドオーケストレーション「OpenStack Heat」に迫る!
Etsuji Nakai
 
Linux Performance Analysis: New Tools and Old Secrets
Linux Performance Analysis: New Tools and Old SecretsLinux Performance Analysis: New Tools and Old Secrets
Linux Performance Analysis: New Tools and Old Secrets
Brendan Gregg
 
Windows Internals for Linux Kernel Developers
Windows Internals for Linux Kernel DevelopersWindows Internals for Linux Kernel Developers
Windows Internals for Linux Kernel Developers
Kernel TLV
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
poojaswami31
 

Similar to Ksplice - Keep your Database systems up to date with no downtime (20)

Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
Guatemala User Group
 
Kolla talk at OpenStack Summit 2017 in Sydney
Kolla talk at OpenStack Summit 2017 in SydneyKolla talk at OpenStack Summit 2017 in Sydney
Kolla talk at OpenStack Summit 2017 in Sydney
Vikram G Hosakote
 
les_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 fileles_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 file
YulinLiu27
 
les01.pdf
les01.pdfles01.pdf
les01.pdf
VAMSICHOWDARY61
 
NFD9 - Matt Peterson, Data Center Operations
NFD9 - Matt Peterson, Data Center OperationsNFD9 - Matt Peterson, Data Center Operations
NFD9 - Matt Peterson, Data Center Operations
Cumulus Networks
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
maclean liu
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
mengjiagou
 
Practical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsPractical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environments
Nelson Calero
 
OpenShift 4 installation
OpenShift 4 installationOpenShift 4 installation
OpenShift 4 installation
Robert Bohne
 
OSDC 2014: Nat Morris - Open Network Install Environment
OSDC 2014: Nat Morris - Open Network Install EnvironmentOSDC 2014: Nat Morris - Open Network Install Environment
OSDC 2014: Nat Morris - Open Network Install Environment
NETWAYS
 
CERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8sCERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8s
Belmiro Moreira
 
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdfOpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
ssuser9e06a61
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
OpenStack Korea Community
 
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
linuxlab_conf
 
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini
 
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Ajith Ramawickrama
 
Navigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy
 
Docker-v3.pdf
Docker-v3.pdfDocker-v3.pdf
Docker-v3.pdf
Bruno Cornec
 
Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guide
Johan Louwers
 
Linux Foundation Mentorship Sessions - Kernel Livepatch: An Introduction
Linux Foundation Mentorship Sessions - Kernel Livepatch: An IntroductionLinux Foundation Mentorship Sessions - Kernel Livepatch: An Introduction
Linux Foundation Mentorship Sessions - Kernel Livepatch: An Introduction
Marcos de Souza
 
Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination Oracle Linux and Oracle Database - A Trusted Combination
Oracle Linux and Oracle Database - A Trusted Combination
Guatemala User Group
 
Kolla talk at OpenStack Summit 2017 in Sydney
Kolla talk at OpenStack Summit 2017 in SydneyKolla talk at OpenStack Summit 2017 in Sydney
Kolla talk at OpenStack Summit 2017 in Sydney
Vikram G Hosakote
 
les_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 fileles_02.ppt of the Oracle course train_2 file
les_02.ppt of the Oracle course train_2 file
YulinLiu27
 
NFD9 - Matt Peterson, Data Center Operations
NFD9 - Matt Peterson, Data Center OperationsNFD9 - Matt Peterson, Data Center Operations
NFD9 - Matt Peterson, Data Center Operations
Cumulus Networks
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
maclean liu
 
Practical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsPractical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environments
Nelson Calero
 
OpenShift 4 installation
OpenShift 4 installationOpenShift 4 installation
OpenShift 4 installation
Robert Bohne
 
OSDC 2014: Nat Morris - Open Network Install Environment
OSDC 2014: Nat Morris - Open Network Install EnvironmentOSDC 2014: Nat Morris - Open Network Install Environment
OSDC 2014: Nat Morris - Open Network Install Environment
NETWAYS
 
CERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8sCERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8s
Belmiro Moreira
 
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdfOpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
ssuser9e06a61
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
OpenStack Korea Community
 
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
Marco Cavallini - Yocto Project, an automatic generator of embedded Linux dis...
linuxlab_conf
 
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini @ LinuxLab 2018 : Workshop Yocto Project, an automatic genera...
Marco Cavallini
 
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Ajith Ramawickrama
 
Navigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy
 
Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guide
Johan Louwers
 
Linux Foundation Mentorship Sessions - Kernel Livepatch: An Introduction
Linux Foundation Mentorship Sessions - Kernel Livepatch: An IntroductionLinux Foundation Mentorship Sessions - Kernel Livepatch: An Introduction
Linux Foundation Mentorship Sessions - Kernel Livepatch: An Introduction
Marcos de Souza
 
Ad

More from Luis Marques (7)

Apache Hive for modern DBAs
Apache Hive for modern DBAsApache Hive for modern DBAs
Apache Hive for modern DBAs
Luis Marques
 
Partitioning on Oracle 12c - What changed on the most important Oracle feature
Partitioning on Oracle 12c - What changed on the most important Oracle featurePartitioning on Oracle 12c - What changed on the most important Oracle feature
Partitioning on Oracle 12c - What changed on the most important Oracle feature
Luis Marques
 
Indices B-Tree – considerações básicas
Indices B-Tree – considerações básicasIndices B-Tree – considerações básicas
Indices B-Tree – considerações básicas
Luis Marques
 
Oracle TDE - O Básico
Oracle TDE - O BásicoOracle TDE - O Básico
Oracle TDE - O Básico
Luis Marques
 
Proof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12cProof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12c
Luis Marques
 
Drill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource ManagerDrill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource Manager
Luis Marques
 
Exadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das PartesExadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das Partes
Luis Marques
 
Apache Hive for modern DBAs
Apache Hive for modern DBAsApache Hive for modern DBAs
Apache Hive for modern DBAs
Luis Marques
 
Partitioning on Oracle 12c - What changed on the most important Oracle feature
Partitioning on Oracle 12c - What changed on the most important Oracle featurePartitioning on Oracle 12c - What changed on the most important Oracle feature
Partitioning on Oracle 12c - What changed on the most important Oracle feature
Luis Marques
 
Indices B-Tree – considerações básicas
Indices B-Tree – considerações básicasIndices B-Tree – considerações básicas
Indices B-Tree – considerações básicas
Luis Marques
 
Oracle TDE - O Básico
Oracle TDE - O BásicoOracle TDE - O Básico
Oracle TDE - O Básico
Luis Marques
 
Proof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12cProof of Concept with Real Application Testing 12c
Proof of Concept with Real Application Testing 12c
Luis Marques
 
Drill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource ManagerDrill Down the most underestimate Oracle Feature - Database Resource Manager
Drill Down the most underestimate Oracle Feature - Database Resource Manager
Luis Marques
 
Exadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das PartesExadata - O Todo é maior que a soma das Partes
Exadata - O Todo é maior que a soma das Partes
Luis Marques
 
Ad

Recently uploaded (20)

Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 

Ksplice - Keep your Database systems up to date with no downtime

  • 1. Oracle Linux Ksplice KEEP YOUR DATABASE SYSTEMS UP TO DATE WITH NO DOWNTIME
  • 2. Luis & Yves ▪ Luís Marques ▪ Oracle ACE ▪ Lisbon ▪ http://lcmarques.com / @drune / [email protected] ▪ Yves Colin ▪ Oracle ACE Associate ▪ Paris ▪ http://ycolin.wordpress.com / @ycolin / [email protected]
  • 3. ksplice - A piece of history (before Oracle) ▪ Created by Jeffrey Arnold, Tim Abbott, Waseem Daher, and Anders Kaseorg at MIT ▪ Released as open source (GPL v2 license) - Latest open source version: 0.9.9 ▪ Ksplice (as company) started in 2008 and got 700 customers ▪ Support for RHEL, CentOS, Fedora, Debian, Ubuntu, CloudLinux and Scientific Linux ▪ Announced in LKML as “A system for rebootless kernel security updates” – (23 April 2008) (http://lwn.net/Articles/279378/)
  • 4. ksplice - A piece of history (after Oracle) ▪ Oracle acquired Ksplice in 2011. ▪ ▪ Offers feature only to Oracle Linux Premier Support customers ▪ Support for Oracle Linux (UEK, RH compatible kernels) via ULN – (also supports RHEL as legacy customers(?)) ▪ Support for Ubuntu and Fedora “Desktop” versions as “free community protection” ▪ Strategic move for Oracle: mission critical systems run Linux (eg: Databases, Exadata, ODA)
  • 5. ksplice – Why use it? Allows to install security and reliability patches without reboot and without downtime Downtime (and other) dilemmas: ▪ Huge security Linux kernel hole discovered and few Oracle single instance without DR? ▪ Factory Control Systems, Energy Management System Critical Applications ▪ Rollback an update without another emergency reboot? ▪ SLA or Security?
  • 6. ksplice – Installation Kernel Patching – Manual (Recommended) # wget -N https://www.ksplice.com/uptrack/install-uptrack # sh install-uptrack ACCESS_KEY # uptrack-upgrade –y Kernel Patching - Automatic Mode # sh install-uptrack ACCESS_KEY –autoinstall or edit /etc/uptrack/uptrack.conf and change autoinstall = yes
  • 7. ksplice – Your first live demo with ksplice Install and view all kernel updates available # uptrack-show –-available # uptrack-show # uptrack-install <ksplice_id> -y # uptrack-upgrade -y # uptrack-uname –a
  • 8. ksplice – Your first live demo with ksplice You can patch your system without any reboot but remove them rebootless as well # uptrack-remove <ksplice_id> # uptrack-remove –all # uptrack-uname –a
  • 10. ksplice and Oracle Database ▪ Ksplice doesn’t patch any Oracle shared libraries or binaries ▪ You want to patch your Database that is running of top of ext4 (?) ▪ Oracle instrumentation doesn’t catch it (?) ▪ Nothing in “Wait event” interface ▪ A few more cpu cycle are recorded during and after the patch, but is negligible. ext4_file_open needs to be patched but it is in use by Oracle and your OS The thread that can run the function is suspended for <1ms – No CPU can execute it Execution is resumed <1ms
  • 11. Ksplice ,Exadata and AWS ▪ Email from Ksplice support about Exadata: ▪ Check against OVM on EXADATA version 12.1.2.2.1.160119 ▪ Tested under Redhat 7.3 EC2 image ▪ Possible on AWS AMI customized XEN kernel (“Supported for legacy customers”)
  • 12. Ksplice – Under the wood
  • 13. Kplice – How patch is created? (1/2) Source Code of Running Kernel Slice Source Code of Patch Ksplice Build Environment: • Pre Object Code • Post Object Code Ksplice-id.ko Ksplice-id-vmlinux- new.ko Ksplice-id-vmlinux- old.ko Identify modified functions Object Level Code difference Patch Created Slice
  • 14. Kplice – How patch is created? (2/2) ▪ Ksplice compares code at object code level ▪ In this way Ksplice patch creation could be completely automated(in most of the cases) ▪ Ksplice compiles code(patched/non patched) with special gcc options -ffunction-sections - fdata-sections
  • 16. Kplice – How patch is applied? Connect to the repository Download the Splice (tar.gz) Files in /var/cache/uptrack/ Linux/$arch/$kernel Ksplice-id.ko core module interface (userland – kernel land) Ksplice-id-vmlinux-new.ko Ksplice-id-vmlinux-old.ko Interaction via /sys/modules/ksplice-id/ksplice Inspect thread – patched functions in execution? (safety check) Execute stop_machine() to suspend thread Patched code loaded in memory Patch applied Thread execution resumed
  • 17. Kplice – How patch is applied (in deep) ? Compare Running Code in memory to pre-code(safety check) Resolve Undefined Symbol in Post Code/Patched code (where are they located in running kernel?) pre matching phase Find the patched function in running kernel Modified Old Function to insert a JMP instruction Patch applied stop_machine() : disable CPU interruption and set the patching process in High priority scheduling mode Patched Function Check kernel stack thread
  • 19. Ksplice - Alternatives ▪ Kpatch (RedHat) / kGraft (Suse): ▪ Uses ftrace to do the patching ▪ Kpatch uses stop_machine() to load new code (like Ksplice) ▪ Kgraft works on thread level, as soon as the threads reaches a point it switches to a new function ▪ KernelCare (CloudLinux) ▪ Proprietary software
  • 20. Kpatch ▪ Kpatch > LivePatch (RedHat) April 2015 Kernel 4.0 release – Foundations for LIVE PATCHING May 2014 Submitted Linux Kernel Mainline February 2014 Public release GPLv2 June 2014 RHEL 7 – Preview Canonical has a service called LivePatch that takes advantage of Kernel 4.x LIVE PATCHING
  • 21. Ksplice – Web Management tool ▪ Webinterface available at: http://uptrack.ksplice.com or https://status- ksplice.oracle.com ▪
  • 22. Ksplice – Web Management tool ▪ Webinterface available at: http://uptrack.ksplice.com or https://status- ksplice.oracle.com
  • 23. Ksplice - Uptrack offline client ▪ Remove the need for servers to connect to “public” Ksplice server ▪ Create a local YUM mirror of Ksplice mirror and allow your servers to connect to it ▪ Or, Oracle bundles all available Ksplice patches for each supported kernel version to one RPM package and install in every server using a pen drive  ▪ A new patch is available, a new RPM is available ▪ You cannot use the Web management tool. ▪ Details for offline client: https://docs.oracle.com/cd/E37670_01/E37355/html/ol_olcsetup_ksplice.html
  • 24. Ksplice - Ksplice SNMP Plugin ▪ Use Oracle Enterprise Manager 12c/13c(?) to monitor status of Ksplice on your systems. ▪ Query the status of Ksplice using SNMP command snmpwalk: [root@phoenix ksplice-46gkktym]# $ snmpwalk -v 1 -c public -O e localhost KSPLICE-UPTRACK-MIB::kspliceStatus KSPLICE-UPTRACK-MIB::kspliceStatus.0 = STRING: outofdate ▪ [root@phoenix ksplice-46gkktym]# $ snmpwalk -v 1 -c public -O e localhost KSPLICE-UPTRACK-MIB::kspliceAvailTable ▪ KSPLICE-UPTRACK-MIB::kspliceavailName.12 = STRING: [ur5of4nd] KSPLICE-UPTRACK-MIB::kspliceavailName.13 = STRING: [ue4dtk2k] KSPLICE-UPTRACK-MIB::kspliceavailName.14 = STRING: [wy52x339] Details: http://docs.oracle.com/cd/E37670_01/E39380/html/ch01s11s01.html
  • 25. Watch and learn..to tune wait events 
  • 26. Watch and learn..to tune wait events 

Editor's Notes

  • #5: 1502322.1 (NOTE EXALOGIC) Investigate for Exadata, Exalogic and ODA
  • #7: You kernel will be updated automatically now as new update comes. Could be done afterwards in ksplice configuration file as wellç. Only patches will be automatically installed the ksplice client is not automatically upgraded. Questions: Autoinstall when it happens??
  • #8: uptrack-install <ksplice_id> -y -> ksplice_id depends on the previous installed ksplice_ids showed in uptrack-show. (Dependencies) Methodology: Test the bug, install the patch, test the bug, install all updates
  • #9: Methodology: Test the bug, remove the patch, test the bug, remove all updates
  • #10: Disable automatic patch application and rollback patches: uptrack-remove –all  - sh exploit.sh: build and compiles  exploit.c - Exploit on perf (linux profiler). ./exploit 0 Now we become root sh installexploitpatch.sh  - exit - Try exploit again (core dump expected) - It will take care of dependencies and changed the effective kernel: uptrack-uname -r vs uname -r
  • #11: GLIBC library patching also demonstrated no issues
  • #12: GLIBC library patching also demonstrated no issues
  • #14: Pre Object Code / Post Object Code Object code is the the output of the compiler (machine language) not yet linked
  • #15: Pre Object Code / Post Object Code
  • #16: createpatch.sh ksplice-apply splice……..tar.gz cat /proc/uptime
  • #17: Ksplice-<kspliceid>.ko : module in charge of loading and unloading patched code Ksplice-<kspliceid>_vmlinux-new.ko : module containing the new patched functions Ksplice-<kspliceid>_vmlinux-old.ko : module containing the previous functions
  • #18: The pre matching phase does not need exported symbol table at all. It finds the same function or a function in the same scope and resolve symbol address in the running kernel. Replacement needs to be atomic Stop_machine The caller can specify a non-sleeping 12 * function to be executed on a single or multiple cpus preempting all 13 * other processes and monopolizing those cpus until it finishes.
  • #19: lsmod cat /proc/kallsyms | grep uptime_proc_show perf probe --add uptime_proc_show perf record -e probe:uptime_proc_show -e probe:uptime_proc_show_1 -aR sleep 15 & cat /proc/uptime perf script
  • #20: http://www.zdnet.com/article/no-reboot-patching-comes-to-linux-4-0/
  • #26: apply the patch ksplice-apply ksplice-00000000.tar.gz undo the patch ksplice-undo 00000000