> 데이터 베이스 > MySQL 튜토리얼 > OCM_Session7_12_安装listener监听

OCM_Session7_12_安装listener监听

WBOY
풀어 주다: 2016-06-07 15:54:14
원래의
1242명이 탐색했습니다.

十二、安装listener监听 使用oracle用户,在rac1和rac2上都可以起netca 1.打开网络配置界面,选择“Cluster configuration”集群配置方案,点击“Next”,如果你的是单实例就选择“single node configuration” 2.选中两个节点“Select all nodes”,点击“N


十二、安装listener监听

使用oracle用户,在rac1和rac2上都可以起netca
1.打开网络配置界面,选择“Cluster configuration”集群配置方案,点击“Next”,如果你的是单实例就选择“single node configuration”
\
2.选中两个节点“Select all nodes”,点击“Next”
\
3.选择监听配置模式“Listener configuration”,点击“Next”
\
4.选择“Add”添加一个新的监听,点击“Next”,如果已有监听则后三个选项可选
\
5.给listener起一个名字,我们使用系统默认名LISTENER,然后点击“Next”
\
6.选择可使用的协议,这里选择TCP协议,点击“Next”
\
7.使用默认1521端口,点击“Next”
\
8.系统问是否还要配置其他监听,选择“No”,点击“Next”
\
[oracle@rac1 database]$ netca
Oracle Net Services Configuration: Configuring Listener:LISTENER Default local naming configuration complete. rac1... rac2... Listener configuration complete.
9.监听配置完毕,可以点击“Next”退出
\
10.在终端窗口可以看到监听的配置情况,直接点击“Finish”
\
11.运行命令crs_stat -t ,可以看到刚刚配置好的两个监听进程已经启动
[oracle@rac1 ~]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora....C1.lsnr application ONLINE ONLINE rac1 ora.rac1.gsd application ONLINE ONLINE rac1 ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vip application ONLINE ONLINE rac1 ora....C2.lsnr application ONLINE ONLINE rac2 ora.rac2.gsd application ONLINE ONLINE rac2 ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vip application ONLINE ONLINE rac2 [oracle@rac1 ~]$

[oracle@rac2 ~]$ crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora....C1.lsnr application ONLINE ONLINE rac1 ora.rac1.gsd application ONLINE ONLINE rac1 ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vip application ONLINE ONLINE rac1 ora....C2.lsnr application ONLINE ONLINE rac2 ora.rac2.gsd application ONLINE ONLINE rac2 ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vip application ONLINE ONLINE rac2
[oracle@rac1 ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 22-MAR-2014 19:55:46
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER_RAC1 Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production Start Date 22-MAR-2014 19:44:24 Uptime 0 days 0 hr. 11 min. 21 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener_rac1.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.152)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.151)(PORT=1521))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully ---------------------------------------------------------------------------------------------------------------------------------------------------
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿