Discovering vnics using the emulex cim provider, To determine vnics using the ucna cim provider, Discovering vnics using the emulex cim provider 5 – Dell Emulex Family of Adapters User Manual

Page 1155

Advertising
background image

CIM Provider Package Installation Guide

P010091-01A Rev. A

3. Using the Adapter

Discovering vNICs Using the Emulex CIM Provider

1155

Executing a Diagnostic Test with an Emulex FC Adapter

To execute a diagnostic test with an FC adapter:
1. Get the instance of the managed element (ELXHBA_PortController). For example:

wbemcli -noverify ein

‘https://root:<password>@<IP>/root/emulex:elxhba_portcontroller’

-nl

2. Get the instance of the ELXHBA_FCHBADiagnostictest class. For example:

wbemcli -noverify ein

‘https://root:<password>@<IP>/root/emulex:elxhba_diagnostictest’

-nl

3. Invoke the method RunDiagnosticservice on the ELXHBA_FCHBADiagnostictest.

For example:

wbemcli -noverify cm

‘https://root:<password>@<IP>/root/emulex:<Diagnostic Test

instance from step 2>’

RunDiagnosticservice.ManagedElement=<ManagedElement instance

from step 1>’

4. A CIM_ConcreteJob instance is created for each diagnostic test run. For example:

wbemcli -noverify ein

‘https://root:<password>@<IP>/root/emulex:elxhba_concretejob’

-nl

5. Results of the diagnostic test runs are available in

ELXHBA_DiagnosticCompletionRecord class instances. For example:

wbemcli -noverify ein

‘https://root:<password>@<IP>/root/emulex:elxhba_diagnosticcompl

etionrecord’ -nl

6. The diagnostic logs can be cleared using the ClearLog function of

ELXHBA_DiagnosticsLog class. For example:

wbemcli -noverify cm

‘https://root:<password>@<IP>/root/emulex:<Corresponding

Diagnostic log instance>’ ClearLog

Discovering vNICs Using the Emulex CIM Provider

To Determine vNICs Using the UCNA CIM Provider

1. Find all the CIM_VLANEndpoint instances whose SystemName property has a

value equal to the name of the desired host. These instances are vNIC endpoints.

2. Find the CIM_EndpointIdentity instance associating the CIM_VLANEndpoint

instance to a CIM_LANEndpoint instance. Follow the association to the

CIM_LANEndpoint.

3. Find the instance of CIM_DeviceSAPImplementation instance that associates the

CIM_LANEndpoint to an instance of CIM_EthernetPort. Follow the associations to

the CIM_EthernetPort instance representing the vNIC.

Advertising