Dell DR2000v DR Series System Administrator Guide - Page 139

Collecting Diagnostics Using a Linux Utility, Rotating RDA with OST Plug-In Logs for Linux

Page 139 highlights

Collecting Diagnostics Using a Linux Utility You can use a Linux utility called Dell_diags to collect diagnostics from Linux-only clients. This Linux utility is installed by the OST plug-in installer in the /opt/Dell directory. The tool collects the following types of information: • var/log/libstspiDell.log.* • usr/openv/netbackup/logs • usr/openv/logs/nbemm/ • usr/openv/logs/nbrmms/ The Dell_diags diagnostics file is written to the following location: /var/log/diags_client location. The following example shows the process for collecting the RDA with OST diagnostic logs (the root user account shown represents one that resides on the media server, and is not to be confused with a root user account on the DR Series system): root@oca3400-74 ~]# ./Dell_diags -collect Collecting diagnostics...Done Diagnostics location: /var/log/diags_client//oca3400-74_2012-02-27_23-02-13.tgz The default log level is set to Error in the OST plug-in, is user-configurable, and can be modified via the DR Series system CLI or GUI. Rotating RDA with OST Plug-In Logs for Linux If you set the RDA with OST plug-in log level to Debug, this can cause the plug-in log to quickly grow in size. The best practice for preventing any issues with log sizes is to rotate the plug-in logs using the logrotate utility that is commonly available on Linux-based systems. To configure log rotation, complete the following: 1. Create a file in /etc/logrotate.d/, name it "ost", and add the following entries: /var/log/libstspiDell.log { rotate 10 size 10M copytruncate } 2. Create a file in /etc/cron.hourly/, name it "ost_logrotate.cron", and add the following entries: #!/bin/bash /usr/sbin/logrotate /etc/logrotate.d/ost The logrotate utility runs every hour, and rotates the logs whenever the log file size exceeds 10 megabytes (MB). This procedure is automated as part of the plug-in installation. Guidelines for Gathering Media Server Information In addition to the DR Series system diagnostics log file bundles and core files that you can collect for history and troubleshooting purposes, if you have run any RDA with OST operations, Dell recommends that you also gather some important media server-related files. This topic introduces some of these key media server files that reside on Linux and Windows platforms . NetBackup on Linux Media Servers For NetBackup running on a Linux media server, Dell recommends gathering the following files: 139

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187

Collecting Diagnostics Using a Linux Utility
You can use a Linux utility called
Dell_diags
to collect diagnostics from Linux-only clients. This Linux utility is installed by
the OST plug-in installer in the /opt/Dell directory. The tool collects the following types of information:
var/log/libstspiDell.log.*
usr/openv/netbackup/logs
usr/openv/logs/nbemm/
usr/openv/logs/nbrmms/
The
Dell_diags
diagnostics file is written to the following location: /var/log/diags_client location.
The following example shows the process for collecting the RDA with OST diagnostic logs (the root user account shown
represents one that resides on the media server, and is not to be confused with a root user account on the DR Series
system):
root@oca3400-74 ~]# ./Dell_diags –collect
Collecting diagnostics...Done
Diagnostics location: /var/log/diags_client//oca3400-74_2012-02-27_23-02-13.tgz
The default log level is set to
Error
in the OST plug-in, is user-configurable, and can be modified via the DR Series system
CLI or GUI.
Rotating RDA with OST Plug-In Logs for Linux
If you set the RDA with OST plug-in log level to
Debug
, this can cause the plug-in log to quickly grow in size. The best
practice for preventing any issues with log sizes is to rotate the plug-in logs using the
logrotate
utility that is commonly
available on Linux-based systems.
To configure log rotation, complete the following:
1.
Create a file in /etc/logrotate.d/, name it “ost”, and add the following entries:
/var/log/libstspiDell.log {
rotate 10
size 10M
copytruncate
}
2.
Create a file in /etc/cron.hourly/, name it “ost_logrotate.cron”, and add the following entries:
#!/bin/bash
/usr/sbin/logrotate /etc/logrotate.d/ost
The
logrotate
utility runs every hour, and rotates the logs whenever the log file size exceeds 10 megabytes (MB). This
procedure is automated as part of the plug-in installation.
Guidelines for Gathering Media Server Information
In addition to the DR Series system diagnostics log file bundles and core files that you can collect for history and
troubleshooting purposes, if you have run any RDA with OST operations, Dell recommends that you also gather some
important media server-related files. This topic introduces some of these key media server files that reside on Linux and
Windows platforms .
NetBackup on Linux Media Servers
For NetBackup running on a Linux media server, Dell recommends gathering the following files:
139