サンのオープンソースへの 取り組み

Similar documents
MySQL Cluster

Slide 1

FUJITSU Software Systemwalker Centric Manager Lite Edition V13.5 機能紹介資料

PowerPoint Presentation

How to Use the PowerPoint Template

Oracle Solaris 仮想環境とプロビジョン環境の構築

CLUSTERPRO MC ProcessSaver 1.2 for Windows 導入ガイド 第 4 版 2014 年 3 月 日本電気株式会社

PowerPoint Presentation

以下の事項は 弊社の一般的な製品の方向性に関する概要を説明するものです また 情報提供を唯一の目的とするものであり いかなる契約にも組み込むことはできません 以下の事項は マテリアルやコード 機能を提供することをコミットメント ( 確約 ) するものではないため 購買決定を行う際の判断材料になさらな

DataKeeper for Windows リリースノート

Zabbix で PostgreSQL を監視! pg_monz のご紹介 Zabbix Conference Japan 年 11 月 20 日 SRA OSS, Inc. 日本支社マーケティング部

目次 はじめに... 2 無料トライアルのサインアップ方法... 3 トライアル環境へのアクセス 参考情報

MySQL Cluster

CLUSTERPROXSingleServerSafe SingleServerSafe ご紹介 2007 年 10 月

Oracle SQL Developerの移行機能を使用したOracle Databaseへの移行

CLUSTERPRO MC ProcessSaver 2.3 for Windows 導入ガイド 第 5 版 2018 年 6 月 日本電気株式会社

PowerPoint Presentation

スライド 1

アジェンダ はクラウド上でも十分使えます 1. の概要 とは の導入事例 で利用される構成 2. をクラウドで使う クラウドサービスの分類 Amazon Web Services による構成例 2

Veritas System Recovery 16 Management Solution Readme

MySQL5.5 MySQL

EM10gR3記者発表

目次 基本構成 推奨する主な構成. 仮想マシン用ライセンス概要. VMware vsphere 5 環境の高可用構成 2. ライセンス体系 2. VMware vsphere 4 環境の高可用構成. 共有ディスク型 ( 仮想マシン2 台 ). VMware vsphere 4 環境の高可用構成 2

MySQL Replication and Scalability

クラスタ構築手順書


JP1 Version 11

pgpool-ii で PostgreSQL のクラスタを楽々運用しよう OSC Tokyo 2014/12/12 SRA OSS, Inc. 日本支社マーケティング部 OSS 技術グループ 長田 悠吾

変更履歴 項番版数内容更新日 版新規作成 2013 年 11 月 18 日 1

Oracle Warehouse Builder: 製品ロードマップ

スライド 1

【Cosminexus V9】クラウドサービスプラットフォーム Cosminexus

Veritas System Recovery 16 Management Solution Readme

OpenRulesモジュール

OpenRulesモジュール

arcserve Backup r16 ライセンスと WSFC 対応製品 Arcserve Japan rev. 1.5

自己紹介 指崎則夫 ( さしざきのりお ) SCUGJ 運営スタッフ Microsoft MVP

ORACLE TUNING PACK 11G

CA Federation ご紹介資料

Systemwalker Centric Manager V12.0L10/12.1 高信頼化適用ガイド

セットアップカード

Arcserve Replication High Availability 18.0 ライセンスガイド Rev 1.3

<Insert Picture Here> 30 分で理解する ORACLE MASTER 日本オラクル株式会社 Oracle University

ライフサイクル管理 Systemwalker Centric Manager カタログ

CLUSTERPRO X for Windows PPガイド

Cisco Prime LAN Management Solution 4.2 紹介資料

アジェンダ クラスタリングとは 今回の構成 DRBD Zabbix 等の構成ソフトウェア Zabbix2.0 新機能 構築方法 バックアップについて 参考資料 2

PowerPoint プレゼンテーション

新製品 Arcserve Backup r17.5 のご紹介 (SP1 対応版 ) Arcserve Japan Rev. 1.4

Title Slide with Picture

Hitachi Storage Adapter -Hitachi Storage Adapter for VMware vCenter- サポートマトリックス

PowerGres Plus V9.1 のご紹介 PostgreSQL をベースに信頼性とセキュリティをプラス SRA OSS,Inc. 日本支社マーケティング部 2015/10 Copyright 2015 SRA OSS, Inc. Japan All rights reserved. 1

FUJITSU Software Systemwalker for Oracle V15 (15.1) 紹介資料

FUJITSU Software Systemwalker for ERPパッケージ ジョブ連携 V16.0 紹介資料


WebSAM Storage ReplicationNavigator WebSAM Storage ReplicationNavigator Oracle RAC Option 本製品を販売する場合 事前に下記問い合わせ先へご連絡をお願いします < 問い合わせ先 > 8. 問い合わせ窓口 を参照し

1.3 ソフトウェア体系および対応表 (1) istorage ソフトウェアは istorage シリーズのディスクアレイを管理 および ディスクアレイが有する機能を制御するソフトウェア群です このソフトウェア群が提供するストレージ管理 制御機能を利用すると 様々なストレージソリューションを実現でき

Microsoft Word - nvsi_100222jp_oracle_exadata.doc

スライド 1

目次 1. はじめに システム構成 システム構成 台構成での運用 マルチサーバ構成での運用 環境の電源管理システム構成例 ESMPRO/UM を使用する構成例 (100 シリーズサーバ単体運用

Oracle Cloud Adapter for Oracle RightNow Cloud Service

意外と簡単!? Oracle Database 11g -バックアップ・リカバリ編-

CLUSTERPRO X 4.0 for Windows VM/Linux VM/Solaris VM 仮想マシン用ライセンス体系資料

PowerPoint プレゼンテーション

Oracle Real Application Clusters 10g: 第4世代

Oracleライフサイクル管理ソリューション概要

Arcserve Replication/High Availability 製品の仕組み

Control Manager 6.0 Service Pack 3 System Requirements

LANスイッチブレード活性交換作業時の確認事項およびその付随作業

Corp ENT 3C PPT Template Title

3 検証結果 3.1 ソフトウェアのインストール Red Hat Enterprise Linux 5.7 は最小構成でインストールし 最新バージョンにアップデートした Thirdware Linux-HA を構成するパッケージ (DRBD Heartbeat Pacemaker) は LINBIT

オラクルのバックアップとリカバリの必須要件

Title Slide with Picture

Transcription:

<Insert Picture Here> の高可用性構成 日本オラクル株式会社 Global Business Unit

以下の事項は 弊社の一般的な製品の方向性に関する概要を説明するものです また 情報提供を唯一の目的とするものであり いかなる契約にも組み込むことはできません 以下の事項は マテリアルやコード 機能を提供することをコミットメント ( 確約 ) するものではないため 購買決定を行う際の判断材料になさらないで下さい オラクル製品に関して記載されている機能の開発 リリースおよび時期については 弊社の裁量により決定されます Oracle と Java は Oracle Corporation 及びその子会社 関連会社の米国及びその他の国における登録商標です 文中の社名 商品名等は各社の商標または登録商標である場合があります Copyright 2012, Oracle and/or its affiliates. All rights reserved. 2

The world's most popular open source database 世界で最も普及しているオープンソースデータベース Copyright 2012, Oracle and/or its affiliates. All rights reserved. 3

99.999% の可用性 クラスタリング & 地理的冗長性 クラスタリング技術 レプリケーション技術 優れた管理性 重大障害電源障害ネットワーク障害ハードウェア障害ソフトウェア障害保守管理ハードウェア アップグレード ソフトウェア アップデート 管理不要 ISP & メインストリームビジネス オンラインサービス e コマーステレコム軍事 / 防衛 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 4

高可用アーキテクチャと可用性レベル Copyright 2012, Oracle and/or its affiliates. All rights reserved. 5

の高可用性構成 レプリケーション ( 標準機能 ) 非同期 & 準同期データレプリケーション +DRBD Linux 用のノード間データコピー アプリケーション / AP サーバ アプリケーション / AP サーバ 負荷分散 フェールオーバー 非同期複製準同期複製 3 rd ベンダ製 HA ソフト利用共有ディスクにデータを格納 同期複製 Cluster シェアードナッシング型高性能クラスタ アプリケーション / AP サーバ アプリケーション / AP サーバ フェールオーバー 負荷分散 共有ディスク Cluster 双方向同期複製 Cluster Copyright 2012, Oracle and/or its affiliates. All rights reserved. 6

複合型の高可用性構成例 共有ディスク型構成 + レプリケーション Cluster + レプリケーション アプリケーション / AP サーバ アプリケーション / AP サーバ フェールオーバー 負荷分散 非同期複製 共有ディスク Cluster 双方向同期複製 Cluster 非同期複製 参照処理の負荷分散 Cluster 双方向同期複製 Cluster アプリケーション / AP サーバ Copyright 2012, Oracle and/or its affiliates. All rights reserved. 7

レプリケーション Copyright 2012, Oracle and/or its affiliates. All rights reserved. 8

レプリケーションとは? データの変更点を 1 つ以上の場所に複製すること 非同期レプリケーション - Asynchronous Replication update customer 同期レプリケーション - Synchronous Replication update customer Copyright 2012, Oracle and/or its affiliates. All rights reserved. 9

レプリケーション の標準機能 シンプルな設定 マスタ スレーブ 多数 Web での実績 非同期型 & 準同期型 特徴 参照性能を向上させる構成 バックアップ用途での利用も 基本は一方向でのデータコピーだが 双方向や循環型での利用も可能 ( データの更新には注意が必要 ) 更新ログ (bin-log) を利用 Web アプリケーションでは参照が 95% 更新が 5% というケースも -> シンプルなスケールアウト構成によって簡単に大幅な性能向上が図れる Copyright 2012, Oracle and/or its affiliates. All rights reserved. 10

のレプリケーションを利用したスケールアウト構成 Web / App s Writes Reads Master Slave Farm Slave 1 Slave 2 Slave 3 Slave 4 Slave N Writes Copyright 2012, Oracle and/or its affiliates. All rights reserved. 11

非同期レプリケーション Application Commit Response Changing Data Connection Thread Data Changing Binlog Binlog Replication Relaylog Changing Data Data Master Slave Copyright 2012, Oracle and/or its affiliates. All rights reserved. 12

レプリケーションの構成パターン マスタ > スレーブ マスタ > マルチスレーブ マルチマスタ > スレーブ ( マルチソース ) マスタ > スレーブ > マルチスレーブ マスタ < > マスタ ( マルチマスタ ) 循環型 ( マルチマスタ ) Copyright 2012, Oracle and/or its affiliates. All rights reserved. 13

準同期レプリケーション Application Commit Response Changing Data Connection Thread Data Changing Binlog Binlog Response Replication Relaylog Changing Data Data Master Slave Copyright 2012, Oracle and/or its affiliates. All rights reserved. 14

5.5 のレプリケーション改善点 1. 準同期 (Semisynchronous) レプリケーションスレーブに変更点を転送してからアプリケーションに応答を返すため 信頼性が向上 2. スレーブでの fsync 改良 & リレーログの自動復旧 fsyncs を改良しスレーブの障害時のログ破損を回避破損した場合にも自動普及 3. レプリケーション ハードビート障害発生検知のメカニズムの精度を向上 4. サーバ毎のレプリケーション フィルタリング特定のサーバ ID を持つマスターのイベントを無視 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 15

5.5 のレプリケーション改善点 5. スレーブでのデータ型変換の自動化 (RBR) マスターとスレーブ間でデータ型が異なる場合に自動的に型を変換 6. ログを個別にフラッシュ 'FLUSH LOGS' 実行時にログを選択してフラッシュ可能に 7. トランザクション非対応に関係なく安全にログに記録 InnoDB と MyISAM のテーブルを同一のトランザクション内で更新した場合 コミット後に全変更点をバイナリログに記録 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 16

レプリケーション監視の自動化 Enterprise Monitor 自動でレプリケーション構成 マスタ / スレーブを検出 リアルタイムでレプリケーションの稼働状況を収集 同期に問題があれば通知 監視作業負荷の軽減 : レプリケーションの監視と稼働統計をコマンド無しで Copyright 2012, Oracle and/or its affiliates. All rights reserved. 17

クラスタ システム Copyright 2012, Oracle and/or its affiliates. All rights reserved. 18

Oracle VM Template for 設定済 & テスト済の OS, VM, Database スタック Oracle Linux Oracle VM Oracle VM Manager Oracle Cluster File System 2 (OCFS2) Database 5.5 (Enterprise Edition) Oracle VM Manager Oracle VM Automatic Fault Detection & Recovery Secure Live Migration (SSL) Oracle VM Pool Oracle VM s Oracle VM インストール & 設定済み製品統合 & テスト済みサポートもワンストップ ocfs2 SAN / iscsi http://mysql.com/why-mysql/white-papers/mysql_wp_oracle-vm-template-for-mee.php Copyright 2012, Oracle and/or its affiliates. All rights reserved. 19

Windows Failover Clustering Windows サーバのクラスタリング機能を活用 障害対応や定期メンテナンス クォーラム データ (InnoDB + スキーマ ) バイナリを共有ディスクに (iscsi & FCAL) サービス停止時間 = 数秒 + InnoDB のリカバリ時間 アプリケーションは一時的に接続断 同じ IP アドレスに再接続 レプリケーションスレーブは自動的に復旧 Failover Cluster Management の GUI からクラスタ環境を管理 追加ソフトウェアやスクリプト作成不要 Slave App App Virtual IP Vote Data App Bin ガイドをダウンロード : with Windows 2008 R2 Failover Clustering http://www-jp.mysql.com/why-mysql/white-papers/mysql_wp_windows_failover_clustering.php ** Windows Failover Clustering のサポートは別途 Microsoft からの購入が必要 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 21

Solaris Clustering カーネル組み込みのハートビートと監視 エージェントは Solaris Clustering に組み込み レプリケーションの監視 詳しくはこちら : http://www.oracle.com/technetwork/server-storage/solariscluster/overview/index.html Copyright 2012, Oracle and/or its affiliates. All rights reserved. 22

サードバーティ製の HA ソリューション オラクルは OSS コミュニティやサードパーティの高可用性ソリューション上の をサポート 高可用性ソリューションそのもののサポートは該当のベンダから Linux Heartbeat / Corosync with Pacemaker DRBD によるカーネルレベルのブロックデバイスレプリケーション Symantec Veritas Cluster Red Hat Cluster Suite Copyright 2012, Oracle and/or its affiliates. All rights reserved. 23

DRBD Distributed Replicated Block Device 一般的な IP ネットワーク上で動作 分散ストレージ ネットワーク RAID Applications 同期型 Virtual IP 特徴 Linux 上のみで利用可能 特殊なネットワーク関連コンポーネント不要 ( を除く (Heartbeat 高いパフォーマンス ( data (blocks vs. rows of 障害発生時のデータの不整合を管理 解決 Linux Heartbeat が フェイルオーバおよび仮想 IP を管理 Active Node DRBD Passive Node Copyright 2012, Oracle and/or its affiliates. All rights reserved. 24

シェアードナッシング型クラスタ Copyright 2012, Oracle and/or its affiliates. All rights reserved. 25

ノード 2 ノード 4 ノード 1 ノード 3 Cluster シェアードナッシング型 Active-Active データベースクラスタ トランザクション対応キーバリュー データストア JPA REST アプリケーション ノード ノード グループ 1 F1 ノード グループ 2 F2 Cluster Mgmt F3 F4 Cluster Mgmt F3 F4 F1 データノード F2 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 26

Geographical Replication - 地理的冗長性の確保 Cluster 1 Cluster 2 MyISAM MEMORY InnoDB クラスタのノードグループ間では 同期型レプリケーションで冗長性を確保 地理的に離れたクラスタ間で 双方向の非同期型レプリケーションを行い 地理的冗長性を確保 ( Cluster ではない ) 通常の サーバへ非同期型のレプリケーションを行い レポート生成や課金処理などのアプリケーションを実行 同期型レプリケーション 非同期型レプリケーション Copyright 2012, Oracle and/or its affiliates. All rights reserved. 27

導入事例 : 携帯電話ネットワーク HLR / HSS 位置情報の更新 プリペイ & ポストペイ課金 認証, 追跡接続サービス, 課金 大量の書き込みトランザクション 3ms 未満のデータベース レスポンス 停止時間 & トランザクション消失 = ビジネスの損失 課金, 認証, VLR Cluster in Action: http://bit.ly/ori5tf Copyright 2012, Oracle and/or its affiliates. All rights reserved. 28

導入事例 : 航空機管制システム 米国海軍航空母艦 包括的航空機運用管制システム メンテナンス記録 燃料搭載量管理 気象状況 飛行甲板管理 システム要件 単一障害点無し 完全な冗長性 小さなフットプリント & 過酷な環境での利用 4 台の Cluster ノード Linux および Windows User Conference Session: http://bit.ly/ogeid3 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 29

の高可用性構成 レプリケーション ( 標準機能 ) 非同期 & 準同期データレプリケーション +DRBD Linux 用のノード間データコピー アプリケーション / AP サーバ アプリケーション / AP サーバ 負荷分散 フェールオーバー 非同期複製準同期複製 同期複製 3 rd ベンダ製 HA ソフト利用共有ディスクにデータを格納 Cluster シェアードナッシング型高性能クラスタ アプリケーション / AP サーバ アプリケーション / AP サーバ フェールオーバー 負荷分散 共有ディスク Cluster 双方向同期複製 Cluster Copyright 2012, Oracle and/or its affiliates. All rights reserved. 30

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 31

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 32 32