Tom,
System:
(8.1.7.3.0 running on Windows 2000 advanced server running Oracle Enterprise Edition)
Here we use static IP's but we keep changing machine name..
So, that's why the admin suggested to use IP.
Anyway...the machine name is about to change...and I was searching for the machine name in Oracle directory to see where I need to make a change...
Besides the two that you mention..there are couple more:
services.ora and snmp_ro.ora
services has entries like:
555g121b = (ORACLE_NODE, 555g121b, 555g121b, (PLATFORM=(osName=Windows NT)(osVersion=5.0)))
listener_555g121b = (ORACLE_LISTENER, 555g121b, (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.2.223)(PORT = 1521))))
corp = (ORACLE_DATABASE, 555g121b, (DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.2.223)(PORT = 1521)))(CONNECT_DATA=(SID=prod)(SERVER=DEDICATED))), listener_555g121b)
555g121b:80 = (oracle_sysman_webserver, 555g121b, </code>
http://555g121b:80/server-status, <code>Apache/1.3.12.0.1a, E:\oracle\Apache\Apache\conf\httpd.conf, E:\oracle\Apache\Apache)
As you can see..it is a mix of both machine name as well as
IP.
snmp_ro.ora has entries like:
snmp.visibleservices = (listener, prod)
snmp.shortname.listener = LISTENER
snmp.longname.listener = listener_555g121b
snmp.configfile.listener = E:\oracle\network\admin\listener.ora
snmp.oraclehome.listener = E:\oracle
snmp.servicename.listener_555g121b = OracleOraHome81TNSListener
snmp.SID.prod = prod
snmp.oraclehome.prod = e:\oracle
snmp.address.prod = (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=ORACLE)(ARGV0=ORACLEprod)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))
snmp.remoteaddress.prod = (DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.2.223)(PORT = 1521)))(CONNECT_DATA=(SID=prod)(SERVER=DEDICATED)))
ifile = E:\oracle\network\admin\snmp_rw.ora
ifile = E:\oracle\network\admin\sqlnet.ora
Question:
1.services.ora and snmp_ro.ora....do i need to change the machine name to the new machine name in all the entries..
Aren't these two files recreated when the instance starts..
Well..Services.ora..when services starts...and snmp_ro.ora
when listner starts.
2.O.K...O.K.... I will read up on Oracle Names/LDAP.
TIA