beautypg.com

Installation configuration, Sampling errors, Errors incurred by the inservsample process – HP 3PAR StoreServ 7000 Storage User Manual

Page 218: Errors incurred by the cli sampler process, Installation configuration sampling errors

background image

Installation Configuration

On Windows, you can see the parameters with which the sampler was installed by typing the
following command in that directory (which should contain the winserv.exe file) as follows:

# winserv.exe showconfig "3PAR System Reporter sampler"

Configuration of 3PAR System Reporter sampler: -displayname 3PAR System Reporter

sampler (managed by WinServ)

-noninteractive

-binary C:\Program Files\3PAR\System Reporter\winserv.exe

-start auto

-errorcontrol normal

-depends

-loadordergroup

-user LocalSystem

-ipcmethod blind

*CommandLine sampleloop.exe -dbtype sqlite -db E:/inservstats/inservstats

-noexpand

*Description: Periodically collects statistics from 3PAR InServ Storage Servers and

inserts the data into the 3PAR System Reporter database.

On Linux, the parameters for the sampleloop daemon are all in the /etc/sampleloop.conf
file.

Sampling Errors

When the inservsample process for a particular HP 3PAR StoreServ Storage encounters
an error it logs the error in its inservsample_.log file and exits. The main
sampleloop process will detect that the inservsample process has exited and log the error in its
sampleloop.log

file. For the next sample, the sampleloop process will create a new inservsample

process to sample data from the HP 3PAR StoreServ Storage . This new inservsample
process will roll the inservsample_.log file.

Since there is a separate inservsample process for each system, errors that occur while sampling
one HP 3PAR StoreServ Storage do not generally impact sampling of other systems. However, in
the case of timeout errors, the sampling interval for all the arrays will be stretched to the timeout
limit since the sampleloop process waits until the timeout limit before it continues to the next sample.

There are two main types of errors incurred by either the inservsample process or the CLI sampler
process as described in the following sections.

Errors incurred by the inservsample process

Errors incurred by the inservsample process are typically database errors including:

Loss of network connectivity to the database server.

Database server errors. One example when using MySQL as the database is if the
max_allowed_packet parameter is not sufficiently large (see

“Setting the max_allowed_packet

parameter” (page 39)

) and the inservsample process gets the error “MySQL server has gone

away”.

Errors incurred by the CLI sampler process.

Errors incurred by the CLI sampler process may include loss of network connectivity to the HP 3PAR
StoreServ Storage, a timeout because the CLI process took too long to get the data, or authentication
failure on the CLI connection (the user was removed or password changed).

In both cases, the sampleloop process restarts the inservsample process so, if the error is not
persistent, sampling can resume. If the error is persistent, then the inservsample process will
continuously log the error and restart.

218

Troubleshooting System Reporter