• Products
    • View all products
    • Free trials
    • Buy online
  • Solutions
  • Resources
    • All Resources
    • Learning Hub
  • 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
    • Technology Partners
    • Partner Community
    • Deal Alert
  • Blogs
    • IT Industry Insights
    • Quest Solution Blogs
      • Data Protection
      • Database Management
      • ITNinja
      • Microsoft Platform Management
      • Performance Monitoring
      • Toad World Blog
      • Unified Endpoint Management
  • Forums
  • 製品情報
    • すべての製品情報%E3%82%92見る
    • 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%82%BFンス
      • 技術サポート
    • コミュ%E3%83%8Bティフォーラム
    • ソフトウェアのダウン%E3%83%ADード
    • ナ%E3%83%AC%E3%83%83ジ%E3%83%99ース
    • マイアカウント
      • マイ プロダクト
      • Myサービスリクエスト
      • マイ ライセンス
      • マイ グループ
      • マイ プ%E3%83%ADフ%E3%82%A1イル
    • ポリ%E3%82%B7ーおよび手順
    • コンサル%E3%83%86ィングサー%E3%83%93ス
      • Microsoftプラットフォーム管理
      • データ保護
      • 統合エンドポイント管理
      • パフォーマンス監視
      • データベース管理
    • リリースノートおよびガイド
    • 教育サービス
    • ビデオチュートリアル
  • トライアル
  • パートナー
    • 概要
    • Partner Circleへのログイン
    • パートナーになる
    • Find a Partner
    • パートナーコミュニティ
    • Deal Alert
  • コミュニティ
Quest Community
Quest Community
  • Site
  • User
  • Site
  • Search
  • User
Quest Software | One Identity Japan ホーム
Quest Software | One Identity Japan ホーム
Database Management - Wiki 第14回 SharePlexを高速化するアーキテクチャー詳細 (その4)
    • 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英語ドキュメント
        • SharePlexの各種クラスタウェア連携対応
        • SharePlex移行目的のための対応表
      • +Toad for Oracle
      • +Spotlight on Oracle
      • Toad for SQL Server
      • +Spotlight on SQL Server Enterprise
      • LiteSpeed for SQL Server
      • +ApexSQL

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

    >> はじめに  

    今月は、先月ご紹介したsp_copを親プロセスとしたSharePlexの処理全体を多重化する手順について、続きの作業内容をご紹介いたします。

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

    前回作成した、コピーした変数データ ディレクトリを使用し、2つ目のSharePlexインスタンス用の準備を行っていきます。

    ■2つ目のインスタンス用のOracleユーザーを作成する

    ora_setupを使用して一意なユーザを作成します。注意点は、ユーザー名の入力時に変数データ ディレクトリを分けたことが分かるような名前を指定することです。名前の選択は任意ですが、ポート番号の指定が重要なポイントになっていますので、ポート番号を名前に使うと、分かりやすいのでお勧めです。


    [splex@rhel5sposrc1 ~]$ cd $SP_BIN [splex@rhel5sposrc1 bin]$ ./ora_setup Welcome to the Oracle SharePlex setup process. This process creates tables and user accounts needed to run Oracle SharePlex replication. Please note the following: ** In response to prompts, a carriage return will choose the default given in brackets. If there is no default, a reply must be entered. ** To exit the program while the program is waiting for input, use the CTRL-C key sequence. This sequences can be entered by holding down the CONTROL key and pressing the C key. Enter the Oracle SID for which SharePlex should be installed [src1] : In order to create the SharePlex tables and user account, we must connect to the database as a DBA user Enter a DBA user name : system Enter password for the DBA account, which will not echo : connecting--This may take a few seconds. validating user name and password. . . This may take a few seconds. SharePlex objects will need to be created under a special account. You can pick an existing user or create a new one. Current SharePlex user is : SPLEX Warning: Changing SharePlex user requires reactivating the current configuration. Would you like to create a new SharePlex user ? [y] : y Enter username for new user [SPLEX/SPLEX] : SPLEX2200/SPLEX2200 Warning: This user is now being granted unlimited tablespace. This privilege will remain in effect until it is explicitly changed. SPLEX_ROLE_BOTH already exists; continuing setup . . . Setup will now install SharePlex objects. These are the existing tablespaces. SYSTEM SYSAUX UNDOTBS1 TEMP USERS EXAMPLE Enter the default tablespace for use by SharePlex [USERS] : Enter the temporary tablespace for use by SharePlex [TEMP] : Enter the index tablespace for use by SharePlex [ ] : USERS Creating SharePlex objects [Installation type: Fresh]. . . Creating SharePlex Oracle-timezone-region map . . . Done. Creating Conflict Resolution Package . . . Done. Setup of SharePlex objects successful . . . Creating SharePlex Dataequator Read Anydata Function . . . Done. Creating SharePlex Dataequator Write Anydata Function . . . Done. Changing SharePlex parameter database . . . Setup completed successfully

    また、この設定によって、それぞれの変数データ ディレクトリごとに、SharePlex用のOracleユーザがマッピングされていることを念のため確認するようにしてください。


    [splex@rhel5sposrc1 ~]$ grep OWNER_O /home/splex/vardir/data/paramdb SP_ORD_OWNER_O.SRC1 "SPLEX" [splex@rhel5sposrc1 ~]$ grep OWNER_O /home/splex/vardir2200/data/paramdb SP_ORD_OWNER_O.SRC1 "SPLEX2200"

    ■2つのSharePlexインスタンスを切り替えてsp_copを起動するには

    正しく変数データ ディレクトリの作成が行われ、SharePlexの動作に必要なOracleユーザと関連するSharePlex用のテーブル等がora_setupアップによって作成されていれば、あとはsp_copを起動が可能です。

    環境の切り替えは、環境変数SP_SYS_VARDIRの変更によって行われます。そのため、OS上に作成されたsplexユーザの設定から、関連する項目をコメントアウトしておきます。また、ポート番号についても、前回設定したようにparamdb内の値によって決定されるため、コメントアウトしています。


    [splex@rhel5sposrc1 ~]$ cat ./.bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH export PATH export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1 export ORACLE_SID=src1 export PATH=$ORACLE_HOME/bin:$PATH export ORA_NLS10=$ORACLE_HOME/nls/data #export SP_COP_TPORT=2100 #export SP_COP_UPORT=2100 export SP_SYS_PRODDIR=$HOME/splex #export SP_SYS_VARDIR=$HOME/vardir export SP_SYS_HOST_NAME=rhel5sposrc1 export SP_BIN=$SP_SYS_PRODDIR/bin #export SP_LOG=$SP_SYS_VARDIR/log

     

    >> 構築完了後に、2つのsp_copを起動してみよう  

    事前の設定がすべて完了したら、実際に2つのsp_copを起動してみます。

    ■ポート番号2100のsp_copの起動

    SP_SYS_VARDIRの環境変数に、ポート番号2100用のディレクトリを設定し、sp_copを-uオプションを付けて起動します。この-uオプションの後の名前は特に動作上の意味はありません。psコマンド等でプロセスを確認した際に、どちらのインスタンスのプロセスなのかをわかりやすくするために設定します。こうすることで、すべての子プロセスに対しても、-uで設定した名前が付加されます。


    [splex@rhel5sposrc1 ~]$ export SP_SYS_VARDIR=/home/splex/vardir [splex@rhel5sposrc1 ~]$ $SP_BIN/sp_cop -u 2100 & [1] 18540 [splex@rhel5sposrc1 ~]$ ******************************************************* * SharePlex for Oracle Startup * ゥ 2010 Quest Software, Inc. * ALL RIGHTS RESERVED. * Protected by U.S. Patents: 7,461,103 and 7,065,538 * Version: 7.6.2.59-m64-oracle110 * VarDir : /home/splex/vardir * Port : 2100 *******************************************************

    ■ポート番号2200のsp_copの起動

    もう1つのSharePlexインスタンスも、環境変数を設定後にsp_copを起動します。


    [splex@rhel5sposrc1 ~]$ export SP_SYS_VARDIR=/home/splex/vardir2200 [splex@rhel5sposrc1 ~]$ $SP_BIN/sp_cop -u 2200 & [2] 18541 [splex@rhel5sposrc1 ~]$ ******************************************************* * SharePlex for Oracle Startup * ゥ 2010 Quest Software, Inc. * ALL RIGHTS RESERVED. * Protected by U.S. Patents: 7,461,103 and 7,065,538 * Version: 7.6.2.59-m64-oracle110 * VarDir : /home/splex/vardir2200 * Port : 2200 *******************************************************

    ■sp_copの起動状態の確認

    念のためpsコマンドで確認してみると、2つのsp_copが起動しており、それぞれの-uオプションが異なっていることが確認できます。


    [splex@rhel5sposrc1 ~]$ ps -ef|grep sp_cop splex 20780 20630 0 12:51 pts/1 00:00:00
    /home/splex/splex/.app-modules/sp_cop -u 2100 splex 20807 20630 1 12:53 pts/1 00:00:00
    /home/splex/splex/.app-modules/sp_cop -u 2200 splex 20814 20630 0 12:54 pts/1 00:00:00 grep sp_cop

    ■sp_ctrlを使用してみる

    sp_ctrlを起動すると、デフォルトでは現在設定されているポート番号のインスタンスの管理が可能ですが、portコマンドを使用してポート番号を指定することで、異なるインスタンスの管理もそのままできるようになっています。


    [splex@rhel5sposrc1 ~]$ $SP_BIN/sp_ctrl ******************************************************* * SharePlex for Oracle Command Utility * ゥ 2010 Quest Software, Inc. * ALL RIGHTS RESERVED. * Protected by U.S. Patents: 7,461,103 and 7,065,538 ******************************************************* sp_ctrl (rhel5sposrc1:2200)> port 2100 Default port is now set to 2100 sp_ctrl (rhel5sposrc1:2100)> port 2200 Default port is now set to 2200 sp_ctrl (rhel5sposrc1:2200)>

     

    >> まとめ  

    今回で、1つのサーバ上に2つのSharePlexインスタンスを設定する作業が完了しました。しかし、これらを実際に動作させるには、ターゲット側にも複数のSharePlexインスタンスが必要になります。

    次回は、ターゲット側の作業を実施した後に、実際にソースとターゲット間での動作確認方法についてご紹介します。

    • 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
    • © 2025 Quest Software Inc. ALL RIGHTS RESERVED.
    • Legal
    • Terms of Use
    • Privacy
    • Community Feedback & Support
    • Cookie Preference Center
    • 会社名
      • 会社情報
      • 購入
      • お問い合わせ
      • 採用情報
      • ニュース
    • リソース
      • ブログ
      • お客様の事例
      • ドキュメント
      • イベント
      • ビデオ
    • サポート
      • プロフェッショナルサービス
      • サポートの更新
      • テクニカルサポート
      • トレーニングと認定資格
      • サポートサービス
    • ソーシャルネットワーク
      • Facebook
      • Instagram
      • LinkedIn
      • Twitter
      • YouTube
    • © 2025 Quest Software Inc. ALL RIGHTS RESERVED.
    • 「法務」
    • ご利用規約
    • 個人情報保護方針
    • コミュニティのフィードバックとサポート