Proactive Contact: How to change Digital Switch Trace Location to HP CPU
Problem:
When making a trace on the Digital Switch, large amounts of data collect quickly and may fill up the switch hard drive. Also, the switch does not have any “vi” capability for searching the trace output. Therefore, it may be advantageous to put the trace output directly on the HP cpu. This allows the switch trace to be run for longer periods.
Make sure the connectivity between the dialer switch and cpu1 does not have issues.
Limitation on Digital Switch hard drive to log more than about 15 minutes of trace output if the system is very large. The trace output file can become too difficult to search through.
Once the switch trace is complete, usually the “dswit” utility will be used to translate the raw trace file into a readable format. Since the “dswit” utility only runs on cpu1, it is reasonable to put the trace output on the cpu1 for easy use of the “dswit” utility.
Solution:
Before enabling the dgswitch trace, make sure the following steps are followed to allow the trace to keep running, specifically this can be done if the trace is kept running on all ports for hours.
1. Make a directory under /opt/avaya/pds/switch/ with the name “trace”
2. Login to dgswitch menu B) System Configuration >B) File System Configuration. Change the System Trace Default drive to F: (Use CTRL N to scroll to the System Trace Files > Default Drive Prompt, Press CTRL A, until you get F instead of C)
F I L E S Y S T E M C O N F I G U R A T I O N
Boot/Download Files
Default Device: C:
Default Directory: /boot/
System Database Files
Default Device: C:
Default Directory: /dbase/
System Log Files
Default Device: C:
Default Directory: /log/
System Trace Files
Default Device: C: Default Drive Prompt, Press CTRL A, until you get F instead of C)
Default Directory: /trace/
3. You will be prompted “ENTER To Confirm New Configuration(s)”. Press Enter.
4. You should see “Changing Trace File File System”
5. Then it will be displayed “File System(s) Successfully Configured”
Note: /opt/avaya/pds/switch should be mounted as F drive for dgswitch configuration. Steps to check the status of the mounted F drive are as follows:
Select Menu B) System Configuration, then I) Network Configuration > Status should be shown as mounted as shown in the below example.
N E T W O R K C O N F I G U R A T I O N
Ethernet Option: Enabled Ethernet Address: 00:C0:94:20:39:36
Internet Address:
Configured: 192.168.1.3 Current: 192.168.1.3
NFS Option: Enabled Status: Mounted
Update Mount? (Y/N) N
Remote Server:
Name: cpu1 Internet Address: XXX.XXX.XXX.XX
Mount Directory: /opt/avaya/pds/switch
Local Client:
Name: switch1 Retries: 15
User Id: 101 Timeout (Secs.): 2
Group Id: 101
User Mask: 002
1. Before starting the trace, create subfolder called “trace” on cpu:
mkdir /opt/avaya/pds/switch/trace
2. Log into Digital Switch. Verify NFS drive F shows Mounted.
3. Change File System Configuration screen for “System Trace Files” to show F drive instead of C drive. Press Enter to save change.
4. Start trace.
5. Verify that data is being written to file on cpu1 in /opt/avaya/pds/trace folder. The file will be named based on the date the trace is started. For example: dec01.trc or sep21.trc