ITPub博客

首页 > 数据库 > Oracle > 2.SharePlex 软件安装步骤及配置

2.SharePlex 软件安装步骤及配置

原创 Oracle 作者:sunwensw1 时间:2017-04-25 14:46:01 0 删除 编辑
3  SharePlex 7.0的安装和配置
3.1  SharePlex 7.0的安装


安装SharePlex for Oracle 7.0必须遵循以下步骤:


在RAC两个节点的任意节点以oracle身份登录;


运行SharePlex的安装脚本;


oracle@hostname2:/queue/software$ ./SharePlex-7.0.0-b31-oracle100-hp11-23-ia64.tpm
以下为脚本的运行过程:


Unpacking ..................................................................
  ..........................................................................
  ..........................................................................
  ..........................................................................
  ...........................................................


SharePlex for Oracle installation program:
    SharePlex Version: 7.0.0
    Supported Oracle Version: 10gR2
    Build platform: hp11-23-ia64
    Target platform: hp11-31-ia64


Please enter the product directory location? /queue/splex
此处输入SharePlex的安装目录,SharePlex的安装目录是本机的磁盘分区,但是必须是文件系统,输入路径后回车;
Please enter the variable data directory location? /queue/vardir
此处输入SharePlex队列等重要文件所在的目录,SharePlex的安装目录应该是一个对于HACMP每个节点都共享的磁盘分区,但是必须是文件系统,输入路径后回车;
Please specify the SharePlex Admin group (select a number):
1. [oinstall]
2. dba
?  1
此处输入1,指定SharePlex 管理员的组名;
Please wait while the installer obtains Oracle information ....
Please specify the ORACLE_SID that corresponds to this installation (select a number):
1. [current => epmln2]
2. SPLEX1
3. epmln
4.
?  1
注意:此处不要输入TNS别名,应当输入所安装机器的本地实例名,然后回车;


Please enter the ORACLE_HOME directory that corresponds to this ORACLE_SID? [/oracle/db] 
此处输入Oracle的产品目录,然后回车;
Please enter the TCP/IP port number for SharePlex communications? [2100] 2200
此处输入SharePlex复制使用的TCP端口号,不要使用默认的2100,因为2100在9i和10g里被后台deamon所占用;


Preparing to install SharePlex for Oracle v. 7.0.0:
    User:                     oracle
    Admin Group:              oinstall
    Product Directory:        /queue/splex
    Variable Data Directory:  /queue/vardir
    ORACLE_SID:               sid2
    ORACLE_HOME:              /oracle/db


Proceed with installation? [yes] yes
此处输入yes然后回车;
Installing ................................................................
  .........................................................................
Setting file permissions ..................................................
  .........................................................................
Do you have a valid SharePlex for Oracle v. 7.0.0 license? [yes] 
此处输入yes然后回车;
Please enter the License key? 
此处输入SharePlex for Oracle的license,然后回车;
Please enter the customer name associated with this license key? Trial Version
此处输入license对应的customer name,然后回车;
SharePlex for Oracle v. 7.0.0 license validation successful:
    Customer Name:      Trial Version
    License Key:        DZFFMVVRJ31Z8G0SP27G3HL2HQS0QRMT2808V
    Product Name:       SharePlex for Oracle - RAC
    License Key Type:   "Trial Key"
    Expires:            at Midnight of Dec 25, 2009


NOTE: You can upgrade this license key or add license keys for additional machines
      by executing utility /queue/splex/install/splex_add_key.


Installation log saved to: /oracle/.shareplex/INSTALL-SharePlex-7.0.0-0908151003.log
SharePlex for Oracle v. 7.0.0 installation successful. 


此时,SharePlex for Oracle 7.0产品安装部分已经完成。


另一节点添加license keys:
oracle@hostname2:/queue/splex/install$ ./splex_add_key




        SharePlex License Utility


        1) Read license key from file
        2) Enter license key manually
        3) Add license key for alternate host
        q) Quit License Utility


        Enter option: 2
        Enter Key: DZFFMVVRJ31Z8G0SP27G3HL2HQS0QRMT2808V
        Enter Customer Name: Trial Version




 The SharePlex for Oracle - RAC license, "Trial Key" has been successfully added for host bc8b1f2d-da36-11dd-868c-a7955ca893b3.
 It will expire after Midnight of Dec 25, 2009


        SharePlex License Utility


        1) Read license key from file
        2) Enter license key manually
        3) Add license key for alternate host
        q) Quit License Utility


        Enter option: q


测试在另一节点启动shareplex是否正常:
oracle@hostname2:/queue/splex/install$ ps -ef|grep sp_
  oracle 23018 16798  0 01:47:02 pts/ta    0:00 grep sp_
oracle@hostname2:/queue/splex/install$ sp_cop -u2200&
[1]     9997
oracle@hostname2:/queue/splex/install$ 
*******************************************************
* SharePlex for Oracle Startup 
* Protected by U.S. Patents: 7,461,103 and 7,065,538
* Version: 7.0.0.31
* VarDir : /queue/vardir
* Port   : 2200
*******************************************************


oracle@hostname2:/queue/splex/install$ sp_ctrl
sp_ctrl (pmlnpdb-q:2200)> shutdown


收集两节点的信息,发给quest用于生成正式license keys:
oracle@hostname2:/queue/splex/install$ ./splex_uname


 Quest Software Inc.   splex_uname  version 7.0.0.31


 Local system info:


  Host Name          = hostname2
  Host ID            = bc8b1f2d-da36-11dd-868c-a7955ca893b3
  Operating System   = HP-UX
  OS Version         = B.11.31
  Machine Model      = ia64ia64 hp superdome server SD16B
  CPU Type           = 768
  CPU Speed          = 400
  Number of CPUs     = 32


oracle@hostname2:/queue/splex/install$ ./splex_uname


 Quest Software Inc.   splex_uname  version 7.0.0.31


 Local system info:


  Host Name          = hostname2
  Host ID            = dd7ac070-dfba-11dd-afbe-65fde4ced40a
  Operating System   = HP-UX
  OS Version         = B.11.31
  Machine Model      = ia64ia64 hp superdome server SD16B
  CPU Type           = 768
  CPU Speed          = 400
  Number of CPUs     = 32

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/14639914/viewspace-2137945/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
请登录后发表评论 登录
全部评论
  • 博文量
    4
  • 访问量
    12042