• Products
    • View all products
    • Free trials
    • Buy online
    • Product lines
      • ApexSQL
      • Change Auditor
      • Enterprise Reporter
      • Foglight Database Monitoring
      • Foglight Evolve
      • KACE
      • Metalogix
      • Migration Manager
      • NetVault Backup
      • One Identity
      • QoreStor
      • Quest On Demand
      • Rapid Recovery
      • Recovery Manager
      • RemoteScan
      • SharePlex
      • Spotlight
      • Stat
      • Toad
    • Featured products
      • Cloud Management
        • Cloud Access Manager
        • Foglight for Virtualization, Enterprise Edition
        • Identity Manager
        • On Demand Migration for Email
        • Quest On Demand
        • Rapid Recovery
      • Data Protection
        • Foglight for Virtualization
        • NetVault
        • NetVault for Office 365
        • QorePortal
        • QoreStor
        • Rapid Recovery
        • vRanger
      • Database Management
        • Foglight for Databases
        • Litespeed for SQL Server
        • SharePlex
        • Spotlight SQL Server Enterprise
        • Toad Data Point
        • Toad DevOps Toolkit
        • Toad Edge
        • Toad for Oracle
        • Toad for SQL Server
      • Identity & Access Management
        • Active Roles
        • Defender
        • Identity Manager
        • Identity Manager Data Governance
        • One Identity Safeguard
        • Password Manager
        • Privileged Access Suite for Unix
        • Starling Connect
        • Starling Two-Factor Authentication
        • syslog-ng
      • Microsoft Platform Management
        • Active Administrator
        • Change Auditor
        • Enterprise Reporter
        • GPOADmin
        • InTrust
        • Metalogix
        • Migration Manager
        • On Demand Migration for Email
        • Quest On Demand
        • Recovery Manager
      • Performance Monitoring
        • Foglight Capacity Director
        • Foglight Hybrid Cloud Manager
        • Foglight for Databases
        • Foglight for Operating Systems
        • Foglight for Oracle
        • Foglight for PostgreSQL
        • Foglight for SQL Server
        • Foglight for Storage Management
        • Foglight for Virtualization
        • Spotlight on SQL Server
      • Unified Endpoint Management
        • Desktop Authority Management Suite
        • KACE Cloud Mobile Device Manager
        • KACE Desktop Authority
        • KACE Privilege Manager
        • KACE Systems Deployment Appliance
        • KACE Systems Management Appliance
        • RemoteScan
  • Solutions
    • View all Solutions
    • Industries
      • Education
      • Energy
      • Federal Government
      • Financial Services
      • Healthcare
      • State & Local Government
    • Platforms
      • Active Directory
      • Cisco
      • DB2
      • Exchange
      • Google
      • Hyper-v
      • Lotus Notes
      • OneDrive for Business
      • Office 365
      • Oracle
      • SAP/Sybase
      • SharePoint
      • SQL Server
      • Teams
      • Unix/Linux
      • VMware
      • Windows Server
    • Cloud Management
    • Data Protection
      • Overview
      • Backup & Recovery
      • Cloud Management
      • Deduplication & Compression
      • Disaster Recovery
      • Office 365 Data Protection
      • Virtualization Management
    • Database Management
      • Overview
      • Administration
      • Cloud Migration
      • Data Preparation and Provisioning
      • Development
      • DevOps
      • Performance Monitoring
      • Replication
      • Supported Platforms
        • IBM DB2
        • MySQL
        • Oracle
        • PostgreSQL
        • SAP Solutions
        • SQL Server
    • GDPR Compliance
    • Identity & Access Management
      • Overview
      • Identity Administration
      • Identity Governance
      • Privileged Access Management
      • AD Account Lifecycle Management
      • Access Control
      • Cloud
      • Log Management
    • Microsoft Platform Management
      • Overview
      • Mergers & Acquisitions
      • Migration & Consolidation
      • Office 365 Migration & Management
      • Security & Compliance
      • Windows Backup & Recovery
      • Supported Platforms
        • Active Directory
        • Cisco
        • Exchange
        • Google
        • Groupwise
        • Lotus Notes
        • Office 365
        • OneDrive for Business
        • SharePoint
        • SQL Server
        • Teams
        • Unix/Linux
        • Windows Server
    • Performance Monitoring
      • Overview
      • Database Performance Monitoring
      • Operating System Monitoring
      • Storage Performance & Utilization Management
      • Supported Platforms
        • Active Directory
        • DB2
        • Exchange
        • Java
        • Hyper-V
        • .NET
        • Oracle
        • SAP/Sybase
        • Storage
        • SQL Server
        • VMware
    • Unified Endpoint Management
      • Overview
      • Endpoint Compliance
      • Endpoint Security
      • Endpoint Visibility
      • Industries
        • Education
        • Healthcare
      • Supported Platforms
        • Internet of things
        • Microsoft® Windows
        • MAC
        • UNIX/LinuX
  • Resources
    • Blogs
      • Data Protection
      • Database Management
      • IT industry Insights
      • IT Ninja
      • Microsoft Platform Management
      • Performance Monitoring
      • Toad World Blog
      • Unified Endpoint Management
    • Customer Stories
    • Documents
    • Events
    • Webcasts
    • Technical Documentation
    • Videos
    • Whitepapers
  • Trials
  • Services
    • Consulting Services
      • Overview
      • Microsoft Platform Services
      • Data Protection Services
      • Unified Endpoint Management
      • Performance Monitoring Services
      • Database Management Services
    • Educational Services
    • Support Services
  • Support
    • Support Home
    • By Product
      • All Products
      • AppAssure
      • Archive Manager
      • Change Auditor
      • Desktop Authority
      • DR Series
      • Foglight
      • KACE
      • Migration Manager
      • NetVault
      • Rapid Recovery
      • SharePlex
      • Toad
      • vRanger
    • Contact Support
      • Overview
      • Customer Service
      • Licensing Assistance
      • Renewal Assistance
      • Technical Support
    • Download Software
    • Knowledge Base
    • My Account
      • My Products
      • My Service Requests
      • My Licenses
      • My Groups
      • My Profile
    • Policies & Procedures
    • Consulting Services
      • Microsoft Platform Management
      • Data Protection
      • Unified Endpoint Management
      • Performance Monitoring
      • Database Management
    • Technical Documentation
    • Educational Services
    • User Forums
    • Video Tutorials
  • Partners
    • Overview
    • Partner Circle Log In
    • Become a Partner
    • Find a Partner
    • Partner Community
  • Blogs
    • IT Industry Insights
    • Quest Solution Blogs
      • Data Protection
      • Database Management
      • ITNinja
      • Microsoft Platform Management
      • Performance Monitoring
      • Toad World Blog
      • Unified Endpoint Management
  • Forums
  • 製品情報
    • すべての製品情報を見る
    • Change Auditor
    • Foglight
    • KACE
    • Metalogix
    • Migration Manager
    • Migrator for Notes to SharePoint
    • NetVault Backup
    • On Demand Migration for Email
    • QoreStor
    • Rapid Recovery
    • Recovery Manager
    • SharePlex
    • Spotlight
    • Toad
  • ソリューション
    • すべてのプラットフォームを見る
    • クラウド管理
    • GDPRコンプライアンス
    • データ保護
      • 概要
      • クラウド管理
      • ディザスタリカバリ
      • バックアップとリカバリ
      • Office 365 データ保護
      • 仮想化管理
      • 重複除外と複製
    • データベース管理
      • 概要
      • DevOps
      • データの準備と分析
      • データベースのクラウド移行
      • データベースパフォーマンス監視
      • データベース管理
      • データベース複製ソフトウェアツール
    • 統合エンドポイント管理
      • 概要
      • エンドポイントコンプライアンス
      • エンドポイントセキュリティ
      • エンドポイントの可視化
    • Microsoftプラットフォーム管理
      • 概要
      • ハイブリッドActive Directoryのセキュリティとガバナンス
      • Microsoftプラットフォームの移行計画と統合
      • セキュリティとコンプライアンス
      • 情報アーカイブおよびストレージ管理ソリューション
      • Windowsのバックアップとリカバリ
      • Microsoft Serverのパフォーマンスと可用性
      • レポート作成機能
      • グループポリシーと権限
    • パフォーマンス監視
  • サービス
    • コンサルティングサービス
      • 概要
      • Microsoftプラットフォーム管理
      • データ保護
      • 統合エンドポイント管理
      • パフォーマンス監視
      • データベース管理
    • トレーニングと認定資格
    • サポートサービス
  • サポート
    • サポートホーム
    • 製品で検索
      • All Products
      • AppAssure
      • Archive Manager
      • Change Auditor
      • Desktop Authority
      • DR Series
      • Foglight
      • KACE
      • Migration Manager
      • NetVault
      • Rapid Recovery
      • SharePlex
      • Toad
      • vRanger
    • お問い合わせ
      • すべて
      • カスタマサービス
      • ライセンス アシスタンス
      • 更新のアシスタンス
      • 技術サポート
    • コミュニティフォーラム
    • ソフトウェアのダウンロード
    • ナレッジベ%E3%83%BCス
    • マイアカウント
      • マイ プロダクト
      • Myサービスリクエスト
      • マイ ライセンス
      • マイ グループ
      • マイ プロファイル
    • ポリシーおよび手順
    • コンサルティングサービス
      • Microsoftプラットフォーム管理
      • データ保護
      • 統合エンドポイント管理
      • パフォーマンス監視
      • データベース管理
    • リリースノートおよびガイド
    • 教育サービス
    • ビデオチュートリアル
  • トライアル
  • パートナー
    • 概要
    • Partner Circleへのログイン
    • パートナーになる
    • Find a Partner
    • パートナーコミュニティ
  • コミュニティ
Quest Community
Quest Community
  • Site
  • User
  • Site
  • Search
  • User
Quest Software | One Identity Japan ホーム
Quest Software | One Identity Japan ホーム
Database Management - Wiki 第13回 SharePlexを高速化するアーキテクチャー詳細 (その3)
    • New
    • -データベース管理 - Wiki
      • -SharePlex
        • -OracleのデータをリアルタイムにレプリケーションするならSharePlex (連載記事アーカイブ)
          • 第01回 初めまして、SharePlexです
          • 第02回 論理レプリケーションって、実際どんな動きをするの?
          • 第03回 様々なSharePlexの活用方法
          • 第04回 SharePlexの情報源にアクセスしよう
          • 第05回 SharePlexをインストールしよう (前編)
          • 第06回 SharePlexをインストールしよう (後編)
          • 第07回 レプリケーションの設定を行って、動作を確認してみよう
          • 第08回 SharePlexを使っていろいろなテストをやってみよう (その1)
          • 第09回 SharePlexを使っていろいろなテストをやってみよう (その2)
          • 第10回 SharePlexを使っていろいろなテストをやってみよう (その3)
          • 第11回 SharePlexを高速化するアーキテクチャー詳細 (その1)
          • 第12回 SharePlexを高速化するアーキテクチャー詳細 (その2)
          • 第13回 SharePlexを高速化するアーキテクチャー詳細 (その3)
          • 第14回 SharePlexを高速化するアーキテクチャー詳細 (その4)
          • 第15回 SharePlexを高速化するアーキテクチャー詳細 (その5)
          • 第16回 SharePlexが大切にしているデータの整合性とは?
          • 第17回 標準搭載機能の比較&修復機能で、データの同期状態を簡単復旧
          • 第18回 SharePlex Managerで高機能なSharePlexの管理を実現!(1)
          • 第19回 SharePlex Managerで高機能なSharePlexの管理を実現!(2)
          • 第20回 SharePlex Managerで高機能なSharePlexの管理を実現!(3)
          • 第21回 SharePlex Managerで高機能なSharePlexの管理を実現!(4)
          • 第22回 SharePlexの実際の活用例を見てみよう (最終回)
        • SharePlex - Quest英語ドキュメント
      • +Toad for Oracle
      • +Spotlight on Oracle
      • Toad for SQL Server
      • +Spotlight on SQL Server Enterprise
      • LiteSpeed for SQL Server

    第13回 SharePlexを高速化するアーキテクチャー詳細 (その3)

    >> はじめに  

    今月は、SharePlexが誇るレプリケーションの高速化アーキテクチャについての第3弾です。前回は、ターゲット側のPostの処理に負荷がかかって、パフォーマンスの問題があった場合に、Postプロセスを分けて処理する方法をご紹介しました。

    しかし、Postプロセスを分けてもパフォーマンス向上が更に必要であったり、Post以外の処理のボトルネックがあった場合には、前回の方法では対応することができません。そのようなケースでは、sp_copを親プロセスとしたSharePlexの処理全体を多重化する方法があります。

    >> 複数のSharePlexインスタンスの実行に  

    Oracleデータベースがマルチ・インスタンスで稼働するのと同じように、SharePlexも1つのマシン上で複数のSharePlexインスタンスを稼働させることが可能です。

    詳細については、管理者ガイドの中で「複数のSharePlexインスタンスの実行」という形で、設定方法についての記載があります。

    1つのOracleインスタンスに対して、複数のSharePlexインスタンスを使用する場合には、テーブル単位で定義を分けて、全体の処理性能の向上を期待することが可能です。

    複数のSharePlexインスタンスを同一マシン上で稼働させるには、ソースとターゲット間の通信に使用するポートを変更する必要があり、その他キューのディレクトリ等も変更する必要があるため、具体的にはSharePlex用の"variable data directory location" (以下、日本語訳の"変数データディレクトリ") を複数用意する必要があることになります。

    >> 複数のSharePlexインスタンスの導入方法について  

    ■複数回インストールを実行する方法

    もっとも簡単な導入方法は、SharePlex用の管理者ユーザ名を作るところから、完全に複数に分けるように設定を行い、複数回インストール実行し、ora_setupによるSharePlex用のOracleユーザ作成も異なるユーザ名を使用することです。この場合には、SharePlexのバイナリ自体が個別のディレクトリに導入され、製品のバージョンアップやパッチ適用時等には、それぞれのユーザ名にて管理する必要があります。

    ■一度インストールしたバイナリを使用し、複数必要なディレクトリだけコピーする方法

    こちらは、マニュアル上にも記載のある、インストールは1回だけ実行し、複数必要なSharePlex用の変数データディレクトリは、コピーによって作成するというものです。やや手順が複雑な事から、本講座ではこの手順についてご紹介してみたいと思います。

    >> 複数のSharePlexインスタンスをコピーして構築する  

    前回までの講座により、2つのPostプロセスを使用する方法で、構築されていると思いますので、その状態から複数のSharePlexインスタンス (sp_cop) により、分割して対応する方法を確認していきたいと思います。

    ■まずは、現在の設定を解除する

    それには、定義ファイルをdeactivateする必要があります。


    sp_ctrl (rhel5sposrc1:2100)> deactivate config ORA_config

    本番環境等では、キューの状態等を確認してから行うべきですが、テスト環境のため割愛してあります。次に、定義ファイルを編集します。


    sp_ctrl (rhel5sposrc1:2100)> edit config ORA_config

    前回の講座で、named post queueを使用した定義をしていますが、今回その代わりに別のSharePlexインスタンスを構築して、同じことをやりたいと思いますので、定義から外します。

    編集前


    datasource:o.src1 #source tables target tables routing map splex.demo_src splex.demo_dest rhel5spotrg1@o.trg1 splex.demo_dest splex.demo_src rhel5spotrg1:test@o.trg1

    編集後


    datasource:o.src1 #source tables target tables routing map splex.demo_src splex.demo_dest rhel5spotrg1@o.trg1

    最後に、SharePlexのインスタンスをコピーで作成するには、SharePlexが稼働していない状態である必要があるため、ソースおよびターゲットともに、SharePlexインスタンスを落とした状態にします。

    ソース側でシャットダウンを実行


    sp_ctrl (rhel5sposrc1:2100)> shutdown

    ターゲット側でシャットダウンを実行


    sp_ctrl (rhel5spotrg1:2100)> shutdown

    ■もう一度確認したい、必要な条件

    ここで、今一度UNIX/Linuxシステム上で複数のsp_copインスタンスを実行するのに必要なことを確認しておきます。

    • sp_copプロセス毎に、一意なポート番号と変数データディレクトリ
    • 変数データディレクトリごとの、Oracleユーザアカウント
    • SP_SYS_VARDIR環境変数と-uオプションを使用して、個別にsp_copインスタンスを起動

    既に設定されている内容と、追加で設定が必要な内容がありますので、次の内容を想定して手順を確認していきたいと思います。

    • ポート番号
      • 旧: 2100
      • 新: 2200
    • 変数データディレクトリ
      • 旧: /home/splex/vardir
      • 新: /home/splex/vardir2200
    • SP_SYS_VARDIR環境変数
      • 旧: SP_SYS_VARDIR=/home/splex/vardir
      • 新: SP_SYS_VARDIR=/home/splex/vardir2200
    • sp_cop起動方法
      • 旧: $ sp_cop -u 2100
      • 新: $ sp_cop -u 2200

    ■変数データディレクトリを作成するには

    最初に既にインストールされたインスタンスの必要ファイルを、tarコマンドで退避しておきます。


    [splex@rhel5sposrc1 ~]$ cd /home/splex/vardir [splex@rhel5sposrc1 vardir]$ tar cvf ../splex.tar . ./ ./dump/ ~ 中略 ~ ./state/o.src1-iot.b

    次に、2つ目のインスタンス用に作成したディレクトリで、退避されたデータを展開します。


    [splex@rhel5sposrc1 ~]$ mkdir /home/splex/vardir2200 [splex@rhel5sposrc1 ~]$ cd /home/splex/vardir2200 [splex@rhel5sposrc1 vardir2200]$ tar xvf /home/splex/splex.tar ./ ./dump/ ~ 中略 ~ ./state/o.src1-iot.b

    /home/splex/vardir2200として展開されたデータの中に、ポート指定が行われているparamdbというファイルが、/home/splex/vardir2200/data以下にあるので、このファイルを編集して、ポート番号を変更します。

    ファイル内のエントリ、変更前


    SP_COP_TPORT 2100 SP_COP_UPORT 2100

    ファイル内のエントリ、変更前


    SP_COP_TPORT 2200 SP_COP_UPORT 2200

    ■設定をアクティブにしたことがある場合

    作成した変数ディレクトリごとに、古いキューが含まれている場合があるため、clean_vardir.shを実行し、新しい状態に戻します。スクリプトの後の数字は、Oracleのバージョンを意味しています。


    [splex@rhel5sposrc1 ~]$ cd $SP_BIN [splex@rhel5sposrc1 bin]$ ./clean_vardir.sh 11 Cleaning /home/splex/vardir subdirectories [splex@rhel5sposrc1 bin]$ export SP_SYS_VARDIR=$HOME/vardir2200 [splex@rhel5sposrc1 bin]$ ./clean_vardir.sh 11 Cleaning /home/splex/vardir2200 subdirectories

    また、各変数データディレクトリのrimディレクトリにshstinfo.ipcおよびshmaddr.logファイルがある場合にも、削除します。ちなみに、この2つのファイルは、各変数データディレクトリに対して、sp_copを起動したことがない場合には、ファイル自体存在しません。


    [splex@rhel5sposrc1 bin]$ cd /home/splex/vardir/rim [splex@rhel5sposrc1 rim]$ ls shmaddr.loc shstinfo.ipc [splex@rhel5sposrc1 rim]$ rm ./shmaddr.loc [splex@rhel5sposrc1 rim]$ rm ./shstinfo.ipc [splex@rhel5sposrc1 rim]$ cd /home/splex/vardir2200/rim [splex@rhel5sposrc1 rim]$ ls shmaddr.loc shstinfo.ipc [splex@rhel5sposrc1 rim]$ rm ./shmaddr.loc [splex@rhel5sposrc1 rim]$ rm ./shstinfo.ipc

     

    >> はじめに  

    手順が多いため、本内容は2回に分けてお届けしたいと思います。次回は、変数データディレクトリを分けた後で、SharePlex用のOracleアカウント追加と、起動手順、テストを行う方法等をご紹介する予定です。

    • SharePlex
    • Share
    • History
    • More
    • Cancel
    Related
    Recommended
    • Company
      • About Us
      • Buy
      • Contact Us
      • Careers
      • News
    • Resources
      • Industry Insights Blog
      • Communities
      • Customer Stories
      • Documents
      • Events
    • Support
      • Professional Services
      • Renew Support
      • Technical Support
      • Training & Certification
      • Support Services
    • Social Networks
      • Facebook
      • LinkedIn
      • Twitter
      • YouTube
    • © 2021 Quest Software Inc. ALL RIGHTS RESERVED.
    • Legal
    • Terms of Use
    • Privacy
    • Community Feedback & Support
    • 会社名
      • 会社情報
      • 購入
      • お問い合わせ
      • 採用情報
      • ニュース
    • リソース
      • ブログ
      • お客様の事例
      • ドキュメント
      • イベント
      • ビデオ
    • サポート
      • プロフェッショナルサービス
      • サポートの更新
      • テクニカルサポート
      • トレーニングと認定資格
      • サポートサービス
    • ソーシャルネットワーク
      • Facebook
      • Instagram
      • LinkedIn
      • Twitter
      • YouTube
    • © 2021 Quest Software Inc. ALL RIGHTS RESERVED.
    • 「法務」
    • ご利用規約
    • 個人情報保護方針
    • コミュニティのフィードバックとサポート