87
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 43回瀬戸内オラクル技術団 日本オラクル株式会社 クラウド・テクノロジー事業統括 Fusion Middleware 事業統括本部 20151110-ここから始める Java Cloud Service- Middleware As A Service

How to Use the PowerPoint Template · WebLogic EE WebLogic EE 1CPU 7.5GB RAM WebLogic EE WebLogic EE ユースケース •開発チームでアプリ開発 •大規模な可用性検証

  • Upload
    others

  • View
    19

  • Download
    0

Embed Size (px)

Citation preview

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

第43回瀬戸内オラクル技術団

日本オラクル株式会社 クラウド・テクノロジー事業統括 Fusion Middleware 事業統括本部 2015年11月10日

-ここから始める Java Cloud Service- Middleware As A Service

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

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

Oracleは、米国オラクル・コーポレーション及びその子会社、関連会社の米国及びその他の国における登録商標または商標です。他社名又は製品名は、それぞれ各社の商標である場合があります。

SAFE HARBOR STATEMENT

2

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Oracle Cloudとは / Oracle PaaSとは

Oracle Database Cloud Service

Oracle Java Cloud Service

CI(継続的インテグレーション)とは

Oracle Developer Cloud Service

Java Flight Recorder

Oracle Coherence

1

2

3

4

5

参考1

参考2

3

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

本セミナーの目標

1. オラクルJavaクラウドとDeveloperクラウドと Databaseクラウドの便利さを知ってもらう

2. 無料のパブリックトライアルを試してもらう

4

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Oracle Cloudとは / Oracle PaaSとは

Oracle Database Cloud Service

Oracle Java Cloud Service

CI(継続的インテグレーション)とは

Oracle Developer Cloud Service

Java Flight Recorder

Oracle Coherence

1

2

3

4

5

参考1

参考2

5

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Java Cloud Service Java EEプラットフォームをクラウドで提供

Java Cloud Serviceのメリット

1. 迅速な環境構築 – Java EE環境に加えて、インメモリ機能、および

負荷分散機能も構成済みで提供

2. 運用管理の自動化 – パッチ、バックアップ/リカバリ、スケールアウト

3. チーム開発の効率化、標準化 – Developer Cloud Service

4. 従量課金 – per month or hour

JAVA CLOUD SERVICE

6

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

DEMO Oracle Java Cloud

7

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Java Cloud Serviceのセットアップ

8

1 サービスレベル と課金方式を選択

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

9

2 バージョンを選択

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

10

3 エディションを選択

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

11

4 WLS台数, CPU, メモリ, DB, L/B等を

設定

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

完了 Oracle Database Cloud + Oracle Java Cloud

12

Oracle Database

EE

2CPU 30GB RAM

Load balancer

WebLogic EE WebLogic EE 1CPU 7.5GB RAM

WebLogic EE WebLogic EE

ユースケース • 開発チームでアプリ開発 • 大規模な可用性検証 • 負荷テストや性能テスト

SSH Port forward HTTPS

SSH

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

アプリ担当

オンプレミスの場合

13

1. Procure Data Center Floorspace 2. Procure Servers 3. Procure Storage Devices 4. Procure Network Devices 5. Procure SSL Certificates & Keys for Servers 6. Procure SSL Certificates & Keys for Storage 7. Procure SSL Certificates for Network 8. Procure HSM Devices (for Encryption) 9. Procure Operating System Licenses 10. Procure Hypervisor Licenses 11. Procure Anti-Virus Licenses 12. Procure SIEM Licenses 13. Allocate Storage Admin 14. Allocate System Admin 15. Allocate Database Admin 16. Allocate Network Admin 17. Allocate Shared Services 18. Install Server 19. Cable Server to Network 20. Install SSL Certificates & Keys 21. Acquire IP Addresses (Private) 22. Acquire IP Addresses (Public) 23. Acquire Domain Name (from Internal DNS) 24. Install Storage Device 25. Acquire IP Addresses (Private) 26. Acquire IP Addresses (Public) 27. Install SSL Certificates & Keys 28. Cleanup existing Storage Volumes

59. Check Operating System Requirements 60. Check Kernel Requirements 61. Check Package Requirements 62. Check Compiler Requirements 63. Check Additional Software Requirements 64. Create Required Operating System Groups and Users 65. The Oracle Inventory group (typically, oinstall) 66. The OSDBA group (typically, dba) 67. The Oracle software owner (typically, oracle) 68. The OSOPER group (optional. Typically, oper) 69. Synchronize these groups with LDAP Directory 70. Configure Kernel Parameters and Resource Limits 71. Create Required Directories 72. Configure the oracle User's Environment 73. Set the default file mode creation mask (umask) to 022 in the

shell startup file. 74. Set the DISPLAY environment variable. 75. Mount the Product Disc 76. Install Oracle Database 77. Select Install Option 78. Select System Class 79. Select Clusterware/Grid Installation or Single Instance DBMS 80. Specify Oracle Base Installation Pathname 81. Specify Oracle Software Location 82. Specify Storage Types – File System or Automatic Storage

Management 83. Specify Database File Llocation 84. Specify ASNSNMP Password 85. Specify Database Edition 86. Specify OSDBA Group 87. Specific Global Database Name 88. Specify Database Name Domain 89. Administrative Password 90. Confirm Password

29. Create Physical Storage Volumes 30. Register Storage Devices with Server 31. Install Operating System 32. Create System Administrator Accounts 33. Register with Corporate LDAP Directory 34. Register with Audit Software 35. Add Users to System Administrator Accounts 36. Register Servers with Redhat Administration Console 37. Install Hypervisor 38. Create Virtual LAN Partitions 39. Allocate IP Addresses (Private) 40. Carry out Network Address Translation (NAT) 41. Register Virtual LANs with Network Switch 42. Create System Administrator Accounts 43. Register with Corporate LDAP Directory 44. Register with Audit Software 45. Add Users to Hypervisor Administrator Accounts 46. Register Guests with VMWare ESX Console 47. Run Clusterware Pre-requisite checks 48. Run Oracle DBMS Install Pre-requisite checks 49. Check Oracle DBMS Install Pre-requisite checks 50. Choose the class of DBMS – Server, Desktop 51. Install Oracle Database 52. Configure Oracle Database53. Log In to the System as

root 54. Check the Hardware Requirements 55. Check Memory Requirements 56. Check System Architecture 57. Check Disk Space Requirements 58. Check the Software Requirements

インフラ調達手続き (見積もり, 購買, etc)

データセンター

ネットワーク

ストレージ

仮想化

OS

Oracle Database (Install)

Oracle Database (Config. Tuning, etc)

セキュリティ (Network, Anti-virus, etc)

サーバーHW

WebLogic (Install, Config)

WebLogic (Install, Config)

WebLogic (Install, Config)

Othres (Load balancer, Mgmt, Monitoring,

etc)

購買担当 インフラ担当

DBA MW技術者 期間・コスト

利用開始

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Public IaaSの場合

14

1. Procure Data Center Floorspace 2. Procure Servers 3. Procure Storage Devices 4. Procure Network Devices 5. Procure SSL Certificates & Keys for Servers 6. Procure SSL Certificates & Keys for Storage 7. Procure SSL Certificates for Network 8. Procure HSM Devices (for Encryption) 9. Procure Operating System Licenses 10. Procure Hypervisor Licenses 11. Procure Anti-Virus Licenses 12. Procure SIEM Licenses 13. Allocate Storage Admin 14. Allocate System Admin 15. Allocate Database Admin 16. Allocate Network Admin 17. Allocate Shared Services 18. Install Server 19. Cable Server to Network 20. Install SSL Certificates & Keys 21. Acquire IP Addresses (Private) 22. Acquire IP Addresses (Public) 23. Acquire Domain Name (from Internal DNS) 24. Install Storage Device 25. Acquire IP Addresses (Private) 26. Acquire IP Addresses (Public) 27. Install SSL Certificates & Keys 28. Cleanup existing Storage Volumes

59. Check Operating System Requirements 60. Check Kernel Requirements 61. Check Package Requirements 62. Check Compiler Requirements 63. Check Additional Software Requirements 64. Create Required Operating System Groups and Users 65. The Oracle Inventory group (typically, oinstall) 66. The OSDBA group (typically, dba) 67. The Oracle software owner (typically, oracle) 68. The OSOPER group (optional. Typically, oper) 69. Synchronize these groups with LDAP Directory 70. Configure Kernel Parameters and Resource Limits 71. Create Required Directories 72. Configure the oracle User's Environment 73. Set the default file mode creation mask (umask) to 022 in the

shell startup file. 74. Set the DISPLAY environment variable. 75. Mount the Product Disc 76. Install Oracle Database 77. Select Install Option 78. Select System Class 79. Select Clusterware/Grid Installation or Single Instance DBMS 80. Specify Oracle Base Installation Pathname 81. Specify Oracle Software Location 82. Specify Storage Types – File System or Automatic Storage

Management 83. Specify Database File Llocation 84. Specify ASNSNMP Password 85. Specify Database Edition 86. Specify OSDBA Group 87. Specific Global Database Name 88. Specify Database Name Domain 89. Administrative Password 90. Confirm Password

29. Create Physical Storage Volumes 30. Register Storage Devices with Server 31. Install Operating System 32. Create System Administrator Accounts 33. Register with Corporate LDAP Directory 34. Register with Audit Software 35. Add Users to System Administrator Accounts 36. Register Servers with Redhat Administration Console 37. Install Hypervisor 38. Create Virtual LAN Partitions 39. Allocate IP Addresses (Private) 40. Carry out Network Address Translation (NAT) 41. Register Virtual LANs with Network Switch 42. Create System Administrator Accounts 43. Register with Corporate LDAP Directory 44. Register with Audit Software 45. Add Users to Hypervisor Administrator Accounts 46. Register Guests with VMWare ESX Console 47. Run Clusterware Pre-requisite checks 48. Run Oracle DBMS Install Pre-requisite checks 49. Check Oracle DBMS Install Pre-requisite checks 50. Choose the class of DBMS – Server, Desktop 51. Install Oracle Database 52. Configure Oracle Database53. Log In to the System as

root 54. Check the Hardware Requirements 55. Check Memory Requirements 56. Check System Architecture 57. Check Disk Space Requirements 58. Check the Software Requirements

インフラ調達手続き (見積もり, 購買, etc)

データセンター

ネットワーク

ストレージ

仮想化

OS

Oracle Database (Install)

Oracle Database (Config. Tuning, etc)

セキュリティ (Network, Anti-virus, etc)

サーバーHW

WebLogic (Install, Config)

WebLogic (Install, Config)

WebLogic (Install, Config)

Othres (Load balancer, Mgmt, Monitoring,

etc)

購買担当 インフラ担当

DBA MW技術者

アプリ担当

IaaS契約・セットアップ

期間・コスト

利用開始

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle PaaS (DBCS+JCS)の場合

15

1. Procure Data Center Floorspace 2. Procure Servers 3. Procure Storage Devices 4. Procure Network Devices 5. Procure SSL Certificates & Keys for Servers 6. Procure SSL Certificates & Keys for Storage 7. Procure SSL Certificates for Network 8. Procure HSM Devices (for Encryption) 9. Procure Operating System Licenses 10. Procure Hypervisor Licenses 11. Procure Anti-Virus Licenses 12. Procure SIEM Licenses 13. Allocate Storage Admin 14. Allocate System Admin 15. Allocate Database Admin 16. Allocate Network Admin 17. Allocate Shared Services 18. Install Server 19. Cable Server to Network 20. Install SSL Certificates & Keys 21. Acquire IP Addresses (Private) 22. Acquire IP Addresses (Public) 23. Acquire Domain Name (from Internal DNS) 24. Install Storage Device 25. Acquire IP Addresses (Private) 26. Acquire IP Addresses (Public) 27. Install SSL Certificates & Keys 28. Cleanup existing Storage Volumes

59. Check Operating System Requirements 60. Check Kernel Requirements 61. Check Package Requirements 62. Check Compiler Requirements 63. Check Additional Software Requirements 64. Create Required Operating System Groups and Users 65. The Oracle Inventory group (typically, oinstall) 66. The OSDBA group (typically, dba) 67. The Oracle software owner (typically, oracle) 68. The OSOPER group (optional. Typically, oper) 69. Synchronize these groups with LDAP Directory 70. Configure Kernel Parameters and Resource Limits 71. Create Required Directories 72. Configure the oracle User's Environment 73. Set the default file mode creation mask (umask) to 022 in the

shell startup file. 74. Set the DISPLAY environment variable. 75. Mount the Product Disc 76. Install Oracle Database 77. Select Install Option 78. Select System Class 79. Select Clusterware/Grid Installation or Single Instance DBMS 80. Specify Oracle Base Installation Pathname 81. Specify Oracle Software Location 82. Specify Storage Types – File System or Automatic Storage

Management 83. Specify Database File Llocation 84. Specify ASNSNMP Password 85. Specify Database Edition 86. Specify OSDBA Group 87. Specific Global Database Name 88. Specify Database Name Domain 89. Administrative Password 90. Confirm Password

29. Create Physical Storage Volumes 30. Register Storage Devices with Server 31. Install Operating System 32. Create System Administrator Accounts 33. Register with Corporate LDAP Directory 34. Register with Audit Software 35. Add Users to System Administrator Accounts 36. Register Servers with Redhat Administration Console 37. Install Hypervisor 38. Create Virtual LAN Partitions 39. Allocate IP Addresses (Private) 40. Carry out Network Address Translation (NAT) 41. Register Virtual LANs with Network Switch 42. Create System Administrator Accounts 43. Register with Corporate LDAP Directory 44. Register with Audit Software 45. Add Users to Hypervisor Administrator Accounts 46. Register Guests with VMWare ESX Console 47. Run Clusterware Pre-requisite checks 48. Run Oracle DBMS Install Pre-requisite checks 49. Check Oracle DBMS Install Pre-requisite checks 50. Choose the class of DBMS – Server, Desktop 51. Install Oracle Database 52. Configure Oracle Database53. Log In to the System as

root 54. Check the Hardware Requirements 55. Check Memory Requirements 56. Check System Architecture 57. Check Disk Space Requirements 58. Check the Software Requirements

購買手続き

データセンター

ネットワーク

ストレージ

仮想化

OS

Oracle Database (Install)

Oracle Database (Config. Tuning, etc)

セキュリティ (Network, Anti-virus, etc)

サーバーHW

WebLogic (Install, Config)

WebLogic (Install, Config)

WebLogic (Install, Config)

Othres (Load balancer, Mgmt, Monitoring,

etc)

購買担当 インフラ担当

DBA MW技術者

PaaS契約・セットアップ

期間・コスト

利用開始

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Java Cloud – エディション構成

•エディション構成: WebLogic製品と全く同じエディションを提供

16

Java EE完全準拠 WebLogicコア機能 • 無停止再デプロイ • 自動チューニング • 流量制御/過負荷保護 • WLST etc.

Standard Edition

Standard Edition

+ クラスタリング Java Flight Recorder

Enterprise Edition

Enterprise Edition

+ インメモリ・グリッド

(Coherence) Oracle RAC連携

Suite

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

WebLogic付加価値機能

17

WebLogic Server

Application Ver1.0

WebLogic

Application Ver1.0

WebLogic

Application Ver2.0

OK

OK OK OK

新規アクセス ユーザ

OK OK OK

既存アクセスユーザ

プロダクション再デプロイメント機能

例1: サーバーインスタンスAを起動する。アプリAは停止する。

例2: アプリBとアプリCを更新する。失敗したら両方とも差し戻す。

例3: 5秒毎に各サーバのメモリ使用率をCSVファイルに出力

WLS

WebLogic Scripting Tool(WLST)

Oracle JDK

Java EEアプリ

WebLogic Server 常時記録

Java Flight Recorder

Java Flight Recorder

ファイル出力

サービス無停止で アプリ更新

構成変更や監視の自動化

障害対応を 強力に支援

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

柔軟なPaaS

• WebLogic管理コンソールを開放: 多様な設定/監視が可能 – WebLogic: スレッド数, コネクションプールのチューニング, etc.

– JDK: ヒープサイズ, GCアルゴリズム変更, etc.

–監視: Javaヒープ使用量, DBコネクション利用率, Servlet平均実行時間, etc.

•仮想サーバーへのフルアクセスが可能 – SSHでのアクセスを許可(root権限利用可能)

• WLST (WebLogic Scripting Tool)による管理もサポート

• クラウド管理用のREST APIも提供

WebLogic, JDK, 更にIaaSへフルアクセス可

18

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Java起動パラメータの変更 WebLogic 管理コンソール

19

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

DB接続プールの変更

WebLogic 管理コンソール

20

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

アプリケーションのデプロイ WebLogic 管理コンソール

21

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Java Cloud Service Console

•パッチやバックアップを簡単にする自動化ツール –インスタンスの作成/削除

–インスタンスの状態表示

–インスタンスのスケーリング (拡張/縮退)

–インスタンスの バックアップ/リストア

–インスタンスへのパッチ適用

22

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

従量課金によるコスト削減

•気軽に試せる時間課金 WebLogic SE – (OnP)ライセンス ¥120万/1proc, サポート ¥26.4万/年 – (PaaS) サービス費. $0.5 or 0.75/1vcpu/hr WebLogic EE – (OnP)ライセンス ¥300万/1proc, サポート ¥66万/年 – (PaaS) サービス費. $1.34 or 2.02/1vcpu/hr~

23

• 利用量(仮想CPU数) x 期間による課金

データ、アプリを保持したまま停止/再開が可能 停止時は課金もSTOP

非稼働日に停止することで、コストを更に大幅節約

DB EE

L/B

WLS EE

WLS EE

WLS EE

WLS EE

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Platform as a Service: 価格(OCPU毎)

Database Cloud Service Virtual Image Database Cloud Service

月額課金 時間課金 月額課金 時間課金

SE $400 $0.672 $600 $1.008

EE $1,500 $2.520 $3,000 $5.040

EE High Performance $2,000 $3.360 $4,000 $6.720

EE Extreme Performance $3,000 $5.040 $5,000 $8.401

Java Cloud Service Virtual Image Java Cloud Service

月額課金 時間課金 月額課金 時間課金

Standard Edition $300 $0.500 $450 $0.750

Enterprise Edition $800 $1.340 $1,200 $2.020

Suite $1,400 $2.350 $2,800 $4.700

24

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Oracle Cloudとは / Oracle PaaSとは

Oracle Database Cloud Service

Oracle Java Cloud Service

CI(継続的インテグレーション)とは

Oracle Developer Cloud Service

Java Flight Recorder

Oracle Coherence

1

2

3

4

5

参考1

参考2

25

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

継続的インテグレーション

• Wikipedia (https://ja.wikipedia.org/) –継続的インテグレーション、CI(英: continuous integration)とは、主にプログラマーのアプリケーション作成時の品質改善や納期の短縮のための習慣のことである。エクストリーム・プログラミング (XP) のプラクティスの一つで、狭義にはビルドやテスト、インスペクションなどを継続的に実行していくことを意味する。

• e-words (http://e-words.jp/) –継続的インテグレーションとは、ソフトウェア開発において、ビルドやテストを頻繁に繰り返し行なうことにより問題を早期に発見し、開発の効率化・省力化や納期の短縮を図る手法。特に、専用のツールを用いてこのプロセスを自動化あるいは半自動化し、効率的に実施する方式。

26

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 27

http://www.mera.com/sites/default/files/styles/large/public/images/20122012025124.png

開発者 ビルド サーバー

ソースコード バージョン管理 システム

テスト 自動化

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Oracle Cloudとは / Oracle PaaSとは

Oracle Database Cloud Service

Oracle Java Cloud Service

CI(継続的インテグレーション)とは

Oracle Developer Cloud Service

Java Flight Recorder

Oracle Coherence

1

2

3

4

5

参考1

参考2

28

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Developer Cloud Service

• Java クラウドの付属サービス。

チーム開発のためのツール群をクラウドで提供

• ツールおよびJavaクラウドの連携は構成済み。

継続的インテグレーション(CI)に対応

29

コード レビュー

ビルド デプロイ

コード 管理

課題管理

自動 自動 自動

Developer Cloud Service

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

30

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

コードレビュー

• レビュー – トピックブランチに対してのレビュー

– Developer Cloud Serviceプロジェクト内のメンバーがレビューアを複数指定

– ソースコード上にレビューコメントを挿入できる

– レビューの中でコメントを書いて会話をシステム上で展開

• メール通知をサポート – リクエストの作成、承認、却下、クローズ、キャンセル、コメント追加時に通知

コード上に レビューコメントを追加

リクエスト一覧

コードレビュー

31

コード レビュー

ビルド デプロイ

コード 管理

自動 自動 自動

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Gitソースコード管理

• プライベートGitリポジトリ

– 1プロジェクト内に複数のGitリポジトリを管理可能

• ソースコード表示

– Webブラウザ上でGitリポジトリ内のコミットやファイル差分を確認

• 外部Gitリポジトリの管理

– GitHubなどの外部Gitリポジトリを登録し、プロジェクトのGitリポジトリと同じ様に管理可能

リビジョンの表示

ファイル差分の表示

32

コード レビュー

ビルド デプロイ

コード 管理

自動 自動 自動

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

ビルド, デプロイ

Hudsonビルド

• ビルド・ステップ

– Maven3またはMaven2の実行

– Ant実行 / シェル実行

• プライベートMavenリポジトリと連携

–ライブラリをプライベートMavenリポジトリに登録し、ビルドの際利用

デプロイ

• ビルドジョブと連動。指定のJCSインスタンスに自動デプロイ

33

コード レビュー

ビルド デプロイ

コード 管理

自動 自動 自動

ビルド

デプロイ

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

まとめ

• 4+4画面ですぐ使い始められる 早い

• 1時間あたり数百円から利用可能 安い

• インフラ知識不要

• アプリ開発に集中できる 使いやすい

Oracle Database Cloud, Java Cloud, Developer Cloud

34

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

パブリックトライアル

35

Oracleプロファイルの登録 既に登録済みの方は不要です。登録したメールアドレスとパスワード

をご用意ください。

トライアル・サブスクリプションのサインアップ

トライアル環境へのアクセス

1

2

3

Database Cloud, Java Cloud, Developer Cloudを 30日間無償でお試し可能!

トライアル申し込みの流れ

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Oracle Cloudとは / Oracle PaaSとは

Oracle Database Cloud Service

Oracle Java Cloud Service

CI(継続的インテグレーション)とは

Oracle Developer Cloud Service

Java Flight Recorder

Oracle Coherence

1

2

3

4

5

参考1

参考2

36

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

品質管理

運用管理・監視

Oracle Enterprise Manager

Application Testing Suite

Grid Control

問題解析・対処

Java Flight Recorder

いかに迅速かつ正確に原因分析、 対処するか

37

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Java Flight Recorder

Java EE/ISV アプリ

Oracle

WebLogic

Server

直近(例: 24時間)の実行時情報を

記録し続ける

Java EE/ISV アプリ

App Server

JVM

Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-64 mixed mode,

sharing):

"Low Memory Detector" daemon prio=5 tid=0x0050a600 nid=0x1816a00

runnable [0x00000000..0x00000000]

"CompilerThread0" daemon prio=9 tid=0x00509cb0 nid=0x1816600 waiting

on condition [0x00000000..0xf0b06358]

"Signal Dispatcher" daemon prio=9 tid=0x00509840 nid=0x1816200 waiting

on condition [0x00000000..0x00000000]

"Finalizer" daemon prio=8 tid=0x00509020 nid=0x1810200 in Object.wait()

[0xf0a04000..0xf0a04ab0]

at java.lang.Object.wait(Native Method)

- waiting on <0x26580360> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)

- locked <0x26580360> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)

at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x00508c30 nid=0x180f200 in

Object.wait() [0xf0983000..0xf0983ab0]

at java.lang.Object.wait(Native Method)

- waiting on <0x26580a50> (a java.lang.ref.Reference$Lock)

at java.lang.Object.wait(Object.java:474)

at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)

- locked <0x26580a50> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x005013a0 nid=0x1804c00 waiting on condition at

ThreadTest1.main(ThreadTest1.java:4)

"VM Thread" prio=9 tid=0x00508450 nid=0x1803c00 runnable

"VM Periodic Task Thread" prio=9 tid=0x0050bcb0 nid=0x1813000 waiting on

condition

"Exception Catcher Thread" prio=10 tid=0x005015e0 nid=0

問題解決に必要な情報の多くは消失

原因究明に多くの時間が必要

履歴を含めた情報を記録し自動出力

迅速な原因究明を支援するGUIツール

これまでのJava Java Flight Recorder

1. トラブルの確実な原因追究を 「遡って」 実施可能

2. 障害発生→改善のサイクルと手間を大きく短縮化

5%以下の

低負荷

自動記録

JRockit VM

ダンプを解析…

38

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

スタックスレッド

一般的な障害パターンと調査方法

システム停止

Out of Memory

スローダウン

コアダンプ

JVMクラッシュ

サーバログ

スレッドダンプ

落ちた瞬間の 情報のみ

ログに有益な 情報が出ている とは限らない

障害直前の ダンプは 大抵取れてない

マシンクラッシュ OSクラッシュ

現象 システム的原因 問題点 調査手段

アプリ不具合

ソースコード

メモリの 利用状況と GC発生状況 が分かるのみ

運用担当者が見ても分からない

GCログ

GC頻発

確固たる情報が得られず、デバッグログを仕掛けたり、推測によるアプリ修正をして再現待ち・・・迷宮入り

39

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

スタックスレッド

JRockit Flight Recorderを利用した場合

システム停止

Out of Memory

スローダウン

コアダンプ

JVMクラッシュ

サーバログ

スレッドダンプ

マシンクラッシュ OSクラッシュ

現象 システム的原因 調査手段

アプリ不具合

ソースコード

GCログ

GC頻発

Java F

light Recorde

r +

常時記録

調査に必要な情報はJava Flight Recorderで既に取得できている →速やかに問題を特定し修正

40

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

これまでのトラブル対応手法との違い • 本番環境での常時記録を可能にする低負荷技術

– Javaの内部機構を利用した低負荷記録

• ダンプファイルを出力してオフライン分析

– 無応答、ダウン、再起動の際の情報消失を防ぐ

– 障害時点の情報に加え、そこに至る履歴情報もまとめて出力

• 既存環境への適用が容易

– インストール不要

– アプリケーション改変不要 Java

プロファイラ

負荷: 高

情報量: 多

負荷: 低

情報量: 少

ログ、ダンプ等

Java Flight Recorder

41

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• 実際にあった問題(以下)の対応プロセスを元に比較 (※)Java Flight Recorderの場合の日数=当該事象を元に推測

• WebLogic Server上のWebアプリでアクセスが増える毎にレスポンスタイムが悪化するケース

Java Flight Recorderの効果

1 2

3

1. 問題発生、対処のため再起動 2. 解析開始 3. 再現環境の準備開始 4. 再現環境にて再現を試行 5. 再現せず 6. 本番環境で再発 7. 情報収集した後再起動

8. 原因判明 9. 対処、テスト 10. 本番に適用

6 7 6 7 6 7

4 5

8 9 10 3 3 10 10 1

問題解決までの期間: 30日(原因判明まで: 19日)

Java Flight Recorderの場合

1 2 8 9 10 1 10 1

問題解決までの期間: 12日(原因判明まで: 1日)

3

これまでのJava

19日 11日

1日 11日

Java Flight Recorderを利用することで省略できる作業

再現作業不要

再発待ち不要

期間短縮 の理由

迅速かつ確実な問題解決

42

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

参考:ヒープ使用量

ライブセット増加によりOutOfMemoryError発生

43

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

参考:ヒープの内容分析

レコーディング期間中のヒープ内のオブジェクト占有率と増加率

44

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

参考:ヒープ内のオブジェクト参照トレース

当該オブジェクトをヒープに割り当てた箇所を特定

45

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

WebLogicとの連携

レコーディング期間中のスレッド一覧→灰色の箇所はThread Parked(待機中)

46

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

WebLogicとの連携

WebLogicタブを選択すると、Servlet、JDBCなどの処理状況が併せて表示される

Servlet

JavaVM

JDBC

47

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

WebLogicとの連携

Thread Parkedを発生させているのはどこかトレースすることも可能

48

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

WebLogicとの連携

JDBCで実行されたSQLの内容までトレース可能

49

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

WebLogicとの連携

JDBCのExecuteにて実行されたSQL

レコーディング期間中に実行されたJDBC関連イベントのリスト

クライアントアクセス毎に割り振られるリクエストのコンテキスト

50

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Java Flight Recorder アーキテクチャ

Java JVM

Flight Recorder Runtime

Rotating Buffer

Application

JRockit Mission Control

WLDF

イベント イベント

Application WebLogic

Thread Buffer

Global Buffer

Disk File

新しいデータ

古いデータ

WLST

JVM Runtime jrcmd

ダンプ解析 あふれたら移動

あふれたら移動

ダンプ依頼

ダンプ依頼

ダンプ

ルールに基づく ダンプトリガー

ダンプ依頼

イベント

51

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

WLDF診断ボリューム • WebLogic Serverが実行時にJava Flight Recorder用に生成するイベント量を制御可能

– 明示的に構成されたWLDFの診断モジュールには影響しない

– ドメイン>環境>サーバ>構成>全般>診断ボリューム

• オフ、低、中、高のいずれかを指定

52

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Java Flight Recorderで記録できる情報

各GCフェーズの詳細情報やヒープの増加傾向情報

Servlet/JSP毎、EJB毎等の主要コンポーネントの呼び出しイベント等

各スレッド毎に発生したイベントを記録 (1イベントあたり50~150byte程度)

53

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Oracle Cloudとは / Oracle PaaSとは

Oracle Database Cloud Service

Oracle Java Cloud Service

CI(継続的インテグレーション)とは

Oracle Developer Cloud Service

Java Flight Recorder

Oracle Coherence

1

2

3

4

5

参考1

参考2

54

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Coherence の役割

• Application Server : 個々に確保したメモリ上で処理 – WebLogic…

• Coherence : 物理サーバー横断のアプリケーション共有メモリ層

アプリ アプリ アプリ アプリ

Appサーバー

Coherence

Database

ユーザー リクエスト

ロードバランサ

55

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Coherence

従来構造で起こる典型的な課題 Oracle Coherence 構成例

拡張可能な 共有メモリ領域

高信頼性メモリ領域 DB処理を非同期化

メモリ内で抱えきれない リクエスト量・データ量 大量データを

メモリ保持可能

迅速な情報共有

3

1

2 • 顧客別の 情報拡充 • 複雑化する データ処理

• グローバル/ グループ展開 • スマートフォン • センサー ネットワーク

• 情報の増加/ 多様化

トラフィックの 増加・集中

データの増加

メモリ キャパシティの

限界

App App App App

56

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 57

[Java Cloud Service Channel] http://goo.gl/rbU6qu

Oracle Cloud ラーニング・サブスクリプション

無償体験版

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

参考情報① Get Started

• Oracle Cloud home

– http://cloud.oracle.com/home

• Oracle Cloud Website

– https://cloud.oracle.com/sign_in

• Oracle Java Cloud Service チュートリアル

– http://docs.oracle.com/cloud/latest/jcs_gs/jcs_tutorials.htm

• Oracle Java Cloud Service デモ・ビデオ

– http://docs.oracle.com/cloud/latest/jcs_gs/jcs_videos.htm

58

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

参考情報② 公開ドキュメント

• Oracle Cloud 公開ドキュメント

– http://docs.oracle.com/cloud/latest/index.html

• Oracle Java Cloud Service 公開ドキュメント

– http://docs.oracle.com/cloud/latest/jcs_gs/index.html

• Oracle Database Cloud Service 公開ドキュメント

– http://docs.oracle.com/cloud/latest/dbcs_gs/dbcs_common.htm

• Oracle Storage Cloud Service 公開ドキュメント

– http://docs.oracle.com/cloud/latest/storagecs_common/index.html

• Oracle Developer Cloud Service 公開ドキュメント

– http://docs.oracle.com/cloud/latest/devcs_common/index.html

59

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

参考情報③ 参考サイト

• Oracle Cloud Service Agreements

– http://www.oracle.com/us/corporate/contracts/cloud-services/index.html

• Oracle Cloud Service | PaaS and IaaS Public Cloud Service Descriptions

– http://www.oracle.com/us/corporate/contracts/paas-iaas-public-cloud-2140609.pdf

• Oracle Java Cloud Service|Public FAQ

– https://cloud.oracle.com/java?lmResID=1383678929772&tabID=1383678929739

60

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 61

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Documents Cloud Service Web UIから各機能の紹介

63

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

ログオン画面

ドメインごとの認証

64

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

標準ユーザ画面

65

他ユーザからの 共有フォルダ

自分が共有した フォルダ

通常のフォルダ

検索

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

ファイル・フォルダ操作

66

• 右クリック・メニューからExplorerライクなファイル・フォルダ操作

–表示・移動・コピー・削除

–ダウンロード

–予約

–共有

–アップデート

–… フォルダの場合 ファイルの場合

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

直観的なUI

67

• ドラッグ & ドロップ

- ファイルの移動

• 複数選択

- Shift, Controlキー

• 右クリックメニュー

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 68

フォルダ共有

• フォルダに対する4つの権限

–マネージャ

–コントリビュータ

–ダウンロード実行者

–参照者

• 同一フォルダでもユーザごとに異なるアクセス権を設定可能

• パブリックリンクも作成可能

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 69

アクセス履歴とファイル共有

• ファイル単位で…

- アクセス履歴

- 共有リンクの作成

• 要認証リンク もしくは

• パブリックリンク

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

制限付きパブリックリンク R2 New!

• パブリックリンクにアクセス制限

–認可

• 変更可・ダウンロード可・参照のみ

–有効期限

–リンク・アクセス・コード

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

バージョン履歴管理

71

• 自動的に古いバージョンを記録

–誤って上書きしてもファイルは保護

• 任意のバージョンに復帰可能

–途中の版を最新に指定

–途中の版の削除

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Documents – デバイス管理

• アカウントにリンクされたデバイスの確認

• 不要なデバイスの削除

72

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 73

ローカルファイルと同期マネージャ

• ファイル同期の管理

–ユーザPCのファイル同期は、同期マネージャにより一元管理

–同期対象はフォルダ単位で選択的に

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

ファイル操作機能まとめ

• Explorerライク

– Explorerでの操作を同じ感覚で

–ゼロトレーニング

• というかExplorerだけでも

–同期マネージャ

– Explorerだけで利用

• 必要なセキュリティが制限無く

–アクセス履歴

–バージョン管理

• 目的に応じたファイル共有

–ユーザ・フォルダごとの認証認可・解除

–有効期限

–アクセスコード設定

74

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

•テナントオーナーと管理者向け

•ユーザ管理

•サービス状況とメトリクスの監視

• アップ/ダウンタイム

•利用状況のレビュー

•ストレージ使用量

•ユーザリクエスト

• ドキュメント総数、ドキュメントアップロード/ダウンロード/変更数

75

管理者向けOracle Cloud Portal

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• Documents Cloud Service固有設定

•システム全体の設定の管理 - デフォルトロールとクォータ

- ごみ箱管理

- 最大ファイルサイズ

- 制限ファイルタイプ

•ユーザ固有の設定の管理 - ユーザクォータ

- プロビジョニング解除ユーザ

76

管理者向けDocuments Cloud Service

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

あらゆるデバイスから簡単にドキュメントを共有

企業や組織の境界を越えたセキュアなファイル共有

スマートフォン ブラウザ タブレット デスクトップ

77

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Documents Cloud Service – 価格 公開日 9/13/2014

78

試使用 Business

初期ストレージ 20GB 500GB

1ユーザ月額 $0 $15

最短期間 30日 1 年

最少ユーザ 10 25

最大ユーザ 10 制限無し

最大ストレージ 20GB 制限無し

アドオン

Storage Pack (100 GB /月) 不可 $10

シンプルな価格構成

• ユーザかストレージでのみ拡張

• Discount Schedule (Cloud Approval Matrix)

PDF • P19, Discount Schedule for Oracle

Documents Cloud Service – Unmetered serviceを参照

• 単位: Hosted Named User

• 任意の一時点において、実際にアクセスしているか否かにかかわらず、ホスティング・サービスにアクセスする権限をお客様が付与している特定の個人として定義されます。

• 最少ユーザ = 25

• 最短期間 = 1 年

• 追加ストレージパック = $10(ひと月100GB・最短1年) • テナントあたり全ユーザで共有

• 30日間試使用は現在利用できません

• GA後解禁(2015/1予定)

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Mobile Cloud Service All-in-oneのモバイル開発プラットフォームの紹介

79

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Mobile Cloud Service エンタープライズ・モビリティを加速させる All-in-oneのモバイル開発プラットフォーム

オンプレミス パッケージ

アプリケーション

オンプレミス カスタム

アプリケーション

クラウド

Oracle Mobile Cloud Service ネイティブ・アプリ

HTML5 アプリ

MAF アプリ

①開発効率化

ビルトインAPI

データ同期

ユーザー管理

通知サービス

カスタムAPI

3rd パーティ API

データ変換

カスタム・ロジック

オーケストレーション

ユーザー 情報

アプリ データ

③監視・分析

データ永続化

SDK

SDK

SDK

iOS

Android

Windows

Xamarin アプリ SDK

New

②簡単に連携

80

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• mBaaSの成り立ち

– モバイルアプリにおいてアプリとユーザの接点を重要視すべく、まずはバックエンドの処理を考えないで フロントドリブンで開発するスタイルが主流になりつつある。 【参考】 noBackend開発(http://nobackend.org/) その中で、モバイル開発・運用に必要なバックエンド機能を汎用的に提供するサービスとしてmBaaSが出てきた。

– 「モバイル開発の約70%はバックエンドの実装に費やされる」と言われており、活用効果はとても大きい。

• mBaaSの定義

– バックエンド機能をクラウド上で実現し、利用者に提供するサービス (Public/Privateを問わない)

– API/クライアントライブラリなどを提供するサービス形態

• mBaaSの機能例

– ユーザー登録、ユーザー情報の管理

– プッシュ通知

– GPSを活用した位置情報サービスとの連携

– SaaSやSNSなどとの認証/認可連携

– データやコンテンツの保存/管理

– 利用状況の監視/分析

REST API / ライブラリ

参考:mBaaS(mobile Backend as a Service)とは

SaaS アプリケーションを提供

PaaS

アプリケーションを稼働させるための基盤を提供

IaaS サーバー、CPU、ストレージなどのインフラを提供

mBaaS モバイル開発・運用に必要なバックエンド機能を提供

フロントエンド実装 アプリケーション

バックエンド フロントエンド

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Integartion Cloud Service ハイブリッド・クラウド環境のインテグレーションの紹介

82

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

同一アーキテクチャ

同一標準

同一製品

クラウド

インテグレーション サービスバ

ス アダプタ

モバイル セキュリティ

プロセス/UI統合

ミドルウェア観点でのクラウドへの取り組み ハイブリッド・クラウド環境のインテグレーションまで幅広く対応

パブリッククラウド

IaaS

PaaS

SaaS

Engineered Systems

プライベートクラウド

3rd パーティ

クラウド

83

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Iden

tity

Man

ag

em

en

t セキュリテと

ID管理サービス

Big Data Business Intelligence

Documents Social

Networking

Process Integration

Performance Monitoring

IT Analytics

Database Java Mobile Developer

Compute Storage

App Builder

Data Enrichment

Data Integration

Internet of Things

Node.js

Compute & Storage as-a-Service

Content, Analytics, User Engagement

as-a-Service

Integration as-a-Service

Development & Deployment as-a-Service

Identity

Oracle Cloud Platform

84

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Simplified Webベース、数クリックでの連携開発

Highly Visible 豊富なモニタリング&エラー管理機能

Lifecycle On-premise, Cloud 両方のライフサイクルに対応

Highly Available Oracle RAC, DataGuardを内部で使用

Managed バックアップ,パッチ,アップグレードが不要

Fully portable On-PremiseからCloudへの移行が容易

Oracle Integration Cloud Service

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Integration Cloud Service SaaS環境との連携を単純化

Oracle Application との自動連携

Auto-Associate –Oracle SaaS環境との連

携が事前定義されている

Version Aware – Oracle Applicationの継続

的なアップデートの実施が不必要になる

Built-in Security – Oracle Securityの製品

機能との統合でセキュアな接続を担保

Monitor Dashboards – 即時で使える、ビ

ジネスモニタリングのダッシュボードも

備える

86

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle Recommends TM によるリコメンド

Oracle Recommends TM – アプリケー

ション間の連携にリコメンドを表示

No Installation, No Configuration – イン

ストール、構成設計、パッチ適用の手間

が必要ない

Robust Error Management – エラー検知

が即座に実施でき、その後の適切なアク

ションまで実施可能

Cloud Marketplace– 事前定義済のアダプ

タと連携が公開/入手可能

Oracle Integration Cloud Service Time to Market を迅速に