• 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 第06回 SharePlexをインストールしよう (後編)
    • 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

    第06回 SharePlexをインストールしよう (後編)

    >> はじめに  

    前回は、1台のマシンへSharePlexのインストールを行うところまで解説しました。今回は、さらにSharePlex用のOracleの設定等を実施していきます。

    なお、SharePlexでは、随時細かいリビジョンやパッチのバージョンが上がったバイナリがリリースされていますので、確認する時点で最新バージョンをご使用ください。大きな手順等に違いはありません。

    では早速、前回の続きから作業を進めていきます。

    >> 環境変数の設定  

    インストール時に設定したSharePlex用の管理者ユーザ用の、環境変数を設定します。最初にデフォルトで作成されるユーザのシェル環境がshになっているため、好みに合わせて変更します。ここではbashに変更してから、bash用の環境変数を変更しています。


    [root@rhel5sposrc1 ~]# usermod -s /bin/bash splex [root@rhel5sposrc1 ~]# su - splex [splex@rhel5sposrc1 ~]$ [splex@rhel5sposrc1 ~]$ vi ./.bash_profile

    以下に.bash_profileに追記すべき内容についてご案内します。

    最初にOracle用の設定を行います。この部分については、権限があればORA_NLS10以外は、Oracle用の管理ユーザの環境変数からコピーしてきてもよいでしょう。更にその下にSharePlex用の各種設定を行います。

    • SP_COP_TPORT: SharePlex用のTCPポート (デフォルトは2100番)
    • SP_COP_UPORT: SharePlex用のUDPポート (デフォルトは2100番)
    • SP_SYS_PRODDIR: SharePlex用の"product directory location" (インストール時に指定)
    • SP_SYS_VARDIR: SharePlex用の"variable data directory location" (インストール時に指定)
    • SP_SYS_HOST_NAME: SharePlexのインストールされたマシンのホスト名
    • SP_BIN: SharePlexの管理用ツールがあるbinディレクトリ
    • SP_LOG: SharePlexのLOGが格納されるlogディレクトリ

    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

    もちろん、すべて設定したら、環境変数が有効になるように、.bash_profileを実行するなり、ログインしなおす等してください。

    >> SharePlex用のオブジェクトの生成  

    SharePlexは、レプリケーションを実行する際に、その管理用としてOracleデータベース内に専用のオブジェクトを使用します。動作にあたっては、最初にora_setupコマンドを使用しウィザードに従って生成する必要があります。まず、前提としてOracleデータベースが動作していることを確認しておいてください。

    準備が整ったら、$SP_BINディレクトリに移動してora_setupを実行し、ウィザードに従って入力していきます。SharePlexがインストールされたマシンのOracle SIDを入力すると、SYSDBAを持つSYSTEMアカウントとそのパスワードを入力します。[ ]内にはデフォルトが表示されるため、そのままで良い場合には、単にEnterを入力するだけでよいです。


    [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.

    SYSDBAを持つアカウントにより、SharePlex用のOracleユーザが作成されます。デフォルトは、SPLEXユーザで、パスワードも同じになっていますが、当然運用環境では変更が必要です。

    また、実際にオブジェクトを生成する表領域やインデックス用およびTEMP用の表領域を指定します。例は評価環境で別途表領域を作成していないため、テーブルとインデックス用にはUSERS等を使用しています。運用環境の場合には、可能であれば専用が望ましいです。


    SharePlex objects will need to be created under a special account. You can pick an existing user or create a new one. Would you like to create a new SharePlex user ? [y] : y Enter username for new user [SPLEX/SPLEX] : 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

     

    >> すべてのサーバへのインストール  

    ソース・システムとターゲット・システムでの、インストール方法等に違いはありません。2台で確認するということであれば、双方にSharePlexのインストールおよびSharePlex用のオブジェクトの生成を行います。手順は、まったく同じになりますので、ここでは割愛させていただきます。

    >> SharePlexの起動と確認  

    インストールが完了後、ソース・システムとターゲット・システムでSharePlexのメインのプロセスである、sp_copを起動します。


    [splex@rhel5sposrc1 ~]$ cd $SP_BIN [splex@rhel5sposrc1 bin]$ ./sp_cop & [1] 4745 [splex@rhel5sposrc1 bin]$ ******************************************************* * 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 *******************************************************

    ※上記を双方で実行します。

    メインのプロセス起動後に、SharePlexの管理用CLIコマンドである、sp_ctrlコマンドを実行して、ステータスを確認すると、copというメインのプロセスと、コマンドコントロール用のプロセスだけが起動しているのが確認できます (この時点では、どちらのシステムでも同じ表示です)。


    [splex@rhel5sposrc1 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:2100)> status Brief Status for rhel5sposrc1 Process State PID Running Since --------------- ------------------------------ -------- -------------------- Cop Running 4745 28-Mar-12 19:31:31 Cmd & Ctrl Running 4785 28-Mar-12 19:35:09 There are no active configuration files

     

    >> まとめ  

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