zoukankan      html  css  js  c++  java
  • HVR数据复制软件部署之(一)--HUB端部署

    HVR数据复制软件部署之(一)--HUB端部署
    本文环境:

    OS: RHEL5.9 x86-64bit
    DB: Oracle 12.1.0.2 x86-64bit
    HVR:highgohvr-4.7.3_7-linux_glibc2.5-x64-64bit.tar.gz
    sqlplus / as sysdba
    create user c##hvrhub identified by mypass
    default tablespace users
    temporary tablespace temp
    quota unlimited on users;
    
    grant create session to c##hvrhub;
    grant create table to c##hvrhub;
    grant create trigger to c##hvrhub;
    grant create procedure to c##hvrhub;
    grant execute on dbms_alert to c##hvrhub;
    
    mkdir -p /u04/hvr
    chown -R  oracle:oinstall /u04/hvr
    
    mkdir -p /u04/hvr/hvr_home
    mkdir -p /u04/hvr/hvr_config
    mkdir -p /u04/hvr/hvr_tmp
    
    
    su - oracle
    cat .bash_profile
    export HVR_HOME=/u04/hvr/hvr_home
    export HVR_CONFIG=/u04/hvr/hvr_config
    export HVR_TMP=/u04/hvr/hvr_tmp
    
    export PATH=$HVR_HOME/bin:$PATH

    上传介质到/u04/hvr/hvr_home,并解压
    上传lic到/u04/hvr/hvr_home/lib---只对hub。

    vi /etc/services
    加入例如以下一行:
    hvr  4343/tcp
    
    vi /etc/inetd.conf
    
    加入例如以下一行:
    hvr stream tcp nowait root /u04/hvr/hvr_home/bin/hvr hvr -r -EHVR_HOME=/u04/hvr/hvr_home -EHVR_CONFIG=/u04/hvr/hvr_config -EHVR_TMP=/u04/hvr/hvr_tmp
    
    vi  /etc/xinet.d/hvr
    service hvr
    {
    socket_type = stream
    wait = no
    user = root
    server = /u04/hvr/hvr_home/bin/hvr
    server_args = -r
    env += HVR_HOME=/u04/hvr/hvr_home
    env += HVR_CONFIG=/u04/hvr/hvr_config
    env += HVR_TMP=/u04/hvr/hvr_tmp
    disable = no
    cps = 10000 30
    per_source = 100
    instances = 500
    }
    
    #/etc/init.d/xinetd force reload
    
    [root@rhel59 ~]# /etc/init.d/xinetd force reload
    Usage: /etc/init.d/xinetd {start|stop|status|restart|condrestart|reload}
    [root@rhel59 ~]# /etc/init.d/xinetd  reload
    Reloading configuration:                                   [  OK  ]
    [root@rhel59 ~]# 
    [root@rhel59 ~]# lsof -i :4343
    COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
    xinetd  3285 root    5u  IPv4  18389      0t0  TCP *:unicall (LISTEN)
    [root@rhel59 ~]# 
    
    
  • 相关阅读:
    input file 多张图片上传 获取地址 ——fileReader
    15个常用的javaScript正则表达式
    sublime-emmet
    AMD-requireJS
    jQuery-lazyload参数
    easyui 查询条件form 数据遍历
    导出excel设置金额格式
    html5页面添加时间戳
    创建枚举
    定义实体转json需要方法
  • 原文地址:https://www.cnblogs.com/tlnshuju/p/7072540.html
Copyright © 2011-2022 走看看