real world oracle database patching terminology

29
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Real World Oracle Database Patching Terminology Wataru Morohashi / October 19, 2012

Upload: wataru-morohashi

Post on 07-Nov-2014

2.078 views

Category:

Technology


7 download

DESCRIPTION

Unconference at db tech showcase 2012 | Japan Oracle User Group http://www.jpoug.org/?p=452 db tech showcase 2012 | Insight Technology, Inc. http://www.insight-tec.com/dbts2012.html#5 Thanks for Awesome Unconference at db tech showcase 2012 | Japan Oracle User Group http://www.jpoug.org/?p=490 References ---------- Oracle Database Patching: No Pain, More Gain Balaji Bashyam, Vice President Support, Eleanor Meritt, Vice President Sustaining Engineering, Russell Green, Vice President Development; Oracle Wednesday October 5, 2011 01:00 pm - 02:00 pm at Moscone South - 104 https://oracleus.wingateweb.com/published/oracleus2011/sessions/13482/13482_Cho149653.pdf The Insider’s Guide to Patching Oracle Software David Price - Senior Director, Oracle Eleanor Meritt - Vice President, Oracle Wednesday, October 3, 2012 1:15 PM - 2:15 PM at Moscone South - 102 http://myexpospace.com/oracle2012/SessionFiles/CON8488_PDF_8488_0001.pdf Oracle Database 11g Release 2 (11.2.0.2)のproducts.xmlを開けて素朴に思う - wmo6hash::blog http://d.hatena.ne.jp/wmo6hash/20110506/p1 Oracle Databaseのアウトオブプレース・アップグレードとインプレース・アップグレード - wmo6hash::blog http://d.hatena.ne.jp/wmo6hash/20110325/p1 Oracle Universal InstallerおよびOpatchユーザーズ・ガイド 11gリリース1(11.1) for Microsoft Windows and UNIX Systems E05707-05 http://otndnld.oracle.co.jp/document/products/oracle11g/111/doc_dvd/server.111/E05707-05/title.htm Oracle(R) Universal Installer and OPatch User's Guide 11g Release 2 (11.2) for Windows and UNIX Part Number E12255-11 http://docs.oracle.com/cd/E11882_01/em.112/e12255/oui7_opatch.htm Software Delivery Cloud - 日本 https://edelivery.oracle.com/jp

TRANSCRIPT

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Real World Oracle Database Patching Terminology

Wataru Morohashi / October 19, 2012

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 2

Focus on Oracle Database Patching Oracle OpenWorld Presentations

2011 2012

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 3

Focus on Oracle Database Patching Terminology 毎年同じ説明から はじまる

Patch Set

a maintenance release containing all bugs fixed for a given production version during a time period.

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 4

Focus on Oracle Database Patching Terminology どうして この説明から始めているのか

“提供手段の違いがお客様に混乱を招いている” Eleanor Meritt, Vice President, Sustaining Engineering ; Oracle

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

“パッチを大別してパッチセットとパッチがある ”

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

“パッチを大別してパッチセットとパッチがある ” OUIでインストールするマイナーなリリースの製品にパッチセットと呼ばれるものがあるだけ

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

パッチセットは もはやパッチではない いわゆるOracle Databaseに対するパッチは Opatchで適用するパッチ のみ

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

遅くともリリース11.2.0.2がある 2010年9月から パッチセットはマイナーリリース

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 9

中身を見ればわかる

インストール・ソース : products.xml

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 10

11.1.0.7‘s products.xml contained PATCHSET and Patch Set

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 11

11.2.0.2's products.xml not contained PATCHSET and Patch Set , contained “Production”

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 12

パッチセットをパッチと言うには無理がある状況の変化

リリース11.1.0.7と リリース11.2.0.2以降の違い

フル・インストール・パッケージのみ 過去のいかなるリリースからのアップグレードであっても製品としてインストール

変更したいファイルだけに変更を加えて置き換えるのではない 適用という概念にそぐわない

開発部門はパッチセット毎にテスト項目を改良しテストにかける時間も増えている

以前はベースリリースと同じテストしかしていなかった

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

「パッチセットとパッチがある」と 認知する必要はある ただし マイナーリリースをパッチセットと 言う必然性と機会は ほとんどない

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 14

まずは製品名を ー 事実として製品なのだから

新機能ガイドなどに載っている正式な製品名 Oracle Database 11g リリース2 (11.2.0.3) Oracle Database 11g リリース2 (11.2.0.2) そもそもイレブンジイとか括弧を使わない表記でいい Oracle Database の リリース11.2.0.3 Oracle Database の リリース11.2.0.2

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 15

他のときに言うのは無駄

パッチセットと言わなければならないかもしれないとき

パッチの作成猶予期間の説明が必要 “アップグレードの猶予期間“という言い方もある

ベースリリースを基準にしたアップグレードの説明を手法を含めて正しく リリース11.2.0.1からリリース11.2.0.3へアップグレードするときに 「アウトオブプレース・パッチ・セット・アップグレード」か

「インプレース・パッチ・セット・アップグレード」

変更箇所がパッチセットでしか変わらないコンポーネントなどを強調したい

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 16

言い回しは番号だけで良い一方で表記はコレにしてみると楽ちん

必要があるときに用いる誤解なきパッチセットの表記

リリース番号+パッチセット ( パッチセット+プレースフォルダのパッチ番号 ) が無難 11.2.0.3 パッチセット ( パッチセット 10404530 )

11.2.0.2 パッチセット ( パッチセット 10098816 )

常に併記する必要があるとは思いません パッチだと強調するのならパッチ番号がないのもおかしい

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 17

正しいものだけ言ったり書いたりする

実例

Oracle Database 11g リリース2(11.2.0.3) リリース11.2.0.3 11.2.0.3パッチセット パッチセット 10404530

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 18

この支配からの

Oracle11gR2 Oracle Database 11g R2 Oracle Database 11g リリース2 11gリリース2 11gR2 R11.2 PSR 11.2.0.3 パッチセット 11.2.0.3 パッチ・セット・リリース 11.2.0.3

卒業

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 19

新しい習慣

Oracle Database 11g リリース2(11.2.0.3) Documentation Library内の文書を基にすればハズレなし リリース11.2.0.3 イレブンジーって言う無駄を省いてリリース番号のみ 11.2.0.3パッチセット リリース番号の後ろに説明としてのパッチセット

リリースとパッチセットという単語は一緒に使わない パッチセット 10404530 パッチセットとの書き出しにはパッチと同様にパッチ番号

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

パッチセットは もはやパッチではない いわゆるOracle Databaseに対するパッチは Opatchで適用するパッチ のみ

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 21

Oracle Universal InstallerおよびOpatchユーザーズ・ ガイド 7 OPatchを使用したOracleソフトウェアへのパッチの適用 OPatchはOracleが提供するユーティリティであり、Oracleのソフトウェアに個別パッチを適用し、Oracleのソフトウェアから個別パッチをロールバックするプロセスを支援します。

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 22

Oracle® Universal Installer and OPatch User's Guide

7 Patching Oracle Software with Opatch OPatch is an Oracle-supplied utility that assists you with the process of applying interim patches to Oracle's software and rolling back interim patches from Oracle's software.

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 23

Opatch README.txt

Patch summary: -------------- README file for OPatch(11.2.0.1.8), the Oracle Interim Patching Tool. This patch installs the "OPatch" utility. OPatch is used for patching Oracle software.

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 24

Focus on Oracle Database Patching Terminology 毎年パッチセットの次に説明される Interim Patch

Interim Patch

a single standalone patch also called a “one-off ” or PSE

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 25

パッチって そもそも仮で暫定で個別

Interimとか個別って冗長

【名詞】 [the interim] 合間,しばらく. 用例 in the interim その間に. 【形容詞】【限定用法の形容詞】 当座の,臨時の,仮の,暫定(ざんてい)的な. http://ejje.weblio.jp/content/interim

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 26

ひとつの言葉に二つの意味を持たせてしまうと理解しにくい

パッチという言葉だけでいい

広い意味での Interim Patchは 「OPatchで適用するパッチ」 In the broad sense, Interim Patches means a patch to apply using OPatch. Opatch is the Oracle Interim Patching Tool.

狭い意味での Interim Patchは 「個別」や「バンドルに含まない例外」 In the narrow sense, Interim Patches means a single standalone patch also called a “one-off” or PSE.

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Oracle Databaseに対するパッチ = 広い意味での Interim Patch opatch apply するファイル = Opatchで適用するパッチ

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

パッチセットは もはやパッチではない いわゆるOracle Databaseに対するパッチは Opatchで適用するパッチ のみ

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

熱心に耳を傾けて聴いてくださって どうもありがとうございました