|
在racnode1服务器上:
[grid@racnode1 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-APR-2010 17:06:19
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 21-APR-2010 12:32:02
Uptime 0 days 4 hr. 34 min. 18 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.9.3.231)(PORT=1521))) //10.9.3.231是racnode1的public IP
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.9.3.233)(PORT=1521))) //10.9.3.233是racnode1的VIP
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "ora11g" has 1 instance(s).
Instance "ora11g1", status READY, has 1 handler(s) for this service...
Service "ora11gXDB" has 1 instance(s).
Instance "ora11g1", status READY, has 1 handler(s) for this service...
The command completed successfully
--------------------------------------------------------------------------------------------------------------------------------------------------
SQL> select host_name from v$instance;
HOST_NAME
----------------------------------------------------------------
racnode1.ctz.com //该域名对应racnode1的public IP
SQL>
-------------------------------------------------------------------------------------------------------------------------------------------------- |
|