Collecting diagnostics using a linux utility, Rotating rda with ost plug-in logs for linux, Guidelines for gathering media server information – Dell PowerVault DR2000v User Manual

Page 161: Netbackup on linux media servers

Advertising
background image

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:

161

Advertising