HVR数据复制软件部署之(一)--HUB端部署

62 篇文章 0 订阅
9 篇文章 0 订阅

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 ~]# 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值