Enabling logs and collecting symptoms, Generating provider logs if enumeration fails – Dell Emulex Family of Adapters User Manual
Page 1153
CIM Provider Package Installation Guide
P010091-01A Rev. A
3. Using the Adapter
Enabling Logs and Collecting Symptoms
1153
wbemcli -nl -noverify cm
'https://root:<password>@<IP>/root/emulex:<elxucna_softwareinsta
llationservice instance>' InstallFromURI.URI="<Firmware file
path>",Target=<elxucna_ethernetport instance>
Enabling Logs and Collecting Symptoms
The Record Log profile is supported on both the Emulex UCNA CIM Provider and the
Emulex FC HBA CIM Provider.
To enable provider logs:
1. Enumerate the ELXHBA_RecordLog (for a FC HBA) or the ELXUCNA_RecordLog
(for a UCNA or CFA in FCoE+NIC mode) class and note the provider log instance.
If enumeration fails, perform the steps detailed in “Generating Provider Logs if
Enumeration Fails” on page 1153.
2. Set the provider log settings:
wbemcli -noverify cm
'https://root:<password>@<IP>/root/emulex:<Instance from step 1>
' SetLogParams.LogLevel=5,logmode=2,tracepath='<file path>'
3. Set the provider log state:
wbemcli -noverify cm
'https://root:<password>@<IP>/root/emulex:<Instance from step 1>
' RequestStateChange.RequestedState=2
4. Perform the operation that is not working as expected. The provider logs are
available in the <file path> specified in step 2.
5. Contact an Emulex technical support representative with the provider logs and the
system logs (/var/log/syslog.log).
To disable provider logs, enter the following command:
wbemcli -noverify cm
'https://root:<password>@<IP>/root/emulex:<Instance from step 1> '
RequestStateChange.RequestedState=3
Generating Provider Logs if Enumeration Fails
To enable provider logs if enumeration fails:
1. Stop the CIMOM.
2. Create a .dmp file.
a. To create a provider log for the Emulex FC provider, create an
“emulex_fc_provider.dmp” file in the “/etc/cim/emulex” location.
b. To create a provider log for a UCNA provider (UCNA or CFA in FCoE+NIC
mode), create an “emulex_ucna_provider.dmp” file in the “/etc/cim/emulex”
location.
3. Manually enter the following two lines (without spaces):
2,5,2
/tmp/providerlogs.txt