Document ID:	    45301.1
Subject:            Setting up the Intelligent Agent under OpenVMS (Client Side)
Last Modified:      15 Apr 97 
Author:             ASHRIVES


Setting up the Agent under OpenVMS (Server Side) 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The minimum configuration files needed to get the Intelligent Agent files
under VMS are:

   On the client side:
           - tnsnames.ora
           - topology.ora 
           - sqlnet.ora
 
 
What goes in the files
~~~~~~~~~~~~~~~~~~~~~~

The examples assume you have a local repository on your console.

topology.ora
~~~~~~~~~~~~
#
# Services for node: ukaa34.uk.oracle.com (VMS!)
#
AGENT_ukaa34.uk.oracle.com = (ORACLE_AGENT, ukaa34.uk.oracle.com)
LISTENER_ukaa34.uk.oracle.com = (ORACLE_LISTENER, ukaa34.uk.oracle.com)
ukaa34_V7323.uk.oracle.com = 
(ORACLE_DATABASE, ukaa34.uk.oracle.com, LISTENER_uk.oracle.com)

Note: The last 2 lines above should actually be on one line.
      This line has been broken to allow it to be shown on a 80 character
      line.  
 
tnsnames.ora
~~~~~~~~~~~~

# 1. A normal SQL*Net connection to the database we are administering.
#
#
V7323.uk.oracle.com=
  (DESCRIPTION=
      (ADDRESS_LIST=
          (ADDRESS=
              (PROTOCOL=TCP)
              (HOST=UKAA34)
              (PORT=1521)
          )
      )
      (CONNECT_DATA=
          (SID=V7323)
      )
  )

# 2. A normal SQL*Net connection to the repository. Note if you have a local
#    repository, you don't need this alias.
OEMREP.uk.oracle.com=
  (DESCRIPTION=
      (ADDRESS_LIST=
          (ADDRESS=
              (PROTOCOL=TCP)
              (HOST=UKAA34)
              (PORT=1521)
          )
      )
      (CONNECT_DATA=
          (SID=OEMREP)
      )
  )

# 3. This is the same connection as 1. above but it is used by the agent to
#    connect to the database being administered.
#    The alias must be in the form of NODE.SID.DOMAIN.

ukaa34_V7323.uk.oracle.com =
  (DESCRIPTION =
    (ADDRESS_LIST =
        (ADDRESS =
          (PROTOCOL = TCP)
          (Host = ukaa34.uk.oracle.com)
          (Port = 1521)
        )
    )
    (CONNECT_DATA =
      (SID = V7323)
    )
  )

# 4. A connection to the Intelligent Agent. (from OEM)
#    The port ID should match that of the spawn address in the snmp.ora
#    The alias must be in the form of AGENT_NODE.DOMAIN.
#    This alias does NOT have a connect data section.
#
#    
AGENT_ukaa34.uk.oracle.com =
   (DESCRIPTION =
        (ADDRESS =
          (PROTOCOL = TCP)
          (Host = ukaa34.uk.oracle.com)
          (Port = 1538)
        )
   )

  
sqlnet.ora
~~~~~~~~~~
   
TRACE_LEVEL_CLIENT = OFF
SQLNET.EXPIRE_TIME = 0
daemon.trace_level = 0
names.default_domain=uk.oracle.com
name.default_zone=uk.oracle.com

Note. It is important to set a domain in these files. If you do not
      specify a domain in topology.ora Oracle Enterprise Manager will
      not schedule jobs.