3Com V7000 Network Router User Manual


 
Managing the Accounting Service and the Authentication and Directory Service 59
Enabling Server
Logging
The files acctxmlconfig.xml (Accounting service) and vcxdataconfig.xml
(Authentication and Directory service) each have a setting to enable
server logging. This is used to control the common logging function,
which is shared with all Tier 2 and Tier 3 devices. This controls the logging
of various status, warning, and error messages in the server. For normal
operation, the default settings might be sufficient, but for trouble
locating purposes, the various error, warning, informational, and tracing
log levels can also be used.
To enable message tracing:
1 Log in to the server hosting the service using the root account.
2 Stop the service (see Stopping a Service
).
3 Enter the following command to change directories:
cd /opt/3com/VCX/<schema>/conf
For <schema>, enter acctxml for the Accounting service or enter vcxdata
for the Authentication and Directory service.
4 Edit the acctxmlconfig.xml file or the vcxdataconfig.xml file, and enable
server logging.
Example:
<BES_COMMONLOGG_CONFIG>
<!-- Set Y or N to enable or Disable -->
<LOG_INFO LOG_FILE_PATH ="../log/" LOG_FILE_NAME="AuthServer"
LOG_TO_CONSOLE="Y" LOG_TO_FILE="Y" LOG_TO_SYSTEM = "Y"
LOG_TRACE_ON ="Y" LOG_INFO_ON ="Y" LOG_WARN_ON = "Y"
LOG_ERROR_ON = "Y" LOG_SYSTEM_ON="Y" LOG_TIME_INTERVAL="4"
LOG_TIMESTAT_ON="Y" NUMBER_OF_MSG="1000"/>
5 Start the service (see Starting a Service).
The logs are written to the directory that the service is run from:
/opt/3com/VCX/<schema>/log
SNMP Support The SNMP Common Agent, enabled by default, allows back-end server
recognition by SNMP MIB browsers such as Enterprise Management Suite
(EMS). If you suspect the SNMP Common Agent is not enabled, see the
following section, Verifying SNMP Support
.