Generating logs, Available command line switches, Possible log messages – HP 2000SA G2-Modular-Smart-Array User Manual

Page 47

Advertising
background image

Generating logs

Messages generated by the VAAI Plug-in are placed in the VMware kernel log.

ESX : /var/log/vmkernel

ESXi: /var/log/messages

If a run time warning condition occurs, the VAAI plug-in includes an IMPACT and/or ACTION
statement to clarify the severity of the event.

Available command line switches

The VAAI plug-in accommodates a number of logging use cases via command line switches. The
VAAI plug-in self-documents the usage of these switches via the following command:

vmkload_mod -s hp-vaaip-p2000

vmkload_mod module information
input file: /usr/lib/vmware/vmkmod/hp_vaaip_p2000
License: VMware
Version: 1.0.30, Built on: Jun 10 2011
Required name-spaces:
com.vmware.vmkapi@v1_1_0_0
Parameters:
showFncName: int
To show function names instead of MsgID<showFncName=(0-1)>
testLog: int
Test Log to print Sample Log Message<testLog=(0–1)>
logLevel: int
Log Level to print Log Message<testLog=(0–1)>

The following table defines the switches:

Table 15 Command line switches

testLog value

showFncName

value

logLevel value

Supported VAAI Plug-in Logging Use Cases

0

0

0

View only the default level of log messages.

1

0

0

View complete example listing of all supported log messages.

0

0

1

View the VAAI capabilities detected for each HP MSA storage volume.

0

0

2

View the SCSI CDB and SCSI sense and status responses.

0

0

3

View in internal plug-in function entry and exit trace.

0

1

Include in the log messages the actual plug-in internal functional name.

Possible log messages

The following table lists all possible log messages. If there are multiple entries in a Log ID, there
are multiple possibilities of that Log ID to occur.

NOTE:

Some values in the table are tokenized. For explanations, see the Token legend following the
table.

Conditional values are placed in angle brackets < >.

Log Level is the level user must use to enable logging. A value of zero means logging always
enabled.

Generating logs

47

Advertising