DMP tunable "dmp_log_level"
book
Article ID: 100022035
calendar_today
Updated On:
Resolution
DMP has a tunable parameter called "dmp_log_level" that can be set to a higher value than the default to collect additional logs when diagnosing issues with path failures.
The explanation of the different levels is as follows:
dmp_log_level
The level of detail that is displayed for DMP
console messages. The following level values are
defined:
1 Display critical DMP log messages. This is the default setting.
2 Display level 1 messages plus messages that relate to I/O throttling, suspected path failures and DMP node migration.
3 Display level 1 and 2 messages plus messages
that relate to I/O errors, I/O error analysis
and path media errors.
4 Display level 1, 2 and 3 messages plus
messages that relate to setting or changing
attributes on a path.
To display the current value, run
#vxdmpadm gettune all
Here is an example
# vxdmpadm gettune all
Tunable Current Value Default Value
------------------------------ ------------- -------------
dmp_failed_io_threshold 57600 57600
dmp_retry_count 30 30
dmp_pathswitch_blks_shift 10 10
dmp_queue_depth 40 40
dmp_cache_open on off
dmp_daemon_count 10 10
dmp_scsi_timeout 60 60
dmp_delayq_interval 15 15
dmp_path_age 300 300
dmp_stat_interval 1 1
dmp_health_time 60 60
dmp_probe_idle_lun on on
dmp_log_level 1 1 <<<<<<<<<<
dmp_retry_timeout 0 0
dmp_fast_recovery off off
dmp_evm_handling off off
dmp_lun_retry_timeout 0 0
To modify the value run :
# vxdmpadm settune dmp_log_level=4
Tunable value will be changed immediately
# vxdmpadm gettune all
Tunable Current Value Default Value
------------------------------ ------------- -------------
dmp_failed_io_threshold 57600 57600
dmp_retry_count 30 30
dmp_pathswitch_blks_shift 10 10
dmp_queue_depth 40 40
dmp_cache_open on off
dmp_daemon_count 10 10
dmp_scsi_timeout 60 60
dmp_delayq_interval 15 15
dmp_path_age 300 300
dmp_stat_interval 1 1
dmp_health_time 60 60
dmp_probe_idle_lun on on
dmp_log_level 4 1 <<<<<<<<<<<<<<<<
dmp_retry_timeout 0 0
dmp_fast_recovery off off
dmp_evm_handling off off
dmp_lun_retry_timeout 0 0
These messages go into the /etc/vx/dmpevents.log file. If you need these logs to go to a different location with extra space, you can create a link to the new location
# ls -l /etc/vx/dmpevents.log
lrwxrwxrwx 1root sys 24 Sep22 11:30 /etc/vx/dmpevents.log -> /largefilesystem/dmpevents.log
Once the link is created, the Event Source Daemon (vxesd) needs to be stopped and restarted so that the logs are written to the new location
To stop and restart the event source daemon, run the following commands
# vxddladm stop eventsource
# vxddladm start eventsource
Issue/Introduction
DMP tunable "dmp_log_level"
Was this article helpful?
thumb_up
Yes
thumb_down
No