Brocade Communications Systems StoreFabric SN6500B, Network Advisor SMI Agent 12.0.0 Developer's Manual

53-1002701-01
®
17 De
cember 2012
Brocade Network Advisor SMI Agent
Developer’s Guide
Copyright © 2010 - 2012 Brocade Communications Systems, Inc. All Rights Reserved.
Brocade, Brocade Assurance, the B-wing symbol, BigIron, DCX, Fabric OS, FastIron, MLX, NetIron, SAN Health, ServerIron, TurboIron, VCS, and VDX are registered trademarks, and AnyIO, Brocade One, CloudPlex, Effortless Networking, ICX, NET Health, OpenScript, and The Effortless Network are trademarks of Brocade Communications Systems, Inc., in the United States and/or in other countries. Other brands, products, or service names mentioned may be trademarks of their respective owners.
Notice: This document is for informational purposes only and does not set forth any warranty, expressed or implied, concerning any equipment, equipment feature, or service offered or to be offered by Brocade. Brocade reserves the right to make changes to this document at any time, without notice, and assumes no responsibility for its use. This informational document describes features that may not be currently available. Contact a Brocade sales office for information on feature and product availability. Export of technical data contained in this document may require an export license from the United States government.
The authors and Brocade Communications Systems, Inc. shall have no liability or responsibility to any person or entity with respect to any loss, cost, liability, or damages arising from the information contained in this book or the computer programs that accompany it.
The product described by this document may contain “open source” software covered by the GNU General Public License or other open source license agreements. To find out which open source software is included in Brocade products, view the licensing terms applicable to the open source software, and obtain a copy of the programming source code, please visit http://www.brocade.com/support/oscd.
Brocade Communications Systems, Incorporated
Corporate and Latin American Headquarters Brocade Communications Systems, Inc. 130 Holger Way, San Jose, CA 95134 Tel: 1-408-333-8000 Fax: 1-408-333-8101 E-mail: info@brocade.com
European Headquarters Brocade Communications Switzerland Sàrl Centre Swissair Tour B - 4ème étage 29, Route de l'Aéroport Case Postale 105 CH-1215 Genève 15 Switzerland Tel: +41 22 799 5640 Fax: +41 22 799 5641 E-mail: emea-info@brocade.com
Asia-Pacific Headquarters Brocade Communications Systems China HK, Ltd. No. 1 Guanghua Road Chao Yang District Units 2718 and 2818 Beijing 100020, China Tel: +8610 6588 8888 Fax: +8610 6588 9999 E-mail: china-info@brocade.com
Asia-Pacific Headquarters Brocade Communications Systems Co., Ltd. (Shenzhen WFOE) Citic Plaza No. 233 Tian He Road North Unit 1308 – 13th Floor Guangzhou, China Tel: +8620 3891 2000 Fax: +8620 3891 2111 E-mail: china-info@brocade.com
Document History
Title Publication number Summary of changes Date
DCFM SMI Agent Developer’s Guide 53-1001361-01 New document March 2010
Brocade Network Advisor SMI Agent Developer’s Guide
53-1002169-01 Updated to support DCX and DCX-4S
switches. Updated profiles and subprofiles to conform to SMI-S 1.5.
May 2011
Title Publication number Summary of changes Date
Brocade Network Advisor SMI Agent Developer’s Guide
Brocade Network Advisor SMI Agent Developer’s Guide
53-1002534-01 Updated to support Brocade 6505
switch, FC8-32E port blade, and FC8­48E port blade. Updated AG class diagram and Physical Package, Access Points, Software, Blades, and Location subprofiles data model.
53-1001701-01 Updated to support Brocade 5430,
and Brocade 6520. Updated the Fabric profile. Included enhancements for SAN_Element.Name and AG class diagram, included AG Physical package support, and VF support for Brocade 7800.
March 2012
December 2012
Brocade Network Advisor SMI Agent Developer’s Guide iii 53-1002701-01
iv Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Contents
About This Document
How this document is organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Supported hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
What’s new in this document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Document conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Text formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi
Notes, cautions, and warnings . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Key terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Notice to the reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Additional information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Brocade resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Other industry resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Getting technical help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Brocade Network Advisor SMI Agent support . . . . . . . . . . . . . . . . . . xiv
Document feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Chapter 1 Connecting to the Fabric
Role-Based Access Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Admin Domains and Brocade Network Advisor SMI Agent . . . . . . . . 2
Connecting to the Brocade Network Advisor SMI Agent. . . . . . . . . . . 2
Connecting the Brocade Network Advisor SMI Agent
when security is enabled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Connecting the Brocade Network Advisor SMI Agent
when security is not enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Discovering a fabric and a host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Fabric discovery using SMIA extrinsic method. . . . . . . . . . . . . . . 3
Host discovery using SMIA extrinsic method . . . . . . . . . . . . . . . . 4
Discovery using SMIA Configuration Tool . . . . . . . . . . . . . . . . . . . 5
Chapter 2 Managed Object Format Files
Brocade Managed Object Format files . . . . . . . . . . . . . . . . . . . . . . . . 9
Additional MOF description specifications . . . . . . . . . . . . . . . . . . . .10
Creating and deleting instances . . . . . . . . . . . . . . . . . . . . . . . . .10
Deprecation qualifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Brocade Network Advisor SMI Agent Developer’s Guide v 53-1002701-01
Chapter 3 Profiles and Subprofiles
UML diagram conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
SMI profiles and subprofiles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Other features supported by
Brocade Network Advisor SMI Agent . . . . . . . . . . . . . . . . . . . . .15
Server profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Indications subprofile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Object manager adapter subprofile . . . . . . . . . . . . . . . . . . . . . .17
Fabric profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Rules governing Brocade_SAN.Name. . . . . . . . . . . . . . . . . . . . . 17
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Zone control and enhanced zone control subprofiles. . . . . . . .22
Job control profile for SessionControlWithJob and
ActivateZoneSetWithJob . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Zoning behavior details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
SAN zoning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Fabric virtual fabrics subprofile . . . . . . . . . . . . . . . . . . . . . . . . .33
Sample discovery configuration . . . . . . . . . . . . . . . . . . . . . . . . .34
Blades subprofile support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Topology view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
FDMI subprofile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Trunking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Switch profile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Physical package, access points, software, blades, and
location subprofiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
CP blades (Brocade extension) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Supported classes and associations . . . . . . . . . . . . . . . . . . . . .50
FC HBA profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Launch In Context profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
LIC names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Registration and data model. . . . . . . . . . . . . . . . . . . . . . . . . . . .54
vi Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
CEE switch support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Topology supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Zoning support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
LAGs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
CEE ACLs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
CEE maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
Brocade 8470 FCoE embedded switch support . . . . . . . . . . . . 74
Support for Layer 3 features . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
Brocade 8428 FCoE embedded switch support . . . . . . . . . . . .77
Fabric switch partitioning subprofile . . . . . . . . . . . . . . . . . . . . . . . . . 77
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
FC routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Edge-to-edge device sharing (no FCIP configured
in backbone). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
Backbone-to-edge device sharing (no FCIP configured
in backbone). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
Backbone-to-edge device sharing
(using VEX_Port over FCIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
Brocade Access Gateway and NPIV . . . . . . . . . . . . . . . . . . . . . . . . . .89
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
Access Gateway Physical Package . . . . . . . . . . . . . . . . . . . . . . . 92
Access Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
FRU profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
Chapter 4 Indications
Appendix A Brocade Network Advisor SMI Agent Error Codes
Brocade Network Advisor SMI Agent Developer’s Guide vii 53-1002701-01
Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Data model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Alert indications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Life-cycle indications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
viii Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
About This Document
In this chapter
How this document is organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Supported hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
What’s new in this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Document conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Notice to the reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Additional information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Getting technical help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Brocade Network Advisor SMI Agent support . . . . . . . . . . . . . . . . . . . . . . . . xiv
Document feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
How this document is organized
This document is organized to help you find the information that you want as quickly and easily as possible.
The document contains the following components:
Chapter 1, “Connecting to the Fabric” provides information about getting the fabric connected.
Chapter 2, “Managed Object Format Files” provides information about the format files.
Chapter 3, “Profiles and Subprofiles” provides information about the profiles and subprofiles
supported by the Integrated Storage Management Initiative (SMI).
Chapter 4, “Indications” provides the alert and life-cycle indications of all profiles.
Appendix A, “Brocade Network Advisor SMI Agent Error Codes” explains the error codes in
Brocade Network Advisor SMI Agent.
The procedures or parts of procedures documented here apply to some switches but not to others; this guide identifies exactly which switches are supported and which are not.
Although many different software and hardware configurations are tested and supported by Brocade Communications Systems, Inc. for Brocade Network Advisor SMI Agent 12.0.0, documenting all possible configurations and scenarios is beyond the scope of this document.
Brocade Network Advisor SMI Agent Developer’s Guide ix 53-1002701-01
Supported hardware
The following switches are supported by Brocade Network Advisor SMI Agent 12.0.0:
Brocade 300
Brocade 5100
Brocade 5300
Brocade 5410
Brocade 5424
Brocade 5430
Brocade 5450
Brocade 5460
Brocade 5470
Brocade 5480
Brocade 6505
Brocade 6510
Brocade 6520
Brocade VA-40 FC
Brocade 7800 Extension Switch
Brocade 8000 FCoE Switch
Brocade Encryption Switch
Brocade DCX
Brocade DCX-4S
Brocade DCX 8510-8 Backbone (8-slot)
Brocade DCX 8510-4 Backbone (4-slot)
The following blades are supported on the Brocade DCX and DCX-4S switches:
FC8-16 port blade
FC8-32 port blade
FC8-48 port blade
FC8-64 port blade
FCOE10-24 DCX Blade
FS8-18 Encryption Blade
FX8-24 DCX Extension Blade
The following blades are supported on the Brocade DCX 8510-8 Backbone (8-slot) and Brocade DCX 8510-4 Backbone (4-slot) switches:
FC8-32E port blade
FC8-48E port blade
FC8-64 port blade
FC16-32 port blade
x Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
FC16-48 port blade
FS8-18 Encryption Blade
FX8-24 DCX Extension Blade
What’s new in this document
The following changes have been made since this document was last released:
Information that is added:
- Support for Brocade 5430, Brocade 5431, Brocade M6505, and Brocade 6520. (Refer to
“Supported hardware” on page x.)
- Support for Physical Package is provided for Access Gateways. (Refer to “Access Gateway
Physical Package” on page 92.)
Information that is changed:
- Implemented the Role property to the Brocade_Node CIM class and the SwitchId property
in the Brocade_Switch class in the Fabric profile data model. (Refer to Figure 9 on page 20.)
- Modelled the port statistics and the port rate statistic information for the AGFCPorts.
(Refer to Figure 44 on page 90.)
- Made enhancements to the Brocade_SAN.ElementName class. (Refer to
“Brocade_SAN.ElementName properties” on page 21.)
For further information about new features and documentation updates for this release, refer to the release notes.
Document conventions
This section describes text formatting conventions and important notice formats used in this document.
Text formatting
The narrative-text formatting conventions that are used in this document are as follows:
bold text Identifies command names
italic text Provides emphasis
code text Identifies CLI output
Identifies the names of user-manipulated GUI elements Identifies keyword Identifies text to enter at the GUI or CLI
Identifies variables Identifies paths and Internet addresses Identifies document titles
Identifies command syntax examples
Brocade Network Advisor SMI Agent Developer’s Guide xi 53-1002701-01
For readability, command names in the narrative portions of this guide are presented in mixed
NOTE
ATTENTION
lettercase: for example, switchShow. In actual examples, command lettercase is all lowercase.
Notes, cautions, and warnings
The following notices and statements are used in this manual. They are listed below in order of increasing severity of potential hazards.
A note provides a tip, guidance, or advice, emphasizes important information, or provides a reference to related information.
An Attention statement indicates potential damage to hardware or data.
Key terms
For definitions specific to Brocade and Fibre Channel, see the technical glossaries on MyBrocade. See “Brocade resources” on page xiii for instructions on accessing MyBrocade.
For definitions of SAN-specific terms, visit the Storage Networking Industry Association online dictionary at:
http://www.snia.org/education/dictionary
Notice to the reader
This document may contain references to the trademarks of the following corporations. These trademarks are the properties of their respective companies and corporations.
These references are made for informational purpose only.
Corporation Referenced trademarks and products
Microsoft Corporation Windows, Windows NT, Internet Explorer
Red Hat, Inc. Red Hat, Red Hat Network, Maximum RPM, Linux Undercover
Additional information
This section lists additional Brocade and industry-specific documentation that you might find helpful.
xii Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Brocade resources
To get up-to-the-minute information, go to http://my.brocade.com to register at no cost for a user ID and password.
White papers, online demonstrations, and data sheets are available through the Brocade website at:
http://www.brocade.com/products-solutions/products/index.page
For additional Brocade documentation, visit the Brocade website:
http://www.brocade.com
Release notes are available on the MyBrocade website.
Other industry resources
For additional resource information, visit the Technical Committee T11 website. This website provides interface standards for high-performance and mass storage applications for Fibre Channel, storage management, and other applications:
http://www.t11.org
For information about the Fibre Channel industry, visit the Fibre Channel Industry Association website:
http://www.fibrechannel.org
Getting technical help
Contact your switch support supplier for hardware, firmware, and software support, including product repairs and part ordering. To expedite your call, have the following information available:
1. General Information
Switch model
Switch operating system version
Software name and software version, if applicable
Error numbers and messages received
supportSave command output
Detailed description of the problem, including the switch or fabric behavior immediately
following the problem, and specific questions
Description of any troubleshooting steps already performed and the results
Serial console and Telnet session logs
syslog message logs
2. Switch Serial Number
Brocade Network Advisor SMI Agent Developer’s Guide xiii 53-1002701-01
The switch serial number and corresponding bar code are provided on the serial number
label, as illustrated below.
*FT00X0054E9*
FT00X0054E9
3. World Wide Name (WWN)
Use the licenseIdShow command to display the WWN of the chassis.
If you cannot use the licenseIdShow command because the switch is inoperable, you can
get the WWN from the same place as the serial number, except for the Brocade DCX. For the Brocade DCX, access the numbers on the WWN cards by removing the Brocade logo plate at the top of the non-port side of the chassis.
Brocade Network Advisor SMI Agent support
Report any problems or issues in using the Brocade Network Advisor SMI Agent to the following e-mail address:
support@brocade.com
When contacting support at Brocade, provide the following:
Brocade Network Advisor supportSave. Refer to the Brocade Network Advisor User Manual for
the steps involved in running the supportSave command.
Steps followed to produce the problem
Error messages received
Sample code exhibiting problem (if possible)
Document feedback
Quality is our first concern at Brocade and we have made every effort to ensure the accuracy and completeness of this document. However, if you find an error or an omission, or you think that a topic needs further development, we want to hear from you. Forward your feedback to:
documentation@brocade.com
Provide the title and version number of the document and as much detail as possible about your comment, including the topic heading and page number and your suggestions for improvement.
xiv Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Chapter
Connecting to the Fabric
In this chapter
Role-Based Access Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Admin Domains and Brocade Network Advisor SMI Agent. . . . . . . . . . . . . . . 2
Connecting to the Brocade Network Advisor SMI Agent . . . . . . . . . . . . . . . . . 2
Discovering a fabric and a host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Role-Based Access Control
Role-Based Access Control (RBAC) defines the capabilities that a user account has based on the role the account has been assigned. For each role, there is a set of pre-defined permissions on the jobs and tasks that can be performed on a fabric and its associated fabric elements.
The RBAC check is performed based on the value of the Storage Management Initiative (SMI) Agent Operations privilege for Common Information Model Object Manager (CIMOM) client requests. The following responses are received for the different values of the SMI Agent Operations privilege:
1
No Access - If you query the CIMOM without the SMI Agent Operations privilege, the following
WBEM Exception is returned. CIM_ERR_ACCESS_DENIED: The specified principal does not have access to perform this operation.
Read Only Access - If you have the Read Only Access privilege and try to perform any write
operation on any of the profiles, the following WBEM Exception is returned. CIM_ERR_ACCESS_DENIED: The specified principal does not have access to perform this operation. The user is not restricted to perform the WBEM queries.
Read/Write Access - No restriction is imposed on any user who has Read/Write Access for the
SMI Agent Operations privilege.
All the Resource Grouping (fabrics and hosts) performed through the user management dialog
boxes is honored by the CIMOM. The resource grouping is not be applicable for filtering out indications. The indications from all the fabrics managed by Brocade Network Advisor is delivered irrespective of the resource grouped by the user.
If you select the Authentication mode as No Authentication, then all the previously specified
RBAC checks are performed on the credentials provided by you in the Authentication tab of the Configuration Tool and the previously described behavior is observed.
If a user A changes the password of a user B who has logged in to CIMOM, the user B can
continue querying the CIMOM until Brocade Network Advisor expires the user B session.
You can retrieve all the information from the interop namespace and can perform the getclass operations even if there is no access for the SMI Agent Operations privilege.
Refer to the Brocade Network Advisor User Manual for more information about RBAC.
Brocade Network Advisor SMI Agent Developer’s Guide 1 53-1002701-01
Admin Domains and Brocade Network Advisor SMI Agent
1
Admin Domains and Brocade Network Advisor SMI Agent
The Brocade Network Advisor SMI Agent does not support Admin Domains though they are supported in Brocade Network Advisor. It is recommended to exclude fabrics containing Admin Domains using the Resource Grouping option in the user dialog box that can be launched from the Configuration Tool.
Connecting to the Brocade Network Advisor SMI Agent
This section describes how to connect to the Brocade Network Advisor SMI Agent when security is enabled and when security is not enabled.
Connecting the Brocade Network Advisor SMI Agent when security is enabled
Connect with the Brocade Network Advisor SMI Agent as shown in the following sample Java code. The code samples use the Java Web Start (JWS) client library. Other client libraries might differ slightly in syntax.
On Windows and Linux:
String strCIMOMIP = "https://localhost"; String strNameSpace = "root/brocade1"; String strUser = "BNA UserName"; String strPasswd = "BNA Password"; String nsStr = protocolType + "://" + hostname + ":" + portNum + "/" + strNameSpace;
CIMNameSpace objCIMNameSpace = new CIMNameSpace(strCIMOMIP, strNameSpace); UserPrincipal objUserPrincipal = new UserPrincipal(strUser); PasswordCredential objPasswordCredential = new PasswordCredential(strPasswd); CIMClient m_objClient = new CIMClient(objCIMNameSpace, objUserPrincipal, objPasswordCredential); CIMNameSpace objCIMNameSpace = new CIMNameSpace (nsStr);
Connecting the Brocade Network Advisor SMI Agent when security is not enabled
You can connect to the SMI Agent using any UserPrincipal and PasswordCredential, as these are not validated by the SMI Agent when security is not enabled.
For more information on authentication, refer to the authentication section in the Brocade Network Advisor User Manual.
2 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Discovering a fabric and a host
You can discover, edit, and delete a fabric or a host in two ways:
Using the SMIA extrinsic method
Using the SMIA Configuration Tool
Fabric discovery using SMIA extrinsic method
The CIMOM fabric discovery process enables the user to discover and delete fabrics through an extrinsic method implemented in the Brocade_DiscoveryService. It allows the user to edit the user credentials and the Simple Network Management Protocol (SNMP) configurations so that a fabric containing switches with different credentials and SNMP configurations can be managed effectively.
Features supported
The following features are supported by the CIMOM fabric discovery:
Option to discover all types of Storage Area Network (SAN) fabrics supported by the Brocade
Network Advisor.
Option to edit the switch credentials and the SNMP configurations used to discover the fabric
after the fabric is discovered.
Option to delete a fabric based on the fabric CIM Object Path (COP).
If the discovery of one of the Virtual Fabric (VF) fails, the return parameter is set to
PARTIALLY_DISCOVERED and the out parameter contains the Fabric Identifier (FID) and the error code of the fabric that failed to get discovered.
Discovering a fabric and a host
1
Limitations
The following are the limitations of the CIMOM fabric discovery:
All the contexts are discovered by default in the VF. The user cannot select the contexts to be
discovered, but can delete the unwanted contexts through the DeleteFabric extrinsic method.
No support for Monitor and un-monitor operations.
No provision to change the Seed switch.
No support to discover M model switches.
Data model
The Brocade_Fabric has two new additional properties, SeedSwitchWWN and SeedSwitchIP.
The connection setting of each switch is associated to the discovery service.
Every switch in the discovered fabric is represented with an instance of
Brocade_SwitchConnectionSettings. This instance gives the data to be provided in the discover Fabric dialog box of the Brocade Network Advisor client, such as switch status, user ID, and so on.
The discovery service is hosted on the management server.
Figure 1 shows the data model of the fabric discovery through the SMIA extrinsic method.
Brocade Network Advisor SMI Agent Developer’s Guide 3 53-1002701-01
Discovering a fabric and a host
1
FIGURE 1 Fabric discovery data model
Host discovery using SMIA extrinsic method
The CIMOM host discovery process enables the user to discover and delete hosts through an extrinsic method implemented in the Brocade_DiscoveryService.
Features supported
The following features are supported by the CIMOM host discovery process:
Option to discover all types of hosts supported by Brocade Network Advisor.
Option to delete a host based on the HostDiscovered COP provided.
Option to receive the status of the host discovery information maintained in the
Brocade_HostDiscovered class.
Option to receive the status of discovery or deletion requests on execution of the DiscoverHost
and DeleteHost methods.
Limitations
The following are the limitations of the CIMOM host discovery process:
Supports only direct discovering of the host either through its IP address or its name, but does
not support for discovery from fabric or Virtual Machine (VM) Manager.
Editing the host discovery information through the CIMOM is not supported.
The history of the deleted host is not maintained in the CIMOM.
4 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Discovering a fabric and a host
1
Data model
The Brocade_HostDiscovered class gives the discovery information of each host associated to
the Discovery service.
The discovery service is hosted on the management server.
Figure 2 shows the data model of the host discovery through the SMIA extrinsic method.
FIGURE 2 Host discovery data model
Discovery using SMIA Configuration Tool
The fabric and host can be discovered, edited, and deleted using the SMIA Configuration Tool. The Home tab includes the Fabric Discovery and Host Discovery links to discover the fabric and host respectively.
Figure 3 shows the fabric discovery through the SMIA Configuration Tool.
Brocade Network Advisor SMI Agent Developer’s Guide 5 53-1002701-01
Discovering a fabric and a host
1
FIGURE 3 Fabric discovery using SMIA Configuration Tool
Figure 4 shows the host discovery through the SMIA Configuration Tool.
6 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Discovering a fabric and a host
F
1
FIGURE 4 Host discovery using SMIA Configuration Tool
For more information related to fabric and host discovery, refer to the Brocade Network Advisor User Manual.
Brocade Network Advisor SMI Agent Developer’s Guide 7 53-1002701-01
Discovering a fabric and a host
1
8 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Chapter
Managed Object Format Files
In this chapter
Brocade Managed Object Format files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Additional MOF description specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Brocade Managed Object Format files
Brocade supplies Managed Object Format (MOF) files for managing Brocade objects.
The following top-level files load MOF files into specific namespaces:
BrocadeNamespace.mof links MOF files loaded in the root/brocade1 namespace.
InteropNamespace.mof links MOF files loaded in the interop namespace.
Tab le 1 lists the files that contain Brocade MOF definitions.
TABLE 1 Brocade Managed Object Format files
MOF filename Description
2
BrocadeAccessGateway.mof Access Gateway
BrocadeAccessPoint.mof Access Point subprofile
BrocadeAgent.mof CIMOM Agent
BrocadeAGStatistics.mof AGFCPort statistics
BrocadeBlade.mof Blade subprofile
BrocadeCEEACL.mof CEE ACL discovery and configuration
BrocadeCEEMap.mof CEE Map discovery and configuration
BrocadeEthernet.mof Ethernet switch discovery
BrocadeExtender.mof FCIP-capable switch modeling
BrocadeFabric.mof Fabric profile
BrocadeFabricDiscovery.mof Fabric Discovery
BrocadeFCHBA.mof FC HBA profile
BrocadeFCSwitch.mof FC Switch profile
BrocadeFDMI.mof FDMI subprofile
BrocadeFRU.mof Fan, Power Supply, Sensors profiles
BrocadeIndications.mof Indications
BrocadeJobControl.mof JobControl subprofile
BrocadeLAG.mof LAG discovery and configuration
Brocade Network Advisor SMI Agent Developer’s Guide 9 53-1002701-01
Additional MOF description specifications
NOTE
2
TABLE 1 Brocade Managed Object Format files (Continued)
MOF filename Description
BrocadeLaunchInContext.mof Launch In Context profile
BrocadePartitioning.mof FabricVirtualFabrics subprofile
BrocadePhysicalPackage.mof Location subprofile
BrocadeProfile.mof Profile Registration
BrocadeSoftware.mof Software subprofile
BrocadeSwitchStatistics.mof SwitchFCPort statistics
BrocadeTopologyView.mof Topology view
BrocadeVLAN.mof VLAN discovery and configuration
BrocadeZoning.mof Zone Control and SAN zoning subprofile
The Brocade subclasses do not automatically override all of the properties in the superclass. The properties that are not overridden have a null value unless the superclass has a default value that is defined in the MOF. When the property in the MOF is defined to be of type sint16, then the equivalent Java type is
java.lang.Short.
FCR subprofile
Physical Package subprofile
Additional MOF description specifications
The Brocade MOF files contain additional specification-related information in the Description qualifier. The following situations are described:
If a given instance of a class can be created or deleted by the Brocade Network Advisor SMI
Agent
If a given class or property applies only to specific switch firmware versions
Creating and deleting instances
If instances of a class can be intrinsically created and deleted, the following line is included in the Description qualifier:
Instances of this class can be created and deleted by a client
If instances of a class can only be created, the following line is included in the Description qualifier:
Instances of this class can be created by a client
If instances of a class can only be deleted, the following line is included in the Description qualifier:
Instances of this class can be deleted by a client
10 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Additional MOF description specifications
For example:
[Provider("java:com.brocade.api.cim.provider.zoning.Brocade_ZoneSetProvider"),
Description (
"Brocade_ZoneSet is a container of zones.\n\n" "Instances of this class can be deleted by a client.")]
class Brocade_ZoneSet: CIM_ZoneSet {
2
Deprecation qualifier
Instance classes, association classes, properties, or extrinsic methods that have the Common Information Model (CIM) qualifier deprecated in the MOF definition will continue to be implemented in the Brocade Network Advisor SMI Agent. If a new implementation is documented, you should use the new implementation as soon as possible to minimize backward-compatibility issues.
Brocade Network Advisor SMI Agent Developer’s Guide 11 53-1002701-01
Additional MOF description specifications
2
12 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Chapter
Profiles and Subprofiles
In this chapter
UML diagram conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
SMI profiles and subprofiles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Server profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Fabric profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Switch profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
CP blades (Brocade extension). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
FC HBA profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Launch In Context profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
CEE switch support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Fabric switch partitioning subprofile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
FC routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Brocade Access Gateway and NPIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
FRU profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
3
UML diagram conventions
This chapter provides Unified Modeling Language (UML) diagrams depicting the Brocade additions to the Brocade Network Advisor SMI Agent. Each UML diagram corresponds to the Brocade Managed Object Format (MOF) file of the same name.
Figure 5 illustrates the conventions used in the UML diagrams.
FIGURE 5 UML diagram convention
Brocade Network Advisor SMI Agent Developer’s Guide 13 53-1002701-01
SMI profiles and subprofiles
3
SMI profiles and subprofiles
Tab le 2 lists the features supported by the Brocade Network Advisor SMI Agent. All SMI-S profiles
and subprofiles conforms to SMI-S 1.4. Other profiles and subprofiles are vendor extensions.
TABLE 2 SMI profiles and subprofiles
Profile Subprofile SMI-S version
Server Indications 1.4
Profile Registration 1.0.0
Object Manager Adapter 1.4
Fabric Fabric Profile 1.4
Zone Control 1.4
Enhanced Zoning and Enhanced Zoning Control 1.4
FDMI 1.2
FabricVirtualFabrics 1.2
FabricView 1.5
Switch Switch Profile 1.3
Blades 1.4
Physical Package 1.3
Software 1.4
Access Points 1.3
Location 1.4
FabricSwitchPartitioning 1.2
Host FC HBA Profile 1.3
FC Initiator Ports Subprofile 1.3
Fan, Power Supply, and Sensor
Security Role-Based Authorization (CEE ACL only) 1.0.0
FC Router Inter-Fabric Routing Profile 1.5
Launch In Context Launch In Context Profile 1.5
Access Gateway (AG) and Node Port Initialized Virtualization (NPIV)
Fan Profile 1.0.0
Sensors Profile 1.0.0
Power Supply Profile 1.0.0
N_Port Virtualizer Profile 1.5
Physical Package 1.5
14 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Other features supported by
NOTE
Brocade Network Advisor SMI Agent
The following are the additional features supported by Brocade Network Advisor SMI Agent:
Support for Fibre Channel Router (FCR), modeled through the FabricSwitchPartitioning
Names
Support for the Converged Enhanced Ethernet (CEE) switch
Support for Zoning Session operations through Job Control
Support for selected indications
SAN zoning
Support for fabric discovery and host discovery
Server profile
The Server profile is supported by the Web-Based Enterprise Management (WBEM) Solutions J WBEM Server CIMOM. The Brocade Network Advisor SMI Agent is a combination of two products, the CIMOM and the provider product. Each product supports its software as shown in Figure 6.
subprofile
Server profile
3
The Brocade Network Advisor SMI Agent's J WBEM Server has been upgraded from version 3.4.3 to version 3.9.0. The 64 bit Network Advisor will contain a 64 bit JServer with it and the 32 bit Network Advisor will contain a 32 bit JServer.
Brocade Network Advisor SMI Agent Developer’s Guide 15 53-1002701-01
3
Server profile
FIGURE 6 Server profile
Indications subprofile
The Indications subprofile is supported by the WBEM Solutions J WBEM Server CIMOM as shown in
Figure 7.
16 Brocade Network Advisor SMI Agent Developer’s Guide
53-1002701-01
Loading...
+ 142 hidden pages