NX Troubleshooting Guide
NX Troubleshooting Guide
40
Table of Contents
CONFIGURATION ..................................................................................................................................... 5 PORTS.......................................................................................................................................................... 5 NetXplorer Client and Server ................................................................................................................. 5 NetXplorer Server to NetEnforcer .......................................................................................................... 5 Additional ............................................................................................................................................... 5 ACCESSING SYBASE .................................................................................................................................... 5 Problems Uninstalling Sybase................................................................................................................ 6 COMMANDS................................................................................................................................................ 6 NETENFORCER ............................................................................................................................................ 6 OTHER NETENFORCER TOOLS..................................................................................................................... 7 ACSTAT ....................................................................................................................................................... 7 NICSTAT ...................................................................................................................................................... 8 ACTHRUPUT ................................................................................................................................................. 8 ACMODE ...................................................................................................................................................... 9 ACMON ........................................................................................................................................................ 9 HWADMIN ................................................................................................................................................. 10 LINKADMIN .............................................................................................................................................. 10 GO CONFIG NIC .......................................................................................................................................... 11 LOG FILES................................................................................................................................................. 12 NETXPLORER SERVER ............................................................................................................................... 12 C:\Allot\bin........................................................................................................................................... 12 C:\Allot\log........................................................................................................................................... 12 C:\Allot\conf ......................................................................................................................................... 13 C:\Allot\netxplorer\jboss-3.2.6\server\allot\log ................................................................................... 13 C:\Allot\netxplorer\jboss-3.2.6\server\allot\deploy.............................................................................. 14 C:\Allot\netxplorer\jboss-3.2.6\server\allot\conf.................................................................................. 14 NETXPLORER CLIENT ............................................................................................................................... 14 C:\Documents and Settings\<user name>............................................................................................ 14 NETENFORCER .......................................................................................................................................... 14 $SWGL.................................................................................................................................................. 14 /tmp/...................................................................................................................................................... 15 /var/log/apache..................................................................................................................................... 15 $SWGC ................................................................................................................................................. 16 DATABASE ................................................................................................................................................ 16 NETENFORCER .......................................................................................................................................... 16 $SWGD................................................................................................................................................. 16 $SWGD/data......................................................................................................................................... 17 NETXPLORER ............................................................................................................................................ 17 C:\Allot\data\db.................................................................................................................................... 17 Performing a Backup............................................................................................................................ 17 PROCESSES............................................................................................................................................... 18 NETENFORCER .......................................................................................................................................... 18 NETXPLORER ............................................................................................................................................ 18 DATA COLLECTION............................................................................................................................... 18 NETENFORCER .......................................................................................................................................... 18 $SWGE/httpd/htdocs/bucket ................................................................................................................. 18
www.allot.com
$SWGE/httpd/htdocs/bucket/30 (same content for 300) ....................................................................... 18 Understanding the Manifest ................................................................................................................. 19 NETXPLORER ............................................................................................................................................ 19 C:\Allot\data\bucket\stc\<device ID> .................................................................................................. 19 C:\Allot\data\bucket\ltc_export\ ........................................................................................................... 20 C:\Allot\data\bucket\ltc_export\<device ID>....................................................................................... 20 Allot/data/bucket/ltc/device_ID ............................................................................................................ 20 TOOLS ........................................................................................................................................................ 21 Upgrading NX Server Version.............................................................................................................. 21 Enabling Compression ......................................................................................................................... 21 CHANGE ADMIN PASSWORD ..................................................................................................................... 22 MANAGING REPORTING DATABASES ........................................................................................................ 22 Recreating Default (ST and LT) Databases.......................................................................................... 22 Improving Database Performance ....................................................................................................... 22 CHANGING REPORTING DATABASE PROFILES ........................................................................................... 23 Changing LT Reduction Profile............................................................................................................ 23 Changing ST Profile Options ............................................................................................................... 23 CHANGING REPORTING DATABASE PARAMETERS ..................................................................................... 24 Disabling External Hosts Reporting..................................................................................................... 24 INCREASING THE NUMBER OF BUCKETS SENT PER TIME SLICE ................................................................... 24 Changing number of buckets in the NetEnforcer..................................... Error! Bookmark not defined. Changing number of buckets in the NetXplorer ................................................................................... 25 ENABLING TAP MODE .............................................................................................................................. 25 PORT MIRROR ........................................................................................................................................... 26 STEP 1 ...................................................................................................................................................... 26 STEP 2 ...................................................................................................................................................... 26 ISSUES ........................................................................................................................................................ 27 NTP/TIME ISSUES ...................................................................................................................................... 27 Synchronization issues between Client and Server............................................................................... 27 Synchronization issues between Server and NetEnforcer..................................................................... 27 Problem: GUI does not start ................................................................................................................ 29 CREATING A SNAPSHOT............................................................................................................................. 29 NetXplorer ............................................................................................................................................ 29 NetEnforcer .......................................................................................................................................... 29 TAKING A SNAPSHOT ................................................................................................................................ 29 The Manual Snapshot ........................................................................................................................... 29 The Automatic Snapshot ....................................................................................................................... 30 Sending the Snapshot............................................................................................................................ 30 HTTP SNAPSHOT ...................................................................................................................................... 30 ADD DEVICE ............................................................................................................................................. 32 CHANGE IP................................................................................................................................................ 34 Defined Behavior.................................................................................................................................. 34 Current Behavior.................................................................................................................................. 35 In-Band/Out of Band Definitions.......................................................................................................... 35 PROVISIONING CHANGES .......................................................................................................................... 36 Add Host ............................................................................................................................................... 36 CONFIGURATION CHANGES ....................................................................................................................... 36 Process ................................................................................................................................................. 36 Troubleshooting.................................................................................................................................... 36 DATABASES NOT SYNCHRONIZED ............................................................................................................. 37 Symptoms.............................................................................................................................................. 37 Explanation .......................................................................................................................................... 37 Troubleshooting.................................................................................................................................... 37 To Generate a Full Export.................................................................................................................... 37
www.allot.com
RMA/BOX REPLACEMENT ........................................................................................................................ 38 COLLECTION PROBLEMS ........................................................................................................................... 38 STC Problems Related to Software....................................................................................................... 38 Data Collection Stops Due to NTP Issues ............................................................................................ 39 DEMO INSTALLATION ISSUES .................................................................................................................... 39 Installing NetEnforcer version 7.1.0 on a NetEnforcer AC-202/302.................................................... 39 Skipping installation hardware requirements....................................................................................... 39 APPENDIX ................................................................................................................................................. 40 APPENDIX I ............................................................................................................................................... 40 Host output from $SWGL/nedbg.DataSrv.log ...................................................................................... 40 APPENDIX II .............................................................................................................................................. 42 Host output from $SWGL/nedbg.AllSnmpAgent.log............................................................................. 42
www.allot.com
Configuration
Ports
NetXplorer Client and Server
Port Number TCP:80 Description HTTP for initial access to Server. Once applet is downloaded, this is not required RMI (Java J2EE protocol) RMI (Java J2EE protocol) JNP (Java J2EE protocol)
Additional
Port Number TCP:50000 TCP:50001 TCP:50002 Description For troubleshooting access to configuration database on NetXplorer Server For troubleshooting access to short term database on NetXplorer Server For troubleshooting access to long term database on NetXplorer Server
Accessing Sybase
Database access on the Server may be required in order to troubleshoot certain issues, regarding configuration, data accuracy, data collection (and many more). To access the database, Sybase Central must be installed on the local PC. This can be downloaded from ftp://support:[email protected]/Sybase.
To access the database open Sybase Central and perform the following: 1. Right click on ASA9 2. Select new connection
www.allot.com
3. Enter user details under the Identification tab a. ID nms b. Password allot 4. Enter database (location and database) under the Database tab a. Localhost:db_port - if database resides on local server b. IP:db_port if database resides on different server (need to ensure access to specific server, i.e. firewall issues etc.) It is possible to open all databases simultaneously.
Commands
NetEnforcer
acstat acthruput clientTest clientTest is an application used to get statistical data on the box (client) sent to the server. Usage: clientTest -s <statistic type 5-lines;6-pipes;0-vcs;1-conv;7-ne;> -t <time interval> (30/300 seconds) -v <specific vcs id separated with space (Max 10)> -p <specific pipes id separated with space (Max 10)> -l <specific lines id separated with space (Max 10)> Example (for VC statistics every 30 seconds): clienttest s 0 t 30 Output (for VC statistics): [Output can be found in the nedbg.clienttest.log file]
03-14 15:27:02(201) <DL_USER1>: StatisticClient::handleNewSample, dataLen:126, sampleObject:Collection id:270195024 StartTime:1142342814 EndTime:1142342822 Number of slices:24 Number of rows:1 Schema: SM_LINE_ID(1),SM_PIPE_ID(2),SM_PIPE_INST(3),SM_VC_ID(4),SM_VC_INST(5),SM_DIVIDED_BYTES _IN(19),SM_DIVIDED_BYTES_OUT(20),SM_PACKETS_IN(15),SM_PACKETS_OUT(16),SM_LIVE_CONNECTI ONS(13),SM_NEW_CONNECTIONS(12),SM_DROPPED_CONN(14),
swgadmin l Output:
lcd 175 DataSrv 176 SessionDispatcher 9286 coll 180 StatisticMgr 181 AllSnmpAgent 182
go config view (see CLI document for full list of CLI commands)
www.allot.com
<LIST_TYPE> : List session/vc/pipe/hierarchy [session] : display TCP connections : display UDP connections : display any IP connections (other than TCP and UDP) : display non IP connections : display ICMP connections : display ARP connections : display all connections : display connection allocation summary (single option, default) : display extended view : display extended view - advanced : display internal/external (instead of client/server) <NUMBER> : display up to NUMBER of sessions (max 500k) : don't resolve names : dump binary data to file <FILE> : read binary data from FILE (single option) <PIPE>,<VC> : display hierarchy all connections of pipe and vc (zero means all) <SRC IP ADDR>,<DST IP ADDR> : display connections of specific src ip address address (zero means all)
acstat with no flags shows connection allocation summary Sessions are represented in the following format: Protocol Client Server State VC Client IF Protocol Client Server State
TTL
VLAN Tag
Tos
St
VC (Virtual Channel) Client IF TTL (Time to live) VLAN Tag ToS St (Session Status)
Name of the protocol. If the name is unknown, the hexadecimal number of the protocol is shown. Raw TCP is shown as TCP-r. IP of the host which initiated the session (for TCP and UDP sessions also the port). IP of the host to which the client send its request (for TCP and UDP sessions - also the port). Prisma Session State. Can be one of the following: OPENED, CONNECTED, WIRED, TO BE CLOSED, CLOSED, REJECTED, DROP or NONALLOCATED (the last one should never appear; if it does, there is probably a bug). If the client-server and the server-client sides of a session are in different states, both states are shown, e.g. WI-2b for WIRED - TO BE CLOSED. VC to which the session belongs. If the client-server and the serverclient sides of a session belong to different VCs, both VCs are shown. NetEnforcer interface that the client is connected to. Time left (in seconds) until the session expires if no traffic arrives. Indicates if the connection is VLAN tagged and to which VLAN. ToS marked value. If the number displayed is 0, then there are no ToS markings on the packets. Possible options are Raw, Half, Dbl, Chng, Loop or NA. Raw indicates if the session is raw i.e. the connection was classified after it had been established. Dbl indicates a double session.
www.allot.com
nicstat
Displays the mode and speed of network interfaces. It is not the speed and duplex defined in the GUI configuration, but the actual values. The command is used for troubleshooting access links related problems and for verification that the links are compatible with the adjacent router or switch. Certain networking related problems are coming from NICs definitions that are mis-configured. Checking the nicstat and comparing it to the router/switch definition is a useful tool in troubleshooting problems like packet loss, synchronization and network slowness issues.
Command nicstat Output
+-----------+------+-------+--------+ | Interface | Link | Speed | Duplex | +-----------+------+-------+--------+ | eth0 | up | 10 | half | | eth1 | down | n/a | n/a | | eth2 | up | 10 | half | +-----------+------+-------+--------+
acthruput
Prints the amount of bits that have passed through each Interface, active pipe and active VC during one time slice (one second). The output of the command shows the bandwidth consumption of each of the active pipes/vcs and for the entire interface. It can be used also to determine if theres a need to alter the bandwidth definition of the pipe/vc and to troubleshoot bandwidth and traffic related problems. Usage: acthruput [ -b ] [ -B ] [ -c ] [ -v ] [ -d DIR ] -b : display throughput in bits (default) -B : display throughput in bytes -c : display throughput per connection -t : display total link throughput including IgnoreQoS -d DIR : analyze data in DIR instead of / e.g. acthruput -d $W/stat/last - to analyze the last snapshot
Command acthruput
Output --------------------------------------------------------Entity Name Bits/sec --------------------------------------------------------INTERFACE Internal 0 --------------------------------------------------------INTERFACE External 2896 PIPE 1 1024 VC 8 512 VC 1 512
Note: The actrhuput command should only be used for AC-x0x devices. For AC-1000 devices, please use the acmon command (see next page).
www.allot.com
acmode
Switches between various NetEnforcer software modes. Shows, saves and restores modes and makes the NetEnforcer enter/exit software or hardware bypass. Examples: enable/disable QoS, TCP, UDP, etc.
acmode [ [ [ [ +/-endvcs ] [ +/-srcmac ] [ +/-ignoremom ] +/-verbose ] [ +/-mtu ] [ +/-noweight ] [ +/-novc ] [ +/-wnyfast ] save ] [ restore ] [ default ] [ show ] hwbp ]
+endvcs - enable ended vcs -endvcs - disable ended vcs +srcmac - enable source mac handling -srcmac - disable source mac handling +ignoremom - enable ignore monitoring only mode on dkm -ignoremom - disable ignore monitoring only mode on dkm +verbose - enable dkm verbose -verbose - disable dkm verbose +mtu - enable Check and Fragment IP packet according to MTU size -mtu - disable Check and Fragment IP packet according to MTU size +noweight - enable counting traffic with Ignore QoS Policy for monitoring/accounting purposes -noweight - disable counting traffic with Ignore QoS Policy for monitoring/accounting purposes +novc - enable counting traffic that passes through NE prior to policy assignment -novc - disable counting traffic that passes through NE prior to policy assignment +wnyfast - enable winny fast identify method -wnyfast - disable winny fast identify method (default) save restore default show hwbp save current settings restore saved settings restore default settings show current settings go into hardware bypass
Note: you can run acmode with a number of arguments, e.g. acmode +qos -tcp. The arguments are processed one by one in the order of appearance, with two exceptions: - hwbp (go into hardware bypass) is processed last.
acmon
Used to get statistics (ONLY for AC-1000 units).
Usage: acmon { -p <pipe id> / -v <vc id> / -s <service id> / -d [ -t <seconds> ] -p -v -s -d -l -r -t <PIPE> <VC> <SERVICE> : : : : : / -r / -l <count>}
<SECONDS>
monitor specific pipe rate monitor specific vc rate monitor specific service rate monitor dmu packet distribution run acmon limited count number : monitor octet rx : time to wait between samples in seconds [1 seconds]
Example:
[i ] 10:10:02 >> 0 conn ps [0] rate inbound: 0.000 bps outbound: 0.000 bps [1] rate inbound: 202.772 Kbps outbound: 0.000 bps
www.allot.com
HwAdmin
Controls the bypass mechanism. This command can be used to send the box to hardware bypass. Usage: HwAdmin -s -H
: displays system status : displays hardware (AC, MACH, FULL, OEM) version information.
Output Status register = 0x3 Local machine is STAND_ALONE and in ACTIVE mode Local bypass is CONNECTED Remote machine not detected Hardware version - 402 Firmware version - 2 OEM version 0
Command HwAdmin s
HwAdmin -H
LinkAdmin
Changing the NIC configuration on the AC-X02 and AC-1000 series: LinkAdmin will give you various options: LinkAdmin -[dsuc] <interface name> -c <interface number> [autoneg on|off] [speed 10|100|1000] [duplex half|full] -d - link down -u - link up -s - show link status -f - show supported link speed and duplex optional interface name eth1 eth0 nic1 nic0 etc. If we want to set the internal interface to full 100, you can use either of the commands: LinkAdmin 0 autoneg off speed 100 duplex full LinkAdmin -c 0 autoneg off speed 100 duplex full LinkAdmin -c eth0 autoneg off speed 100 duplex full The command needs to be followed by a reboot. Please note that these commands are for the AC-X02 and AC-1000 only.
www.allot.com
10
go config nic
The NIC settings on the NetEnforcer AC-404, AC-804, and AC-808 can be configured using the go config nic CLI command.
AC:~# go config nic Command: go config nic Usage: go config nic {<Label:Mode:Speed[:FailureAction]>,...} Acceptable Labels are: INTERNAL1, EXTERNAL1, MGMNT, INTERNAL2, and EXTERNAL2 Acceptable values of Mode are: half, full, and auto Acceptable values of Speed are: 10, 100, 1000, and auto (according to box type) Acceptable values of Failure Action are: none, fail_pair, fail_all, and bypass
Example: go config nic INTERNAL1:full:100:fail_pair Important Note: The AC-404 does not support 1000Mbps speed, although it is possible to run the go config nic command with 1000Mbps as a speed value. Labels: For the AC-808, the acceptable labels are: INTERNAL1, EXTERNAL1, INTERNAL2, EXTERNAL2, MGMNT, INTERNAL3, EXTERNAL3, INTERNAL4, and EXTERNAL4
Acceptable value of Speed: 1000 - the interfaces are capable of working with 1 Gbps physically (be connected to 1Gbps interfaces). All of the AC-808 interfaces support 1000 Gbps physical speed.
Values: Acceptable values of Failure Action: fail_pair: if one interface within a pair (INTERNAL x - EXTERNAL x) is down, the system will disable its peer. fail_all: if one interface is down, the system will disable all other interfaces. bypass: : if one interface is down, the system will move to bypass. Management port As of version 7.1.0 build 24, only the management port can be configured via the admin menu. The AC-80x (the new AC-802 platform, AC-804, and AC-808) management port supports 10/100/1000 (physical speed).
Speed:
www.allot.com
11
Log Files
NetXplorer Server
All logs are stored under Allot\. This is usually located under C:\.
C:\Allot\bin
All batch and executable files are located here, including all processes (e.g. poller, keeper). File Name Create_snapshot_logs.bat Start_<db name>.bat Stop_<db_name>.bat reduction_profile_upd.bat check_<db name>_db.bat check_db.bat conf_assist.exe Explanation Snapshot generator Batch file initializing specified database Batch file stopping specified database Batch file that copies selected reduction cfg file from \allot\conf\Reduction to \allot\conf Checks if specific database (CFG, STC, LTC) alive mechanism used check_db.bat file Check database alive mechanism Prepare database password for \allot\conf stc_collect.cfg and \allot\conf ltc_collect.cfg files (Not in use for users) Used for Sybase install ,database create and recreate
db_install.exe
C:\Allot\log
File Name poller.log converter.log loader.log ltc_poller.log ltc_loader.log keeper.log allot_<db name>.txt allot_<db name>_stop.txt Explanation Poller log Converter log Loader log Long Term Poller (lt_poller) log Long Term Loader (lt_loader) log Keeper Server log file Database work process log file Database stop process log file
www.allot.com
12
C:\Allot\conf
File Name nedbg.conf reduction.cfg stc_collect.cfg ltc_collect.cfg hosts.cfg Reduction MIB XML db swkeeper.ini static.ini directory directory directory directory file file Explanation Configuration file for keeperServer.exe and LTreducer.exe Configuration file for reduction process used by LTreducer.exe Configuration file for stc collector processes (poller, converter, loader, manifest_manager) Configuration file for ltc collector processes (ltc_poller, ltc_loader) Hosts list used by LTreducer.exe Optional reduction configurations MIB files for MIB modules supported by the agent XML schemas for interfacing with the agent Data files for static loading of certain tables Process and database initialization file including log level configuration (similar to swgrun.ini on the NetEnforcer) Database parameters and ports
C:\Allot\netxplorer\jboss-3.2.6\server\allot\log
File Name NMS.log Explanation Application Server log. Example messages: [EAR Deployment] Init J2EE application:. Implication: application loading Subsequent messages: loading of each module [NamingService] Started jndi bootstat1099 Implication: connecting to server Note: this port must be open otherwise system will not load [RARMetaData] Loading Jboss Resource Adapter Implication: loading connection to database (will appear after above message) Subsequent messages: loading of each module, look out for [Deploy] messages. Stacked traces indicate problems Older versions of nms.log (can be up to 40 before original one is overwritten) Jboss log Jboss log Jboss log including some application server exceptions
www.allot.com
13
C:\Allot\netxplorer\jboss-3.2.6\server\allot\deploy
File Name NMS.ear sybase-ds.xml Explanation This is the NetXplorer software application. A software upgrade can theoretically be performed by replacing this file. Contains configuration (allot_cfg) database and password
C:\Allot\netxplorer\jboss-3.2.6\server\allot\conf
File Name log4j.xml Explanation Contains configuration parameters for NMS.log including debug level and number of instances of log file. o maxfilesize - log size o maxbackupindex - max number of logs
NetXplorer Client
C:\Documents and Settings\<user name>
File Name NMS.log Explanation Application client log. The contents of this file are not the same as NMS.log located on the Server.
NetEnforcer
$SWGL
File Name ac_reboot.log badCCBs bt coll_dump counters.swg dbchanges.swg dkmdump errorlog.swg hwu.HwAdmin.log hwu.lcd.log kpc.SessionDispatch.log log.SWG Explanation Log of ac_reboot command Not in use. Directory that contains all backtrace files. Various counters from collector process that can be printed upon user request. nedbg.keeper.log takes information from this file. Policy changes accepted by DKM. Various counters from DKM process that can be printed upon user request. DKM log HwAdmin utility log LCD log Log created by every process that uses the KPC library (IPC between user and kernel) Obsolete - not used.
www.allot.com
14
Log of acstat process Log of SNMP agent/process (communication between Server and NetEnforcer) Old SNMP log Log of Collector process Log of DataSrv process. Issues with applying database changes and changes applied logged. In debug mode, this shows complete database update including XML command received from server, changed performed, counter ID updated and ok sent to Server. Obsolete not used. CLI log Log of Keeper (hardware keeper)process Log of lcd process Log of StatisticMgr (Statistics Manager) process. Problems with buckets will be logged. Log of swKeeper (software keeper) process Old log of nedbg.swKeeper.log Log of last installation process DoS attack reported by DKM Log of ntp process. Can identify problems with NTP synchronization. Various counters from Stat Mgr process that can be printed upon user request.
nedbg.DataSrv.log nedbg.default.log nedbg.go.log nedbg.keeper.log nedbg.lcd.log nedbg.StatisticMgr.log nedbg.swKeeper.log nedbg.swKeeper.log.old ne-instl.<date>.log notice.SWG ntp.log StatisticMgr_dump
/tmp/
File Name nedbg.ProvisionCli.log Explanation check whether content was received from the Apache Server View full XML content
/var/log/apache
File Name access_log Explanation check whether Apache received change Look for POST to ProvisionCli.exe
www.allot.com
15
$SWGC
File Name reduction.conf SNMP actype addnsParameters dataCli.conf dkm.conf hosts.conf keeper.ini lcd_version memwatch.conf nedbg.conf provisioncli.conf reduction.conf Reduction.* statisticmgr_boot_counter swKeeper.ini Type File Directory File File File File File File File File File File Link to file File File File NetEnforcer version and type DNS refreshment parameters Internal config file dkm and prisma configuration parameters List of hosts referred to during the reduction of statistic data. HWKeeper ini file managing initialization parameters of all modules controlled by the HW Keeper Displays lcd version Memory consumption levels indicated memory issues Debug level of all nedbg log files Internal config file. Link to selected reduction configuration file All optional reduction configuration files Counter of restarts of statistic manager process. SWKeeper ini file managing initialization parameters of all processes controlled by Keeper Explanation Short Term reduction configuration parameters
Database
NetEnforcer
$SWGD
Name backup data schema lastSnmpUpdate Type directory directory directory file Explanation Location of most recent successful policy update (schema and data directories and their content) Location of policy and configuration database Location of policy and configuration database schema Maintains timestamp of last policy update received by SNMP. Used to report on synchronization status of device against the server.
www.allot.com
16
$SWGD/data
Name allotConfig.xml Explanation Database of NetEnforcer configuration parameters. Including: device capabilities (modes), registration parameters, device limits (e.g. Lines, VCs, Pipes, bandwidth), data collection and reduction parameters. Network parameters are not included in this file. Policy and Catalog database. This is one file including all of the Catalog definitions and the Policy configuration. Maintains timestamp of the last full policy export to the device. Used to report on synchronization status of device against the server. Maintains timestamp of last policy update distributed by data server to internal clients. Used to report on synchronization status of device against the server.
NetXplorer
C:\Allot\data\db
Name cfg ltc stc Type directory directory directory Explanation Location of configuration database, allot_cfg.db Location of long term data database, allot_ltc.db Location of short term data database, allot_stc.db
Performing a Backup
Please note that there are two kinds of database backups for the NX server. Cold backup done when services can be stopped. Hot backup done when services are running. Cold backup 1. Stop NetXplorer Service by going to Windows Services and stopping NetXplorer Server. 2. The following lines should appear in the allot_ltc.txt and allot_stc.txt files: Disable all events End of current events 3. Backup the database by copying the following folder: c:\Allot\data\db to a different location, preferably a different disk. 4. Start the NetXplorer Service. Hot backup In order to perform a hot backup, please see KB item 6269: "NetXplorer Backup and Restore Database". Please note that this should only be given to customers in exceptional cases.
www.allot.com
17
Processes
NetEnforcer
There are several processes that should always be running on the NetEnforcer. These processes can be identified using several different commands, as follows: swgadmin -l lcd DataSrv SessionDispatcher coll StatisticMgr AllSnmpAgent ps awx|grep ntp or ntpq p (or use ps-ax) ntp client HTTP
NetXplorer
There are several processes that should be running on the NetXplorer Server. These processes can be identified using several different tools: Windows Services (Start>Control Panel>Administrative Tools>Services) o NetXplorer Server Windows Task Manager (CTRL+ALT+DEL and select Task Manager) o Poller.exe o Converter.exe o Loader.exe o ltc_poller.exe o ltc_Loader.exe o ltreducer (runs periodically therefore may not be seen) o manifest_manager.exe (runs periodically therefore may not be seen) o KeeperService.exe o Dbsrv9.exe (3 instances) o ntpd.exe
Data Collection
NetEnforcer
$SWGE/httpd/htdocs/bucket
Name 30 300 Type directory directory Explanation Location of 30 seconds buckets data Location of 300 (5 minutes) second buckets data
www.allot.com
18
Location of rules buckets (binary format) Not in use Not in use Not in use Link to current manifest The manifest file containing a list of buckets that need to be collected by the Poller on the NetXplorer
Boot number, bucket index, bucket type (0=vc_stat, 1=conv_stat), statistic type, start time, end time, bucket duration, actual bucket duration, compression (0=no, 1-yes). Bucket duration is not always exactly 30/300 seconds. There may be a fluctuation of 1 or 2 seconds either way (for example, 299 or 301 seconds).
NetXplorer
C:\Allot\data\bucket\stc\<device ID>
Name conv_stat vc_stat line_burst pipe_burst vc_burst Type directory directory directory directory directory Explanation Contains conversations buckets in binary and then ascii format before import to short term database Contains rules buckets in binary and then ascii format before import to short term database Not in use Not in use Not in use
www.allot.com
19
C:\Allot\data\bucket\ltc_export\
Name <Device ID> manifest Type directory file Explanation Multiple folders representing each device managed by the NetXplorer Server Manifest file containing list of buckets that need to be imported into the long term database
C:\Allot\data\bucket\ltc_export\<device ID>
Name conv_stat vc_stat line_burst pipe_burst vc_burst Type directory directory directory directory directory Explanation Contains conversations buckets in ascii format exported from the short term database Contains rules buckets in ascii format exported from the short term database Not in use Not in use Not in use
Allot/data/bucket/ltc/device_ID
Name conv_stat vc_stat line_burst pipe_burst vc_burst Type directory directory directory directory directory Explanation Contains conversations buckets in ascii format before import to long term database Contains rules buckets in ascii format before import to long term database Not in use Not in use Not in use
For details about the data collection procedure, refer to the SE training presentation.
www.allot.com
20
Tools
Upgrading NX Server Version
Stop NetXplorer Service by going to Windows Services and stopping NetXplorer Server.
Open the Windows Task Manager by pressing <CTRL + ALT + DEL> and clicking the Task Manager button. Select the Processes tab and confirm that DbSrv9.exe does not appear in the list. Download the software version desired from the Allot ftp site by completing the following steps: 1. Log into the ftp site with your personal support login account (download\username) and password. Access will only be allowed if a valid license for NetXplorer has been purchased. 2. Type cd NetXplorer/NetXplorer_Server/Current_Versions/NetXplorer_NX7xx.zip 3. Please note that the NetXplorer files are approximately 460MB and will take some time to download. They are compressed and must be opened with WinZip or another utility.
For complete instructions and full installation procedures, see the NetXplorer Quick Install Guide and NetXplorer Operation Guide from http://www.allot.com.
There is no need to remove a previous installation. It will be detected automatically by the Installation Wizard. The NetXplorer Service will be stopped automatically when the upgrades starts. It will resume operation after the server is rebooted following the upgrade. At the end of the upgrade procedure you will be asked to reboot the NetXplorer Server.
Please note that if the NetXplorer Server will be down for more than 25 minutes, Real Time (Short Term) data after this period will be lost and data collection will be continued only after the server is up again. Therefore it is recommended to perform the upgrade during low traffic hours.
Enabling Compression
Toggling bucket compression on/off By default, compression is turned off (i.e. regular buckets). To toggle bucket compression: 1. Edit $SWGD/data/allotConfig.xml 2. The parameter data_collection/bucket_type should be set to 1 for compression or 0 for no compression. 3. Reboot the NetEnforcer. Note: Compression is not recommended as a default configuration, but only in situations where it is absolutely necessary. Enabling compression places additional heavy load on the NetEnforcer.
www.allot.com
21
www.allot.com
22
comment unnecessary commands, set real paths for database files and necessary sizes for dbspaces. Recommendations for all post-install steps are available in the mentioned VBscript files. In case dbspaces file locations (paths) are changed, it is necessary to change (manually edit) the dbspaces locations in \allot\conf\dynamic.ini file. Open a command window (cmd.exe). From the command-line, run: \allot\bin\ run_post_install_stc.bat or run_post_install_ltc.bat. The following message will appear after the command has completed successfully: See post installation log in -\allot\tmp\install\post_install_stc.log
www.allot.com
23
www.allot.com
24
www.allot.com
25
Port Mirror
Many customers do not wish to install a NetEnforcer inline between the LAN switch and the WAN router, even in monitoring-only mode, since they need to disconnect the line when installing the NetEnforcer. Therefore they wish to install the NetEnforcer on the switch mirror port, or span port, instead and monitor the traffic in that way. The switch mirror port mirrors the traffic received and transmitted on the port to the WAN router. The NetEnforcer is used as a simple monitoring probe and the Internal or External port is connected to the switch mirror port. Therefore only one port is connected. The NetEnforcer can still monitor traffic in this case, however there are two modifications needed for the NetEnforcer to operate properly.
Procedure
Step 1 Bridge learning must be disabled in order to prevent the NetEnforcer from learning and maintaining a bridge forwarding table for the port connected to the switch mirror port. 1. Connect to the NetEnforcer console via the Console port or a Telnet/SSH session. Login as user root with password bagabu (unless changed). 2. Open the file /usr/local/SWG/bin/init_modules for editing using the vi editor by entering the following command: vi /usr/local/SWG/bin/init_modules 3. Change the line prisma_args="stree=${STREE_MODE} to prisma_args="nolearn=1 stree=${STREE_MODE} 4. Save the changes by entering the following command :wq 5. Reboot the NetEnforcer for the change to take effect. Step 2 When the NetEnforcer has rebooted and has become active again, the handling of double sessions must be changed as follows: 1. Connect to the NetEnforcer console again via the serial port or a Telnet/SSH session. Login as user root with password bagabu (unless changed). 2. Type the following command: acmode +dbs 3. Type the following command acmode qos 4. The QoS software will restart automatically, no need to reboot.
Conclusion
Traffic between the LAN switch and the WAN router may now be monitored from the switch mirror port. All the different monitoring graphs should work with the exception of the Connections graphs. NetAccountant and the Long Term Monitoring may also be used.
www.allot.com
26
Issues
NTP/Time issues
Synchronization issues between Client and Server
The NetXplorer Client and NetXplorer Server have a tolerance of 10 minutes time difference. The devices may be on different time zones. For example, if the Server is set to 10:03, and the device is set to 10:05, then this is acceptable. The same goes if the time zone difference is +2:00 (12:05). Note: Daylight savings time may cause an issue with the time zones. Symptoms If the clocks are out of sync, the graphs/logs times are inconsistent. Troubleshooting After login to the client, there is always a log of the time (UTC time dump). Check c:\Documents and Settings\<User name>\NMS.log to view this time dump.
www.allot.com
27
ntpdate may not initiate at startup for the following reasons: The NetXplorer Server is rebooted at the same time the NetEnforcer is booting up. The NetEnforcer does not manage to synchronize with the NTP Server because: o The server is down. o There are communication issues. Troubleshooting It is important to check the NetXplorer server first, then continue to the NetEnforcer if the problem has not been solved. NTP/NetXplorer Server Verify that the NTP service is running. By default, this runs on the NetXplorer server. If this is the case, run the following command: C:\Allot\ntp-server\ntpq -p ntpq:read:Connection refused This error indicates that the NTP service is not running on the NX Server. To initiate the NTP service on the NetXplorer server, do the following: 1. Go to Services in Administrative Tools on the PC, and start the Network Time Protocol Service. 2. To verify that the service is running, run Task Manager and search for the process ntpd.exe. If this process is found, run the ntpq -p command, as described above. 3. Reboot the NetEnforcer to see if the synchronization will take place after reboot. NetEnforcer Ensure that the NTP service is running on the NetXplorer server before continuing. Verify that the NTP process is running on the NetEnforcer: ps awx|grep ntp
89 ? SL 0:00 /usr/sbin/ntpd -l /usr/local/SWG/logs/ntp.log
The above line shows that the NTP process is running. If the process is not found, initiate the NTP Daemon by rebooting the NetEnforcer. Verify that synchronization is against the NTP server IP (NX or ext. NTP server):
AC-202:~# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== LOCAL(0) LOCAL(0) 14 l 59 64 377 0.000 0.000 0.008 *10.4.70.1 LOCAL(1) 11 u 4 64 377 0.624 -2.455 0.291
Status 16 indicates failure to sync against NTP server. Verify that synchronization is against the NTP server, and not the internal (local) clock of the NetEnforcer. This is marked by an asterisk (*) at the beginning of the line with the NTP server. Verify that the Windows firewall is not enabled on the server (this is enabled by default) which could block the NTP requests.
www.allot.com
28
For more information, the NTP manuals may be found at http://ntp.isc.org/bin/view/Main/DocumentationIndex. A document describing NTP and NTP on the NetEnforcer in general (for version 5.x) can be found at KB item 4723.
Creating a Snapshot
NetXplorer
o \allot\bin contains a batch file called create_snapshot_logs.bat. This file takes all the relevant logs and prepares a snapshot file that can be sent via e-mail. Please note that this file can be large at times (approx. 9MB). The snapshot will be created under \allot\tmp\snapshot_<date>.tar.gz
NetEnforcer
The snapshot procedure is the same as in previous NetEnforcer versions. To generate a snapshot run snapshot.
Taking a Snapshot
The Snapshot File is a file used to help Allot Customer Support in the troubleshooting process. The file itself is a zip file that contains files which provide Allot Customer Support with a precise picture of what was happening inside the NetEnforcer when a particular event occurred. These files include log files, policy definitions, system settings, etc. The Snapshot is an essential support tool that is vital in solving any support issues. There are two ways of taking the Snapshot: Manually and Automatically.
www.allot.com
29
snapshot is more than 15M, the NetEnforcer will create an additional snapshot with core files only. Example:
core.snapshot.07.05.02_09.27.00.tgz
This will contact the Allot Customer Support FTP server, log in, create a numerical directory and copy in the snapshot file selected.
HTTP Snapshot
Some NetEnforcer and NetXplorer units do not have access to FTP. Therefore, it is not possible to send a snapshot directly from the box. If the unit does not have a public address or Internet access, use this workaround: 1. Create the snapshot by typing: snapshot The snapshot file is saved to the following directory: /usr/local/SWG/snapshots/ 2. Copy the snapshot file to the /usr/local/SWG/etc/httpd/htdocs directory: cp /usr/local/SWG/snapshots/snapshot.15.03.06_16.08.33.tgz
www.allot.com
30
/usr/local/SWG/etc/httpd/htdocs (in this example, the file is named snapshot.15.03.06_16.08.33.tgz). 3. Point the browser to the NetEnforcer URL: http://<NetEnforcer IP>/snapshot name For example: http://192.1.1.2/snapshot.15.03.06_16.08.33.tgz. 4. This will start an HTTP download of the snapshot file to the PC. It is now possible to email this snapshot, or place it on an FTP server for access to Allot personnel. Note: If an FTP Server is available, it is also possible to connect to the NetEnforcer using the FTP, browse to where the snapshot is located, and use the mget command to get the snapshot (using bin mode).
www.allot.com
31
Add Device
When adding a device to the NetXplorer NX730, there are 10 stages that need to be completed. Therefore, when adding a device and getting a "failed to create topology device" error, it is important to know on which stage it failed. Stage 1: configuration : create device topology Stage 2: event : create device event counter entry Stage 3: configuration : check device software version Stage 4: import configuration : set configuration from Device to DB Stage 5: catalog : export (deviceTopology) Stage 6: policy : export default policy (deviceTopology) Stage 7: register to snmp trap : register AS To Snmp Tables Listeners Stage 8: collector : assign device to collector Stage 9: configuration : set admin and oper to 1 - ON Stage 10: get the latest topology object To do this, go to the NMS.log, located under Allot_Home:\Allot\netxplorer\jboss3.2.6\server\allot\log and search for the word "CREATE":
2006-04-01 01:44:13 [RMI TCP Connection(57)-122.122.4.101] INFO topology.dto.TopologyDTOManager - CREATE(1/9) [admin/122.122.4.32] create device topology to DB - started 2006-04-01 01:44:13 [RMI TCP Connection(57)-122.122.4.101] INFO topology.dto.TopologyDTOManager - CREATE(1/9) [admin / 122.122.4.32 #2] create device topology to DB - finished 2006-04-01 01:44:13 [RMI TCP Connection(57)-122.122.4.101] INFO topology.dto.TopologyDTOManager - CREATE(2/9) [admin / 122.122.4.32 #2] create device event counter entry - started 2006-04-01 01:44:13 [RMI TCP Connection(57)-122.122.4.101] INFO topology.dto.TopologyDTOManager - CREATE(2/9) [admin / 122.122.4.32 #2] create device event counter entry - finished
The first two stages almost always complete successfully. Keep track of the CREATE (by searching) until the failed stage is found. Fail on stage 4 - set configuration from device to database In this stage, the server reads IP configuration from rc.conf. The following indication will probably be found:
2006-04-01 02:07:22 [RMI TCP Connection(171)-122.122.4.101] ERROR management.ejb.ConfigurationFacadeEJB - failed to setConfigurationFromDeviceToDB null; CausedByException is: Device 122.122.4.101/161 is unreachable when trying to send pdu
This indicates that the probe could not send the configuration updates to the server on port 161. In this case, check the following:
Run netstat -an on the NetEnforcer or Server and check whether a connection on port 161 is established.
www.allot.com
32
Check that nothing is blocking SNMP traffic along the way. Check that the database is up and available.
Fail on stage 5 - exporting catalogs from the Server to the NetEnforcer In this stage, the Application Server connects to the Apache Server (using CGI on port 80) on the NetEnforcer using the following link: http://122.122.4.32:80/cgi-bin/ProvisionCli.exe. In the NMS.log the following will be seen:
2006-04-01 02:06:48 [RMI TCP Connection(169)-122.122.4.101] INFO topology.dto.TopologyDTOManager - CREATE(5/9) [admin / 122.122.4.32 #6] export Catalogs - started 2006-04-01 02:06:52 [RMI TCP Connection(169)-122.122.4.101] DEBUG catalog.synch.SynchUtils - send to device= http://122.122.4.32:80/cgi-bin/ProvisionCli.exe is name=<message id="5" type="req">
Potential problems: Authentication failure may also result from incorrect password. Another indication to that would appear in $SWGL/nedbg.DataSrv.log on the NetEnforcer. Make sure the correct admin password was entered. Try to reset the admin password. Communication exception: Indication:
2006-04-04 11:52:16 [RMI TCP Connection(52)-10.254.48.100] DEBUG catalogs.ejb.CatalogFacadeEJB - EXCEPTION = com.allot.nms.common.net.CommunicationException
Check for access lists (on the NetEnforcer, routers, firewalls, etc). Check with netstat -an that a connection from the NetEnforcer to the Server on port 80 was established. Try to connect the NetEnforcer to a different switch (this has worked in the past).
According to the Troubleshooting Guide. Please note that these problems have never been encountered: Check that DataSrv and ProvisionCli.exe are running. Check in $SWGL/nedbg.DataSrv.log whether DataSrv received the changes (check for full export). /tmp/nedbg.ProvisionCli.log - check whether content was received from the Apache Server (view full XML content). /var/log/apache/access_log - check whether Apache received change (look for POST to ProvisionCli.exe).
Fail on stage 6 - exporting default policy from the Server to the NetEnforcer Failing on stage 6 may be a result due to large catalogs on the server that need to be added to the NetEnforcer. The NetXplorer server has a timeout of 1 minute to complete the add process. If the process takes longer, it may reach step 6 before stopping. There is no workaround to solve this on site. R&D involvement is needed in order to reduce the processing time on the NetEnforcer to less than the 1 minute limitation. Fail on stage 7 - Register AS to SNMP Tables
www.allot.com
33
Failing on stage 7 is most likely to happen when adding a device while management traffic goes through the box. The NetEnforcer reboots and the addition fails. The workaround is to switch the NetEnforcer to bypass, and then add the device. Stage 8 (assign device to collector), 98 (set admin and oper to 1 ON), and 10 (return topology object) may fail if the Application Server cannot connect to the database. The only workaround for this is to stop and start the service and ensure that the 3 databases: CFG, STC and LTC are up and running. If one of the databases are stuck, it must be recreated before the device can be added again. Indications that databases are up and running: In allot_cfg.log, look for the following: 02/26 11:59:14. Running on Windows XP Build 2600 Service Pack 2 I. 02/26 11:59:14. Database server started at Sun Feb 26 2006 11:59 I. 02/26 11:59:14. Trying to start SharedMemory link... I. 02/26 11:59:14. SharedMemory link started successfully I. 02/26 11:59:14. Trying to start TCPIP link... I. 02/26 11:59:14. Starting on port 50000 I. 02/26 11:59:19. TCPIP link started successfully I. 02/26 11:59:19. Now accepting requests In allot_stc.log and allot_ltc.log, look for Enable all events: I. 04/03 09:15:33. Running on Windows XP Build 2600 Service Pack 2 I. 04/03 09:15:37. Database server started at Mon Apr 03 2006 09:15 I. 04/03 09:15:37. Trying to start SharedMemory link... I. 04/03 09:15:37. SharedMemory link started successfully I. 04/03 09:15:37. Trying to start TCPIP link... I. 04/03 09:15:37. Starting on port 50001 I. 04/03 09:15:42. TCPIP link started successfully I. 04/03 09:15:42. Now accepting requests I. 04/03 09:16:08. Enable all events
Change IP
Defined Behavior
There are three locations where the IP of the NetEnforcer can be changed: The NetEnforcer itself, using the LCD, CLI or Admin menu The IP Properties tab within the Configuration Menu of the NetXplorer Server for a specific NetEnforcer The properties window of a specific NetEnforcer within the NetXplorer Server GUI Note: If the IP address cannot be changed for any reason, manually edit the IP address in the rc.conf file, located in the /etc/rc.d directory. The NetEnforcer Changing the IP address via the NetEnforcer does not impact the NetXplorer Server. The purpose of this is to enable a user to change the IP address of the NetEnforcer and move it to another Server, without affecting the configuration properties of the NetEnforcer within the Server. This will therefore allow another NetEnforcer to be installed in place of this NetEnforcer (using the same model and version) while maintaining the original policy configuration.
www.allot.com
34
An event will be sent to the NetXplorer Server indicating an IP change on the NetEnforcer. An alarm may be assigned to this event within the Event Types Configuration window. To complete an IP address change, the address will also need to be configured within the device properties within the NetXplorer Server.
IP Properties tab within the Configuration Menu Changing the IP address of the NetEnforcer within the IP Properties of the Configuration Menu will change the address of the device itself and the Properties of the device within the Network tree. Properties window of a specific NetEnforcer Changing the IP address of the NetEnforcer within the Device Properties menu (accessed by right clicking on the device within the Network tree and selecting Properties) does not change any IP definitions on the NetEnforcer. This change will point the NetXplorer Server to connect to the specified IP address. To effect a change on the actual IP address of the device, the address must be defined within either the Configuration Menu or on the device itself.
Current Behavior
Please note the differences below: Changing the device IP address via the configuration menu will update the device properties (topology tree). This process will take effect approximately 30 seconds after entered.
www.allot.com
35
Provisioning Changes
Add Host
Process 1. Server sends XML command to NetEnforcer. 2. NetEnforcer performs changes and updates counters. 3. NetEnforcer sends trap to Server. Troubleshooting Server: C:\Allot\netxplorer\jboss-3.2.6\server\allot\log\NMS.log - check whether changes have been sent. a. send to device = location b. XML changes. c. result from device = location o <status>err <error_msg> explanation (development not complete). o <status>ok. Note: Asynchronous messages may not be displayed together. NetEnforcer: $SWGL/nedbg.DataSrv.log - check whether DataSrv received changes. Identify receipt, change applied and confirmation. Example successful output, see Appendix I. $SWGD/data/allotProvision.xml check counter ID and new catalog entry $SWGL/nedbg.AllSnmpAgent.log check for trap sent. Example successful output, see Appendix II.
Configuration Changes
Process
1. SNMP config changes sent. 2. SNMP config changes applied.
Troubleshooting
1. Check NMS.log on Server. 2. $SWGL/nedbg.AllSnmpAgent.log check for SET command.
www.allot.com
36
Explanation
This can occur due to manual XML changes CLI changes made when SNMP agent down NetEnforcer in rescue And others
Troubleshooting
1. $SWGL/nedbg.AllSnmpAgent.log Check for PolModifyTag=3 (bad database) 1 = good 2. $SWGL/nedbg.DataSrv.log Check for Full Export and complete XML
www.allot.com
37
RMA/Box Replacement
Important note: If there is no unit to replace, do not delete the unit from the server until you have another unit to replace it. Unit A is connected to the server. Unit B should replace unit A. 1. 2. 3. 4. 5. 6. Connect unit B and add it to the server with a different IP address than unit A. After unit B is reachable, disconnect both units (A and B) through the management port. Set unit B with the original IP address that was defined in unit A. Reconnect management port to unit B. Delete the IP address that was used to define unit B. Perform touch to allotProvision.xml.
Collection Problems
STC Problems Related to Software
There may be problems with the STC database due to software running on the NetXplorer PC which may be interrupting the database processes. Symptom The short term collector is stuck. no monitoring reports NX server reports event/alarm on STC_DEF Troubleshooting The following message can be found in allot_stc.txt:
E. E. I. I. I. I. I. 10/28 10/28 10/28 10/28 10/28 10/28 10/28 01:19:12. 01:19:12. 01:19:12. 01:19:12. 01:19:12. 01:19:12. 01:19:12. *** ERROR *** Assertion failed: 100909 (9.0.2.3137) Error deleting transaction log file *** ERROR *** Assertion failed: 100909 (9.0.2.3137) Error deleting transaction log file Attempting to save dump file at 'C:\WINDOWS\TEMP\sa_dump.dmp' Dump file saved
Explanation The first error, assertion failed error 100909: Error deleting transaction log file is usually caused the transaction log is locked. This indicates that there is another software application currently using the transaction log, preventing the NetXplorer databases from accessing it. Since the NetXplorer databases cannot access the log, the database is shut down. Potential software applications that may lock up the transaction log are: system backup software anti-virus software defragmentation tools or others.
www.allot.com
38
Workaround The identified application must be configured not to access specific Sybase files (.db and .log files). Go to http://www.sybase.com/detail?id=1025501 for information on ASA, anti-virus and backup software. It is highly recommended NOT to run such programs on folders where the databases reside. After disabling such programs, it may be necessary to recreate the database. For details on this procedure, see the Recreating Default (ST and LT) Databases section on page 22.
www.allot.com
39
Appendix
Appendix I
Host output from $SWGL/nedbg.DataSrv.log
09-12 06:36:15(163) <DL_TRACE>: Message received from AS: <message id="4" type="req"> <check>53xXk0LYvZI=</check> <owner>168427883</owner> <change_id>4</change_id> <ops> <op id="1"> <opcode>create</opcode> <location>//catalogs/*/host/parent::*</location> <ID/> <data> <host a_right="1" id="2" name="10.1.1.1" scope="0" type="0"> <entries> <host_entry id="2" type="2"> <ip>167837953</ip> </host_entry> </entries> <queries/> </host> </data> </op> </ops> </message> 09-12 06:36:15(163) <DL_NOTIFY>: Create element, location: //catalogs/*/host/parent::* 09-12 06:36:15(163) <DL_TRACE>: Created element: <host a_right="1" id="2" name="10.1.1.1" scope="0" type="0"> <entries> <host_entry id="2" type="2"> <ip>167837953</ip> </host_entry> </entries> <queries/> </host> 09-12 06:36:15(163) <DL_TRACE>: PmChangeValidator::buildValidNewHostEntry. Validating. 09-12 06:36:15(163) <DL_TRACE>: Returned ID: 2 09-12 06:36:15(163) <DL_TRACE>: Set catalogs update counter to 4 09-12 06:36:15(163) <DL_TRACE>: Set update owner to 168427883 09-12 06:36:15(163) <DL_NOTIFY>: touch file data/lastPolicyUpdate : 1126506975
www.allot.com
40
09-12 06:36:15(163) <DL_TRACE>: Sending notification to clients. 09-12 06:36:15(163) <DL_TRACE>: Update counter 4, number of changed catalogs 1 09-12 06:36:15(163) <DL_TRACE>: Changed catalog: type host_cat, name Host 09-12 06:36:15(163) <DL_TRACE>: Deleted entries. 09-12 06:36:15(163) <DL_TRACE>: Number of entries: 0 09-12 06:36:15(163) <DL_TRACE>: New entries. 09-12 06:36:15(163) <DL_TRACE>: Number of entries: 1 09-12 06:36:15(163) <DL_TRACE>: QuadID: 2. 09-12 06:36:15(163) <DL_TRACE>: Entry: <host a_right="1" id="2" level="trace" name="10.1.1.1" scope="0" type="0"> <entries> <host_entry id="2" type="2"> <ip>167837953</ip> </host_entry> </entries> <queries/> </host> 09-12 06:36:15(163) <DL_TRACE>: Modified entries. 09-12 06:36:15(163) <DL_TRACE>: Number of entries: 0 09-12 06:36:15(163) <DL_TRACE>: Tracked entries. 09-12 06:36:15(163) <DL_TRACE>: Number of entries: 0 09-12 06:36:15(163) <DL_NOTIFY>: CatSvr notify (0x83d89a0) [0] 09-12 06:36:15(163) <DL_TRACE>: Sending notification to clients. 09-12 06:36:15(163) <DL_TRACE>: Update counter 4, number of changed catalogs 1 09-12 06:36:15(163) <DL_TRACE>: Changed catalog: type host_cat, name Host 09-12 06:36:15(163) <DL_TRACE>: Deleted entries. 09-12 06:36:15(163) <DL_TRACE>: Number of entries: 0 09-12 06:36:15(163) <DL_TRACE>: New entries. 09-12 06:36:15(163) <DL_TRACE>: Number of entries: 1 09-12 06:36:15(163) <DL_TRACE>: QuadID: 2. 09-12 06:36:15(163) <DL_TRACE>: Entry: <host a_right="1" id="2" level="trace" name="10.1.1.1" scope="0" type="0"> <entries> <host_entry id="2" type="2"> <ip>167837953</ip> </host_entry> </entries> <queries/> </host> 09-12 06:36:15(163) 09-12 06:36:15(163) 09-12 06:36:15(163) 09-12 06:36:15(163) 09-12 06:36:15(163) 09-12 06:36:15(163)
<DL_TRACE>: Modified entries. <DL_TRACE>: Number of entries: 0 <DL_TRACE>: Tracked entries. <DL_TRACE>: Number of entries: 0 <DL_NOTIFY>: CatSvr notify (0x84b40d8) [0] <DL_TRACE>: Message returned to AS:
www.allot.com
41
<message id="4" type="res"> <check>53xXk0LYvZI=</check> <owner>168427883</owner> <change_id>4</change_id> <ops> <op id="1"> <status>ok</status> <ID>2</ID> </op> </ops> </message> 09-12 06:36:15(163) <DL_NOTIFY>: Detach session (0x83c3cc8), client
Appendix II
Host output from $SWGL/nedbg.AllSnmpAgent.log
09-12 06:36:14(169) <DL_NOTIFY>: PolModifyTag= 1. snmp_t= 1126506686, pol_xml_t= 1126506686, pol_upd_t= 1126506686, rescue_t= 0, full_t= 1126506686 09-12 06:36:15(169) <DL_NOTIFY>: PmRegisterUser updates [260] 09-12 06:36:15(169) <DL_NOTIFY>: handleDataUpdates(): id= 168427883, count=4 09-12 06:36:15(169) <DL_NOTIFY>: Catalog instance 2 is changed :[ <host a_right="1" id="2" level="trace" name="10.1.1.1" scope="0" type="0"> <entries> <host_entry id="2" type="2"> <ip>167837953</ip> </host_entry> </entries> <queries/> </host>] 09-12 06:36:15(169) <DL_TRACE>: Trap counter = 3, index in NotifyLog= [7.99.97.116.95.108.111.103.3] 09-12 06:36:15(169) <DL_TRACE>: Trap counter = 3, index in NotifyLog= [1.3.6.1.2.1.92.1.3.1.1.9.7.99.97.116.95.108.111.103.3] 09-12 06:36:15(169) <DL_TRACE>: New trap counter = 4, index in NotifyLog= [1.3.6.1.2.1.92.1.3.1.1.9.7.99.97.116.95.108.111.103.3] 09-12 06:36:15(169) <DL_NOTIFY>: Trap sent, oid= [1.3.6.1.4.1.2603.0.2], prev_count= 3, cur_count= 4 09-12 06:36:15(169) <DL_NOTIFY>: Set [1.3.6.1.4.1.2603.5.2.203.0] counter to 4
www.allot.com
42