Oracle-audio-technologies Application 9i Manuel d'utilisateur Page 85

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 140
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 84
Setting up the ptg_services.tcl File
Oracle Enterprise Manager 6-11
set HostName($NEW_PARAMETER_NAME) $Host;
set tnsaddress($NEW_PARAMETER_NAME) "(DESCRIPTION=(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = TRACE_DB_HOSTNAME)(PORT = TRACE_DB_
PORT)))(CONNECT_DATA=(SID=TRACE_DB_SID)(ORACLE_HOME=TRACE_DB_ORACLE_
HOME)(SERVER=DEDICATED)))"
In the following example a new parameter (ServiceName2) is added and the values
for the PTG_INSTANCE_NAME, TRACE_DB... are set. For this example the listed
parameters are replaced with the values in the following. The values are similar to
the tnsnames.ora configuration.
Table 61 ptg_services.tcl Parameters
# Example:
# The Service name "PTG2" (Wireless Edition Instance name) is a subnode in the
# Navigator tree
# In the line below, just append the new parameter name
# i.e. ServiceName2. Don’t duplicate this line.
global Parameters ServiceType HostName tnsaddress argv ServiceName2
set Parameters(oracle_sysman_ptg) {ServiceType HostName tnsaddress };
set Host [lindex $argv 0];
# Lines below need to be duplicated every time a new instance is added
set ServiceName2 PTG2;
lappend ServiceNames $ServiceName2;
set ServiceType($ServiceName2) oracle_sysman_ptg;
Parameter Value in Example Description
NEW_PARAMETER_NAME ServiceName2 Parameter name declaration.
PTG_INSTANCE_NAME PTG2 The Wireless Edition instance
name.
TRACE_DB_HOSTNAME ptgserver-sun.us.oracle.com The host name of the
database log database.
TRACE_DB_PORT 1521 The port of the database
listener.
TRACE_DB_SID ptgdev The SID of the log database.
TRACE_DB_ORACLE_
HOME
/private/oracle/8.1.7 The Oracle home directory.
Vue de la page 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 139 140

Commentaires sur ces manuels

Pas de commentaire