Netlsnr Resource Type
type Netlsnr (
static keylist SupportedActions = { VRTS_GetInstanceName,
VRTS_GetRunningServices }
static str ArgList[] = { Owner, Home, TnsAdmin, Listener, EnvFile,
MonScript, LsnrPwd, AgentDebug, Encoding }
str Owner
str Home
str TnsAdmin
str Listener
str EnvFile
str MonScript = "./bin/Netlsnr/LsnrTest.pl"
str LsnrPwd
boolean AgentDebug = 0
str Encoding
)
Attribute Definitions
Required Attributes
|
Type and Dimension
|
Definition
|
Owner
|
string-scalar
|
Oracle user, as the defined owner of executables and database files in /etc/passwd.
|
Home
|
string-scalar
|
The $ORACLE_HOME path to Oracle binaries and configuration files. For example, you could specify the path as /opt/ora_home.
Do not append a slash (/) at the end of the path.
|
TnsAdmin
|
string-scalar
|
The $TNS_ADMIN path to directory in which the Listener configuration file resides (listener.ora). The default is /var/opt/oracle.
|
Listener
|
string-scalar
|
Name of Listener. The default is LISTENER. The name for Listener is considered case-insensitive by the Netlsnr agent and the Oracle database server.
|
LsnrPwd
|
string-scalar
|
The VCS encrypted password used to stop and monitor the listener. This password is set in the Listener configuration file.
Encrypt passwords only when entering them using the command-line. Passwords must be encrypted using the VCS Encrypt utility, described on Encrypting Passwords.
|
Optional Attributes
|
Type and Dimension
|
Definition
|
EnvFile
|
string-scalar
|
Specifies the full path name of the file that is sourced by the entry point scripts. This file contains the environment variables set by the user for the Oracle listener environment such as LD_LIBRARY_PATH and so on.
The syntax for the contents of the file depends on the login shell of Owner. This file must readable by Owner. The file must not contain any prompts for user input.
|
MonScript
|
string-scalar
|
Pathname to the script provided for detail monitoring. The default (basic monitoring) is to monitor the listener process only.
The pathname to the supplied detail monitoring script is $VCS_HOME/bin/Netlsnr/LsnrTest.pl.
MonScript also accepts a pathname relative to $VCS_HOME. A relative pathname should start with "./", as in the path ./bin/Netlsnr/LsnrTest.pl.
|
Encoding
|
string-scalar
|
Specifies operating system encoding that corresponds to Oracle encoding for the displayed Oracle output. The default is "".
|
AgentDebug
|
boolean
|
Additional debug messages are logged when this flag is set.
Default = 0
|
Note
Detail Monitoring is disabled if the value of the attribute MonScript is invalid or is set to an empty string.
|