手动注册监听+oracle,10G RAC手动注册监听服务

这篇博客详细记录了在Oracle环境下,使用CRS(Cluster Ready Services)配置和管理监听器应用的过程,包括创建、注册和启动监听器应用的命令。同时,提到了VIP资源的特殊性,其所有者为root,强调了在管理时需注意这一点。
摘要由CSDN通过智能技术生成

[[email protected] oracle]$ crs_profile -create ora.sol1.LISTENER_SOL1.lsnr -t application -a /oracle/app/oracle/product/10.2.0/db_1/bin/racgwrap-d "CRS application for listener on node" -h sol1 -r ora.sol1.vip -p restricted -o as=1,ci=600,st=600,ra=5

[[email protected] oracle]$ cat ora.sol1.LISTENER_SOL1.lsnr.cap

NAME=ora.sol1.LISTENER_SOL1.lsnr

TYPE=application

ACTION_SCRIPT=/oracle/app/oracle/product/10.2.0/db_1/bin/racgwrap

ACTIVE_PLACEMENT=0

AUTO_START=1

CHECK_INTERVAL=600

DESCRIPTION=CRS application for listener on node

FAILOVER_DELAY=0

FAILURE_INTERVAL=0

FAILURE_THRESHOLD=0

HOSTING_MEMBERS=sol1

OPTIONAL_RESOURCES=

PLACEMENT=restricted

REQUIRED_RESOURCES=ora.sol1.vip

RESTART_ATTEMPTS=5

SCRIPT_TIMEOUT=600

START_TIMEOUT=0

STOP_TIMEOUT=0

UPTIME_THRESHOLD=7d

USR_ORA_ALERT_NAME=

USR_ORA_CHECK_TIMEOUT=0

USR_ORA_CONNECT_STR=/ as sysdba

USR_ORA_DEBUG=0

USR_ORA_DISCONNECT=false

USR_ORA_FLAGS=

USR_ORA_IF=

USR_ORA_INST_NOT_SHUTDOWN=

USR_ORA_LANG=

USR_ORA_NETMASK=

USR_ORA_OPEN_MODE=

USR_ORA_OPI=false

USR_ORA_PFILE=

USR_ORA_PRECONNECT=none

USR_ORA_SRV=

USR_ORA_START_TIMEOUT=0

USR_ORA_STOP_MODE=immediate

USR_ORA_STOP_TIMEOUT=0

USR_ORA_VIP=

[[email protected] oracle]$ crs_register ora.sol1.LISTENER_SOL1.lsnr

[[email protected] oracle]$ crs_start ora.sol1.LISTENER_SOL1.lsnr

Attempting to start `ora.sol1.LISTENER_SOL1.lsnr` on member `sol1`

Start of `ora.sol1.LISTENER_SOL1.lsnr` on member `sol1` succeeded

其实如果是VIP资源的时候,我们需要注意了,因为VIP资料的属组是root

[[email protected] oracle]$ crs_stat -ls

NameOwnerPrimary PrivGrpPermission

-----------------------------------------------------------------

ora....L1.lsnr oracleoinstallrwxrwxr--

ora.sol1.gsdoracleoinstallrwxr-xr--

ora.sol1.onsoracleoinstallrwxr-xr--

ora.sol1.viprootoinstallrwxr-xr--

ora.sol10g.dboracleoinstallrwxrwxr--

ora....g2.inst oracleoinstallrwxrwxr--

ora....SM2.asm oracleoinstallrwxrwxr--

ora....L2.lsnr oracleoinstallrwxrwxr--

ora.sol2.gsdoracleoinstallrwxr-xr--

ora.sol2.onsoracleoinstallrwxr-xr--

ora.sol2.viprootoinstallrwxr-xr

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值
>