command reference (beta) - oracle
TRANSCRIPT
Oraclereg Fabric Manager
Command Reference (Beta)
Part No E49556-02September 2014
Copyright copy 2014 Oracle andor its affiliates All rights reservedThis software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected byintellectual property laws Except as expressly permitted in your license agreement or allowed by law you may not use copy reproduce translatebroadcast modify license transmit distribute exhibit perform publish or display any part in any form or by any means Reverse engineeringdisassembly or decompilation of this software unless required by law for interoperability is prohibitedThe information contained herein is subject to change without notice and is not warranted to be error-free If you find any errors please report them to usin writingIf this is software or related software documentation that is delivered to the US Government or anyone licensing it on behalf of the US Government thefollowing notice is applicableUS GOVERNMENT END USERS Oracle programs including any operating system integrated software any programs installed on the hardwareandor documentation delivered to US Government end users are commercial computer software pursuant to the applicable Federal AcquisitionRegulation and agency-specific supplemental regulations As such use duplication disclosure modification and adaptation of the programs includingany operating system integrated software any programs installed on the hardware andor documentation shall be subject to license terms and licenserestrictions applicable to the programs No other rights are granted to the US GovernmentThis software or hardware is developed for general use in a variety of information management applications It is not developed or intended for use in anyinherently dangerous applications including applications that may create a risk of personal injury If you use this software or hardware in dangerousapplications then you shall be responsible to take all appropriate fail-safe backup redundancy and other measures to ensure its safe use OracleCorporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applicationsOracle and Java are registered trademarks of Oracle andor its affiliates Other names may be trademarks of their respective ownersIntel and Intel Xeon are trademarks or registered trademarks of Intel Corporation All SPARC trademarks are used under license and are trademarks orregistered trademarks of SPARC International Inc AMD Opteron the AMD logo and the AMD Opteron logo are trademarks or registered trademarks ofAdvanced Micro Devices UNIX is a registered trademark of The Open GroupThis software or hardware and documentation may provide access to or information on content products and services from third parties OracleCorporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content products andservices Oracle Corporation and its affiliates will not be responsible for any loss costs or damages incurred due to your access to or use of third-partycontent products or services
Copyright copy 2014 Oracle etou ses affilieacutes Tous droits reacuteserveacutesCe logiciel et la documentation qui lrsquoaccompagne sont proteacutegeacutes par les lois sur la proprieacuteteacute intellectuelle Ils sont conceacutedeacutes sous licence et soumis agrave desrestrictions drsquoutilisation et de divulgation Sauf disposition de votre contrat de licence ou de la loi vous ne pouvez pas copier reproduire traduirediffuser modifier breveter transmettre distribuer exposer exeacutecuter publier ou afficher le logiciel mecircme partiellement sous quelque forme et parquelque proceacutedeacute que ce soit Par ailleurs il est interdit de proceacuteder agrave toute ingeacutenierie inverse du logiciel de le deacutesassembler ou de le deacutecompiler excepteacute agravedes fins drsquointeropeacuterabiliteacute avec des logiciels tiers ou tel que prescrit par la loiLes informations fournies dans ce document sont susceptibles de modification sans preacuteavis Par ailleurs Oracle Corporation ne garantit pas qursquoellessoient exemptes drsquoerreurs et vous invite le cas eacutecheacuteant agrave lui en faire part par eacutecritSi ce logiciel ou la documentation qui lrsquoaccompagne est conceacutedeacute sous licence au Gouvernement des Etats-Unis ou agrave toute entiteacute qui deacutelivre la licence dece logiciel ou lrsquoutilise pour le compte du Gouvernement des Etats-Unis la notice suivante srsquoapplique US GOVERNMENT END USERS Oracle programs including any operating system integrated software any programs installed on the hardwareandor documentation delivered to US Government end users are commercial computer software pursuant to the applicable Federal AcquisitionRegulation and agency-specific supplemental regulations As such use duplication disclosure modification and adaptation of the programs includingany operating system integrated software any programs installed on the hardware andor documentation shall be subject to license terms and licenserestrictions applicable to the programs No other rights are granted to the US GovernmentCe logiciel ou mateacuteriel a eacuteteacute deacuteveloppeacute pour un usage geacuteneacuteral dans le cadre drsquoapplications de gestion des informations Ce logiciel ou mateacuteriel nrsquoest pasconccedilu ni nrsquoest destineacute agrave ecirctre utiliseacute dans des applications agrave risque notamment dans des applications pouvant causer des dommages corporels Si vousutilisez ce logiciel ou mateacuteriel dans le cadre drsquoapplications dangereuses il est de votre responsabiliteacute de prendre toutes les mesures de secours desauvegarde de redondance et autres mesures neacutecessaires agrave son utilisation dans des conditions optimales de seacutecuriteacute Oracle Corporation et ses affilieacutesdeacuteclinent toute responsabiliteacute quant aux dommages causeacutes par lrsquoutilisation de ce logiciel ou mateacuteriel pour ce type drsquoapplicationsOracle et Java sont des marques deacuteposeacutees drsquoOracle Corporation etou de ses affilieacutesTout autre nom mentionneacute peut correspondre agrave des marquesappartenant agrave drsquoautres proprieacutetaires qursquoOracleIntel et Intel Xeon sont des marques ou des marques deacuteposeacutees drsquoIntel Corporation Toutes les marques SPARC sont utiliseacutees sous licence et sont desmarques ou des marques deacuteposeacutees de SPARC International Inc AMD Opteron le logo AMD et le logo AMD Opteron sont des marques ou des marquesdeacuteposeacutees drsquoAdvanced Micro Devices UNIX est une marque deacuteposeacutee drsquoThe Open GroupCe logiciel ou mateacuteriel et la documentation qui lrsquoaccompagne peuvent fournir des informations ou des liens donnant accegraves agrave des contenus des produits etdes services eacutemanant de tiers Oracle Corporation et ses affilieacutes deacuteclinent toute responsabiliteacute ou garantie expresse quant aux contenus produits ouservices eacutemanant de tiers En aucun cas Oracle Corporation et ses affilieacutes ne sauraient ecirctre tenus pour responsables des pertes subies des coucirctsoccasionneacutes ou des dommages causeacutes par lrsquoaccegraves agrave des contenus produits ou services tiers ou agrave leur utilisation
PleaseRecycle
Contents
Using This Documentation xxiii
1 Oracle Fabric Manager CLI Overview 1
Understanding Oracle Fabric Manager Elements 1
Virtual Resources 2
Oracle Fabric Interconnects 2
IO Templates 3
IO Profiles 3
Physical Servers 3
Roles 4
Domains 4
Using the CLI 4
Forming Commands 5
Completing Commands 7
Entering Commands 7
add Command Options 8
show Command Options 8
set Command Options 10
remove Command Options 11
Command Summary 12
iii
Viewing Your Command History 15
Using Wildcards 16
Logging in to Oracle Fabric Manager Using the CLI 17
Initial User Accounts 17
Understanding Authentication in Oracle Fabric Manager 18
Logging In to Oracle Fabric Manager CLI 19
2 Getting Started 21
Managing the Oracle Fabric Interconnect 21
Add Oracle Fabric Interconnects 22
Understanding High Availability (HA) Network and Storage Clouds 23
Creating a Network Cloud 24
Understanding the Default Network Cloud 24
Adding and Configuring a Network Cloud with HA 25
Creating a Storage Cloud 27
Understanding the Default Storage Cloud 27
Adding and Configuring a Storage Cloud with HA 27
Creating an IO Template 29
Create an IO Template 29
Creating and Deploying an IO Profile 31
Create and Deploy an IO Profile 31
3 Working with Oracle Fabric Interconnects 35
Understanding Oracle Fabric Interconnects 35
Adding Oracle Fabric Interconnects to Oracle Fabric ManagerrsquosEnvironment 36
Displaying Information about Oracle Fabric Interconnects 37
Displaying Summary Information 38
Syntax 38
Example 1 38
iv Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example 2 38
Fields 39
Displaying Director Details 40
Displaying IO Card Information 41
Syntax 41
Example 41
Field Definitions 42
Displaying FC Port Information 44
Syntax 45
Example 45
Field Definitions 45
Displaying Ethernet Port Information 46
Syntax 46
Example 47
Field Definitions 48
Managing Oracle Fabric Interconnects 49
Restarting an Oracle Fabric Interconnect 49
Syntax 50
Example 50
Removing an Oracle Fabric Interconnect 50
Syntax 50
Examples 50
Managing User Access Security 50
Understanding How Oracle Fabric Manager Controls User Access 51
User Roles 51
Resource Domains 52
Default Domain 52
Default Domain Users 53
Contents v
Role and Domain Group Mappings 53
Using the No Access Role 54
Working with User Roles 54
Syntax 55
Example 56
Options 56
Working with Role Group Mappings 57
Syntax 57
Example 58
Working with Domain Group Mappings 58
Syntax 58
Examples 59
Configuring Resource Domains 59
Syntax 60
Example 62
4 Working with Network Clouds 63
Understanding Network Clouds and vNICs 63
vNICs 64
Private vNICs 64
Network QoS Profiles 65
High Availability Network Clouds 65
Ethernet Link Aggregation Groups (LAGs) 66
Virtual Local Area Networks (VLANs) 66
Round Robin Port Allocation Policy for a Network Cloud 67
Creating a Network Cloud 67
Adding a Network Cloud 68
Syntax 68
Examples 68
vi Oracle Fabric Manager Command Reference (Beta) bull September 2014
Options 68
Setting Network Cloud Options 70
Syntax 70
Examples 71
Options 71
Adding Ethernet Ports 72
Syntax 72
Examples 72
Adding Ethernet LAGs 73
Syntax 73
Examples 73
Adding High Availability (HA) to the Network Cloud 73
Syntax 73
Options 74
Examples 74
Displaying Network Cloud Details 74
Displaying Network Cloud Information 74
Syntax 74
Example 75
Field Definitions 75
Displaying Ethernet Port Information 77
Syntax 77
Example 78
Field Definitions 78
Displaying MAC Addresses 79
Syntax 79
Example 80
Removing Network Clouds Ethernet Ports and MAC IDs 80
Contents vii
Removing Network Clouds from your Environment 80
Syntax 81
Example 81
Removing Ethernet Ports from a Network Cloud 81
Syntax 81
Example 81
Removing Ethernet LAGs from a Network Cloud 81
Syntax 82
Example 82
Removing MAC IDs from a Network Cloud 82
Syntax 82
Example 82
Creating and Using vNICs 82
Adding vNICs to your Network Cloud 83
Syntax 83
ExamplemdashAdding a vNIC 83
ExamplemdashAdding an HA vNIC 84
Options 84
Setting vNIC Options 87
Syntax 87
Examples 88
Field Definitions 88
Setting a vNIC in a Network Cloud 88
Setting a vNICrsquos Termination 88
Displaying vNIC Information 88
SyntaxmdashvNICs on a Physical Server 88
ExamplemdashvNICs on a Physical Server 89
SyntaxmdashvNICs on an IO Template 89
viii Oracle Fabric Manager Command Reference (Beta) bull September 2014
ExamplemdashvNICs on an IO Template 90
Field Definitions 90
Removing vNICs from a Network Cloud 92
Syntax 92
Example 92
Working with Ethernet Link Aggregation Groups (LAGs) 92
Adding a LAG 93
Syntax 93
Example 94
Options 94
Configuring a LAG 94
Syntax 94
Example 95
Options 95
Displaying LAG Information 96
Syntax 96
Example--Ethernet LAG Information 97
Example--Ethernet LAG Port Information 97
Fields 97
Removing LAG 98
Syntax 98
Example 99
Working with Network QoS 99
Displaying Network QoS Information 99
Syntax 99
ExamplemdashDisplay Defined QoS Profiles 100
ExamplemdashDisplay Individual QoS Information 100
Fields 101
Contents ix
Removing a Network QoS Profile 101
Syntax 101
Example 101
Displaying MAC-Based QoS Information 102
Syntax 102
Example 103
Fields 103
Removing a MAC-based QoS Profile 103
Syntax 104
Example 104
Working with Default Gateways 104
Understanding Default Gateways 104
Creating a Default Gateway 105
Syntax 105
Example 105
Fields 105
Configuring a Default Gateway 106
Syntax 106
Example 106
Displaying Default Gateway Information 106
Syntax 106
Example 107
Fields 107
Removing a Default Gateway 108
Syntax 108
Example 108
5 Working With Storage Clouds 109
Understanding Storage Clouds and vHBAs 109
x Oracle Fabric Manager Command Reference (Beta) bull September 2014
Storage Clouds 109
vHBAs 110
Storage Area Network (SAN) QoS Profile 110
High Availability Storage Clouds 111
LUN Masks 111
Round Robin Port Allocation Policy for a Storage Cloud 112
World Wide Names 112
Creating a Storage Cloud 113
Adding a Storage Cloud 113
Syntax 113
ExamplemdashAdding a Storage Cloud 114
ExamplemdashAdding a Storage Cloud QoS Profile 114
Options 114
Setting Storage Cloud Options 114
Syntax 115
Example 115
Options 115
Adding Fibre Channel Ports 115
Syntax 116
Examples 116
Adding High Availability to the Storage Cloud 116
Syntax 116
Options 116
Examples 117
Displaying Storage Cloud Details 117
Displaying Storage Cloud Information 117
Syntax 117
Example 118
Contents xi
Options 118
Displaying FC Port Information 119
Syntax 119
Example1 120
Example 120
Options 120
Displaying World Wide Names 121
Syntax 121
Examples 122
Removing Storage Clouds and FC Ports 122
Removing Storage Clouds from your Environment 123
Syntax 123
Example 123
Removing FC Ports from a Storage Cloud 123
Syntax 123
Examples 123
Creating and Using vHBAs 124
Adding vHBAs to a Storage Cloud 124
Syntax 124
ExamplemdashAdding a vHBA 125
ExamplemdashAdding an HA vHBA 125
Options 125
Setting vHBA Options 127
Syntax 127
Examples 128
Options 128
Rescanning a vHBA 128
Setting a vHBArsquos Storage Cloud 128
xii Oracle Fabric Manager Command Reference (Beta) bull September 2014
Setting a vHBArsquos Termination 129
Displaying vHBA Information 129
SyntaxmdashvHBAs on a Physical Server 129
ExamplemdashvHBAs on a Physical Server 129
SyntaxmdashvHBAs on an IO Template 130
ExamplemdashvHBAs on an IO Template 130
Example 130
Options 130
Removing vHBAs from a Storage Cloud 131
Syntax 131
Example 131
Working with SAN Quality of Service (QoS) 132
Assigning QoS Profiles 132
Displaying SAN QoS Profiles 132
Syntax 133
Examples 133
Options 133
6 Working with IO Templates 135
Understanding IO Templates 135
Stepping Through the Process 136
Providing Connectivity 137
Creating an IO Template 137
Adding an IO Template 137
Syntax 138
Example 138
Options 138
Adding Network Resources 139
Syntax 139
Contents xiii
Example 139
Options 139
Adding Storage Resources 141
Syntax 142
Example 142
Options 142
Changing IO Resources 143
Changing vNICs 143
Syntax 144
Example 144
Options 144
Changing vHBAs 144
Syntax 145
Example 145
Options 145
Displaying IO Resources 145
vNICs 145
Syntax 146
Example 146
Fields 146
vHBAs 147
Syntax 147
Example 148
Options 148
Servers 148
Syntax 149
Example 149
Options 149
xiv Oracle Fabric Manager Command Reference (Beta) bull September 2014
Removing IO Resources 151
vNICs 151
Syntax 151
Example 151
vHBAs 151
Syntax 151
Example 152
IO Templates 152
Syntax 152
Example 152
7 Working with IO Profiles 153
Understanding IO Profiles 153
Creating IO Profiles 154
Adding IO Profile 154
Syntax 155
Examples 155
Physical Connectivity 155
Connecting an IO Profile to a Physical Server 156
Syntax 156
Example 156
Disconnecting an IO Profile from a Physical Server 156
Syntax 156
Example 157
Updating an IO Profile 157
Syntax 157
Options 157
Example 158
Displaying IO Profile Resources 158
Contents xv
vNICs 158
Syntax 158
Example 159
Fields 159
vHBAs 160
Syntax 160
Example 161
Fields 161
IO Profiles 162
Syntax 162
Examples 163
Fields 164
Removing an IO Profile 165
Removing IO Profiles 165
Syntax 165
Examples 165
8 Working with Physical Servers 167
Physical Server Connections 167
Connecting a Physical Server 167
Syntax 168
Example 168
Disconnecting a Physical Server 168
Syntax 169
Example 169
Displaying Physical Server Resource Information 169
General Information 169
Syntax 170
Example 170
xvi Oracle Fabric Manager Command Reference (Beta) bull September 2014
Fields 170
vNICs 172
Syntax 173
Example 173
Fields 173
vHBAs 174
Syntax 174
Example 175
Fields 175
Server Groups 176
Statistics 176
Syntax 177
Example 177
Fields 177
Working with Server Groups 178
Creating a Server Group from Selected Servers 178
Syntax 179
Example 179
Displaying Server Groups 179
Syntax 179
Examples 180
Removing Server Groups 180
Syntax 180
Example 181
Removing Virtual IO Resources from Server Groups 181
Syntax 181
Example 181
Removing Server Groups 181
Contents xvii
Syntax 182
Example 182
9 Working with Boot Profiles 183
Understanding and Working with SAN Boot Profiles 183
Creating a SAN Boot Profile 185
Syntax 186
Example 186
Fields 186
Displaying SAN Boot Profile Details 187
Syntax 187
Example 188
Fields 188
Deleting a SAN Boot Profile 189
Syntax 189
Example 190
Understanding and Working with iSCSI Boot Profiles 190
Creating and Changing an iSCSI Boot Profile 192
Syntax 192
Example 193
Fields 193
Displaying an iSCSI Boot Profile 194
Syntax 194
Example 195
Fields 195
Deleting an iSCSI Boot Profile 197
Syntax 197
Example 197
xviii Oracle Fabric Manager Command Reference (Beta) bull September 2014
10 Oracle Fabric Manager CLI Quick Reference 199
Role Group Mapping 200
Example Output 202
Domain Group Mapping 202
Example Output 203
PVI Cloud 203
Example Output 205
Applications 205
Example Output 206
Network Clouds 207
Example Output 1 210
Example Output 2 210
Storage Clouds 211
Example Output 1 214
Example Output 2 214
IO Templates 214
Example Output 1 219
Example Output 2 219
IO Profiles 220
Example Output 1 223
Example Output 2 223
Physical Servers 223
Example Output 226
Example Output 226
Global Address 226
System Commands for the Oracle Fabric Interconnect or Oracle Fabric Manager227
System Information and Tech Support 228
Example Output 228
Contents xix
Jobs 228
Example Output 231
Network Connectivity (ping traceroute) 231
Example Output 232
Example Output 232
Oracle Fabric Interconnects 232
Example Output 234
Example Output 234
vNICs 234
Example Output 237
Example Output 237
vHBAs 238
Example Output 240
Example Output 240
Example Output 240
Server Groups 241
Example Output 242
Ethernet LAGs 242
Example Output 244
Default Gateways 244
Example Output 245
Network Quality of Service (QoS) 245
Example Output 246
Storage Quality of Service (QoS) 246
Example Output 247
MAC-Based Quality of Service 247
Example Output 248
Boot Profiles 248
xx Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example Output 251
Example Output 251
User Role 252
Example Output 253
Resource Domain 253
Example Output 255
CLI Properties 255
World Wide Names and MAC addresses 257
Example Output 258
Example Output 258
LUN Masks 259
Example Output 1 260
Example Output 2 260
Oracle SDN Controllers 261
Plugins 262
A Installing and Removing Applications 263
Adding an Application 263
Displaying Information About Applications 264
Removing an Application 264
B Working with Oracle SDN 267
Renaming an Oracle SDN Fabric 267
Syntax 267
Example 267
Display Oracle SDN Fabric Information 268
Syntax 268
Example 268
C Private Virtual Interface (PVI) Clouds 269
Contents xxi
Adding and Configuring a PVI Cloud 269
Displaying a PVI Cloud 270
Removing a PVI Cloud 271
D System Commands for the Oracle Fabric Interconnect or Oracle FabricManager 273
Exiting Oracle Fabric Manager 273
Rescanning 273
E Network Connectivity 275
Using the PING Command 275
Using the TRACEROUTE Command 275
Index 277
displaying 119 280
xxii Oracle Fabric Manager Command Reference (Beta) bull September 2014
Using This Documentation
This document provides command descriptions syntax and examples for some basicfunctionality available in the Oracle Fabric Manager CLI For additionaldocumentation including more robust configuration and administration tasksthrough the Oracle Fabric Manager GUI see the Oracle Fabric Manager Userrsquos Guide
This document is intended for enterprise network administrators with experienceconfiguring network hardware and software products
For additional information see
ldquoProduct Notesrdquo on page xxiii
ldquoRelated Documentationrdquo on page xxiv
ldquoFeedbackrdquo on page xxv
ldquoSupport and Accessibilityrdquo on page xxv
Product NotesFor late-breaking information and known issues about this product refer to theproducts notes at
httpURL-to-product-library-page
xxiii
Related Documentation
Release notes are also available with each major hardware or software release for theFabric Interconnect Oracle Fabric Manager and its plugins and OVN host drivers forthe supported host OSes and hypervisors
Documentation Link
All Oracle products httpwwworaclecomdocumentation
Oracle Virtual Networking httpdocsoraclecomcdE38500_01indexhtml
Oracle Solaris OS andsystems software library
httpwwworaclecomtechnetworkindexesdocumentationindexhtmsys_sw
Document Part Number Publication Date
Oracle Fabric Manager User Guide E49557-02 092014
Oracle Fabric Interconnect Quick Install Guide E38476-01 092014
Oracle Fabric Interconnect Hardware and DriversInstallation Guide
E50997-02 092014
Oracle Fabric Monitor Userrsquos Guide E54892-01 092014
Oracle Fabric Manager VMware Integrator Userrsquos Guide E39267-01 012013
Oracle SDN Quick Start Guide E50732-02 092014
Oracle SDN Controller Userrsquos Guide E49478-03 022014
XgOS Userrsquos Guide E53170-02 092014
XgOS Remote Booting Guide E52520-01 092014
xxiv Oracle Fabric Manager Command Reference (Beta) bull September 2014
Revision TrailThe table shows the revision history for this document
FeedbackProvide feedback about this documentation at
httpwwworaclecomgotodocfeedback
Support and Accessibility
Document Title Document Number Revision Level Revision Date
Oracle Fabric Manager Command Reference E49556-02 Beta 092014
Description Links
Access electronic support throughMy Oracle Support
httpsupportoraclecom
Learn about Oraclersquos commitment toaccessibility
httpwwworaclecomuscorporateaccessibilityindexhtml
Using This Documentation xxv
xxvi Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 1
Oracle Fabric Manager CLIOverview
This section provides general information about the Oracle Fabric Manager CLI Itdescribes the Oracle Fabric Manager elements how to use the CLI commands andhow to log in to the Oracle Fabric Manager CLI and includes the following sections
ldquoUnderstanding Oracle Fabric Manager Elementsrdquo on page 1
ldquoUsing the CLIrdquo on page 4
ldquoEntering Commandsrdquo on page 7
ldquoLogging in to Oracle Fabric Manager Using the CLIrdquo on page 17
Understanding Oracle Fabric ManagerElementsThe Oracle Fabric Manager Command Line Interface (CLI) enables you to access thefollowing elements
ldquoVirtual Resourcesrdquo on page 2
ldquoOracle Fabric Interconnectsrdquo on page 2
ldquoIO Templatesrdquo on page 3
ldquoIO Profilesrdquo on page 3
ldquoPhysical Serversrdquo on page 3
ldquoRolesrdquo on page 4
ldquoDomainsrdquo on page 4
1
This section briefly describes each of the above elements You can find moreinformation about how to use the CLI to manage these elements in the remainingchapters
Virtual ResourcesOracle Fabric Interconnects contain a set of IO ports that connect to your datacenter network and storage The network and SAN administrators connect theseports to their Ethernet and Fibre Channel switches to provide IO resources to theservers The virtual resources that you can configure with the Oracle Fabric ManagerCLI include
Virtual network interface cards (vNICs)mdashvNICs virtualize network interfaceconnectivity A vNIC is a virtual NIC that appears to the OS as a physical NICand enables a server to have an Ethernet network attachment without having aphysical NIC present Instead of the client server using a NIC an InfiniBand (IB)HCA is used which virtualizes the NIC allowing for Ethernet connectivity
Virtual host bus adapters (vHBAs)mdashvHBAs virtualize storage connectivity AvHBA appears to the OS as a physical HBA and enables a server to have a FibreChannel (FC) SAN attachment without having a physical HBA present Instead ofthe host server using an HBA an InfiniBand (IB) HCA is used which thenvirtualizes the HBA allowing for SAN connectivity
Private virtual interface (PVI) CloudsmdashPVI Clouds are part of the Oracle SDNfeature With this feature you can use commands to view and configure PVIClouds your Oracle Fabric Interconnect environment For more information seethe Oracle SDN User Guide
For more information about these resources and configuring them in your OracleFabric Manager environment see the following chapters
Chapter 2 Getting Started
Chapter 4 Working with Network Clouds
Chapter 5 Working with Storage Clouds
Oracle Fabric InterconnectsWith the Oracle Fabric Manager CLI you can retrieve information about the OracleFabric Interconnect F1-15 or Fabric Interconnect F1-4 that are managed throughOracle Fabric Manager You can also display details for a specific chassis by usingthe show director command For more information about displaying OracleFabric Interconnect details retrieving hardware firmware and software informationfrom them and performing other management tasks see Chapter 3 Working withOracle Fabric Interconnects
2 Oracle Fabric Manager Command Reference (Beta) bull September 2014
IO TemplatesAn IO Template is an Oracle Fabric Manager feature that allows the serveradministrator to create the shape of the IO for a set of servers By setting up an IOTemplate the server administrator builds a way to deploy a set of servers with thedesired IO requirements You can assign an IO Template to a server or group ofservers and those servers immediately gain access to the network and storageresources without rebooting
When you create an IO Template you use a Network Cloud a Storage Cloud orboth See the Getting Started chapter for an example of how to create Network andStorage Clouds and include them in an IO Template Your IO Templates define theresources and specific details about those resources that are required in yourenvironment
IO ProfilesOnce you define the IO Template that specifies the virtual connectivity for one ormore servers you then create an IO Profile based on that IO Template You defineyour vNICs in a Network Cloud and vHBAs in a Storage Cloud Next you add thevHBAs and vNICs to an IO Template to create the shape of the IO for a set ofservers You then use the IO Profile object to connects the vNICs and vHBAs in theIO Template to a physical server For information about IO Profiles see Chapter 7Working with IO Profiles
Physical ServersPhysical servers are the host devices on which your applications run They connectto the Oracle Fabric Interconnect through high-speed interconnect HCAs that areinstalled in each server The Oracle Fabric Interconnect and the Oracle FabricManager software support servers and hypervisors such as Oracle Linux MIcrosoftWindows and VMware ESX
Oracle Fabric Manager manages the servers that are connected through the OracleFabric Interconnect and have Oracle OVN host drivers installed on them You canuse the Oracle Fabric Manager CLI to display information for physical servers(either physical or virtual machines) connected to all Oracle Fabric Interconnects
Chapter 1 Oracle Fabric Manager CLI Overview 3
RolesRoles associate one or more user accounts with their ability to perform actions TheOracle Fabric Manager role sets the amount of control that a user has within theOracle Fabric Manager and Oracle Fabric Interconnect environment Roles typicallyare created based on the division of system administration tasks in the data centerFor example some common roles are
Network for managing IP network and routing connectivity
Storage for managing storage capacity configuration and connectivity
You can use the CLI commands to add and remove user roles they have access toyour system
DomainsDomains associate specific roles with their ability to perform actions For example ifyour Role belongs to a domain that allows its members to control network settingsthen you can create and modify network-related object The Oracle FabricInterconnect Oracle Fabric Manager Server and physical servers reside in domainswhich are logical grouping of resources in the network
Typically domains are arranged by a functional group such as a business unit ordepartment but domains can be created with virtually any thememdasha lab domain aproduction domain a domain of top-quality hardware a domain of mid-qualityhardware a domain of services or applications and so on The Oracle FabricManager Domain Manager enables you to create the individual domains withinyour network by carving out the resources required and grouping them into aneeded domain
Using the CLIThis section describes how to use the Oracle Fabric Interconnect CLI including
ldquoForming Commandsrdquo on page 5
ldquoCompleting Commandsrdquo on page 7
ldquoEntering Commandsrdquo on page 7
ldquoCommand Summaryrdquo on page 12
ldquoViewing Your Command Historyrdquo on page 15
ldquoUsing Wildcardsrdquo on page 16
4 Oracle Fabric Manager Command Reference (Beta) bull September 2014
ldquoLogging in to Oracle Fabric Manager Using the CLIrdquo on page 17
Forming CommandsTo form a command in the Oracle Fabric Manager CLI you use an introductoryword (typically a verb like show create remove and set) followed by the objectupon which that the word or verb will act and then any optional argument(s)needed to refine your command For example a basic command looks somethinglike this
This command returns all of the vNICs defined for the physical server calledmontana
show physical-server montana vnic
rootFabMgrCLI[ofm] show -list physical-server stillslabcom vhba-----------------------------------------------------------------parentname stillslabcomname LUN2Bsto-cloud-name discovered-storage-cloudtermination arkansas91state upupwwnn 5001397100015116wwpn 5001397000015117is-ha falsedescription-----------------------------------------------------------------parentname stillslabcomname LUN1Bsto-cloud-name discovered-storage-cloudtermination arkansas91state upupwwnn 5001397100015118wwpn 5001397000015119is-ha falsedescription-----------------------------------------------------------------parentname stillslabcomname LUN1sto-cloud-name discovered-storage-cloudtermination texas91state upupwwnn 500139710000F124wwpn 500139700000F125is-ha falsedescription
Chapter 1 Oracle Fabric Manager CLI Overview 5
But you can enter optional keywords or variables to further define the output Forexample if you want to display the output in table format rather than a list you cando that by specifying the -table option
This option displays the vNIC information in tabular format rather than in a list asshown below
The remaining sections in this chapter describe how to use the various commandand options from the Oracle Fabric Manager CLI
-----------------------------------------------------------------parentname stillslabcomname LUN2sto-cloud-name discovered-storage-cloudtermination texas91state upupwwnn 500139710000F126wwpn 500139700000F127is-ha falsedescription-----------------------------------------------------------------4 records displayed
show -table physical-server montana vnic
rootFabMgrCLI[ofm] show -table physical-server montana vhbaparentname name sto-cloud-name termination state ip-addresswwnn wwpn is-ha description------------------------------------------------------------------------------montana LUN2B discovered-storage-cloud arkansas91 upup5001397100015119 5001397100015119 5001397000015119 falsemontana LUN1B discovered-storage-cloud arkansas91 upup5001397100015118 5001397100015118 5001397000015118 falsemontana LUN1 discovered-storage-cloud texas91 upup500139710000F124 500139710000F124 500139700000F124 falsemontana LUN2 discovered-storage-cloud texas91 upup500139710000F125 500139710000F125 500139700000F125 false4 records displayedrootlawrence[ofm]
6 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Completing CommandsTo form a command in the Oracle Fabric Manager CLI you use and introductoryword (typically a verb) followed by the object that the wordverb acts on and theythe option argument(s) The CLI includes a powerful command-completion featurethat informs you of possible commands subcommands and options at each point onthe command line The following kinds of command completion are available
To complete an unambiguous entry press the Tab key
If your entry is unambiguous the CLI completes the command or subcommandthat you have begun typing For example if you enter the following
the CLI adds profile to your command line as the only legitimate completion Thisform of command completion can potentially save you a lot of typing
To see valid completions at any point type on the command line
Typing a question mark causes the CLI to print a list of valid completions andsome short help text for each item for what is currently on the command lineYou can also press the Tab key twice to get this same command completion
The command-completion facility is context sensitive and always displays whatthe CLI determines to be valid at the point in the command where you request thecompletion You can also configure the CLI to automatically complete thecommand whenever the space bar is pressed (Refer to the set cli space-completion command) For example to get command-completion hints andcontext-sensitive help about adding a vNIC
Entering CommandsThis section describes the commands available in the Oracle Fabric Manager CLI
Note ndash When you wish to view the objects available for a command type thatcommand and press Tab twice ldquoadd Command Optionsrdquo on page 8 shows theldquohelprdquo that appears when you type the command add and press Tab twice
add server-Tab
add vnic Possible completions
ltnamegt Virtual NIC nameRepeat for detailed help
Chapter 1 Oracle Fabric Manager CLI Overview 7
add Command OptionsYou can add objects to Oracle Fabric Manager using the add command Press Tabtwice after the command to display a list of all objects that you can add to OracleFabric Manager
show Command OptionsYou can display information about objects managed within Oracle Fabric Managerusing the show command The example below displays a list of all objects that youcan use to display Oracle Fabric Manager information using the show command
rootlawrence[xms] add Tab TabPossible completionsapp Add an applicationdefault-gateway Add a Default gatewaydirector Add an IO Directordomain-group-mapping Add a domain group mappingethernet-lag Add a LAGio-profile Add an IO Profileio-template Add an IOtemplateiscsi-boot-profile Add a iSCSI boot profilenetwork-cloud Add a Network cloudpvi-cloud Add a Private Virtual Interconnect cloudresource domain Add a Resource domainrole-group-mapping Add a role group mappingsan-boot-profile Add a SAN boot profileserver-group Add a Server Groupstorage-cloud Add a Storage clouduser-role Add a User rolevhba Add a vHBAvnic Add a vNICrootlawrence[xms] add
job Show Jobmac-address-pool Show MAC address poolmac-based-qos Show MAC based QOSmos Show mo objects given its pkgclassnamenetwork-cloud Show Network cloudnetwork-qos Show Network QOSobject Show an object given its dnphysical-server Show Physical servers
8 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Most show commands offer one or more of the arguments defined in TABLE 1-1
pvi-cloud Show a Private Virtual Interconnect cloudresource-domain Show Resource domainrole-group-mapping Show role group mappingssan-boot-profile Show SAN boot profilesan-qos Show SAN QOSserver-group Show Server Groupstorage-cloud Show Storage cloudsystem Show system informationtech-support Show information useful to technical support personneluser-role Show information about the Xms Usersvhba Show a vHBAvnic Show a vNICwwn-address-pool Show WWN address poolxsf Show Xsigo Server Fabric
TABLE 1-1 show Command Options
Show command DescriptionExample
-list Displays the output in list format ExamplerootFabMgrCLI[ofm] show -list vnic foobarpubs
--------------------------------------------
name foobarpubs
state up
mac-addr 001397018006
ipaddr
descr
if 61
if-state -
ha-state
local-id 0
type
vlans none
qos ie
Chapter 1 Oracle Fabric Manager CLI Overview 9
set Command OptionsYou can define properties and other specifications for objects using the CLI setcommand The example below displays a list of all objects for which you can defineproperties and specification using the set command
-sortby Indicates the column to sort by It changes the column upon which the table is sorted Eachtime a table is printed there is a default sort column (or columns) by which it is sortedThis default is the most common
-table Displays the output in table format Table display format is the default
-xml Displays the output in XML format ExamplerootFabMgrCLI[ofm] show -xml vnic foobarpubs
lttablegt
ltrow number=0gt
ltcell name=name value=foobarpubsgt
ltcell name=state value=upresourceUnavailablegt
ltcell name=mac-addr value=000000000000gt
ltcell name=ipaddr value=000032gt
ltcell name=if value=gt
ltcell name=if-state value=-gt
ltcell name=ha-state value=gt
ltcell name=local-id value=0gt
ltcell name=type value=dhcpgt
ltcell name=vlans value=nonegt
ltcell name=qos value=iegt
ltrowgt
lttablegt
rootlawrence[xms] set Tab TabPossible completionsapp Set attributes of an applicationcli Set the properties of the CLIdefault-gateway Set the properties of the Default gatewaydirector Set the properties of IO directordomain-group-mapping Set domain group mapping propertiesethernet-lag Set the properties of the LAGglobaladdress Set global address attributesio-profile Set Attributes of an IO Profileio-template Set the properties of IOtemplateiscsi-boot-profile Set the properties of the iSCSI boot profile
TABLE 1-1 show Command Options (Continued)
Show command DescriptionExample
10 Oracle Fabric Manager Command Reference (Beta) bull September 2014
remove Command OptionsYou can define properties and other specification for objects using the CLI setcommand The CLI remove command provides the -noconfirm argument thatenables you to skip the confirmation message that displays when you issue thatcommand For example when you issue the remove storage-cloud command aconfirmation message requires that you confirm that deletion
To prevent that confirmation message from displaying include the -noconfirm inyour command
The example below displays a list of all objects for which you can define propertiesand specifications using the remove command
network-cloud Set the properties of Network cloudobject Set parameter for given objectpvi-cloud Set Private Virtual Interconnect cloud attributesresource-domain Set the properties of the Resource domainrole-group-mapping Set role group mapping propertiessan-boot-profile Set the properties of the SAN Boot Profileserver-group Set the properties of the Server Groupstorage-cloud Set the properties of the Storage clouduser-role Set the properties of the User rolevhba Set the properties of vHBAvnic Set the properties of vNICxsf Update a Xsigo Server Fabricrootlawrence[xms] set
rootFabMgrCLI[ofm] remove storage-cloud Cloud11Remove storage cloud Cloud11 (yn) y
rootFabMgrCLI[ofm] remove -noconfirm storage-cloud Cloud11
rootlawrence[xms] remove Tab TabPossible completions-noconfirm Donrsquot ask for confirmationapp Remove an applicationdefault-gateway Remove a Default gatewaydirector Remove an IO Directordomain-group-mapping Remove a domain group mappingethernet-lag Remove a LAGio-profile Remove an IO Profileio-template Remove a IOtemplateiscsi-boot-profile Remove a iSCSI boot profilemac-based-qos Remove a MAC based QOS
Chapter 1 Oracle Fabric Manager CLI Overview 11
Command SummaryTABLE 1-2 lists the possible commands provides a description of that command andlists the possible objects that you can execute with the command
network-cloud Remove a Network cloudnetwork-qos Remove a Network QOSobject Remove an object given its dnpvi-cloud Remove a Private Virtual Interconnect cloudresource domain Remove a Resource domainrole-group-mapping Remove a role group mappingsan-boot-profile Remove a SAN boot profileserver-group Remove a server groupstorage-cloud Remove a Storage clouduser-role Remove a User rolevhba Remove a vHBAvnic Remove a vNICrootlawrence[xms] remove
12 Oracle Fabric Manager Command Reference (Beta) bull September 2014
TABLE 1-2 Command Summary
Command Description Objects
add Add an object app Add an applicationdefault-gateway Add a Default gatewaydirector Add an Oracle Fabric
Interconnectdomain-group-mapping Add a domain groupmappingethernet-lag Add a LAGio-profile Add an IO Profileio-template Add an IO templateiscsi-boot-profile Add a iSCSI Boot Profilenetwork-cloud Add a Network cloudpvi-cloud Add a Private Virtual
Interconnect cloud
resource-domain Add a Resource domainrole-group-mapping Add a role group mappingsan-boot-profile Add a SAN Boot Profileserver-group Add a Server Groupstorage-cloud Add a Storage clouduser-role Add a User rolevhba Add a vHBAvnic Add a vNIC
exit Exit the CLI exit
ping Ping a host ping hostname or host IP addressgt
quit Quit the CLI quit
remove Remove an object -noconfirm Dont ask for confirmationapp Remove an applicationdefault-gateway Remove a Default gatewaydirector Remove a Fabric
Interconnectdomain-group-mapping Remove a domain group
mappingethernet-lag Remove a LAG
io-profile Remove an IO Profileio-template Remove a IOtemplateiscsi-boot-profile Remove a iSCSI boot profilemac-based-qos Remove a MAC based QOSvnic Remove a vNIC
Chapter 1 Oracle Fabric Manager CLI Overview 13
network-cloud Remove a Network cloudnetwork-qos Remove a Network QOSobject Remove an object given
its dnpvi-cloud Remove a Private Virtual
Interconnect cloud
resource-domain Remove a Resource domainrole-group-mapping Remove a role group
mappingsan-boot-profile Remove a SAN boot profileserver-group Remove a server groupstorage-cloud Remove a Storage clouduser-role Remove a User rolevhba Remove a vHBA
set Set the properties of objects cli Set the properties of the CLIobject Set parameter for given
object
show Show information -list Show as list-sortby Specify column to sort by-table Show as table-xml Show as XML-alarm Show Alarmapp Show applicationclass Show class informationcli Show CLI settings
default-gateway Show Default gatewaydirector Show Oracle Fabric
Interconnectsdomain-group-mapping Show domain group
mappingsethernet-lag Show Link Aggregation
Groupethernet-port Show Ethernet portfc-pory Show Fibre channel portio-profile Show IO Profileio-template Show IO templatesiscsi-boot-profile Show iSCSI boot profilejob Show Job
TABLE 1-2 Command Summary (Continued)
Command Description Objects
14 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Viewing Your Command HistoryThe CLI maintains a history of the commands that you have entered during yourcurrent session and over multiple sessions
mac-address-pool Show poolmac-based-qo Show MAC based QOSmos Show mo objects given its
pkgclassnamenetwork-cloud Show Network cloudnetwork-qos Show Network QOSobject Show an object given its
dnphysical-server Show Physical serverspvi-cloud Show a Private VirtualInterconnect cloudresource-domain Show Resource domainrole-group-mapping Show role group mappings
san-boot-profile Show SAN boot profilesan-qos Show SAN QOSserver-group Show Server Groupstorage-cloud Show Storage cloudsystem Show system informationtech-support Show information useful to
technical support personneluser-role Show information about the
Oracle Fabric ManagerUsers
vhba Show a vHBAvnic Show a vNICwwn-address-pool Show WWN address pool
system Overall system command download-log Download system log filesto the local machine
rescan Rescan for new servers andremove stale ones
source Execute a script ltname of script to executegt
traceroute Trace route to host lthostnamegt Hostname or IP address
TABLE 1-2 Command Summary (Continued)
Command Description Objects
Chapter 1 Oracle Fabric Manager CLI Overview 15
For commands issued during your current session use the up and down arrowkey to scroll through the command history and find a specific command you arelooking for When you find the command that you want to re-execute (or edit firstand then execute) press the ReturnEnter key
To view commands entered over multiple sessions enter show cli historyThe Fabric Manager CLI displays commands that were submitted over that pastseveral sessions
You can also use the cli repeat ltcommandgt command which repeats themost recent match in this history
Using WildcardsYou can use wildcards to control the display of output in most of the CLI showcommands to select a set of objects using the asterisk () wildcard characterWildcard instructions are case sensitive so make sure you enter the wildcard itemcorrectly For example vNICs named ldquovnic1rdquo and ldquovnic2rdquo are not displayed if youissue show vnic V If you issue show vnic v the vNICs are displayed
Note ndash Not all show commands support wildcards (for example LAGs and VLANsdo not support them when selecting the LAG name or VLAN number)
For example if you enter
The wildcard character represents the characters in a name string starting with ldquovrdquoThe result of this command is a list of all vNIC with ldquovrdquo as the first letter If youenter
The first wildcard represents an entire name and the second and third representindividual characters The result of this command is a list of all vHBAs on all ServerProfiles that contains the string ldquotestrdquo in their name If you enter
The first wildcard represents a name string for a Network QoS policer and thesecond wildcard represents and characters in the policer rate The result of thiscommand is a list of all Network QoS policers in any set that limit the CIR to 100Mbps
adminsystem_name[oracle] show vnic v
adminsystem_name[oracle] show vhba test
show qos network policer 100m
16 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Logging in to Oracle Fabric ManagerUsing the CLITo log in to the Oracle Fabric Manager CLI you must provide a valid user name andpassword The default user name and password are different on a Windows serverversus a Linux server
For Linux the default user name and password are the same as the default useraccount on the Linux server (root) You can configure additional user accounts forOracle Fabric Manager but they must be configured as non-root user accounts onthe Linux server
For Windows the default user name and password are the same as the defaultadministrator account on the Windows server (administrator) You can configureadditional non-admin accounts but they must be configured as non-administrator accounts on the Windows server
Note ndash Because some installations do not allow administrator or root access toservers Oracle also provides the ofmadmin account that you can use to log in to theOracle Fabric Manager Server
Initial User AccountsYou will use this username and password the first time you access Oracle FabricManager One of these accounts (root administrator or ofmadmin) is required forconfiguring features in Oracle Fabric Manager After logging into Oracle FabricManager you should create specific user accounts (instead of continuing to use theroot administrator or ofmadmin accounts) When you create these specific useraccounts make sure to assign them with the appropriate roles (see ldquoWorking withUser Rolesrdquo on page 54)
Chapter 1 Oracle Fabric Manager CLI Overview 17
Note ndash Keep the root default user name and password kept as securely as possibleAfter initially logging in to Oracle Fabric Manager create additional user accountswith specific privileges as documented in ldquoManaging User Access Securityrdquo onpage 50 When you create the additional non-root user accounts in Oracle FabricManager be aware that these user accounts must also exist in the underlying OS(either a Windows user account or a Linux user account) You cannot log in to OracleFabric Manager unless an underlying user account exists at the serverrsquos OS level andthat the OS user name and Oracle Fabric Manager are identical For example youcannot authenticate to your OS with the user name joey and joe for Oracle FabricManager
Understanding Authentication in Oracle FabricManagerOracle Fabric Manager does no authentication of its own Instead it presents a log inscreen then passes the user name and password string to the underlying Windowsor Linux OS (pass-through) which allows or denies authentication Because OracleFabric Managerrsquos login is a pass through additional authentication methods aresupported such as LDAP AD Be aware that the additional user accounts on theActive Directory server(s) the Windows server OS and the Oracle Fabric Managerserver must all be congruent
For more information about authentication methods such as LDAP AD seeldquoWorking with User Rolesrdquo on page 54 When the OS and any other authenticationmethods complete the appropriate information is sent to Oracle Fabric Managerwhich then sets the correct Oracle Fabric Manager-level privileges for theauthenticated user When those privileges are applied they determine which objectsin the Oracle Fabric Manager CLI are available to the authenticated user The username can have different rights or privileges at each level but for Oracle FabricManager only the Oracle Fabric Manager privileges granted to the user are enforcedFor example user joey at the OS level might be a super user with all rights but userjoey at the Oracle Fabric Manager level might be a network administrator user andtherefore can only use the privileges for a network-admin role not the super userprivileges In this case the user joey has different privileges but only the OracleFabric Manager privileges are enforced for managing Oracle Fabric Interconnectsand virtual IO through Oracle Fabric Manager
18 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Logging In to Oracle Fabric Manager CLIYou can use the command-line interface to log into Oracle Fabric Manager using asecure shell (SSH) and your own account or the default account When you arelogged in your session remains active as long as you are actively configuring ormanaging through Oracle Fabric Manager Oracle Fabric Manager times your sessionout after inactivity for 30 minutes The message ldquoYou are being logged out after 60minutes of idle timerdquo is displayed after the system times out and you must log backin
To log in to Oracle Fabric Manager from an SSH connection to the server (using thePutty tool for example) on which Oracle Fabric Manager is installed and performthe following steps
1 Log in to your server as root and press Enter
2 Enter the password for root and press Enter
3 Change to the directory where the Oracle Fabric Manager CLI is running bytyping cd optoraclexmsbin and pressing Enter
4 Type the root password again and press Enter
5 Type xmscli to start the application
FIGURE 1-1 Logging In to the Oracle Fabric Manager CLI
Chapter 1 Oracle Fabric Manager CLI Overview 19
20 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 2
Getting Started
This chapter presents a use case designed to help you set up an environment usingthe Oracle Fabric Manager CLI It covers the Oracle Fabric Manager basics includingcreating Network and Storage Clouds creating IO Templates and deploying thoseTemplates through IO Profiles The use case involves the following steps
1 ldquoManaging the Oracle Fabric Interconnectrdquo on page 21
2 ldquoCreating a Network Cloudrdquo on page 24
3 ldquoCreating a Storage Cloudrdquo on page 27
4 ldquoCreating an IO Templaterdquo on page 29
5 ldquoCreating and Deploying an IO Profilerdquo on page 31
Managing the Oracle Fabric InterconnectThe Oracle Fabric Interconnects are appliances that contain the componentsresponsible for mapping and connecting virtual Ethernet and virtual Fibre Channelresources to their traditional physical counterparts Oracle Fabric Interconnectscontain a set of IO ports that are connected to your data center network Thenetwork and SAN administrators connect these ports to their Ethernet switches inorder to provide IO resources to the servers The server administrator then needs toconnect servers to a set of network resources provided by the networkadministrators
Oracle Fabric Manager requires a management IP address to open a communicationpath for adding the Oracle Fabric Interconnect contents Do not use a vNIC IPaddress when adding the Oracle Fabric Interconnect
21
Add Oracle Fabric InterconnectsThis example creates a high availability environment using two Oracle FabricInterconnects
1 Add two Oracle Fabric Interconnects that you wish to manage in Oracle FabricManager using add director command Example add director montanaltusernamegt ltpasswordgt
2 Display information about the Oracle Fabric Interconnect you added using theshow director command Example show director montana The CLIoutput is as follows
The above output displays the Oracle Fabric Interconnectrsquos name IP address IPsubnet its administrative and operation status (either up or down) phasenumber number of fabrics number of IO modules the version of XgOS runningon the machine and when it was last updated
rootFabMgrCLI[ofm] add director montana myusernamePlease enter a value for password mypasswordrootFabMgrCLI[ofm] add director iowa myusernamePlease enter a value for password mypassword
rootFabMgrCLI[ofm] show director montana------------------------------------------------------------------------------name montanaip-addr 102168xxxxip-subnet localstate upupphase 4fabric 4modules 4version Build 380-ABCDEF - (root) Tue Apr 10 014337 UTC 2012------------------------------------------------------------------------------1 record displayedrootFabMgrCLI[ofm] show director iowa------------------------------------------------------------------------------name iowaip-addr 102168xxxxip-subnet localstate upupphase 2fabric 2modules 2version Build 380-ABCDEF - (root) Tue Apr 10 014337 UTC 2012------------------------------------------------------------------------------1 record displayed
22 Oracle Fabric Manager Command Reference (Beta) bull September 2014
3 Display information about the Ethernet cards and Fibre Channel cards on theOracle Fabric Interconnects using the show director ltdirector namegtiocards command
After adding Oracle Fabric Interconnects to Oracle Fabric Manager you can startto create the elements that control the IO resources to your network and storagesystems
Understanding High Availability (HA)Network and Storage CloudsTypical deployments have redundant Oracle Fabric Interconnects so that if one ofthem becomes disabled for any reason the second Oracle Fabric Interconnect canassume all the activity being performed by the Oracle Fabric Interconnect that isldquodownrdquo You can associate a Network Cloud with two Oracle Fabric Interconnectssimultaneously and also set the connection priority so that one Oracle FabricInterconnect is considered the primary and the other is considered the secondaryWhen you initially create a Network Cloud you must manually connect the HAvirtual NIC cards (vNICs) to the Cloud and manually set their primary andsecondary status Once you create the initial Network Cloud the Oracle FabricInterconnectsrsquo connection priority is set Any additional HA pairs that attach to thenew Network Cloud set up for HA will first attach to the primary Oracle FabricInterconnect and then to the secondary Oracle Fabric Interconnect
Most administrators typically create Network and Storage Clouds around a similartheme for the ports or LAGs that are associated with the clouds For example aNetwork Cloud might have ports or LAGs that provide vNIC connections to a
rootFabMgrCLI[ofm] show director montana iocardsname state type description------------------------------------------------------------------------------montana6 upup sanFc2Port4GbCardmontana10 upup sanFc2Port4GbCardmontana5 upup nwEthernet10Port1GbCardmontana1 upup nwEthernet4Port10GbCardEthIb4 records displayed
rootFabMgrCLI[ofm] show director iowa iocardsname state type description------------------------------------------------------------------------------iowa7 upup nwEthernet10Port1GbCardiowa8 upup sanFc2Port4GbLrCard2 records displayed
Chapter 2 Getting Started 23
specific domain or specific upstream Ethernet switch for a specific set of hostservers You create a Network Cloud using the CLI command add network-cloudand you create a Storage Cloud using the add storage-cloud command
Note ndash When you manage a host through Oracle Fabric Manager or one thatconnects to an Oracle Fabric Interconnect Oracle Fabric Manager queries the OracleOVN host drivers on the host to determine if it is capable of supporting HA vNICsBased on the response from the host driver Oracle Fabric Manager allows you to orprevents you from creating HA vNICs Some hosts do not support true HA vNICs- If the host driver reports that HA vNICs are available on the host a HA vNICcreates HA vNICs on the server- If the host driver reports that HA vNICs are not available a HA vNIC creates apair of single vNICs on the server
Creating a Network CloudIn the previous section you added two Oracle Fabric Interconnects to your OracleFabric Manager environment and displayed the IO ports on the Oracle FabricInterconnects with which you will provide IO resources to ldquoCloudrdquo This sectioninstructs you to create a Network Cloud that provides network resources toengineers who wish to isolate their activity from other departments
Note ndash To configure Network Clouds you must be logged in as an Oracle FabricManager Network or Administrator role
Understanding the Default Network CloudOracle Fabric Manager creates a default Network Cloud that contains all theEthernet ports available to Oracle Fabric Manager through the managed OracleFabric Interconnects When you create a new Network Cloud the resources youinclude in that cloud are removed from the default Network Cloud and placed inyour new Network Cloud
To get a list of Ethernet Ports that are available for you to use in your NetworkCloud use the show ethernet-port command For example
rootFabMgrCLI[ofm] show ethernet-portname type state vnics description------------------------------------------------------------------------------
24 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Adding and Configuring a Network Cloud withHATo add and Network Cloud and configure it for HA perform the following steps
1 Using the add network-cloud command add a new Network Cloud to yourenvironment and describe its purpose
2 Display your new Network Cloud using the show network-cloud commandExample
montana59 nwEthernet1GbPort upup 0montana51 nwEthernet1GbPort upup 0montana58 nwEthernet1GbPort upup 0montana57 nwEthernet1GbPort upup 0montana56 nwEthernet1GbPort upup 0montana55 nwEthernet1GbPort upup 0montana54 nwEthernet1GbPort upup 0montana53 nwEthernet1GbPort upup 6montana510 nwEthernet1GbPort upup 0montana52 nwEthernet1GbPort upup 0montana11 nwEthernet10GbPort upup 0montana13 nwEthernet10GbPort upup 0montana12 nwEthernet10GbPort upup 0montana14 nwEthernet10GbPort upup 0iowa78 nwEthernet1GbPort upup 0iowa79 nwEthernet1GbPort upup 0iowa710 wEthernet1GbPort upup 2iowa74 wEthernet1GbPort upup 1iowa75 wEthernet1GbPort upup 1iowa76 wEthernet1GbPort upup 2iowa77 wEthernet1GbPort upup 0iowa73 wEthernet1GbPort upup 0iowa72 wEthernet1GbPort upup 0iowa71 wEthernet1GbPort upup 224 records displayed
rootFabMgrCLI[ofm] add network-cloud EngNWcloudA -description=rdquoEnginneeringNetwork Activityrdquo
rootFabMgrCLI[ofm] show network-cloud EngNWcloudA------------------------------------------------------------------------------name EngNWcloudAports 2lags 0trunk-mode false
Chapter 2 Getting Started 25
3 Using the set network-cloud command add two Ethernet ports (for highavailability) to your Network Cloud
Note ndash To list the Ethernet ports available use the show ethernet-portcommand as described in the previous section
4 Display the new Network Cloud along with its assigned ethernet ports usingthe show network-cloud command Example
You can see that state of the ports are upup
qosis-private falseaccess-vlan-id 1available-ingress-cir 0available-egress-cir 0allocation-policy roundrobindescription Engineering Network Activity------------------------------------------------------------------------------1 record displayed
rootFabMgrCLI[ofm] set network-cloud EngNWcloudA add ethernet-ports montana56rootFabMgrCLI[ofm] set network-cloud EngNWcloudA add ethernet-ports iowa78
rootFabMgrCLI[ofm] show network-cloud EngNWcloudA ethernet-ports------------------------------------------------------------------------------parentname EngNWcloudAeth-port iowa78state upupvnic-count 0type nwEthernet1GbPortavailable-ingress-cir 1000000available-egress-cir 1000000description------------------------------------------------------------------------------parentname EngNWcloudAeth-port montana56state upupvnic-count 0type nwEthernet1GbPortavailable-ingress-cir 1000000available-egress-cir 1000000description------------------------------------------------------------------------------2 records displayed
26 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Creating a Storage CloudIn the previous section you added a Network Cloud with two Oracle FabricInterconnects so that they provide HA protection in your network environment anddisplayed the Ethernet ports that will provide IO resources to that Network CloudThis section instructs you to create a Storage Cloud that provides storage resourcesto engineers who wish to isolate their storage activity from other departments
Note ndash In order to configure Storage Clouds you must be logged as an OracleFabric Manager Storage or Administrator role
Understanding the Default Storage CloudOracle Fabric Manager creates a default Storage Cloud that contains all the FibreChannel ports available to Oracle Fabric Manager through the managed OracleFabric Interconnects When you create a new Storage Cloud the resources youinclude in that cloud are removed from the default Storage Cloud and placed inyour new Storage Cloud
To display a list of Fibre Channel ports that are available for you to use in yourStorage Cloud use the show fc-port command For example
Adding and Configuring a Storage Cloud withHATo add and Storage Cloud and configure it for HA perform the following steps
rootFabMgrCLI[ofm] show fc-portname type state vhbas speed description------------------------------------------------------------------------------montana62 sanFcPort updown 2 4000montana61 sanFcPort updown 1 4000montana102 sanFcPort upup 0 4000montana101 sanFcPort upup 0 4000iowa81 sanFcPort upup 9 8000iowa82 sanFcPort upup 8 80006 records displayed
Chapter 2 Getting Started 27
1 Using the add storage-cloud command add a new Network Cloud to yourenvironment and describe its purpose Example add storage-cloudEngSTcloudA -description=rdquoEnginneering Storage Activityrdquo
2 Display your new Storage Cloud using the show storage-cloud commandExample
3 Using the set storage-cloud command add two FC ports (for highavailability) to your Storage Cloud
Note ndash To list the FC cards available use the show fc-port command as describedin the previous section
4 Display the new Storage Cloud along with its assigned FC ports using the showstorage-cloud command Example
rootFabMgrCLI[ofm] add storage-cloud EngSTcloudA -description=rdquoEnginneeringStorage Activityrdquo
rootFabMgrCLI[ofm] show storage-cloud EngSTcloudA------------------------------------------------------------------------------name EngSTcloudAports 0qoslun-mask-referenceallocation-policy randomdescription Engineering Storage Activity------------------------------------------------------------------------------1 record displayed
rootFabMgrCLI[ofm] set storage-cloud EngSTcloudA add fc-ports montana102rootFabMgrCLI[ofm] set storage-cloud EngSTcloudA add fc-ports iowa81
rootFabMgrCLI[ofm] show storage-cloud EngSTcloudA fc-portsparentname fc-port state type vhba-count speed description------------------------------------------------------------------------------EngSTcloudA iowa81 upup sanFcPort 9 8000EngSTcloudA montana102 upup sanFcPort 0 40002 records displayed
28 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Creating an IO TemplateAn IO Template is an Oracle Fabric Manager feature that allows the serveradministrator to create the shape of the IO for a set of servers Different servershave different IO requirements For example a server that will be used by theengineering department may require access to a couple of Network Clouds and aStorage Cloud but a server that is used by Human Resources may only requireaccess to the internet
Also rather than creating the physical NICs on each server in your environment theIO Template can apply the same NIC characteristics to all vNICs in theenvironment and all HBA characteristics to all vHBAs in this environment Youcreate the template with clouds and vNICs andor vHBAs Then you create an IOProfile from the template It is the IO Template that gets deployed to the server andwhen it does the vNICs and vHBAs get pushed to the server
When you create a new IO Template you are essentially creating an emptycontainer to which you add building blocks until the IO Template has theconnectivity and virtual resources required for your network
This section provides instructions for creating an IO Templates using the Networkand Storage Clouds created in the previous sections This section describes how tobuild an IO Template by
1 Creating an IO Template
2 Adding HA network resources (vNCs) to the template
3 Adding HA storage resources (vHBAs) to the template
4 Displaying the new IO Template
5 Displaying the new vNIC and vHBA
To create an IO Template with information pertinent to your network and storagerequirements use the add io-template command You can also specify adescription for your template a default gateway a SAN Boot Profile or an iSCSIBoot Profile
Create an IO TemplateThis example instructs you to create an IO Template and add HA network (vNICs)and HA storage (vHBAs) resources to the template
Chapter 2 Getting Started 29
1 Using the add io-template command add a new IO Template to yourenvironment
2 Using the set io-template command add network resources to yourTemplate by creating a high availability vNIC and adding to the Template
3 Using the set io-template command add storage resources to yourTemplate by creating a high availability vHBA and adding it to the Template
4 Display the new IO Template using the show io-template command
5 Display the new vNIC and vHBA using the show io-template commandExample
rootFabMgrCLI[ofm] add io-template EngIOtemplate -description Template forEngineering Resources
rootFabMgrCLI[ofm] set io-template EngIOtemplate add vnic EngVnic -ha-mode=trueEngNWcloudA
rootFabMgrCLI[ofm] set io-template EngIOtemplate add vhba EngVhba -ha-mode=trueEngSTcloudA
rootFabMgrCLI[ofm] show io-template EngIOtemplate------------------------------------------------------------------------------name EngIOtemplateiscsiboot-namesanboot-namedefault-gatewayvnics 1vhbas 1description IO Template for Engineering Resources------------------------------------------------------------------------------1 record displayed
rootFabMgrCLI[ofm] show io-template EngIOtemplate vnics------------------------------------------------------------------------------name EngIOtemplatevnic-name EngVnicnet-cloud-name EngNWcloudAqosip-type hostManagedis-ha trueaccess-vlan-id 0trunk-mode false
30 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Note ndash Notice that is-ha (HA) is true since Steps 3 and 4 specified to set HA totrue
Creating and Deploying an IO ProfileIO Profiles enable you to connect virtual IO resources to physical servers byassociating them with your IO Templates IO Profiles hold all the virtual IOinformation for a particular server managed by Oracle Fabric Manager includingvNICs HA vNICs vHBAs HA vHBAs all server profiles and all Oracle FabricInterconnect objects connected to the server
You first define your IO Template and its resources then create an IO Profile fromthat template and connect the IO Profile to a physical server Once your IO Profileconnects to the server the vNICs and vHBAs defined in your IO Template arepushed to that server This section describes how to build an IO Profile by
1 Creating an IO Profile from the new IO Template
2 Connecting the IO Profile to a physical server (thus deploying vNICs andvHBAs on the server)
3 Displaying the job that connects the IO Profile to the physical server
4 Displaying the resources configured in this chapter
Create and Deploy an IO ProfileTo deploy network and storage requirements from an IO Template use the addio-profile command
description------------------------------------------------------------------------------1 record displayed
rootFabMgrCLI[ofm] show io-template EngIOtemplate vhbasname sto-cloud-name qos is-ha description------------------------------------------------------------------------------EngVhba EngSTcloudA true1 record displayed
Chapter 2 Getting Started 31
This example directs you to create an IO Profile from an IO Template thenconnect your resource to the physical server which will deploy IO according to thespecifications in the IO Template
1 To apply an IO Template to a server (named bering) use the add io-profilecommand IO Profiles are normally named after the server to which they applyThis example uses the server named bering and therefore the IO Profile isnamed bering Example
2 Use the IO Profile to connect the virtual IO resources (vNICs and vHBAs) to aserver using the set io-profile command
3 Run the show job ConnectIOProfile command to display the job details
4 Display the new IO Profile using the show io-profile command
rootFabMgrCLI[ofm] add io-profile bering EngIOtemplaterootFabMgrCLI[ofm] show io-profile bering------------------------------------------------------------------------------name beringhostnametemplate EngIOtemplatestate disconnecteddescription Fabric Manager-created from template EngIOtemplatevnics 2vhbas 2------------------------------------------------------------------------------1 record displayed
rootFabMgrCLI[ofm] set io-profile bering connect beringA new task was created successfully Please run ldquoshow job ConnectIOProfile_rdquo tosee more details
rootFabMgrCLI[ofm] show job ConnectIOProfile___2012-03-28_143126974name user job-detail state detail-status------------------------------------------------------------------------------ConnectIOProfile root Connect Porphobilinogen to server bering completed Jobcompleted successfully1 record displayed
rootFabMgrCLI[ofm] show io-profile beringname hostname template state description vnics vhbas------------------------------------------------------------------------------bering bering EngIOtemplate up FMofm-created template ngIOtemplate 2 21 record displayed
32 Oracle Fabric Manager Command Reference (Beta) bull September 2014
5 Display the physical server connected to your IO Profile using the showphysical-server command
6 Display the vNICs configured on the physical server using the showphysical-server command Examples
rootFabMgrCLI[ofm] show physical-server beringname os driver-version vnics vhbas bound state template-name chassis-port------------------------------------------------------------------------------bering Linux6 51400211 2 2 yes up EngIOtemplate
montanaServerPort17iowaServerPort22montanaServerPort22iowaServerPort171 record displayed
rootFabMgrCLI[ofm] show physical-server bering vnicsparentname ame net-cloud-name termination state ip-address mac-addressis-ha description----------=-------------------------------------------------------------------bering EngVnic EngNWcloudA iowa-78 upup 00000013970700AA truebering EngVnic EngNWcloudA montana-56 upup 0000 0013970700AAtrue2 records displayed
Chapter 2 Getting Started 33
34 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 3
Working with Oracle FabricInterconnects
This chapter describes Oracle Fabric Interconnects and how to use the CLI to displayOracle Fabric Interconnect information manage the Oracle Fabric Interconnects andmanage user access through Oracle Fabric Managerrsquos Identity Management System(IMS) This chapter contains the following topics
ldquoUnderstanding Oracle Fabric Interconnectsrdquo on page 35
ldquoDisplaying Information about Oracle Fabric Interconnectsrdquo on page 37
ldquoManaging Oracle Fabric Interconnectsrdquo on page 49
ldquoManaging User Access Securityrdquo on page 50
Understanding Oracle FabricInterconnectsOracle Fabric Interconnects are appliances that contain the components responsiblefor mapping and connecting virtual Ethernet and virtual Fibre Channel resources totheir traditional physical counterparts Oracle Fabric Interconnects contain a set ofIO ports that connect to your data center network (see the Oracle FabricInterconnectrsquos rear view in FIGURE 3-1) The network and SAN administratorsconnect these ports to their Ethernet switches to provide IO resources to yourservers The server administrator connects servers to a set of network resourcesprovided by the network administrators The server administrator does not carewhat physical ports on the Oracle Fabric Interconnect are connected as long as theservers have access to the required resources
35
FIGURE 3-1 Oracle Fabric Interconnect F1-15
After physically networking the Oracle Fabric Interconnects and prior to creating theelements that you will use to manage your environment through Oracle FabricManager you need to add the Oracle Fabric Interconnects to that environment usingthe CLI add director command Once you add the Oracle Fabric Interconnect tothe environment you can create and connect the remaining elements that make upyour storage and network infrastructure
Use the Oracle Fabric Interconnect commands to access information about the OracleFabric Interconnect chassis managed in your environment The commands describedin this chapter enable you to view detailed information about each managed OracleFabric Interconnect all hardware inventoried in Oracle Fabric Manager and OracleFabric Interconnect-based software and hardware features available on the OracleFabric Interconnect You can use the commands in this chapter to manage the OracleFabric Interconnects in your Oracle Fabric Manager environment
Adding Oracle Fabric Interconnects to OracleFabric Managerrsquos EnvironmentYou can use the add director command to add Oracle Fabric Interconnects toyour environment so that you can manage it using Oracle Fabric Manager
Note ndash Before you can add an Oracle Fabric Interconnect to Oracle Fabric Managerit must first be ldquodiscoveredrdquo through either its IP address or host name This activityis explained in more detail in the Oracle Fabric Manager Userrsquos Guide
To add an Oracle Fabric Interconnect at the command prompt type
add director ltdirector namegt ltuser namegt ltuser passwordgt
36 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The user name and password were set up by the administrator when theyldquodiscoveredrdquo the Oracle Fabric Interconnect The password is optional so there maynot be a password associated with the Oracle Fabric Interconnect
Displaying Information about OracleFabric InterconnectsThe CLI provides several commands for displaying information about managedchassis in your network To display a list of all Oracle Fabric Interconnects currentlybeing managed in your Oracle Fabric Manager environment type
Then press Tab twice The CLI displays all of those Oracle Fabric Interconnects forexample
This section provides instructions for
ldquoDisplaying Summary Informationrdquo on page 38
ldquoDisplaying IO Card Informationrdquo on page 41
ldquoDisplaying FC Port Informationrdquo on page 44
ldquoDisplaying Ethernet Port Informationrdquo on page 46
add director montana joeuser joepassword
show director
rootFabMgrCLI[ofm] show director Tab TabPossible completionsarkansas Oracle Fabric Interconnectiowa Oracle Fabric Interconnectmontana Oracle Fabric Interconnecttexas Oracle Fabric Interconnect
Chapter 3 Working with Oracle Fabric Interconnects 37
Displaying Summary Information
SyntaxTo display the summary information for a particular Oracle Fabric Interconnecttype
Example 1
The CLI displays specific information about the specified Oracle Fabric Interconnect
Example 2
The CLI displays specific information about all Oracle Fabric Interconnects in theOracle Fabric Manager environment for example
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] director ltDirector namegt
show director ltDirector namegt
rootFabMgrCLI[ofm] show director arkansas------------------------------------------------------------------------------name arkansasip-addr 192168376ip-subnet localstate upupphase 6fabric 6modules 6version Build 380-XGOS-BETA4 - (root) Fri Apr 20 231132 UTC 2012------------------------------------------------------------------------------1 record displayed
show -list director
rootFabMgrCLI[ofm] show director------------------------------------------------------------------------------name arkansasip-addr 192168376ip-subnet localstate upupphase 6
38 Oracle Fabric Manager Command Reference (Beta) bull September 2014
FieldsTABLE 3-1 describes the fields displayed with the show director command
fabric 6modules 6version Build 380-XGOS-BETA4 - (root) Fri Apr 20 231132 UTC 2012------------------------------------------------------------------------------name iowaip-addr 1921681085ip-subnet localstate upupphase 2fabric 2modules 2version Build 380-XGOS-BETA3 - (root) Fri Apr 20 195625 UTC 2012------------------------------------------------------------------------------name montanaip-addr 1921683725ip-subnet localstate upupphase 4fabric 4modules 4version Build branch-400-37909 - (xsmith) Fri Apr 20 140348 PDT 2012------------------------------------------------------------------------------name texasip-addr 192168379ip-subnet localstate upupphase 6fabric 6modules 6version Build 380-XGOS-BETA5 - (root) Tue Apr 24 230554 UTC 2012------------------------------------------------------------------------------4 records displayed
Chapter 3 Working with Oracle Fabric Interconnects 39
Displaying Director Details
TABLE 3-1 Fields that Display Using the show director Command
Field Possible Contents Description
name The name of specified Oracle FabricInterconnect
ip-addr The chassisrsquo IP address
ip-subnet either a name (for exampleldquolocalrdquo) or displayed in dotteddecimal notation
The IP subnet on which the Oracle FabricInterconnect is located
state bull Upbull Down
The Oracle Fabric Interconnectrsquos discovery statewhile the chassis are being discovered andadded to the Oracle Fabric Manager framework
phase The phase of the discovery process whilechassis are being discovered and added to theOracle Fabric Manager framework
fabric If this value is the same as theOracle Fabric Interconnect namethat Oracle Fabric Interconnect isproviding the IB subnet managerIf this value is different than theOracle Fabric Interconnectrsquos namethe device named in this fieldprovides the IB subnet manager
Indicates the name or InfiniBand ID of theOracle Fabric Interconnect that is the masternode which provides the InfiniBand subnetNote - It is possible that an Oracle FabricInterconnect named in this field that is notmanaged by Oracle Fabric Manager isproviding subnet manager functionality for anOracle Fabric Interconnect that is managed byOracle Fabric Manager
modules The number of IO modules installed in thechassis
version The Oracle Fabric Manager version currentlyinstalled on the chassis
show director ltnamegt [-detail=Show detailed information]
40 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Displaying IO Card InformationEach Oracle Fabric Interconnect supports Ethernet IO modules that are theunderlying physical connectivity to the IP network and Fiber Channel modules thatare the underlying physical connectivity to an FC SAN These hardware modulessupport the creation of vNICs for virtual IP connectivity and vHBAs for hostserversrsquo SAN connectivity
Oracle Fabric Interconnects support the following Ethernet IO modules
10 Gig Ethernet module (10 GE) which supports one physical link at 10 Gbps
4-port 10 Gig Ethernet module (4-Port 10 GE) which support four physical linksat 10 Gbps per link
10-port Gig Ethernet module (10-Port GE) which supports 10 individual physicallinks at 1 Gbps
Oracle Fabric Interconnects support the following Fibre Channel cards
The Line Rate Fibre Channel module (2x4 FC Line Rate card) This modulesupports two FC port pairs (one transmit port of 4 Gbps and one receive port at 4Gbps for each port pair) for a total of 8 Gbps per module
The 8 Gbps Line Rate Channel module (2x8 FC Line Rate card) This modulesupports two FC port pairs (one transmit port of 8 Gbps and one receive port at 8Gbps for each port pair) for a total of 8 Gbps (full line rate) for each port pair
SyntaxTo display the Ethernet and FC card information for a particular Oracle FabricInterconnect type
Example
The CLI displays information about the specified Oracle Fabric Interconnect forexample
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] director ltDirector namegtio-cards
show -table -sortby=rdquonamerdquo director ltDirector namegt io-cards
rootFabMgrCLI[ofm] show -table -sortby=rdquonamerdquo director montana io-cardsname state type description------------------------------------------------------------------------------montana5 upup nwEthernet10Port1GbCard
Chapter 3 Working with Oracle Fabric Interconnects 41
This example shows two Ethernet cards and two FC cards The Ethernet card in slot1 has a missing resource
Field DefinitionsTABLE 3-2 describes the fields displayed using the show directorio-cardscommand
montana6 upup sanFc2Port4GbCardmontana9 upfailed sanFc2Port4GbCardmontana10 upup sanFc2Port4GbCard4 records displayed
42 Oracle Fabric Manager Command Reference (Beta) bull September 2014
TABLE 3-2 Fields Displayed Using the show director Command
Field Possible Contents Description
name The name of each Ethernet and FC cardinventoried in the specified Oracle FabricInterconnect Each IO card is named aschassisslot so the card montana1 is theEthernet card in slot 1 of the ldquoMontanardquochassis and montana6 is the FC card inslot 6 of the ldquoMontanardquo chassis
state bull UpReadybull Cold Restartbull Warm Restartbull Shutting Downbull Unmanagedbull Upgradingbull UpInitializingbull UpIndeterminatebull UpVersionMismatchbull UpHostControlPathDownbull UpDownbull UpUp
The current state of the Oracle FabricInterconnectrsquos Ethernet and FC cards Theldquostaterdquo is displayed as administrativestateoperational Cards in an upup stateare operating correctly
Chapter 3 Working with Oracle Fabric Interconnects 43
Displaying FC Port InformationThe show director fc-ports command provides a list of all Fibre Channel portsmanaged by Oracle Fabric Manager the port type its status (up or down)
type Ethernet modules supported includebull 10 Gig Ethernet module (10 GE) which
supports one physical link at 10 Gbps Inthe ldquoTyperdquo field Oracle Fabric Managerdisplays this module appears asnwEthernet1Port10GBCardEthIb
bull 4-Port 10 Gig Ethernet module (4-Port 10GE) which support four physical links at10 Gbps per link In the ldquoTyperdquo field thismodule appears asnwEthernet4Port10GbCardEthIb
bull 10-Port Gig Ethernet module (10-Port GE)which supports 10 individual physical linksat 1 Gbps In the ldquoTyperdquo field this moduleappears asnwEthernet10Port1GbCardEthIb
The type of Ethernet card installed in theOracle Fabric Interconnect
Fibre Channel modules supported includebull The Line Rate Fibre Channel module
which supports two FC port pairs (onetransmit port of 4 Gbps and one receiveport at 4 Gbps for each port pair) for a totalof 8 Gbps per module In the ldquoTyperdquo fieldthis module appears assanFc2Port4GbLrCard
bull The 8 Gbps Line Rate Fibre Channelmodule which supports 2 FC port pairs(one transmit port of 8 Gbps and onereceive port at 8 Gbps for each port pair)for a total of 8 Gbps (full line rate) for eachport pair In the ldquoTyperdquo field this moduleappears as sanFc2Port8GbLrCardEthIB
description An optional description field for theEthernet or FC card
TABLE 3-2 Fields Displayed Using the show director Command (Continued)
Field Possible Contents Description
44 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo display the FC port information for a specified Oracle Fabric Interconnect in tableformat type
Example
This example shows six FC ports with two of them in an ldquoindeterminaterdquo state
Field DefinitionsTABLE 3-3 describes the fields displayed by the show directorfc-portscommand
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] director ltDirector namegtfc-ports
show -table director ltDirector namegt fc-ports
rootFabMgrCLI[ofm] show director montana fc-portsname state type vhba-count speed(-m-b) description------------------------------------------------------------------------------montana61 updown sanFcPort 0 4000montana62 updown sanFcPort 0 4000montana91 upindeterminate sanFcPort 0 4000montana92 upindeterminate sanFcPort 0 4000montana101 upup sanFcPort 0 4000montana102 upup sanFcPort 1 40006 records displayed
Chapter 3 Working with Oracle Fabric Interconnects 45
Displaying Ethernet Port InformationThe show director ethernet-port command provides a list of all Ethernetports managed by Oracle Fabric Manager the port type its status (up or down)
SyntaxTo display the Ethernet port information for a particular Oracle Fabric Interconnectin list format type
TABLE 3-3 Fields Displayed Using the show director Command
Field Possible Contents Description
name The termination ports inventoried in the OracleFabric Interconnect that support vHBAs TheFibre Channel port information is named aschassisslotport so the port montana11 isthe FC port 1 on slot 1 of the ldquoMontanardquochassis
state bull UpIndeterminatebull UpHostControlPathDownbull UpDownbull UpUp
The current state of the FC port The state isdisplayed as administrative stateoperationalstate FC ports in and ldquoupuprdquo state areoperating correctly
type sanFcPort The FC port displays as sanFcPort
vhba-count The number of vHBA resources configured oneach port
speed(-m-b) The speed that the port supports
description An optional description field for the FC port
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] director ltDirector namegtethernet-ports
46 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
show -list director ltDirector namegt ethernet-ports
rootFabMgrCLI[ofm] show -list director montana ethernet-ports------------------------------------------------------------------------------name montana51state updowntype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana52state updowntype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 2description------------------------------------------------------------------------------name montana53state upuptype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana54state upuptype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana55state updowntype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana56state upup
Chapter 3 Working with Oracle Fabric Interconnects 47
This example shows 10 Ethernet ports in various ldquostatesrdquo
Field DefinitionsTABLE 3-4 describes the fields displayed by the show directorethernet-ports command
type nwEthernet1GbPortvnic-count 1speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana57state updowntype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana58state updowntype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana59state updowntype nwEthernet1GbPortvnic-count 3speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------name montana510state updowntype nwEthernet1GbPortvnic-count 0speed(-m-b) 1000lag-id 0description------------------------------------------------------------------------------10 records displayed
48 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Managing Oracle Fabric InterconnectsThis section describes additional management functions that you can perform withOracle Fabric Interconnects using the CLI including
ldquoRestarting an Oracle Fabric Interconnectrdquo on page 49
ldquoRemoving an Oracle Fabric Interconnectrdquo on page 50
Restarting an Oracle Fabric InterconnectThe set director restart command restarts an Oracle Fabric Interconnect
TABLE 3-4 Fields Displayed Using the show directorethernet-ports Command
Field Possible Contents Description
name This module contains a termination portsupporting a vNIC so the configured Ethernetportsrsquo information is shown for any port that isterminating a vNIC The port is named aschassisslotport so the port montana11 isthe Ethernet port 1 on slot 1 of the ldquomontanardquochassis
state bull UpIndeterminatebull UpHostControlPathDownbull UpDownbull UpUp
The current state of the Ethernet port The stateis displayed as administrative stateoperationalstate Ethernet ports in an ldquoupuprdquo state areoperating correctly Several possible states aredisplayed in the Possible Contents column
type nwEthernet1GbPort The type of Ethernet port
vnic-count The number of vNIC resources configured oneach port on the Ethernet card
speed(-m-b) The speed that the port supports
lag-id The link aggregation group ID if one isconfigured on this port
description An optional description field for the EthernetCard
Chapter 3 Working with Oracle Fabric Interconnects 49
SyntaxTo restart an Oracle Fabric Interconnect type
Example
Removing an Oracle Fabric InterconnectThe remove director command removes an Oracle Fabric Interconnect fromOracle Fabric Manager management
SyntaxTo remove an Oracle Fabric Interconnect from Oracle Fabric Manager managementuse the following command syntax
Examples
When you execute this command the CLI displays a message confirming that youwish to remove the Oracle Fabric Interconnect Type Y to continue or N to cancel
If you do not want a confirmation message to display when you issue thiscommand use the -noconfirm option as shown below
Managing User Access SecurityThis section details
set director ltDirector namegt restart
set director montana restart
remove [-noconfirm] director ltDirector namegt
remove director montana
remove -noconfirm director montana
50 Oracle Fabric Manager Command Reference (Beta) bull September 2014
ldquoUnderstanding How Oracle Fabric Manager Controls User Accessrdquo on page 51
ldquoWorking with User Rolesrdquo on page 54
ldquoWorking with Role Group Mappingsrdquo on page 57
ldquoWorking with Domain Group Mappingsrdquo on page 58
ldquoConfiguring Resource Domainsrdquo on page 59
Understanding How Oracle Fabric ManagerControls User AccessOracle Fabric Interconnects control user access through its Identity ManagementSystem (IMS) IMS has two types
Internal IMS where the user is assigned to a role group (and its associatedpermissions) within the Oracle Fabric Interconnect itself The role group haspermissions associated with it that determines what system objects the users whoare part of the role group can use when logged in to Oracle Fabric Manager Thisrole assignment is called ldquointernalrdquo because the mapping of a user-to-role as wellas the authorization and authentication of that user occurs on the Oracle FabricInterconnect
External IMS where the authorization and authentication aspects of logging inoccur external to the Oracle Fabric Interconnect and the Oracle Fabric ManagerServer Authentication and authorization occur typically on an externaldevicemdashfor example through a RADIUS servermdashthat is connected to the OracleFabric Manager Server through an Oracle Fabric Interconnect
User RolesUser roles are software constructions associated with one or more user accounts Theroles set the amount of control a user has within the Oracle Fabric Manager andOracle Fabric Interconnect system Roles typically are created based on the divisionof system administration tasks in the data center For example some common rolesare
network for managing IP networks and routing connectivity
storage for managing storage capacity configuration and connectivity
Oracle Fabric Manager provides several default roles Each role has permissions ondifferent hardware software and network components TABLE 3-5 shows the roleswith which a user can be associated
Chapter 3 Working with Oracle Fabric Interconnects 51
To add users to an Oracle Fabric Manager role see ldquoWorking with User Rolesrdquo onpage 54
Resource DomainsThe Oracle Fabric Interconnect Oracle Fabric Manager Server and physical serversreside in domains which are logical groupings of resources in the networkTypically domains are arranged by a functional group such as a business unit ordepartment but domains can be created with any thememdasha lab domain aproduction domain a domain of top-quality hardware a domain of mid-qualityhardware a domain of services or applications and so on Oracle Fabric ManagerrsquosDomain Manager enables you to create the individual domains within your networkby carving out the resources required and grouping them into a domain Domainboundaries are strictly enforced so the Oracle Fabric Manager Server and the OracleFabric Interconnects it manages must be in the same domain
Default DomainBy default all resources discovered and managed by Oracle Fabric Manager residein the default domain When you create additional domains you remove resourcesfrom the default domain and add them to the domain that you create
To configure a domain you must be logged into Oracle Fabric Manager at theadministrator-level (either through root or the default domain admin user) Thedomain admin user (which is used to manage individual domains) cannot create
TABLE 3-5 User Roles
This role Has privileges for
operator read access to Oracle Fabric Interconnect features
network vNIC configuration and management and network QoS
storage vHBA configuration and management and SAN QoS
server compute resource configuration and management
administrator full admin responsibilities When a user with this role logs in OracleFabric Manager maps that individual user account to the root account(adminadmin) which grants the user all permissions on the OracleFabric Interconnect
no access No access Users with this role cannot use Oracle Fabric Manager andcannot display any information
52 Oracle Fabric Manager Command Reference (Beta) bull September 2014
individual domains When you log in to Oracle Fabric Manager as root you canissue the commands required manage the default domain Use the add resource-domain to create individual domains that will be later managed by the admin users
Once you create a domain you can add individual resources to it to allow for virtualconnectivity to hostsmdashfor example a domain might contain one or more OracleFabric Manager Server(s) Oracle Fabric Interconnects FC and GE switches andhosts When the domain and resources are created you can create the admin user tomanage that domain and its subset of overall resources
Default Domain UsersIn the default domain users that have administrator role can create update orremove non-default domains These users can also add Oracle Fabric Interconnectsand IO Modules to the non-default domains as well as delete them from the non-default domains
In a standard usage model the default domain administrator is a site administratorand the non-default administrator is the administrator of individual domains Forexample in a data center that sells rack space and services to other companies thedefault domain administrator (site administrator) can access and control the OracleFabric Interconnects and create the individual domains for each paying companyWithin the domain for each company IO Modules are available for end-to-connectivity The default domain administrator adds IO Modules to the companyrsquosdomain then the companyrsquos domain (non-default) administrator can manage anyfurther configuration of that domain
Role and Domain Group MappingsOracle Fabric Manager provides an enhanced group mapping functionality thatenables you to specify a mapping between a userrsquos group and either a role definedin Oracle Fabric Manager or a domain or both With this feature the userrsquos group isdefined on an external Identity Management System (IMS) such as AD or LDAP andwhen that user logs into the group that group is mapped to an Oracle FabricManager role (if desired) or a specific domain in Oracle Fabric Manager (if desired)or both As a result of the group mapping to a role or domain (or both) the user thengets either the corresponding role or access to only the resources in the mappeddomain or both the corresponding role and resources in the mapped domain
Groups are identified by a regular expression that is matched against the list ofgroups to which a user belongs (Regular expressions are parts of strings thatrepresent a pattern for the overall larger string and they can contain wildcards forthe substitution of the rest of the overall string For example app is a regularexpression for ldquoapplicationsrdquo) When a match is found the role (or domain) is set forthat user to that specified in the mapping
Chapter 3 Working with Oracle Fabric Interconnects 53
Note ndash The regular expression must match the whole group name not part of it Forexample abc would not match for the group abcd However abc would match thegroup name
When multiple roles are set for a mapping the users that are in the affected groupare mapped into the corresponding roles For example assume the groupOracle_Server_Storage_Admins is created on an AD server This group is thenmapped to the Server and Storage roles in the Oracle Fabric Manager RBAC rolesThis mapping is supported and in this case users in theOracle_Server_Storage_Admins group will now have multiple roles
Using the No Access RoleThe ldquoNo Accessrdquo role prevents access to Oracle Fabric Manager (including read-onlyaccess) With the no-access role you can block certain groups from seeing any of theinformation within Oracle Fabric Manager For strictest security Oracle recommendsthat you place the Oracle Fabric Manager and Oracle Fabric Interconnect users intotheir respective domainsgroups and place everyone else into the No Access group
Note ndash When mapping external IMS groups you cannot configure an administratornetwork storage or compute role in a non-default domain If you do place theseroles in a non-default domain users will be logged in as operator (read-only) In thedefault domain administrator network storage and compute roles can be assignedand function predictably
Working with User RolesYou define Oracle Fabric Manager users on each Oracle Fabric Interconnect The usermust first be defined in the Oracle Fabric Manager Serverrsquos operating system Youcan then associate that user account with an Oracle Fabric Manager role as definedearlier in this chapter When you create an Oracle Fabric Manager user account youdefine the user account name (which should be the same as the operating systemrsquosaccount name) and specify the role for that account The user then enters theiroperating system user name and password when they log into Oracle FabricManager
With the Oracle Fabric Manager CLI you can
Add new users to roles using the add user-role command
Change a userrsquos account to a different role using the set user-role command
54 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Display a userrsquos role using the show user-role command
Remove a user role from the a user account using the remove user-rolecommand
You can assign each user account to only one role so if the same person needs accessto multiple aspects of the Oracle Fabric Interconnect you can either assign thatperson to a powerful role (such as server or administrators) or create two differentuser accounts that provide specific areas of control For example if you do not wantto give user ldquotimmyrdquo the administrator role but you want ldquotimmyrdquo to be able tocontrol vNICs and vHBAs you could create two user accounts
one account called ldquotimmy_nicrdquo and assign that user account to the network role
the other account called ldquotimmy_hbardquo and assign that user account to the storagerole
Timmy would then log on with the account that controls the functions he wishes tomanage There is no need to give him super user privileges to manage both roles
If you change the role assigned to a user account the new role (and its associatedprivileges) take affect the next time that user account logs in If you change the rolefor an account that is currently logged in the old role (and the associated privilege)remain in effect until that user account logs out of the current Oracle Fabric Managersession For example if two user accounts with administrator role are logged in andyou set the other user accountrsquos role to something other than ldquoadministratorrdquo thatother account will still have ldquoadministratorrdquo role (and its privileges) as long as itremains logged in
SyntaxTo add a user to a role issue the following command
To rename an Oracle Fabric Manager user or to change a role assigned to a useraccount without completely deleting and recreating that user name and role issuethe following command
To display a role and domain associated with a user ID issue the followingcommand
add user-role ltSpecify a User name (this is a user name that is authenticated by the OS on the Fabric Managermachine)gt [-domain-name=Resource domain name] [-role=Specify Security role Default=operator] [-description=Specify Description]
set user-role ltUser namegt [-domain=Resource domain name] [-roles=Specify Security role][-description=Specify Description]
show [-xml] [-list] [-table] [-sortby=Sort column] user-role ltName of usergt
Chapter 3 Working with Oracle Fabric Interconnects 55
To remove a role issue the following command
Example
The above example creates a user named jkrause (who is already defined in theoperating system) in the domain StorageAdmins with the Oracle Fabric Managerrole storage
OptionsTABLE 3-6 describes the options you specify with the add user-role and setuser-role commands
remove [-noconfirm] user-role ltUser namegt
rootFabMgrCLI[ofm] add user-role jkrause -domain=StorageAdmins -role=storage-description=rdquoStorage administratorrdquorootFabMgrCLI[ofm] show user-role myuserrolename domain roles description------------------------------------------------------------------------------jkrause default operator Storage administrator1 record displayed
TABLE 3-6 Options Entered Using the add user-role and set user-role Commands
Option Possible Values Description
User name a string between 1 and 128characters in length
Enter the user name (that already exists in the OS) that you arecreated and associating with an Oracle Fabric Manager role
-domain Specify a domain in which this user and role should becreated By default all users and their roles are created in thedefault domain unless you specify a custom domain
-role bull operatorbull networkbull storagebull serverbull administratorbull no access
Specify the role that you want to assign to the user that you arecreating If you do not specify a user the operator role isassigned by default
-description As an option specify a description string that describes theuser account that you are creating
56 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Working with Role Group MappingsRole groups provide the permissions for the objects that a user can access configurechange or manage The default role group is ldquooperatorrdquo which is the mostrestrictive (read-only) group If there are many roles with similar functions you canuse regular expressions to define that role group
SyntaxTo create a Role Group Mapping issue the following command
To change the role of a role group mapping issue the following command
To display a role group mapping issue the following command
To delete a role-group-mapping issue the following command
add role-group-mapping ltName of mappinggt ltRegular expression for the groupgt ltRoles to mapgt[-description=Specify Description]
set role-group-mapping ltName of mappinggt ltRegular expression for the groupgt ltRoles to mapgt[-description=Specify Description]
show [-xml] [-list] [-table] [-sortby=Sort column] role-group-mapping ltName ofmappinggt
remove [-noconfirm] role-group-mapping ltName of mappinggt
Chapter 3 Working with Oracle Fabric Interconnects 57
Example
The above example creates a new role group mapping called TechnicalSupport usingthe expression Technical and assigns that role group the administrator role anddisplays the defined role group mapping
Working with Domain Group MappingsThe Group Mapping feature has a separate command for mapping external IMSgroups (for example AD groups) to Oracle Fabric Manager domains The adddomain-group-mapping and set domain-group-mapping commands enableyou to create and link one or more groups in an external IMS to one or more specificOracle Fabric Manager domains You can display the domain group mappings usingthe show domain-group-mapping command and delete a domain groupmapping using the remove domain-group-mapping command
SyntaxTo work with domain group mappings issue one of the following commands
rootFabMgrCLI[ofm] add role-group-mapping TechnicalSupport TechnicaladministratorrootFabMgrCLI[ofm] show role-group-mapping------------------------------------------------------------------------------displayed-name HumanResourcesMappinggroup-names HumanResourceGrouproles networkstoragedescription Access to all human resources networks and storage------------------------------------------------------------------------------1 record displayed
add domain-group-mapping ltName of mappinggt ltRegular expression for groupgt ltDomain-namegt[-Specify Description]
set domain-group-mapping ltName of mappinggt [-group=Regular expression for group] [-domain=Resource domain name] [-description=Description]
show [-xml] [-list] [-table] [-sortby=Sort column] domain-group-mapping ltName ofmappinggt
remove [-noconfirm] domain-group-mapping ltName of mappinggt
58 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Examples
Configuring Resource DomainsWhen you create a domain you carve out a set of resources from the overall defaultdomain A domain includes the Ethernet ports FC ports and physical serversrequired in the domain Domains are created by using the add resource-domaincommand one or more of the following commands
set resource-domainadd physical-server to add physical hosts toyour domain The physical host must be connected to an Oracle FabricInterconnect being managed by Oracle Fabric Manager The host cannot alreadybe connected to a Network or Storage Cloud
set resource-domainadd fabric-device to add a specified Oraclefabric device (either an Oracle Fabric Interconnect or an Oracle SDN Controller)to your domain If you are adding fabric devices that are already connected tohosts the hosts (and any associated Network or Storage Clouds) must also be inthe same domain as the fabric device(s)
set resource-domainadd network-cloud to add Network Clouds tothe domain The Network Cloud consists of one or more termination GE portswhich cannot be assigned to another cloud
set resource-domainadd storage-cloud to add an IO card to aresource domain so that it is available to Network and Storage Clouds
set resource-domainadd io-card to add Storage Clouds to thedomain The Storage Cloud consists of one or more FC termination ports whichcannot be assigned to another cloud
set resource-domain also has an option that allows you to set the name fora resource domain
When you create a domain you must be logged in as an administrator so that youcan configure the resources from the default domain After configuring the domainyou can log back in with a user account for that domain and continue to configureand manage that individual domain
You can also remove resources from a domain using one of the following commands
set resource-domainremove physical-server to remove a physicalhosts from your domain
set resource-domainremove fabric-device to remove an Oraclefabric device from a resource domain When removed the fabric device returns tothe default domain and will be unable to use Network or Storage Clouds IOcards or servers that are in other domains
rootFabMgrCLI[ofm] add domain-group-mapping StorageAdmin Storage StorageCloud
Chapter 3 Working with Oracle Fabric Interconnects 59
set resource-domainremove network-cloud to remove NetworkClouds from the domain
set resource-domainremove storage-cloud to remove StorageClouds from the domain
set resource-domainremove io-card to remove an IO card from aresource domain When removed the IO card returns to the default domain andwill be unavailable for connecting to Network and Storage Clouds fabric devicesor hosts that are in other domains
To display the resources that are assigned to a resource domain use one of thefollowing commands
show resource-domainphysical-server
show resource-domainnetwork-cloud
show resource-domainstorage-cloud
To remove a resource domain from the Oracle Fabric Interconnect use the removeresource-domain command
SyntaxTo perform one of the resource domain functions described above issue one of thefollowing commands
add resource-domain ltSpecify a Resource domain namegt [-description=Specify Description]
set resource-domain ltSpecify a Resource domain namegt add fabric-device ltSpecify Oracle fabricdevice namegt
set resource-domain ltResource domain namegt add physical-server ltSpecify Physical servernamegt
set resource-domain ltResource domain namegt add network-cloud ltSpecify Network cloud namegt
set resource-domain ltResource domain namegt add storage-cloud ltSpecify Storage cloud namegt
set resource-domain ltResource domain namegt add io-card ltSpecify IO card namegt
set resource-domain ltResource domain namegt remove fabric-device ltSpecify Oracle fabric devicenamegt [-no-confirm]
set resource-domain ltResource domain namegt remove physical-server ltSpecify Physical servernamegt [-no-confirm]
60 Oracle Fabric Manager Command Reference (Beta) bull September 2014
set resource-domain ltResource domain namegt remove network-cloud ltSpecify Network cloudnamegt [-no-confirm]
set resource-domain ltResource domain namegt remove storage-cloud ltSpecify Storage cloudnamegt [-no-confirm]
set resource-domain ltResource domain namegt remove io-card ltSpecify IO card namegt [-no-confirm]
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] resource-domainltResource Domain Namegt fabric-device
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] resource-domainltResource Domain Namegt physical-server
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] resource-domainltResource Domain Namegt network-cloud
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] resource-domainltResource Domain Namegt storage-cloud
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] resource-domainltResource Domain Namegt io-cards
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] resource-domainltResource Domain Namegt
remove [-noconfirm] resource-domain ltResource Domain namegt
Chapter 3 Working with Oracle Fabric Interconnects 61
Example
The above example creates the resource domain called ITresources and adds thephysical server bering the Network Cloud Cloud9 and the Storage Cloud S_Cloud0to the domain Finally the example displays the resources in the resource domainbering
rootFabMgrCLI[ofm] add resource-domain ITresourcesrootFabMgrCLI[ofm] set resource-domain ITresources add physical-server beringrootFabMgrCLI[ofm] set resource-domain ITresources add network-cloud Cloud9rootFabMgrCLI[ofm] set resource-domain ITresources add storage-cloud S_Cloud0rootFabMgrCLI[ofm] show resource-domain ITresources------------------------------------------------------------------------------name ITresourcesdescriptionnumber-of-servers 1network-cloud-count 1storage-cloud-count 1------------------------------------------------------------------------------1 record displayedrootlawrence[ofm]
62 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 4
Working with Network Clouds
This chapter describes Network Clouds and vNICs and explains how to createdisplay and remove them using the CLI This chapter also describes how to includeEthernet Link Aggregation Groups (LAGs) and Network QoS Profiles in yourNetwork configurations This chapter contains the following topics
ldquoUnderstanding Network Clouds and vNICsrdquo on page 63
ldquoCreating a Network Cloudrdquo on page 67
ldquoDisplaying Network Cloud Detailsrdquo on page 74
ldquoRemoving Network Clouds Ethernet Ports and MAC IDsrdquo on page 80
ldquoCreating and Using vNICsrdquo on page 82
ldquoWorking with Ethernet Link Aggregation Groups (LAGs)rdquo on page 92
ldquoWorking with Network QoSrdquo on page 99
Understanding Network Clouds andvNICsOracle Fabric Interconnects contain a set of IO ports that are connected to your datacenter network The network and SAN administrator connect these ports to theirEthernet switches to provide IO resources to the servers Each IO port on theOracle Fabric Interconnect provides access to a set of ldquocloudsrdquo For example youmight have a Network Cloud that provides access to the HR network As far as thenetwork administrator is concerned you are connecting wires to the Oracle FabricInterconnectrsquos IO ports for the sole purpose of providing the server administratoraccess to the resources
63
The server administrator then connects servers to a set of network resourcesprovided by the network administrators The server administrator doesnrsquot care whatphysical Oracle Fabric Interconnect ports are being connected to as long as theservers have access to the required resources You can configure and manageNetwork Clouds using the Oracle Fabric Manager Network and Administrator roles
vNICsA virtual Network Interface Card (vNIC) virtualizes NIC connectivity A vNIC is avirtual NIC that appears to the OS as a physical NIC and enables a server to have anEthernet network attachment without having a physical NIC present Instead of theclient server using a NIC it uses an InfiniBand (IB) HCA and then virtualizes theNIC providing Ethernet connectivity These commands enable you to configure QoSProfiles a VLAN the Ethernet Port to use and several other parameters whendefining your vNIC
Private vNICsBy default when two vNICs are terminated on the same IO module the OracleFabric Interconnect uses a feature called vNIC-to-vNIC Switching which forwardsthe traffic between the two vNICs across the IO module instead of sending themover the midplane The vNIC-to-vNIC Switching feature provides betterperformance for network traffic However some situations exist where uncontrolledvNIC-to-vNIC Switching might not be desirable due to security reasons
You can add security to vNIC-to-vNIC switching using Private vNICs With PrivatevNICs you can add isolation for a set of vNICs and also provide enhancements toexisting and new methods of external switching If a vNIC-to-vNIC Switchingconfiguration does not explicitly have one or more vNICs set as a Private vNIC thenthose vNICs are assumed to be Public vNICs which do not support the isolationand external switching benefits of Private vNICs
A Private vNIC communicates with the Ethernet network and Public vNICs but itcannot communicate with other Private vNICs If a packetrsquos destination is assignedto a Private vNIC the packet is dropped Packets originating on a private vNIC anddestined for another private vNIC are dropped regardless of whether both vNICsare in the same VLAN
Public vNICs can communicate without restriction with the exception of trafficisolation enforced by standard VLANs Packets arriving from private vNICs aredropped or forwarded based on the destination If the destination is a Public vNICor the Ethernet network the packet is forwarded Otherwise it is dropped VLANrestrictions still apply to packets that are forwarded Broadcast and multicast packetsare not special cases They are also not forwarded between Private VLANs
64 Oracle Fabric Manager Command Reference (Beta) bull September 2014
You can specify Private vNICs using the set network-cloud command (ldquoSettingNetwork Cloud Optionsrdquo on page 70)
Network QoS ProfilesOracle Fabric Manager provides commonly-used network QoS Profiles that are pre-configured for various network link speeds These pre-configured Network QoSProfiles use typical CIR and PIR values calculated from the linkrsquos total throughputWhen you configure QoS Profiles make sure that you use a reasonable profile Forexample for a 1 Gigabit Ethernet link do not select a network QoS profile for a 10Gigabit Ethernet link (do not choose the Network QoS profile named 7g_10g whichhas throughput values that are in excess of what the 1 Gigabit link can support) Youcan configure Network QoS for a Network Cloud when you
Create the Network Cloud using the add network-cloud command (seeldquoCreating a Network Cloudrdquo on page 67)
Change the Network Cloud setting using the set network-cloud command(see ldquoSetting Network Cloud Optionsrdquo on page 70)
You can assign the Network QoS at the Cloud level (see ldquoCreating a NetworkCloudrdquo on page 67) or at the vNIC level (see ldquoCreating and Using vNICsrdquo onpage 82)
If a Network Cloud has a QoS Profile associated with it a vNIC terminated in theNetwork Cloud inherits the Network QoS profile from the Network Cloud In thiscase the vNICs inherit the QoS parameters from their respective clouds (and istrue even if the vNIC has its own QoS Profile with which it is associated)
If a Network Cloud has no QoS Profile associated with it and a vNIC has its ownQoS profiles a vNIC terminated in the Network Cloud will have a QoS Profileassociated with it In this case the Network Cloud has no QoS Profile to applyThis situation does not automatically apply no QoS to the vNICs Instead itcauses the cloud to defer to the QoS profiles assigned to the individual vNICs (ifany) If you do not want QoS applied anywhere for the virtual IO in a cloudmake sure that no QoS Profile is associated with the Network Cloud and also thatno QoS is associated with the vNIC included in that Cloud
High Availability Network CloudsTypical deployments have redundant Oracle Fabric Interconnects so that if one ofthe Oracle Fabric Interconnects becomes disabled for any reason the second OracleFabric Interconnect can assume all the activity being performed by the Oracle FabricInterconnect that is ldquodownrdquo You can associate a Network Cloud with two OracleFabric Interconnects simultaneously and also set the connection priority so that oneOracle Fabric Interconnect is considered the primary and the other is considered the
Chapter 4 Working with Network Clouds 65
secondary When you initially create the Cloud you must manually connect the HAvNICs to the Cloud and manually set their primary and secondary status Once youcreate the initial Network Cloud the Oracle Fabric Interconnectsrsquo connection priorityis set Any additional HA pairs that attach to the new Network Cloud set up for HAwill first attach to the primary Oracle Fabric Interconnect and then to the secondaryOracle Fabric Interconnect if the primary Oracle Fabric Interconnect becomesunavailable
Most administrators typically create Network and Storage Clouds around a similartheme for the ports or LAGs that are associated with it For example a NetworkCloud might have ports or LAGs that will provide vNIC connections to a specificdomain or specific upstream Ethernet switch for a specific set of host servers Youcreate a Network Cloud using the CLI command add network-cloud
Ethernet Link Aggregation Groups (LAGs)LAGs function the same as physical Ethernet ports in the Network Cloud VirtualNICs can be terminated on a LAG just as they would be on a physical port A LAGtypically has all ports in the Network Cloud but the same Network Cloud can havea LAG and one or more physical ports in it Multiple LAGs can be assigned to thesame Network Cloud as long as each LAG complies with the standard LAGguidelines for the minimum and maximum number of ports You configure LAGsfor a Network Cloud using the set network-cloud command
Virtual Local Area Networks (VLANs)VLANs are used for traffic isolation and security to prevent some hosts on a networkfrom seeing traffic that is intended for other hosts When traffic is tagged with aVLAN ID only the hosts that can transmit or receive packets for that VLAN are ableto see and use that traffic
You can set VLANs for a Network Cloud using the set network-cloudcommand When a VLAN is set on the Network Cloud vNICs added to that Cloudinherit the VLAN ID unless additional configuration exists at the port level toenforce different tagging rules
66 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Round Robin Port Allocation Policy for aNetwork CloudRound robin is a systematic way for ports to be assigned for use in a NetworkCloud You specify multiple ports in a list of available ports for a Network Cloudand then assign a port as the next available port Assigning the next available portranks that port differently than any other port in the available ports list You canassign ports to Network Clouds or any additional vHBAs that are connected to theNetwork Cloud by ranking the port For example if you create a Network Cloudwith Ethernet port 21 as the port used to create the cloud then add ports 22 41and 51 to the available ports list and set port 41 as the next available port whennew vNICs connect to the Network Cloud the first vNIC connect to port 41 Afterthat any additional vNICs are assigned to whichever port has the next lowest rank
Creating a Network CloudWhen you create a Network Cloud you include one or more Ethernet ports orLAGs plus other network characteristics When you attach the Network Cloud to anIO Template it provides a way for hosts to connect to the data network TheNetwork Cloud provides network access points with specified characteristicsmdashforexample Network QoS Profiles VLANs LAGs and so on
Oracle Fabric Manager includes a default Network Cloud that contains all thediscovered Ethernet ports available through the discovered Oracle FabricInterconnect(s) When you create a Network Cloud and include resources thoseresources are removed from the default Network Cloud and placed in your newNetwork Cloud(s)
Network Clouds typically are created around some similar theme for the ports orLAGs that are associated with them For example a Network Cloud might haveports or LAGs that provide vNIC connections to a specific domain or specificupstream Ethernet switch for a specific set of host servers
This section describes how to define a Network cloud by
ldquoAdding a Network Cloudrdquo on page 68
ldquoSetting Network Cloud Optionsrdquo on page 70
ldquoAdding Ethernet Portsrdquo on page 72
ldquoAdding Ethernet LAGsrdquo on page 73
ldquoAdding High Availability (HA) to the Network Cloudrdquo on page 73
ldquoDisplaying Network Cloud Detailsrdquo on page 74
Chapter 4 Working with Network Clouds 67
Adding a Network CloudYou create a Network Cloud using the add network-cloud command
SyntaxTo add a Network Cloud to your environment issue the following command
Examples
This example shows a new Human Resources Network Cloud named HRnwCloudand includes a description of that cloud
This example assigns a QoS Profile to be applied to the Network Cloud namedHRnwCloud to be in trunk mode with an access VLAN ID of 1
OptionsTABLE 4-1 describes the options available with the add network-cloud command
add network-cloud ltSpecify Network cloud namegt [-description=Specify Network cloud description][-qos=Specify Network cloud QOS] [-trunk-mode=Enable trunk-mode] [-access-vlan-id=SpecifyAccess VLAN-Id] [-private=Is this private Default=false]
rootFabMgrCLI[ofm] add network-cloud HRnwCloud1 -description=rdquoHuman ResourcesNetwork Cloudrdquo
rootFabMgrCLI[ofm] add network-cloud HRnwCloud1 -qos=100m_1g -trunk-mode=true-access-vlan-id=1
68 Oracle Fabric Manager Command Reference (Beta) bull September 2014
TABLE 4-1 Options for Adding a Network Cloud
Option Possible Values Description
Network Cloud name Specify a name for your new Network Cloud
-description An optional description for the Network Cloud you arecreating
-qos bull 100m_1gbull 100m_250mbull 10g_10gbull 10m_100mbull 10m_1gbull 10m_50mbull 1g_10gbull 1m_10mbull 250m_500mbull 2g_10gbull 3g_10gbull 4g_10gbull 500m_750mbull 50m_100mbull 5g_10gbull 64k_1mbull 6g_10gbull 750m_1gbull 7g_10gbull 8g_10gbull 9g_10g
Optionally specify a Network QoS Profile to be appliedto the new Network CloudYou can set Network QoS on a Network Cloud at thecloud level or at the vNIC level When you applyNetwork QoS to a Network Cloud all vNICs associatedwith the cloud get the specified CIR and PIR valuesIf you also set Network QoS to a vNIC associated withthe Network Cloud the cloudrsquos Network QoS takesprecedence
Chapter 4 Working with Network Clouds 69
Setting Network Cloud OptionsYou can set the following options for Network Clouds
Description
QoS Profiles
Trunk Mode
VLAN Access
High Availability
The set network-cloud command assigns network characteristics (a QoS Profiletrunk mode or VLAN ID) to your Network Cloud
SyntaxTo assign network characteristics to a Network Cloud issue the following command
-trunk-mode bull Truebull False (default)
Specify if you want the Network Cloud to be in TrunkMode by indicating -trunk-mode=true
-access-vlan-id If you want all vNICs connected to this Network Cloudto have the same VLAN ID enter that VLAN numberusing the -access-vlan-id= optionIn addition to VLANs on a Network Cloud you cancontrol the VLAN IDs that are supported on a specificOracle Fabric Interconnect through the Allowed VLANRange feature
-private bull Truebull False (default)
Specify if you want all vNICs connected to this NetworkCloud to be Private vNICs by indicating -private=trueBy default vNICs are not Private instead they arePublicFor more information about Private vNICs see thesection entitled ldquoPrivate vNICsrdquo on page 64You can configure private vNICs using this command orat the vNIC-level when you deploy the vNIC to theserver Use the set vnic command described in thesection entitled ldquoSetting vNIC Optionsrdquo on page 87
set network-cloud ltSpecify Network cloud namegt [-description=Specify Network cloud description][-qos=Specify Network cloud QOS] [-trunk-mode=Enable trunk-mode] [-access-vlan-id=SpecifyAccess VLAN-Id] [-private=Is this private Default=false]
TABLE 4-1 Options for Adding a Network Cloud (Continued)
Option Possible Values Description
70 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Examples
This example sets a QoS ID on the Network Cloud called Cloud9
OptionsTABLE 4-2 describes the options you can set using the set network-cloud command
rootFabMgrCLI[ofm] set network-cloud Cloud9 -qos=123
rootFabMgrCLI[ofm] set network-cloud HRnwCloud1 -qos=100m_1g -trunk-mode=true-access-vlan-id=1
TABLE 4-2 Network Cloud Options
Option Possible Values Description
Network Cloud name Specify the name of the Network Cloud for which you arespecifying options
-description Add an optional description for the Network Cloud
-qos bull 100m_1gbull 100m_250mbull 10g_10gbull 10m_100mbull 10m_1gbull 10m_50mbull 1g_10gbull 1m_10mbull 250m_500mbull 2g_10gbull 3g_10gbull 4g_10gbull 500m_750mbull 50m_100mbull 5g_10gbull 64k_1mbull 6g_10gbull 750m_1gbull 7g_10gbull 8g_10gbull 9g_10g
Optionally specify a Network QoS Profile to be applied tothe Network CloudYou can set Network QoS on a Network Cloud at the cloudlevel or at the vNIC level When you apply Network QoS toa Network Cloud all vNICs associated with the cloud getthe specified CIR and PIR valuesIf you also set Network QoS to a vNIC associated with theNetwork Cloud the cloudrsquos Network QoS takes precedence
Chapter 4 Working with Network Clouds 71
Adding Ethernet PortsThe set network-cloudadd ethernet-port command adds an Ethernetport to the specified Network Cloud
SyntaxTo add an Ethernet Port to your Network Cloud issue the following command
Examples
These examples add Ethernet ports montana53 and iowa42 to the NetworkCloud called Cloud9 Having Ethernet ports from two different Oracle FabricInterconnects (montana and iowa) enable you to create HA Network Clouds foryour environment You cannot set both of these characteristics using one command
-trunk-mode bull truebull false (default)
Specify if you want the Network Cloud to be in Trunk Modeby indicating -trunk-mode=true
-access-vlan-id If you want all vNICs connected to this Network Cloud tohave the same VLAN ID enter that VLAN number using the-access-vlan-id= option
-alloc-policy bull Round robin This field specifies that the Network Cloud will be appliedto the host server using a ldquoround robinrdquo allocation policywhen the cloud gets deployed (See ldquoRound Robin PortAllocation Policy for a Network Cloudrdquo on page 67 for moreinformation)
set network-cloud ltSpecify Network cloud namegt add ethernet-ports ltSpecify Ethernet ports orlagsgt
rootFabMgrCLI[ofm] set network-cloud Cloud9 add ethernet-port montana53
rootFabMgrCLI[ofm] set network-cloud Cloud9 add ethernet-port iowa42
TABLE 4-2 Network Cloud Options (Continued)
Option Possible Values Description
72 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Adding Ethernet LAGsA LAG enables you to combine multiple individual physical Ethernet ports into onelogical port group As a result the ports combined into a LAG can operate in parallelwith the benefit of increased link speed and high availability To create a new LAGsee the section entitled ldquoWorking with Ethernet Link Aggregation Groups (LAGs)rdquoon page 92
SyntaxTo add an Ethernet LAG to your Network Cloud issue the following command
Examples
Adding High Availability (HA) to the NetworkCloudTo configure HA you must have a dual-Oracle Fabric Interconnect configurationwith Ethernet ports from two different Oracle Fabric Interconnects defined in yourNetwork Cloud You can then indicate which Oracle Fabric Interconnect is theprimary IO resource provider to your Network Cloud and which Oracle FabricInterconnect should take over as the secondary Oracle Fabric Interconnect if theprimary Oracle Fabric Interconnect becomes unavailable (or ldquogoes downrdquo) Use theset network-cloud command to set your HA preference on your Network Cloud
SyntaxTo add an HA preference to your Network Cloud issue the following command
set network-cloud ltSpecify Network cloud namegt add ethernet-lags ltSpecify Ethernet laggt
rootFabMgrCLI[ofm] set network-cloud Cloud9 add ethernet-lag
set network-cloud ltSpecify Network cloud namegt ha-preference ltSpecify ethernet port or ethernetlaggt ltSpecify the HA preferencegt
Chapter 4 Working with Network Clouds 73
OptionsYou can specify one of the following three options
NonemdashNo preference
PrimarymdashAssign primary vNICs to the termination
SecondarymdashAssign secondary vNICs to the termination
Examples
The above example establishes HA preferences for the Network Cloud Cloud9 withthe Primary Ethernet port from Oracle Fabric Interconnect Montana and thesecondary port from Iowa
Displaying Network Cloud DetailsYou use the show network-cloud command to display the detailed informationdefined for
The named Network Cloud
Ethernet ports defined to the Network Cloud
Displaying Network Cloud Information
SyntaxTo display information about a Network Cloud issue the following command
rootFabMgrCLI[ofm] set network-cloud Cloud9 ha-preference montana53 primary
rootFabMgrCLI[ofm] set network-cloud Cloud9 ha-preference iowa42 secondary
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] network-cloud ltNetworkcloud namegt
74 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
This example shows the information defined for the Network Cloud called Cloud9
Field DefinitionsTABLE 4-3 describes the fields displayed by the show network-cloud command
rootFabMgrCLI[ofm] show network-cloud Cloud9------------------------------------------------------------------------------name Cloud9ports 1lags 0trunk-mode falseqosis-private falseaccess-vlan-id 1available-ingress-cir 0available-egress-cir 0allocation-policy roundrobindescription------------------------------------------------------------------------------1 record displayed
TABLE 4-3 Network Cloud Fields
Field Possible Contents Description
name The name of the Network Cloud to which thesubsequent information applies
ports The number of Ethernet ports in the Network CloudThis number is the total of all ports regardless ofwhether they are up or down
lags The number of link aggregation groups (LAGs) in theNetwork Cloud This number is the total of all LAGsconfigured not the total number of ports in LAGs
trunk-mode bull truebull false (default)
Indicates if Trunk Mode is set in this Network Cloud
Chapter 4 Working with Network Clouds 75
qos bull 100m_1gbull 100m_250mbull 10g_10gbull 10m_100mbull 10m_1gbull 10m_50mbull 1g_10gbull 1m_10mbull 250m_500mbull 2g_10gbull 3g_10gbull 4g_10gbull 500m_750mbull 50m_100mbull 5g_10gbull 64k_1mbull 6g_10gbull 750m_1gbull 7g_10gbull 8g_10gbull 9g_10g
The name of any Network QoS Profiles associated withthe Network Cloud If no Network QoS Profile isconfigured this field indicates ldquononerdquoIf a Network QoS Profile is configured for the NetworkCloud the name indicates the CIR and PIR values Forexample a Network QoS Profile named 5G_10Gindicates that 5 Gbps of CIR and 10 Gbps of PIR isconfigured for the Network Cloud
is-private bull truebull false
Indicates if the Cloud uses a Private vNIC
access-vlan-id The number of VLAN IDs configured for this NetworkCloud
available-ingress-cir
The total amount of bandwidth available for ingresstraffic The value displayed also shows the unit ofmeasurement For example 1G indicates that 1 Gbps isavailable for ingress traffic This value can be affectedby the Network QoS Profile (if any) assigned to theNetwork Cloud
TABLE 4-3 Network Cloud Fields (Continued)
Field Possible Contents Description
76 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Displaying Ethernet Port Information
SyntaxTo display information about the Ethernet ports defined for use in a Network Cloudissue the following command
available-egress-cir The total amount of bandwidth available for egresstraffic The value displayed also shows the unit ofmeasurement For example 1G indicates that 1 Gbps isavailable for egress traffic This value displayed can beaffected by the Network QoS Profile (if any) assigned tothe Network Cloud
allocation-policy Roundrobin This field specifies that the Network Cloud will beapplied to the host server using a ldquoround robinrdquoallocation policy when the cloud gets deployed
description The Network Cloud description if one was specified
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] network-cloud ltNetworkcloud namegt ethernet-ports-lags
TABLE 4-3 Network Cloud Fields (Continued)
Field Possible Contents Description
Chapter 4 Working with Network Clouds 77
Example
This example shows Ethernet port information for the Network Cloud calledCloud9
Field DefinitionsTABLE 4-4 describes the fields displayed by the display network-cloudethernet-ports command
rootFabMgrCLI[ofm] show network-cloud Cloud9 ethernet-ports-lags------------------------------------------------------------------------------parentname Cloud9eth-port montana53state upupvnic-count 0type nwEthernet1GbPortavailable-ingress-cir 1000000available-egress-cir 1000000description------------------------------------------------------------------------------1 record displayed
TABLE 4-4 Ethernet Port Fields
Field Possible Contents Description
parentname The name of the Network Cloud being displayed If youeliminate the name the command displays all NetworkClouds defined in Oracle Fabric Manager
eth-ports The name of the Ethernet port designated on the NetworkCloud
state bull Upbull Down
The status of the Ethernet port
vnic-count The number of vNICs on the Ethernet port being displayed
type The type of Ethernet port
78 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Displaying MAC AddressesOracle Fabric Manager keeps a list of all MAC addresses assigned from each OracleFabric Interconnect that it has under its management in the MAC Address Pool Theshow mac-address-pool command enable you to displays this information
SyntaxTo display information about the MAC address pool associated with an OracleFabric Interconnect issue the following command
available-ingress-cir
The total amount of bandwidth available for ingress trafficThe value displayed also shows the unit of measurement Forexample 1G indicates that 1 Gbps is available for ingresstraffic This value can be affected by the Network QoS Profile(if any) assigned to the Network Cloud
available-egress-cir The total amount of bandwidth available for egress trafficThe value displayed also shows the unit of measurement Forexample 1G indicates that 1 Gbps is available for egresstraffic This value displayed can be affected by the NetworkQoS Profile (if any) assigned to the Network Cloud
description A description of the Network Cloud if one was entered forthis Network Cloud
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] mac-address-poolltDirector namegt
TABLE 4-4 Ethernet Port Fields (Continued)
Field Possible Contents Description
Chapter 4 Working with Network Clouds 79
Example
This example shows MAC address information for the Oracle Fabric InterconnectMontana The mac-address field shows the base MAC address pool on each OracleFabric Interconnect To display the MAC address pool information for all chassisbeing managed by Oracle Fabric Manager eliminate the Oracle Fabric Interconnectname in the command (show mac-address-pool)
Removing Network Clouds EthernetPorts and MAC IDsThis section describes how to remove Network Clouds Ethernet Ports and MACIDs
Removing Network Clouds from yourEnvironmentThe remove network-cloud command deletes the named Network Cloud fromyour environment
rootFabMgrCLI[ofm] show mac-address-pool montana------------------------------------------------------------------------------chassis-name montanamac-address 001397057001mac-address-id 001is-reserved falseis-used truevnic-namecloud-name------------------------------------------------------------------------------1 record displayed
80 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo delete a Network Cloud from Oracle Fabric Manager issue the followingcommand
Example
This example removes the Network Cloud Cloud9 from the Oracle Fabric Managerenvironment
Removing Ethernet Ports from a Network CloudThe set network-cloudremove ethernet-ports command deletes thenamed Ethernet ports from a Network Cloud
SyntaxTo remove an Ethernet port from a Network Cloud issue the following command
Example
This example removes Ethernet port montana53 from the Network CloudCloud9
Removing Ethernet LAGs from a Network CloudThe set network-cloudremove ethernet-lags command deletes thenamed Ethernet LAGs from a Network Cloud
remove [-noconfirm] network-cloud ltNetwork cloud namegt
rootFabMgrCLI[ofm] remove network-cloud Cloud9
set network-cloud ltNetwork cloud namegt remove ethernet-ports ltSpecify Ethernet portsgt [-no-confirm]
rootFabMgrCLI[ofm] set network-cloud Cloud9 remove montana53
Chapter 4 Working with Network Clouds 81
SyntaxTo remove an Ethernet LAG from a Network Cloud issue the following command
Example
This example removes Ethernet LAG texas144 from the Network Cloud Cloud9
Removing MAC IDs from a Network CloudThe set network-cloudremove mac-ids command deletes the reservedMAC IDs from a Network Cloud
SyntaxTo remove a MAC ID from a Network Cloud issue the following command
Example
This example removes MAC ID 00139705700012 located on the OracleFabric Interconnect montana from the Network Cloud Cloud9
Creating and Using vNICsThis section describes how to use the CLI to work with vNICs including
set network-cloud ltNetwork cloud namegt remove ethernet-lags ltSpecify Ethernet lagsgt [-no-confirm]
rootFabMgrCLI[ofm] set network-cloud Cloud9 remove texas144
set network-cloud ltNetwork cloud namegt remove reserved-mac-ids ltSpecify the DirectorgtltSpecify the MAC addressgt [-no-confirm]
rootFabMgrCLI[ofm] set network-cloud Cloud9 remove reserved-mac-ids montana00139705700012
82 Oracle Fabric Manager Command Reference (Beta) bull September 2014
ldquoAdding vNICs to your Network Cloudrdquo on page 83
ldquoSetting vNIC Optionsrdquo on page 87
ldquoSetting a vNICrsquos Terminationrdquo on page 88
ldquoRemoving vNICs from a Network Cloudrdquo on page 92
Adding vNICs to your Network CloudUse the add vnic command to create a new vNIC on a server and terminate it toa Network Cloud This step does not provide the virtual IO connection to the hostserver It simply creates a vNIC and terminates it on a port in the Network CloudThe vNIC will not be pushed to the host server until you create an IO Profile froman IO Template that uses this Network Cloud and then that IO Profile isconnected to a physical server
SyntaxTo add a vNIC issue the following command
ExamplemdashAdding a vNIC
This example adds a new vnic called C9vnic1 to the physical server ldquoberingrdquo andprovides IO resources to the Network Cloud Cloud9 The second line adds theQoS configuration 100 Mbps of CIR and 250 Mbps of PIR as well as defines theVLAN for the vNIC as 1
add vnic ltSpecify a vNIC namegt ltSpecify the Physical Server namegt ltSpecify the Network cloud the vnicpoints togt [-description=Specify Description] [-qos=Specify QOS profile] [-vlan-id=Set VLAN Id][-trunk-mode=Is trunk mode Default=false] [-ha-mode=Is this a haVnic Default=false] [-ha-mac-address=MAC Address] [-port=Specify port] [-ha-port=Specify HA Port] [-auto-switchover=Auto switchover enabled Default=false] [-ip-type=Specify IP address type Default=HostManaged] [-ipaddr=Specify IP address Default=0000] [-ipmask=Specify IP mask Default=255255255255] [-mac-address=Specify MAC address] [-local-id=Specify Local Id] [-checksum-offload=ChecksumOffload enabled Default=false] [-community-name=Specify Community name] [-iscsi-boot-capable=Does this vnic do iSCSI Boot Default= lsquofalsersquo] [-pxe-boot-capable=Does this vnic do PXEBoot Default= lsquofalsersquo] [-tso=Does this vNIC do TSO Default=falsersquo][-private=Is it private Default=falsersquo]
rootFabMgrCLI[ofm] add vnic C9vnic1 bering Cloud9 -description=rdquovNIC to providersources to Cloud9rdquorootFabMgrCLI[ofm] add vnic C9vnic1 bering Cloud9 -qos=100m_250m -vlan-id=rdquo1rdquo
Chapter 4 Working with Network Clouds 83
ExamplemdashAdding an HA vNIC
This example adds a new HA vNIC called C9vnic2 to the physical server ldquoberingrdquoand provides high availability IO resources to the Network Cloud Cloud9 TheNetwork Cloud Cloud9 must have resources available from more than one OracleFabric Interconnect for this option to be set successfully This example also specifiesthat the vNIC should automatically switch over to the vNIC on the SecondaryOracle Fabric Interconnect if the vNIC on the Primary Oracle Fabric Interconnectbecomes unavailable You set the Primary and Secondary Oracle Fabric Interconnectsusing the set network-cloud command as described in the section entitledldquoAdding High Availability (HA) to the Network Cloudrdquo on page 73 earlier in thischapter You must specify the type of vNIC you are creating (HA or non-HA) at thetime you create the vNIC You cannot change a vNIC from HA to non-HA or thereverse
OptionsThe following table describes the options you can set with the add vniccommand
rootFabMgrCLI[ofm] add vnic C9vnic2 bering Cloud9 -ha=truerdquo -auto-switchover=true
84 Oracle Fabric Manager Command Reference (Beta) bull September 2014
TABLE 4-5 Options for Adding vNICs
Option Possible Values Description
-description You can add a description of the vNIC using this optionEnclose the description in quotation marks
-qos bull 100m_1gbull 100m_250mbull 10g_10gbull 10m_100mbull 10m_1gbull 10m_50mbull 1g_10gbull 1m_10mbull 250m_500mbull 2g_10gbull 3g_10gbull 4g_10gbull 500m_750mbull 50m_100mbull 5g_10gbull 64k_1mbull 6g_10gbull 750m_1gbull 7g_10gbull 8g_10gbull 9g_10g
The name of any Network QoS Profile (if any) associatedwith the Network Cloud The default for this option isldquononerdquoIf you want to configure a Network QoS Profile for thevNIC the name indicates the CIR and PIR values Forexample a Network QoS Profile named 5G_10Gindicates that 5 Gbps of CIR and 10 Gbps of PIR isconfigured for the vNIC
-vlan-id To configure the vNIC to participate in a VLAN specifythe VLAN number using this option
-trunk-mode bull false (default)bull true
If you are configuring a vNIC in a VLAN indicatewhether the vNIC will be trunk or access If you specifytrue for this option the vNIC will operate in trunkmode otherwise the vNIC will operate in access mode
-ha-mode bull false (default)bull true
If you are creating an HA vNIC (if the vNIC will be oneof an HA vNIC pair) set this option to ldquotruerdquo YourNetwork Cloud must have access to Ethernet ports onmore than one Oracle Fabric Interconnect or this settingwill not work
-ha-mac-address Specify the MAC address of the primary vNIC in the HAvNIC pair
-port Specify the port for the vNIC or the primary port for theHA vNIC if this is an HA vNIC
Chapter 4 Working with Network Clouds 85
-ha-port Specify the HA port which is the secondary port for thevNIC in the HA vNIC pair
-auto-switchover bull false (Default)bull true
If the vNIC will be one of an HA vNIC pair use thisargument if you want the secondary vNIC to return thetraffic back to the primary vNIC when the primarycomes back online To enable Auto-switchover set thisoption to ldquotruerdquo
-ip-type bull hostManager (default)bull DHCP
Specify whether the vNICrsquos IP address will be assignedby the host server or by DHCP using this option
-ipaddr bull Default=0000 Specify the vNICrsquos IP address
-ipmask bull Default=255255255255 Specify vNICrsquos IP mask
-mac-address bull the MAC address range To configure the portrsquos MAC address to come from theOracle Fabric Interconnectrsquos MAC address pool for theport supporting the vNIC use this option to specify theMAC address range for the port
-local-id Specify the local ID
-checksum-offload bull false (default)bull true
If the vNIC will support checksum offload which allowsthe module to send check-summing tasks to the IOmodule instead of the port terminating the vNIC specifyldquotruerdquo using this option
-community-name If the vNIC is to be part of one or more specific SNMPcommunities specify the names of the SNMPcommunities using this option Separate multiple namesusing a comma
-iscsi-boot-capable bull false (default)bull true
If the vNIC will support iSCSI Boot for its host serverspecify either true or false to enable or disable iSCSI Bootfunctionality
TABLE 4-5 Options for Adding vNICs (Continued)
Option Possible Values Description
86 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Setting vNIC OptionsThe set vnic command enables you to set all of the options described in theprevious section as well as to activate and deactivate the vNIC on the NetworkCloud
SyntaxTo set operational parameters for the vNIC issue the following command
To activate or bring ldquouprdquo the vNIC issue the following command
-pxe-boot-capable bull false (default)bull true
If the vNIC will support PXE Boot for its host serverspecify either true or false to enable or disable iSCSI Bootfunctionality
-tso bull truebull false (default)
If the host will be using TCP Segmentation Offload(TSO) specify either true or false to enable or disable thefeature
-private bull Truebull False (default)
Specify if you want the vNIC to be a Private vNICs byindicating -private=true By default vNICs are notPrivate instead they are PublicFor more information about Private vNICs see thesection entitled ldquoPrivate vNICsrdquo on page 64You can configure private vNICs using this command orat the vNIC-level when you deploy the vNIC to theserver Use the set vnic command described in thesection entitled ldquoSetting vNIC Optionsrdquo on page 87
set vnic ltvNIC namegt [-description=Specify Description] [-qos=Specify QOS profile] [-vlan-id=Set VLAN Id] [-auto-switchover=Auto switchover enabledDefault=lsquofalsersquo] [-ip-type=SpecifyIP address type] [-ip-address=Specify Admin IP address] [-ip-mask=Specify Admin IP mask] [-community-name=Specify Community name] [-boot-capable=Is this boot capable Default=false] [-iscsi-boot-capable=Does this vnic do iSCSI Boot Default= lsquofalsersquo] [-pxe-boot-capable=Does thisvnic do PXE Boot Default= lsquofalsersquo] [-tso=Does this vNIC do TSO Default=falsersquo][-private=Is itprivate Default=falsersquo]
set vnic ltvNIC namegt up
TABLE 4-5 Options for Adding vNICs (Continued)
Option Possible Values Description
Chapter 4 Working with Network Clouds 87
To deactivate or shut the vNIC ldquodownrdquo issue the following command
Examples
Field DefinitionsSee TABLE 4-5 for a description of these options
Setting a vNIC in a Network Cloud
Setting a vNICrsquos Termination
Displaying vNIC InformationThe show vnic command enables you to display vNIC information on a physicalserver and within an IO Template
SyntaxmdashvNICs on a Physical ServerTo display information configured for the vNICs on a server issue the followingcommand
set vnic ltvNIC namegt down
rootFabMgrCLI[ofm] set vnic Cloud9vnic2bering up
rootFabMgrCLI[ofm] set vnic Cloud9vnic2bering down
set vnic ltvNIC namegt network-cloud ltThe new cloud to terminate ongt
set vnic ltvNIC namegt termination ltThe new termination port or laggt [-ha-termination=The newha termination port or lag]
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] physical-server ltPhysicalservergt vnics
88 Oracle Fabric Manager Command Reference (Beta) bull September 2014
ExamplemdashvNICs on a Physical Server
The example above displays the vNICs configured on a physical server
SyntaxmdashvNICs on an IO TemplateTo display the vNICs associated with an IO Template along with information aboutthose vNICs issue the following command
rootFabMgrCLI[ofm] show physical-server bering vnics------------------------------------------------------------------------------parentname beringname Cloud9vnicnet-cloud-name Cloud9termination montana-53state updownip-address 0000mac-address 001397057003is-ha falsedescription------------------------------------------------------------------------------1 record displayed
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] io-template ltIO profilenamegt vnics
Chapter 4 Working with Network Clouds 89
ExamplemdashvNICs on an IO Template
The example above displays the vNICs configured on the IO Templatecloud9template
Field DefinitionsTABLE 4-6 describes the fields that display when you use the show vnic command
rootFabMgrCLI[ofm] show io-template cloud9template vnic------------------------------------------------------------------------------name cloud9templatevnic-name Cl9vnic2net-cloud-name Cloud9qosip-type hostManagedis-ha falseaccess-vlan-id 1trunk-mode falsedescription------------------------------------------------------------------------------name cloud9templatevnic-name Cloud9vnicnet-cloud-name Cloud9qosip-type hostManagedis-ha falseaccess-vlan-id 0trunk-mode falsedescription------------------------------------------------------------------------------2 records displayed
TABLE 4-6 Fields Displayed Using the show vnic command
Field Possible Values Description
Physical ServerFields
parentname The name of the physical server
name The name of the vNIC
net-cloud-name The name of the Network Cloud in which the vNIC is defined
termination The Ethernet port at which the vNIC is terminated
90 Oracle Fabric Manager Command Reference (Beta) bull September 2014
state bull upbull down
The current state of the Ethernet port
ip-address The physical machinersquos IP address
mac-address The vNICrsquos MAC address
is-ha bull truebull false
Indicates if the vNIC is configured for high availability
description If a description was entered when the vNIC was created thatdescription displays in this field
Template Fields
name The name of the template in which the vNIC was assigned
vnic-name The name of the vNIC
net-cloud-name The Network Cloud name
qos The name of a Network QoS Profile associated with the NetworkCloud If no Network QoS Profile is configured this fieldindicates ldquononerdquo If a Network QoS Profile is configured for theNetwork Cloud the name indicates the CIR and PIR values Forexample a Network QoS Profile named 5G_10G indicates that 5Gbps of CIR and 10 Gbps of PIR is configured for the NetworkCloud
ip-type bull HostManager(default)
bull DHCP
Indicates whether the vNICrsquos IP address is assigned by the hostserver or by DHCP
is-ha bull truebull false
Indicates if the vNIC is configured for high availability
access-vlan-id The ID of the VLANs used for traffic isolation and security (toprevent some hosts on a network from seeing traffic that isintended for other hosts)If a VLAN ID is assigned only the hosts that can transmit orreceive packets for that VLAN are able to see and use that trafficIf you set VLANs for a Network Cloud all vNICs added to thatcloud inherit the VLAN ID unless additional configuration existsat the port level to enforce different tagging rules
trunk-mode bull truebull false (default)
If the vNIC is configured in a VLAN this field indicates whetherthe vNIC is in trunk or access mode If this option is true thevNIC operates in trunk mode otherwise the vNIC operates inaccess mode
description If a description was entered when the vNIC was created thatdescription displays in this field
TABLE 4-6 Fields Displayed Using the show vnic command (Continued)
Field Possible Values Description
Chapter 4 Working with Network Clouds 91
Removing vNICs from a Network CloudThe remove vnic command enables you to remove a vNIC from a NetworkCloud
SyntaxTo remove a vNIC from a Network Cloud issue the following command
Example
The above example removes a vNIC named Cloud9vnic2 from the server beringThis command will not trigger a confirmation message before removing the vNICbecause it uses the -noconfirm argument
Working with Ethernet LinkAggregation Groups (LAGs)A Link Aggregation Group (LAG) enables you to combine multiple individualphysical Ethernet ports into one logical port group As a result the ports combinedinto an Ethernet-LAG can operate in parallel with the benefit of increased link speedand high availability
Oracle Fabric Manager supports LAGs at the IO module level When you configurea LAG you specify a group name for the LAG then assign ports from the sameEthernet IO module to the group Oracle Fabric Manager supports LAGs on the 4-port 10 GE module and the 10-port GE module only (but not the 10 GE module)
You associate a LAG with a Network Cloud and just like Ethernet ports you canconfigure a LAG as the termination point for vNICs To provision LAGs in yournetwork you create them first using the add ethernet-lag command thenassociate a Network Cloud with the LAG using the set network cloud command(as described earlier in this chapter) Once you create the LAGs you can use theshow ethernet-lag command to list all of the LAGs available in your Oracle FabricManager environment
remove [-noconfirm] vnic ltVnic namegt
rootFabMgrCLI[ofm] remove -noconfirm vnic Cloud9vnic2bering
92 Oracle Fabric Manager Command Reference (Beta) bull September 2014
You can configure each LAG as a static LAG or passive-mode LAG
For static LAGs you need to add ports to and delete ports from a LAG
For passive-mode LAGs use Link Aggregation Control Protocol (LACP) todynamically add and remove ports within a LAG
This section provides instructions for
ldquoAdding a LAGrdquo on page 93
ldquoConfiguring a LAGrdquo on page 94
ldquoDisplaying LAG Informationrdquo on page 96
ldquoRemoving LAGrdquo on page 98
Adding a LAGThe add ethernet-lag command enables you to specify a new LAG withinOracle Fabric Manager You enter a LAG ID between 1 and 5 to create the LAGprofile into which you will put the individual LAG ports Then specify the Ethernetmodule on which you will be creating the LAG
Use the show ethernet-port command to display a list of all Ethernet portsdefined in your environment For example
SyntaxTo add a LAG issue the following command
rootFabMgrCLI[ofm] show ethernet-portname type state vnics description------------------------------------------------------------------------------arkansas51 nwEthernet10GbPort upup 11 vMotion Networkarkansas141 nwEthernet1GbPort upup 11 Private Networkarkansas142 nwEthernet1GbPort upup 0 Private Networkarkansas143 nwEthernet1GbPort upup 8 Private Networkarkansas144 nwEthernet1GbPort updown 1
add ethernet-lag ltSpecify LAG IDgt ltSpecify Ethernet ports (can be comma delimited)gt[-description=Specify Description] [-lacp=Enable LACP Default=false]
Chapter 4 Working with Network Clouds 93
Example
The above example creates a new LAG with an ID of 3 using Ethernet modulesarkansas142 and arkansas143 to be managed by LACP
OptionsTABLE 4-7 describes the options you can set with the add ethernet-lagcommand
Configuring a LAGThe set ethernet-lag command enables you to add an Ethernet port to orremove an Ethernet port from an existing LAG When you configure a LAG you canadd ports to it as long as ports are available (not already part of another LAG) Portsthat are already assigned to another LAG cannot be assigned to another LAG If youneed to take a port from another LAG you must delete it from its current LAGbefore assigning it to another LAG
SyntaxTo add an Ethernet port to an existing LAG issue the following command
rootFabMgrCLI[ofm] add ethernet-lag 3 arkansas142arkansas143 -lacp=true
TABLE 4-7 Options for Adding an Ethernet LAG
Option Possible Values Description
-description This option adds a description of the LAG Enclose thedescription string in quotes
-lacp bull truebull false
By default LAG ports are not managed by LACP EnableLACP if the peer network switch for the LAG ports is usingLACP To enable LACP specify this option as true
set ethernet-lag ltLAG namegt add ltEthernet portsgt
94 Oracle Fabric Manager Command Reference (Beta) bull September 2014
To set the properties for a specific LAG issue the following command
To remove an Ethernet port from an existing LAG issue the following command
Example
The above examples add Ethernet port oregon41 to Ethernet LAG oregon42 andremoves the same
Note ndash You cannot edit an existing LAG to add Ethernet ports to it and you cannotedit a LAG to change the LAG ports to standard Ethernet ports You set the portmembership for a LAG when you create the LAG As a result if you want to addports to or delete ports from a LAG you must delete the entire LAG and recreate itafter making the port membership changes
OptionsTABLE 4-8 describes the options you can set with the add ethernet-lagcommand
set ethernet-lag ltLAG namegt [-description=Specify Description] [-admin-rate=SpecifyAdmin rate] [-mtu=Specify MTU] [-access-vlan=Specify Access VLAN Id] [-flow-control=Enable Flow control Default=false] [-lacp-enable=Enable LACP Default=false] [-port-mode=Port Mode] [-tag-native=Tag native Default=false] [-IGMP=IGMP snoooping Default=true]
set ethernet-lag ltLAG namegt remove ltEthernet portsgt
rootFabMgrCLI[ofm] set ethernet-lag oregon42 add oregon41
rootFabMgrCLI[ofm] set ethernet-lag oregon42 remove oregon41
Chapter 4 Working with Network Clouds 95
Displaying LAG InformationThe show ethernet-lag command enables you to display information about theport on an Ethernet LAG or information about the Ethernet LAG itself
SyntaxTo display LAG port or LAG information issue the following commands
TABLE 4-8 Options for Adding and Removing Ethernet Ports tofrom a LAG
Option Possible Values Description
-description This option adds a description of the LAG Enclose thedescription string in quotes
-admin-rate The admin rate at which the network traffic is supported This istypically 10 Gbps or lower or auto negotiated to the highestvalue supported on the LAG
-mtu The maximum transmission unit which is the largest datapacket supported without fragmentation
-vlanid The VLAN ID supported on the port in the LAG
-flow-control bull truebull false
Indicates whether or not flow control is enabled on the port
-lacp bull truebull false
Indicates whether or not LACP is enabled or not on the port
-port-mode bull trunkbull access
The VLAN mode for the port
-tag-native bull truebull false
Indicates whether or not traffic on the port is re-tagged orretains its VLAN ID when the traffic is from the native VLAN
-IGMP bull truebull false
Indicate whether or not IGMP snooping is enabled or not on theport
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] ethernet-lag ltLAG namegt
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] ethernet-lag ltLAG namegtports
96 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example--Ethernet LAG Information
The above example shows the information associated with the LAG iowa73
Example--Ethernet LAG Port Information
The above example shows the information associated with the LAG port iowa73and 72
FieldsTABLE 4-9 describes the fields that display when you issue the show ethernet-lag ports command
rootFabMgrCLI[ofm] show ethernet-lag------------------------------------------------------------------------------name iowa72state upupport-count 1available-ingress-cir 0available-egress-cir 0description IA 72 connected to SC 72------------------------------------------------------------------------------name iowa73state upupport-count 1available-ingress-cir 0available-egress-cir 0description IA 73 connected to SC 73------------------------------------------------------------------------------2 records displayed
rootFabMgrCLI[ofm] show ethernet-lag iowa73 ports------------------------------------------------------------------------------name iowa73port 73type nwEthernet1GbPortstate upavailable-ingress-cir 1000000available-egress-cir 1000000description------------------------------------------------------------------------------1 record displayed
Chapter 4 Working with Network Clouds 97
Removing LAGThe remove ethernet-lag command enables you to delete an existing LAG
SyntaxTo remove an Ethernet LAG issue the following command
TABLE 4-9 Fields that Display with the Show Ethernet LAG and LAG Ports Commands
Field Possible Values Description
name The name of the LAG for which the information isdisplayed
portcount The number of individual ports in the LAG
type The type of port in the LAG Typically ports in the LAG are1 Gbps Ethernet ports as indicated by the type stringnwEthernet1GbPort
state bull upbull down
The admin and operational state of the port in the LAG Thestate upup indicate that the port is online and able to passtraffic in the LAG
Capacity The maximum rate of traffic that each port in the LAG cansupport
available-ingress-cir The total amount of bandwidth available for ingress trafficThe value displayed also shows the unit of measurementFor example 1G indicates that 1 Gbps is available foringress trafficThe available-ingress-cir value can be affected by theNetwork QoS Profile (if any) assigned to the NetworkCloud
available-egress-cir The total amount of bandwidth available for egress trafficThe value displayed also shows the unit of measurementFor example 1G indicates that 1 Gbps is available for egresstrafficThe available-egress-cir value displayed can beaffected by the Network QoS Profile (if any) assigned to theNetwork Cloud
description An optional field that contains a description for each port inthe LAG
remove [-noconfirm] ethernet-lag ltLAG namegt
98 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The above example removes Ethernet LAG iowa72 from the environment
Working with Network QoSNetwork Quality of Service (QoS) feature provides administrators with the ability totreat network packets differently based on the type of traffic Network QoS assignsthe amount of bandwidth and burst size to a given vNIC The burst size is theamount of buffering retained for when traffic arrives in bursts during congestionOracle Fabric Manager provides several pre-defined Network QoS Profiles that arepre-configured for efficient bandwidth availability and resource usage You canassociate a pre-defined QoS Profile directly with a Network Cloud
Displaying Network QoS InformationThe show network qos command enables you to display the pre-configured QoSprofiles along with information about those profiles
SyntaxTo display a list of all Network QoS Profiles defined in Oracle Fabric Manager issuethe following command
To display a description of the specified QOS profile including CommittedInformation Rate (CIR) and Peak Information Rate (PIR) set by that profile issue thefollowing command
rootFabMgrCLI[ofm] remove -noconfirm ethernet-lag iowa72
show [-xml] [-list] [-table] [-sortby=Sort column] network-qos
show [-xml] [-list] [-table] [-sortby=Sort column] network-qos ltNetwork QOS profilenamegt
Chapter 4 Working with Network Clouds 99
ExamplemdashDisplay Defined QoS Profiles
The above example describes the information available for all Network QoS Profilesdefined in Oracle Fabric Manager
ExamplemdashDisplay Individual QoS Information
The above example describes the information available for Network QoS Profile100m_1g
rootFabMgrCLI[ofm] show network-qosname cir pir description------------------------------------------------------------------------------1m_10m 1000 10000 1Mbps CIR 10Mbps PIR1g_10g 1000000 9929696 1Gbps CIR 10Gbps PIR2g_10g 2000000 9929696 2Gbps CIR 10Gbps PIR3g_10g 3002932 9929696 3Gbps CIR 10Gbps PIR4g_10g 4000000 9929696 4Gbps CIR 10Gbps PIR5g_10g 5001221 9929696 5Gbps CIR 10Gbps PIR6g_10g 6005865 9929696 6Gbps CIR 10Gbps PIR7g_10g 7001709 9929696 7Gbps CIR 10Gbps PIR8g_10g 8000000 9929696 8Gbps CIR 10Gbps PIR9g_10g 9002197 9929696 9Gbps CIR 10Gbps PIR10m_1g 10000 1000000 10Mbps CIR 1Gbps PIR10g_10g 9929696 9929696 10Gbps CIR 10Gbps PIR10m_50m 10000 50000 10Mbps CIR 50Mbps PIR10m_100m 10000 100000 10Mbps CIR 100Mbps PIR50m_100m 50000 100000 50Mbps CIR 100Mbps PIR64k_1m 64 1000 64Kbps CIR 1Mbps PIR100m_1g 100000 1000000 100Mbps CIR 1Gbps PIR100m_250m 100000 250000 100Mbps CIR 250Mbps PIR250m_500m 250000 500000 250Mbps CIR 500Mbps PIR500m_750m 500000 750000 500Mbps CIR 750Mbps PIR750m_1g 750000 1000000 750Mbps CIR 1Gbps PIR21 records displayed
rootFabMgrCLI[ofm] show network-qos 100m_1gname cir pir description------------------------------------------------------------------------------100m_1g 100000 1000000 100Mbps CIR 1Gbps PIR1 record displayed
100 Oracle Fabric Manager Command Reference (Beta) bull September 2014
FieldsTABLE 4-10 describes the fields that display when you issue the show network-qoscommand
Removing a Network QoS Profile
SyntaxTo remove a Network QoS Profile issue the following command
Example
The above example removes the Network QoS profile 100m_1g from theenvironment
TABLE 4-10 Fields that Display with the show network-qos Command
Field Description
name The name of each configured Network QoS Profile The name is in the formatCIR_PIR so the ldquo100m_ 1grdquo profile sets 100 Mbps of CIR and 1 Gbps of PIR
CIR The committed information rate which is the amount of guaranteed bandwidth forconstant traffic
PIR The peak information rate which the amount of peak bandwidth for constant traffic
Number of vNICs The total number of vNICs that are associated with each Network QoS Profile
Description The description string (if any) that was applied to the Network QoS Profile
remove [-noconfirm] network-qos ltNetwork QOSgt
rootFabMgrCLI[ofm] remove -noconfirm network-qos 100m_1g
Chapter 4 Working with Network Clouds 101
Displaying MAC-Based QoS InformationWhen you create a MAC-Based QoS Profile you create a profile that applies a pre-defined Network QoS Profile to a specific MAC address This determines thedirection on which the Network QoS flow is applied either ingress egress or bothTraffic on a shared vNIC that originates from or is destined to the MAC addresswill be controlled based on the Network QoS profile
A MAC-Based QoS Profile is composed of the following information elements
Q MAC Address which is the MAC address of a shared vNIC For example avNIC deployed on a virtual machine If a vNIC is deployed on a physical serverthere is no need to configure a MAC-Based QoS Profile because the vNIC has onlyone MAC address
A Network QoS Profile which controls the amount of bandwidth and traffic thatcan be used on the shared vNIC
The Direction which determines a traffic flow for the Network QoS Profile
An optional description
MAC-based QoS Profiles are useful on a shared vNIC where multiple devices aresupported on the same vNIC and each device requires a different QoS flow to orfrom the device (ingress or egress) or both
The show mac-based-qos commands enable you to display the MAC-Based QoSprofiles defined in the environment along with information about those profiles
SyntaxTo display a list of all Network QoS Profiles defined in Oracle Fabric Manager issuethe following command
To display a description of the specified QOS Profile including CommittedInformation Rate (CIR) and Peak Information Rate (PIR) set by that profile
show [-xml] [-list] [-table] [-sortby=Sort column] network-qos
show [-xml] [-list] [-table] [-sortby=Sort column] mac-based-qos ltMAC based QOS profilenamegt
102 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The above example describes the information available for all MAC-based QoSProfiles defined in Oracle Fabric Manager
FieldsTABLE 4-11 describes the fields that display when you issue the show mac-based-qos command
Removing a MAC-based QoS ProfileUse the remove mac-based-qos command to delete a MAC-based QoS Profilefrom your environment When you attempt to delete a MAC-Based QoS ProfileOracle Fabric Manager prompts you to confirm the deletion As a result if you havespecified the wrong MAC-Based QoS Profile you have a chance to correct the errorbefore committing the deletion If you do not wish to receive the prompt use the -
rootFabMgrCLI[ofm] show mac-based-qosname conditions qos-profile-name rule-id description------------------------------------------------------------------------------rule-001122334455-606 1 250m_500m 606 001122334455temporaryrule-001122334455-925 1 250m_500m 925 001122334455temporary2 records displayed
TABLE 4-11 Fields that Display with the show mac-based-qos Command
Field Description
Name The name of the MAC-based QoS Profile which is generated from the specified MACaddress
Condition The specific MAC-Based QoS Profile conditions created These conditions consist of theMAC address plus either the source (src) or destination (dest) which refers to the trafficdirection on which the QoS flow will be applied
QoS Profile The name of each configured Network QoS Profile associated with each MAC BasedQoS Profile The name is in the format CIR_PIR so the ldquo100m_ 1grdquo profile sets 100Mbps of CIR and 1 Gbps of PIR
rule-id A identifier that enumerates the MAC-Based QoS so that you can easily identify it
Description The description string (if any) that was applied to the MAC-based QoS Profile
Chapter 4 Working with Network Clouds 103
noconfirm option when issuing the command When deleted the MAC-Based QoSProfile that matches against a specific traffic flow is no longer applied so the trafficflow is not affected
SyntaxTo remove a MAC-based QoS Profile issue the following command
Example
The above example removes the MAC-based QoS Profile rule-001122334455-606from the environment
Working with Default GatewaysThis section covers the following topics
ldquoUnderstanding Default Gatewaysrdquo on page 104
ldquoCreating a Default Gatewayrdquo on page 105
ldquoConfiguring a Default Gatewayrdquo on page 106
ldquoDisplaying Default Gateway Informationrdquo on page 106
ldquoRemoving a Default Gatewayrdquo on page 108
Understanding Default GatewaysA default gateway allows host servers to forward packets with unknown destinationaddresses off of the serverrsquos local network When this feature is configured theOracle Fabric Interconnect gets a pool of default gateways for all the serversattached to the Oracle Fabric Interconnect With this pool of default gateways theOracle Fabric Interconnect can support forwarding packets to and from the variousnetworks that hosts use Each default gateway must be manually specified for it tobe added to the Oracle Fabric Manager
remove [-noconfirm] mac-based-qos ltMAC based QOS namegt
rootFabMgrCLI[ofm] remove mac-based-qos rule-001122334455-606
104 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Creating a Default GatewayYou configure a default gateway for each host server network attached to the OracleFabric Interconnect By doing this you specify the default gateway address for allhost servers on that network so that packets forward to the server networks asneeded You create a new default gateway using the add default-gatewaycommand
SyntaxTo add a default gateway issue the following command
Example
The example above creates a new default gateway
FieldsTABLE 4-12 describes the fields you specify when you issue the add default-gateway command
add default-gateway ltSpecify a Gateway namegt ltSpecify the IP Addressgt [-dns-server=SpecifyDNS server] [-domain-name=Resource domain name] [-description=Specify Description]
rootFabMgrCLI[ofm] add default-gateway def-gw1 444333222111 -dns-server=666777888999 -domain-name=MyCompanyDomain -description=rdquoDefault Gateway formy companyrdquo
TABLE 4-12 Fields when Using the add default-gateway Command
Option Description
Gateway Name Enter the name you are assigning to the default gateway
IP address Enter the IP address of the default gateway
-dns-server Enter either the IP address or the fully qualified name of the DNS server for thedefault gateway
-domain-name Enter the name of the resource domain in which the default gateway is configured
-description As an option enter a short description for the default gateway in quotations
Chapter 4 Working with Network Clouds 105
Configuring a Default GatewayYou configure an existing gateway to be the default gateway using the setdefault-gateway command
SyntaxTo configure an existing gateway as a default gateway issue the followingcommand
Example
The example above configures the existing gateway as the default gateway
Refer to TABLE 4-12 above for a description of each field you need to enter
Displaying Default Gateway InformationThe show default-gateway command enables you to display one or moredefault gateways which enables host servers to forward unknown packets to vNICs
SyntaxTo display a list of all default gateways defined in Oracle Fabric Manager issue thefollowing command
set default-gateway ltSpecify a Gateway namegt [-ip-address=Specify IP address] [-dns-server=Specify DNS server] [-domain-name=Resource domain name] [-description=SpecifyDescription]
rootFabMgrCLI[ofm] set default-gateway def-gw1 -ip-address=444333222111 -dns-server=666777888999 -domain-name=MyCompanyDomain -description=rdquoDefaultGateway for my companyrdquo
show [-xml] [-list] [-table] [-sortby=Sort column] default-gateway ltDefault gatewaynamegt
106 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The above command displays all default gateways defined in Oracle FabricManager If you wish to display information for a specific default gateway specifythe name of that gateway after the command (for example show default-gateway equallogic)
FieldsTABLE 4-13 describes the fields that display when you issue the show default-gateway command
rootFabMgrCLI[ofm] show default-gateway------------------------------------------------------------------------------name Com-iSCSIdiscovered-from arkansasaddress 102168xxxxdns-address 0000domain-nameiotemplates 0description------------------------------------------------------------------------------name equallogicdiscovered-from texasaddress 102168xxxxdns-address 0000domain-nameiotemplates 0description------------------------------------------------------------------------------2 records displayed
TABLE 4-13 Fields that Display with the show default-gateway Command
Field Description
Name The Default Gatewayrsquos name
discovered-from The name or IP address of the Oracle Fabric Interconnect from which the defaultgateway was discovered
address The gateway routerrsquos IP address The default address is 0000
dns-address The DNS serverrsquos IP address The default address is 0000
Chapter 4 Working with Network Clouds 107
Removing a Default GatewayYou can delete any default gateway that is configured on an Oracle FabricInterconnect using the remove default-gateway command Once deleted thevNICs can no longer forward traffic to destinations on a subnet that is different fromthe serverrsquos
SyntaxTo remove a default gateway issue the following command
Example
The above example removes the default gateway def-gw1 from the Oracle FabricManager environment
domain-name The resource domain in which the default gateway is configured
iotemplates The number of IO Templates assigned to the hosts that are using the DefaultGateway
Description The description string (if any) that was applied to the default gateway when it wascreated
remove [-noconfirm] default-gateway ltGateway namegt
rootFabMgrCLI[ofm] remove default-gateway def-gw1
TABLE 4-13 Fields that Display with the show default-gateway Command (Continued)
Field Description
108 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 5
Working With Storage Clouds
This chapter describes Storage Clouds and vHBAs and explains how to createdisplay and remove them using the CLI This chapter also describes how to includeSAN QoS and LUN Mask Profiles in your SAN configurations This chapter containsthe following sections
ldquoUnderstanding Storage Clouds and vHBAsrdquo on page 109
ldquoCreating a Storage Cloudrdquo on page 113
ldquoDisplaying Storage Cloud Detailsrdquo on page 117
ldquoRemoving Storage Clouds and FC Portsrdquo on page 122
ldquoCreating and Using vHBAsrdquo on page 124
ldquoWorking with SAN Quality of Service (QoS)rdquo on page 132
Understanding Storage Clouds andvHBAs
Storage CloudsOracle Fabric Interconnects contain a set of IO ports that are connected to your datacenter SAN The SAN administrator connects these ports to their Fibre Channelswitches in order to provide IO resources to the servers Each IO port providesaccess to a set of ldquocloudsrdquo For example you might have a Storage Cloud that iszoned to give access to a set of LUNs used by HR As far as the storageadministrator is concerned you are connecting wires to the Oracle FabricInterconnectrsquos IO ports for the sole purpose of providing the server administratoraccess to the resources
109
The server administrator then needs to connect the servers to a set of storageresources provided by the storage administrators The server administrator does notcare which physical Oracle Fabric Interconnect ports are connect as long as theservers have access to the required resources You can configure and manage StorageClouds when logged into Oracle Fabric Manager with the Storage and Administratorroles
vHBAsA vHBA virtualizes HBA connectivity It appears to the OS as a physical HBA andenables a server to have an FC SAN attachment without having a physical HBApresent Instead of the host server using an HBA it uses an InfiniBand (IB) HCAwhich then virtualizes the HBA allowing for SAN connectivity
Storage Area Network (SAN) QoS ProfileA SAN QoS Profile enables you to place bandwidth usage parameters on a StorageCloud to control the amount of traffic or throughput available SAN QoS is enforcedby a shaper profile which controls the allowable traffic by delaying and queuingframes that exceed the Committed Information Rate (CIR) value you set When youconfigure a SAN QoS Profile on a Storage Cloud or vHBA you shape the parametersto the read and write data that affect the host server using that Storage Cloud
If you want to assign a specific SAN QoS Profile to a Storage Cloud you must createthat Profile first As an alternative you can use one of the SAN QoS Profiles thatcame pre-configured with Oracle Fabric Manager These Profiles include FC linkspeeds for efficient bandwidth availability and resource usage and use typical CIRand PIR values calculated from the linkrsquos total throughput If you are using pre-configured SAN QoS Profiles make sure that you use a reasonable profile You canconfigure SAN QoS for a Storage Cloud
When you create the Storage Cloud using the add storage-cloud command
After the Storage Cloud is created using the set storage-cloud command
You can assign SAN QoS to a Storage Cloud or a vHBA If a Storage Cloud has aQoS Profile associated with it a vHBA terminated in the Storage Cloud inherits theStorage QoS Profile from the Storage Cloud In this case the vHBAs inherit the QoSparameters from their respective Clouds even if the vHBA has its own QoS Profileassociated with it
110 Oracle Fabric Manager Command Reference (Beta) bull September 2014
If the Storage Cloud is not associated with a QoS Profile and the vHBAs have theirown QoS Profiles a vHBA terminated in the Storage Cloud is then associated withthe QoS profile In this case the Storage Cloud has no QoS Profile to apply Thissituation does not automatically apply ldquono QoSrdquo to the vHBAs Instead the Clouddefers to the QoS Profiles assigned to the individual vHBAs (if any)
If you do not want QoS applied anywhere for the virtual IO in a Cloud make surethat no QoS Profile is associated with the Storage Cloud with the vHBA
High Availability Storage CloudsTypical deployments have redundant Oracle Fabric Interconnects so that if one ofthem becomes disabled the second Oracle Fabric Interconnect can assume all theactivity being performed by the Oracle Fabric Interconnect that is ldquodownrdquo Just aswith Network Clouds you can associate a Storage Cloud with two Oracle FabricInterconnects simultaneously and also set the connection priority so that one OracleFabric Interconnect is considered the primary and the other is considered thesecondary When you initially create the Cloud you must manually connect the HAvHBAs to the Cloud and set their primary and secondary status However once youcreate the initial Storage Cloud the Oracle Fabric Interconnectsrsquo connection priorityis set Any additional HA pairs that attach to the new Storage Cloud set up for HAwill first attach to the primary and then to the secondary Oracle Fabric Interconnect
Most administrators typically create Storage Clouds around a similar theme for theports or storage targets that are associated with the clouds For example a StorageCloud might have FC ports that will provide vHBA connections to a specific domainor specific upstream FC Ports for a specific set of storage targets or LUNs You createa Storage Cloud using the CLI command add storage-cloud and you set the HApriority using the set storage-cloud ha-preference command
LUN MasksLUN masks enable you to zone out specific LUNs or storage targets from servers orinitiators With LUN masks you can maintain security in the storage network bykeeping LUNs that contain sensitive data in a private restricted section of the FibreChannel network
You create LUN Masks and apply them to Storage Clouds through vHBAs or IOProfiles that use the LUN Masks to determine which hosts can see which storageresources Before a LUN Mask can control zoning you must first associate it with anIO Profile or vHBA If you create a LUN Mask but do not associate it with one ormore vHBAs (or IO Profiles) all hosts will be able to see all storage resources
Chapter 5 Working With Storage Clouds 111
You create LUN Masts using the add vhba-lun-masks-enabled command(described in this chapter) or the set io-profile-lun-masks-enabledcommand as described in Chapter 7 Working with IO Profiles
Round Robin Port Allocation Policy for a StorageCloudAn allocation policy determines how ports are assigned from the Storage Cloud toany vHBA that is connected to the cloud To allocate the port it must be configuredin the Storage Cloud You can configure multiple ports in a Storage Cloud portsfrom different Fibre Channel modules and different Oracle Fabric Interconnects inthe same Storage Cloud with the Round Robin allocation policy
Round Robin allocates ports in the cloud by rotating through the unallocated FCports in a systematic way starting from the port you select when you create theStorage Cloud When using round robin port allocation you select the a list of theports available in the round robin queue Anytime you connect a vHBA to theStorage Cloud Oracle Fabric Manager steps through the list and allocates the nextavailable port based on the numerical value of the portrsquos slot For example port 2 inslot 2 port 1 in slot 4 and port 2 in slot 9 are available in the Storage Cloud whennew vHBAs are connected to the Storage Cloud the first vHBA will be terminatedon port 2 slot 2 the next vHBA will be connected to port 1 in slot 4 and the lastvHBA will be terminated on port 2 in slot 9 After that any additional vHBAs areassigned to whichever port has the next lowest rank
World Wide NamesOracle Fabric Manager keeps a list of all the world-wide names (WWNs) TheWWNs are embedded in each Oracle Fabric Interconnect Oracle Fabric Managertracks them when an Oracle Fabric Interconnect is discovered
There is a base pool of WWNs that the Oracle Fabric Interconnect uses to assign tovHBAs Storage administrators can customize the last three hexadecimal digits ofthe WWN pool allowing them to assign a specific WWN to a specific storage deviceTherefore when you use the -reserved-wwn-id argument you can tweak the lastthree digits to assign a specific WWN to a specific device
112 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Creating a Storage CloudWhen you create a Storage Cloud you associate one or more FC ports that areassigned to an FC switch with the Cloud You also associate other SANcharacteristics (such as SAN QoS) with the Storage Cloud When you attach theStorage Cloud to create an IO Template and IO Profile (which together providethe connectivity to the host servers) the Storage Cloud provides a way for hosts toattach to the storage network The Storage Cloud provides the storage access pointswith characteristics that you define (like SAN QoS)
The Oracle Fabric Manager default Storage Cloud contains all the discovered FCports available in your environment through the discovered Oracle FabricInterconnect(s) When you define a Storage Cloud Oracle Fabric Manager removesthe resources you use in your cloud definition from the default Storage Cloud andplaces them in the Storage Cloud(s) that you create
Storage Clouds typically are created around some similar theme for the FC portswith which it is associated For example a Storage Cloud might have ports thatprovide vHBA connections to a specific zone or controller for a specific set of hostservers
This section describes how to define a Storage Cloud by
ldquoAdding a Storage Cloudrdquo on page 113
ldquoSetting Storage Cloud Optionsrdquo on page 114
ldquoAdding Fibre Channel Portsrdquo on page 115
ldquoAdding High Availability to the Storage Cloudrdquo on page 116
Adding a Storage CloudYou create a Storage Cloud using the add storage-cloud command
SyntaxWhen you create a Storage Cloud you can also add a description and define a QoSProfile To add a Storage Cloud to your environment that will provide storageresources to users issue the following command
add storage-cloud ltSpecify Storage Cloud namegt [-description=Specify Storage cloud description][-qos=Specify Storage Cloud QOS]
Chapter 5 Working With Storage Clouds 113
ExamplemdashAdding a Storage Cloud
This example creates a new Storage Cloud called S_Cloud0
ExamplemdashAdding a Storage Cloud QoS Profile
This example defines a new Storage Cloud named EngSTcloudB with a SAN QoSProfile of 250m 500m
OptionsTABLE 5-1 describes the options available with the add storage-cloud command
Setting Storage Cloud OptionsYou can specify the following options for a Storage Cloud
Description
Storage Cloud QoS
You set Storage Cloud options using the set storage-cloud command
rootFabMgrCLI[ofm] add storage-cloud S_Cloud0
rootFabMgrCLI[ofm] add storage-cloud EngSTcloudB -qos=250m_500m
TABLE 5-1 Options for Adding a Storage Cloud
Option Possible Values Description
Storage Cloud Name Enter a name for the Storage Cloud you are creating
-description Enter an optional description for the new Storage Cloud
-qos bull 125m_250mbull 1g_2gbull 250m_500mbull 2g_4gbull 4g_8gbull 500m_1gbull 50m_125m
Specify an optional SAN QoS Profile that will be applied tothe Storage Cloud
114 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo set a Storage Cloudrsquos options issue the following command
Example
This example adds a description to the Storage Cloud EngSTcloudB defines a QoSProfile of 2g 8g for that Storage Cloud and adds reserved WWN IDs to the OracleFabric Interconnect Montana including 500139700004700012
OptionsTABLE 5-2 describes the options available with the set storage-cloud command
Adding Fibre Channel PortsTo add FC ports to your Storage Cloud use the set storage-cloud commandYou can also specify a QoS profile and a Storage Cloud description using thiscommand
set storage-cloud ltSpecify Storage cloud namegt [-description=Specify Storage cloud description][-qos=Specify Storage cloud QOS]
rootFabMgrCLI[ofm] set storage-cloud EngSTcloudB -description=rdquoEngineeringStorage Cloud Brdquo -qos-2g_8g add reserved-wwn-ids Montana www-id-count=07 wwn-ids-list=500139700004700012
TABLE 5-2 Options using the set storage-cloud Command
Option Possible Values Description
-description An optional description of the Storage Cloud for which youare defining options
-qos bull 125m_250mbull 1g_2gbull 250m_500mbull 2g_4gbull 4g_8gbull 500m_1gbull 50m_125m
Specify an optional SAN QoS profile that will be applied tothe Storage Cloud
Chapter 5 Working With Storage Clouds 115
SyntaxTo add FC ports to a Storage Cloud issue the following command
Examples
This example adds the FC port 62 to the Oracle Fabric Interconnect Montana
Adding High Availability to the Storage CloudIn order to configure HA you must have a dual-Oracle Fabric Interconnectconfiguration with Ethernet ports from two different Oracle Fabric Interconnectsdefined in your Network Cloud You can then indicate which Oracle FabricInterconnect is the primary IO resource provider to your Network Cloud andwhich Oracle Fabric Interconnect should take over as the secondary Oracle FabricInterconnect if the primary Oracle Fabric Interconnect becomes unavailable Use theset storage-cloud command to set your HA preference on your Network Cloud
SyntaxTo specify the HA preference in your Storage Cloud issue the following command
OptionsYou can specify one of the following three options
NonemdashNo preference
PrimarymdashAssign primary vNICs to the termination
SecondarymdashAssign secondary vNICs to the termination
set storage-cloud ltSpecify Storage cloud namegt [-description=Specify Storage cloud description][-qos=Specify Storage cloud QOS] add fc-ports ltSpecify FC portgt
rootFabMgrCLI[ofm] set storage-cloud S_Cloud0 add fc-ports montana62
set storage-cloud ltSpecify Storage cloud namegt ha-preference ltSpecify the Fibre Channel portgtltSpecify the HA preferencegt
116 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Examples
The above example establishes HA preferences for the Storage Cloud S_Cloud0with the Primary Ethernet port from Oracle Fabric Interconnect Montana and thesecondary port from Iowa
Displaying Storage Cloud DetailsThis section describes how to display information about Storage Clouds defined inOracle Fabric Manager
ldquoDisplaying Storage Cloud Informationrdquo on page 117
ldquoDisplaying FC Port Informationrdquo on page 119
ldquoDisplaying World Wide Namesrdquo on page 121
Displaying Storage Cloud InformationYou display information about a Storage Cloud using the show storage-cloudcommand
SyntaxTo display all Storage Clouds defined in your Oracle Fabric Manager environmentissue the following command
To display information about a specific Storage Clouds in your Oracle FabricManager environment add the name of that Cloud to the command
rootFabMgrCLI[ofm] set storage-cloud S_Cloud0 ha-preference montana101primaryrootFabMgrCLI[ofm] set storage-cloud S_Cloud0 ha-preference iowa82 secondary
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] storage-cloud
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] storage-cloud ltStoragecloud namegt
Chapter 5 Working With Storage Clouds 117
Example
This example shows that EngSTcloudA has two FC ports defined and as anallocation policy of ldquoroundrobinrdquo and a description ldquoEngineering Storagerdquo
OptionsTABLE 5-3 describes the fields that display with the show storage-cloudcommand
rootFabMgrCLI[ofm] show storage-cloud EngSTcloudA------------------------------------------------------------------------------name EngSTcloudAports 2qos-qos=lun-mask-referenceallocation-policy roundrobindescription Engineering Storage------------------------------------------------------------------------------
TABLE 5-3 Fields Displayed with the show storage-cloud Command
Fields Possible Values Description
name The name of each configured Storage Cloud
ports The number of FC ports in the Storage Cloud This numberis the total of all ports regardless of whether they are up ordown
qos bull 125m_250mbull 1g_2gbull 250m_500mbull 2g_4gbull 4g_8gbull 500m_1gbull 50m_125m
The name of any SAN QoS Profile associated with theStorage Cloud If no SAN QoS is configured this fieldindicates ldquononerdquo If a SAN QoS Profile is configured for theStorage Cloud the name indicates the CIR and PIR valuesFor example a QoS Profile named 125M_250M indicates 125Mbps of CIR and 250 Mbps of PIR
118 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Displaying FC Port InformationYou display information about a Storage Cloud using the show storage-cloudcommand
SyntaxTo display information about a specific Storage Clouds and Fibre Channel ports inyour Oracle Fabric Manager environment add the name of that Cloud to thecommand
lun-mask-reference The name of any LUN Mask Profile associated with theStorage Cloud If no LUN Mask Profile is configured thisfield indicates ldquononerdquo If a LUN Mask Profile is configuredfor the Storage Cloud this field shows the name that wasassigned to the Profile when it was created
allocation-policy Round Robin This field specifies that the Storage Cloud will be applied tothe host server using a ldquoround robinrdquo allocation policy whenthe cloud is deployed
description The description string (if any) that was applied to theStorage Cloud If this field is blank then it was not specifiedwhen the Storage Cloud was created (or deleted)
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] storage-cloud ltStoragecloud namegt fc-ports
show [-table] [-list] [-xml] [-sortby=Sort column] fc-port ltFC port namegt [-detail]
TABLE 5-3 Fields Displayed with the show storage-cloud Command (Continued)
Fields Possible Values Description
Chapter 5 Working With Storage Clouds 119
Example1
The example above shows the Fibre Channel port details available for the StorageCloud techpubs1
Example
The example above shows information about the Fibre Channel port arkansas72
OptionsTABLE 5-4 describes the fields that display with the show storage-cloud fc-ports command
rootFabMgrCLI[ofm] show storage-cloud techpubs1 fc-portsparentname fc-port state type vhba-count speed description------------------------------------------------------------------------------techpubs1 arkansas72 updown sanFcPort 0 8000techpubs1 iowa82 upup sanFcPort 10 8000techpubs1 iowa81 upup sanFcPort 37 80003 records displayed
rootFabMgrCLI[ofm] show fc-port arkansas72name type state vhbas speed description------------------------------------------------------------------------------arkansas72 sanFcPort updown 0 80001 record displayed
TABLE 5-4 Fields Displayed with the show storage-cloudfc-ports command
Fields Possible Values Description
parentname The name of the parent Storage Cloud on which the FC portsare defined
fc-ports The Oracle Fabric Interconnect name and port ID of the FCport
state bull upbull down
The status of the FC port
type The type of FC port being displayed for this Storage Cloud
120 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Displaying World Wide NamesOracle Fabric Manager keeps a list of all the world-wide names (WWNs) assignedfrom each Oracle Fabric Interconnect it manages in the WWN Address Pool Theshow wwn-address-pool command enables you to display information aboutthose WWNs
SyntaxTo display information about WWNs assigned from an Oracle Fabric Interconnectissue the following command
vhba-count The number of vHBAs defined for this Storage Cloud
speed The speed supported by the FC port displayed using thiscommand
description A description of the Storage Cloud if one was entered
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] wwn-address-pool ltDirector namegt
TABLE 5-4 Fields Displayed with the show storage-cloudfc-ports command (Continued)
Fields Possible Values Description
Chapter 5 Working With Storage Clouds 121
Examples
This example shows the world wide names vHBA and Network Clouds associatedwith the specified Oracle Fabric Interconnect
Removing Storage Clouds and FC PortsThis section describes how to remove Storage Clouds and FC ports
rootFabMgrCLI[ofm] show wwn-address-pool montana------------------------------------------------------------------------------chassis-name montanawwn 5001397000047102wwn-id 102is-reserved falseis-used truevhba-name vhba5cloud-name------------------------------------------------------------------------------chassis-name montanawwn 5001397000047100wwn-id 100is-reserved falseis-used truevhba-name s_Cloud0vhbacloud-name------------------------------------------------------------------------------chassis-name montanawwn 5001397000047101wwn-id 101is-reserved falseis-used truevhba-name s_Cloud0vhbacloud-name------------------------------------------------------------------------------3 records displayed
122 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Removing Storage Clouds from yourEnvironmentThe remove storage-cloud command deletes the named Storage Cloud fromyour environment
SyntaxTo delete a Storage Cloud from Oracle Fabric Manager issue the followingcommand
Example
This example removes Storage Cloud S_Cloud0 from the environment
Removing FC Ports from a Storage CloudThe set storage-cloudremove fc-ports command deletes the namedFibre Channel ports from a Storage Cloud
SyntaxTo remove a Fibre Channel port from a Storage Cloud issue the followingcommand
Examples
This example removes FC port Montana62 from Storage Cloud S_Cloud0
remove [-noconfirm] storage-cloud ltStorage cloud namegt
rootFabMgrCLI[ofm] remove storage-cloud S_Cloud0
set storage-cloud ltStorage cloud namegt remove fc-ports ltSpecify Fibre Channel portsgt [-no-confirm]
rootFabMgrCLI[ofm] set storage-cloud S_Cloud0 remove fc-ports montana62
Chapter 5 Working With Storage Clouds 123
Creating and Using vHBAsThis section describes how to work with vHBAs including
ldquoAdding vHBAs to a Storage Cloudrdquo on page 124
ldquoSetting vHBA Optionsrdquo on page 127
ldquoRescanning a vHBArdquo on page 128
ldquoSetting a vHBArsquos Storage Cloudrdquo on page 128
ldquoSetting a vHBArsquos Terminationrdquo on page 129
ldquoDisplaying vHBA Informationrdquo on page 129
ldquoRemoving vHBAs from a Storage Cloudrdquo on page 131
Adding vHBAs to a Storage CloudUse the add vhba command to create a new vHBA on a server and terminate it toa Storage Cloud This step does not provide the virtual IO connection to the hostserver It simply creates a vHBA and terminates it on a port in the Storage CloudThe vHBA will not be pushed to the host server until after you create an IO Profilefrom an IO Template that uses this Storage Cloud and then connect that IOProfile to a physical server
SyntaxTo add a vHBA to your environment issue the following command
add vhba ltSpecify a vHBA namegt ltSpecify the Physical Server namegt ltSpecify the Storage cloud the vhbapoints togt [-description=Specify Description] [-qos=Specify QOS profile] [-lun-masks-enabled=LUN Mask enabled Default=false] [-ha-mode=Is this a haVhba] [-local-id=Specify Local Id][-wwnn=Specify WWN Id] [-mtu=Specify MTU] [-lun-mask=LUN Mask] [-lun-mask-profile=Specify LUN Mask Profile] [-wwnn-ha=Specify WWN ha Id] [-san-boot-capable=Does this vHBA doSAN Boot Default=rsquofalsersquo] [-port=Specify port] [-ha-port=Specify HA Port]
124 Oracle Fabric Manager Command Reference (Beta) bull September 2014
ExamplemdashAdding a vHBA
This example creates a new vHBA called C10vhba2 on physical server ldquoberingrdquo Thesecond line adds SAN QoS configuration 125 Mbps of CIR and 250 Mbps of PIR
ExamplemdashAdding an HA vHBA
This example adds a new HA vHBA called C10vhba2 to the physical server ldquoberingrdquoand provides high availability IO resources to the Storage Cloud S_Cloud0 TheStorage Cloud S_Cloud0 must have resources available from more than one OracleFabric Interconnect for this option to be set successfully This example also specifiesthat the vHBA should automatically switch over to the vHBA on the secondaryOracle Fabric Interconnect if the vHBA on the primary Oracle Fabric Interconnectbecomes unavailable You set the primary and secondary Oracle Fabric Interconnectsusing the set storage-cloud command as described in the section entitledldquoAdding High Availability to the Storage Cloudrdquo on page 116
OptionsTABLE 5-5 describes the options available with the add vhba command
rootFabMgrCLI[ofm] add vhba C10vhba2 bering S_Cloud0 -description=rdquovHBA toprovide resources to S_Cloud0rdquorootFabMgrCLI[ofm] add vhba C9vnic1 bering Cloud9 -qos=125m_250m
rootFabMgrCLI[ofm] add vhba C10vhba2 bering S_Cloud0 -ha-mode=true
Chapter 5 Working With Storage Clouds 125
TABLE 5-5 Options for adding a vHBA to a server
Options Possible Values Description
-description Add an alphanumeric string that describes the vHBA thatyou are adding
-qos bull 125m_250mbull 1g_2gbull 250m_500mbull 2g_4gbull 4g_8gbull 500m_1gbull 50m_125m
Specify an optional SAN QoS Profile that will be appliedto the vHBA
-ha-mode bull truebull false
Indicate True if you are creating a HA vHBA
-lun-masks-enabled Specify an existing LUN Mast Profile for the vHBA
-wwnn If the vHBA must be assigned from a specific range ofWWNs enter the WWN range using this option (separateby a dash or a colon)
-mtu The maximum transmission unit which is the largest sizedata packet supported without fragmentation
-lun-mask If the Storage Cloud will use LUN Masking to control theaccess to storage targets specify the name of the LUNMask which must already exist
-lun-mask-profile If the Storage Cloud will use LUN Masking to control theaccess to storage targets specify the name of the LUNMask Profile which contains the LUN Mask(s)
-wwn-ha If the Storage Cloud will be using HA WWNs specify theHA WWN ID
-san-boot-capable bull truebull false (default)
If the vHBA will be SAN Booting it host server specifytrue or false to enable or disable SAN Booting over thevHBA
-port Specify the Fibre Channel port on which the vHBA isbeing configured or if this is an HA vHBA specify theprimary port
-ha-port For HA vHBAs specify the secondary Fibre Channel portfor the vHBA
126 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Setting vHBA OptionsWith the set vHBA command you can set the following options
Bring the vHBA ldquouprdquo or ldquodownrdquo
Set the Storage Cloud on which to terminate the vHBA
Set a new termination port for the vHBA (and as an option indicate an HAtermination port)
Specify a LUN Mask for the vHBA
Specify the Quality of Services (QoS) profile for the vHBA
The set vhba command enables you to set the options described in the previoussection as well as to activate and deactivate the vhba on the Storage Cloud
SyntaxTo activate or bring ldquouprdquo the vHBA issue the following command
To deactivate or shut ldquodownrdquo the vHBA issue the following command
To set the Storage Cloud on which to terminate the vHBA issue the followingcommand
To set a new termination port or HA termination port issue the following command
set vhba ltvHBA namegt [-description=Specify Description] [-qos=Specify QOS profile][-lun-mask=Specify LUN mask] [-storage-cloud=Update the vHBA to terminated at another Storagecloud] [-termination=Update the vHBA to change its termination to a different port] up
set vhba ltvHBA namegt [-description=Specify Description] [-qos=Specify QOS profile][-lun-mask=Specify LUN mask] [-storage-cloud=Update the vHBA to terminated at another Storagecloudrsquo] [-termination=Update the vHBA to change its termination to a different port] down
set vhba ltvHBA namegt storage-cloud ltThe new cloud to terminate ongt
set vhba ltvHBA namegt termination ltThe new termination portgt [-ha-termination=The new hatermination port or lag]
Chapter 5 Working With Storage Clouds 127
Examples
The above two examples activate then deactivate the vHBA C10vhba2
The above example sets the vHBA C10vhba2 to terminate at Storage Cloudtechpubs1
OptionsTABLE 5-6 describes the options available with the set vhba command
Rescanning a vHBA
Setting a vHBArsquos Storage Cloud
rootFabMgrCLI[ofm] set vhba C10vhba2bering up
rootFabMgrCLI[ofm] set vhba C10vhba2bering down
rootFabMgrCLI[ofm] set vhba C10vhba2bering storage-cloud techpubs1
TABLE 5-6 Fields for the vHBA Command
Fields Possible Values Description
-qos bull 125m_250mbull 1g_2gbull 250m_500mbull 2g_4gbull 4g_8gbull 500m_1gbull 50m_125m
Specify an optional SAN QoS Profile that will be applied tothe vNIC
set vhba ltvHBA namegt rescan
set vhba ltvHBA namegt storage-cloud ltThe new cloud to terminate ongt
128 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Setting a vHBArsquos Termination
Displaying vHBA InformationThe show vhba command enables you to display vHBA information on a physicalserver and within an IO Template
SyntaxmdashvHBAs on a Physical ServerTo display information configured for the vHBAs on a server issue the followingcommand
ExamplemdashvHBAs on a Physical Server
This example above displays the vHBAs configured on the physical server bering
set vhba ltvHBA namegt termination ltThe new termination portgt [-ha-termination=ltThe new hatermination portgt]
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] physical-server ltPhysicalservergt vhbas
rootFabMgrCLI[ofm] show physical-server bering vhbas------------------------------------------------------------------------------parentname beringname C10vhba2sto-cloud-name techpubs1termination unknownstate nullnullip-address nullwwnn nullwwpn nullis-ha falsedescription------------------------------------------------------------------------------1 record displayed
Chapter 5 Working With Storage Clouds 129
SyntaxmdashvHBAs on an IO TemplateTo display the vNICs in an IO Template along with information about them issuethe following command
ExamplemdashvHBAs on an IO Template
The example above displays the vHBAs configured on the IO Templatecloud9template
Example
This example shows all the FC storage targets and LUNs available through vHBAnamed ldquovhbaiiirdquo in server Profile ldquoIIIrdquo
OptionsTABLE 5-7 describes the options available with the show vhba command
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] io-template ltIO profilenamegt vhbas
rootFabMgrCLI[ofm] show io-template cloud9template vhbasname sto-cloud-name qos is-ha description------------------------------------------------------------------------------Cl0vhba2 S_Cloud0 falses_Cloud0vhba S_Cloud0 false2 records displayed
rootFabMgrCLI[ofm] show vhba vhbaiiiIII targetsvhba name wwnn wwpn lun-ids------------------------------------------------------------------------vhbaiiiIII 2F9F00062B10C3BA 2F9F00062B10C3BA 3210vhbaiiiIII 2FBF00062B10C3BA 2FBF00062B10C3BA 3210vhbaiiiIII 2FDF00062B10C3BA 2FDF00062B10C3BA 3210vhbaiiiIII 2FFF00062B10C3BA 2FFF00062B10C3BA 32104 records displayed
130 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Removing vHBAs from a Storage CloudThe remove vhba command enables you to remove a vHBA from a Storage Cloud
SyntaxTo remove a vHBA from a Storage Cloud issue the following command
Example
The above example removes the vHBA named Cloud9vhba2 from the server beringThis command will not trigger a confirmation message before removing the vNIC
TABLE 5-7 Fields displayed with the show vhba command
Fields Possible Values Description
parentname The name of the physical server or template
name The name of the vHBA
sto-cloud-name The name of the Storage Cloud in which the vHBA is defined
termination The FC port at which the vHBA is terminated
state The current state of the FC port
ip-address The physical machinersquos IP address
wwnn The vNICrsquos World Wide Node Name address
wwpn The vNICrsquos World Wide Port Name address
is-ha bull truebull false
Indicates if the vHBA is configured for high availability
description If a description was entered when the vHBA was created thatdescription displays in this field
qos The QoS Profile if defined
remove [-noconfirm] vhba ltvhba namegt [-no-confirm]
rootFabMgrCLI[ofm] remove -noconfirm vhba Cloud9vhba2bering
Chapter 5 Working With Storage Clouds 131
Working with SAN Quality of Service(QoS)The SAN QoS Profile uses Committed Information Rate (CIR) to guaranteebandwidth You can assign one SAN QoS Profile to a Storage Cloud or a vHBA andyou can assign the same SAN QoS Profile to multiple different Storage Clouds orvHBAs
Oracle Fabric Manager provides two SAN QoS Profiles that are preconfigured forapplication to Storage Clouds or vHBAs
125M_250m (125 Mbps CIR and 250 Mbps PIR)
50M_125M (50 Mbps CIR and 125 Mbps PIR)
Assigning QoS ProfilesYou can assign a SAN QoS Profile to a Storage Cloud or to a vHBA
If you assign the QoS Profile to a Storage Cloud any vHBA terminated in theStorage Cloud inherits that Storage QoS Profile This is true even if the vHBA hasits own associated QoS Profile
If a Storage Cloud has no associated QoS Profile but one of its vHBAs does havean associated QoS Profile that QoS Profile is applied to the vHBA Thus when aStorage Cloud has no QoS Profile to apply it causes the cloud to defer to the QoSProfiles assigned to the individual vHBAs (if any)
If you do not want a QoS Profile to be applied anywhere for the virtual IO in acloud make sure that no QoS Profile is associated with the Storage Cloud or any ofthe vHBAs terminated in that Cloud
Displaying SAN QoS ProfilesThe show san-qos command displays a description of the specified QoS Profileincluding Committed Information Rate (CIR) and Peak Informants Rate (PIR) set bythat Profile You can display all of the SAN QoS Profiles saved in your environmentor the information for one specific Profile
132 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo display the SAN QoS Profiles defined in your environment issue the followingcommand
Examples
This example shows all of the SAN QoS Profiles saved in Oracle Fabric Managerenvironment
OptionsTABLE 5-8 describes the options available with the show san-qos command
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] san-qos ltSan QOS profilenamegt
rootFabMgrCLI[ofm] show san-qosname cir pir description------------------------------------------------------------------------------1g_2g 1000000 2000000 1-2Gbps2g_4g 2000000 4000000 2-4Gbps4g_8g 4000000 8000000 4-8Gbps50m_125m 50000 125000 50Mbps125m_250m 125000 250000 125Mbps250m_500m 250000 500000 250-500Mbps500m_1g 500000 1000000 500Mbps-1Gbps7 records displayed
rootFabMgrCLI[ofm] show san-qos 125m_250mname cir pir description------------------------------------------------------------------------------125m_250m 125000 250000 125Mbps1 record displayed
Chapter 5 Working With Storage Clouds 133
TABLE 5-8 Fields Displayed with the show san-qos Command
Fields Description
name The name of each configured SAN QoS Profile
cir The Committed Information Rate which is the amount of guaranteed bandwidth forconstant traffic
pir The Peak Information Rate which is guaranteed bandwidth by controlling traffic throughdropping packets that exceed this rate
description The description string (if any) that was applied to the SAN QoS Profile
134 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 6
Working with IO Templates
This chapter describes how to define IO requirements for a set of servers thatrequire the same resources to an Oracle Fabric Manager IO Template using the CLIIt explains how to create the building blocks by defining connectivity and virtualresources for your network and storage requirements This chapter contains thefollowing topics
ldquoUnderstanding IO Templatesrdquo on page 135
ldquoCreating an IO Templaterdquo on page 137
ldquoChanging IO Resourcesrdquo on page 143
ldquoDisplaying IO Resourcesrdquo on page 145
ldquoRemoving IO Resourcesrdquo on page 151
Understanding IO TemplatesIO Templates enable server administrators to define IO requirements for a set ofservers Once the access requirements are defined they can be applied to any newservers that are brought online that require the same IO resource needs Forexample a server that will be used by the Engineering department may requireaccess to a couple of Network Clouds and a Storage Cloud but a server that is usedby Finance may only require access to the internet
Once you build an IO Template you can then save those settings to an IO ProfileThat IO Profile applies your settings to a server or group of servers and thoseservers immediately gain access to the network and storage resources withoutrebooting
To build an IO Template you need a Network Cloud a Storage Cloud or both Youwill find it helpful if your Network and Storage Clouds are created before you beginbuilding IO Templates
135
Note ndash Even though you can use IO Templates to configure a single physicalserver Templates are most useful when deploying virtual connectivity to multipleservers that require a consistent configuration Be aware that configuring the IOTemplate to define the virtual connectivity for one or more servers is only the firsthalf of the connectivity process Next you must create the IO Profile from your IOTemplate to actually connect the vNICs and vHBAs in the template to the physicalserver For information about IO Profiles see Chapter 7
Stepping Through the ProcessWhen you create an IO Template you create an empty container to which you addbuilding blocks that define the connectivity and virtual resources for your networkand storage For example to create an IO Template using the CLI might consist ofthe following steps
1 Creating and naming the IO Template using the add io-template command
2 Creating a Network Cloud and a Storage Cloud (building blocks) using the addnetwork-cloud and add storage-cloud commands
3 Editing the Network and Storage Clouds to support specific features (forexample Network and SAN QoS Profiles) using the set network-cloud andset storage-cloud commands
4 Adding one or more vNICs and vHBAs (more building blocks) to the Templateand connecting them to the Network Cloud and Storage Cloud using the addvnic and add vhba commands and specifying the template through the -apply-template-name option
5 Editing the vNICs and vHBAs with specific Ethernet and Fibre Channelproperties using the set io-templateupdate vnic and set io-templateupdate vhba commands
6 Creating an IO Profile from the IO Template using the add io-profilecommand
7 Connecting the IO Profile to the physical resources using the set io-profileconnect command
136 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Providing ConnectivityIO Templates alone do not provide virtual connectivity to hosts You must create anIO Profile based on the IO Template The IO Profile provides virtual connectivityto the hosts Steps 6 and 7 above demonstrate how to provides this connectivityWhen performing those last two steps make sure that the correct IO Profile isdeployed on the correct host server This chapter describes steps 1 4 and 5 Steps 2and 3 are described in earlier chapters (Chapter 4 Working with Network Clouds andChapter 5 Working With Storage Clouds) and Steps 6 and 7 are described in thenext chapter (Chapter 7 Working with IO Profiles)
Creating an IO TemplateThis section describes how to create an IO Template including
ldquoAdding an IO Templaterdquo on page 137
ldquoAdding Network Resourcesrdquo on page 139
ldquoAdding Storage Resourcesrdquo on page 141
Note ndash You will find it helpful if the following elements are already created beforebuilding IO Templates
Server boot profiles (SAN Boot Profiles or iSCSI Boot Profiles) Default gateways Network QoS Profiles Storage QoS Profiles
Adding an IO TemplateYou create a new IO Template using the add io-template command
Chapter 6 Working with IO Templates 137
SyntaxWhen you create an IO Template you can also add a description a defaultgateway a SAN Boot Profile and an iSCSI Boot Profile To add an IO Template thatwill provide standard IO resources to your environment issue the followingcommand
Example
The example above creates a new IO Template called cloud9template with anassociated description
OptionsTABLE 6-1 describes the options available with the add io-template command
add io-template ltSpecify IO template namegt [-description=Specify Description] [-default-gateway=Specify Default gateway] [-san-boot-profile=Specify SAN boot profile][-iscsi-boot-profile=Specify iSCSI boot profile] [-apply-template-name=When applying to aserver name use the template name or the server name]
rootFabMgrCLI[ofm] add io-template cloud9template -description=rdquoTemplate forengineering resourcesrdquo
TABLE 6-1 Options for Adding IO Templates
Option Description
-description Enter an optional alphanumeric string that describes the IO Template thatyou are creating
-default-gateway Specify the default gateway for the IO Template The default gateway mustalready be created in Oracle Fabric Manager (using the add defaultgateway command) before you can specify it here
-san-boot-profile If the hosts using this IO Template will boot using SAN boot specify thatSAN Boot Profile using this option The SAN Boot Profile must already becreated in Oracle Fabric Manager (using the add san-boot-profilecommand) before you can specify it here
-iscsi-boot-profile If the hosts using this IO Template will boot using iSCSI boot specify thatiSCSI Boot Profile using this option The iSCSI Boot Profile must already becreated in Oracle Fabric Manager (using the add iscsi-boot-profilecommand) before you can specify it here
-apply-template-name If the host will be using an IO Template when applying an IO Template toa server use the template name or the server name
138 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Adding Network ResourcesYou add network resources to your IO Template using the set io-templatecommand
SyntaxTo add network resources to your IO Template specify the IO Template name aname for your new vNIC (use a maximum of 10 characters) and the Network Cloudto which the vNIC points The other specifications in the syntax below are optionalYou can specify multiple Network Clouds and vNICs to the same IO Template
To add one or more vNICs to the IO Template issue the following command
Example
The above example adds the vNIC named Cloud9vnic which now belongs to theNetwork Cloud Cloud9 to the template called Cloud0template This means thatboth the Network Cloud and the vNICs are part of the Template
OptionsTABLE 6-1 describes the options available with the set io-templateaddvnic command
set io-template ltIO-profile namegt add vnic ltvnic namegt ltNetwork Cloud the vnic points togt[-description=Specify description] [-iscsi-boot-capable=Does this vnic do an ISCSI BootDefault=false] [-pxe-boot-capable=Does this vnic do an PXE Boot Default=false] [-qos=Specifyqos profile] [-trunk-mode=Is it trunk mode Default=false] [-ip-type=IP address type Default=hostmanaged] [-vlan-id=Specify Access VLAN Id] [-checksum-offload=Specify Checksum offload][-community-name=Specify Community name] [-ha-mode=Is this an HAvNIC Default=false][-auto-switchover=Auto Switchover Default=false] [-user-mac=Specify User defined] [-apply-template-name=When applying to a server name use the template name or the server name] [-tso=Does thisvNIC do TSO Default=falsersquo][-private=Is it private Default=falsersquo] [-no-confirm]
rootFabMgrCLI[ofm] set io-template Cloud0template add vnic Cloud9vnic Cloud9
Chapter 6 Working with IO Templates 139
TABLE 6-2 Options for Adding or Changing a vNIC
Option Possible Values Description
-description Specify an optional description for the vNIC you arecreating
-qos bull 100m_1gbull 100m_250mbull 10g_10gbull 10m_100mbull 10m_1gbull 10m_50mbull 1g_10gbull 1m_10mbull 250m_500mbull 2g_10gbull 3g_10gbull 4g_10gbull 500m_750mbull 50m_100mbull 5g_10gbull 64k_1mbull 6g_10gbull 750m_1gbull 7g_10gbull 8g_10gbull 9g_10g
Specify the Network QoS Profile if one is to be applied tothe vNIC you are creating for this template
-trunk-mode bull truebull false (default)
If the vNIC will be configured in a VLAN indicate TrunkMode=true If you do not specify true for this optionthe vNIC will operate in access mode
-ip-type bull hostmanaged (default)bull DHCP
Indicate whether the vNICrsquos IP address will be assignedby the host server or by DHCP
-vlan-id If the vNIC will be required to participate in a VLANenter the VLAN number using this command
-checksum-offload bull truebull false (default)
If the vNIC will support checksum offload which allowsthe module to send checksumming tasks to the IOModule instead of the port terminating the vNIC indicate-checksum-offload=true as part of this command
-community-name If the vNIC needs to be part of specific SNMPcommunities specify the names of the SNMPcommunities using this option
140 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Adding Storage ResourcesYou add storage resources to your IO Template using the set io-templatecommand You can add as many vHBAs to a template as you need This step doesnot provide the virtual IO connection to the host server It simply creates a vHBAand terminates it on a port in the Storage Cloud The vHBA will not be pushed tothe host server until you create an IO Profile from the Template and connected theIO Profile to a server
-ha-mode bull truebull false (default)
If the vNIC will be one of an HA vNIC pair indicate-ha-mode=true in the command
-auto-switchover bull truebull false (default)
If the vNIC will be one of an HA vNIC pair and you wantthe secondary vNIC to give traffic back to the primaryvNIC when the primary comes back online indicate-auto-switchover=true in this command
-user-mac If the vNICrsquos MAC ID must be assigned from a specificrange of MAC addresses specify the user-defined MACIDs to have the Oracle Fabric Interconnect bypassautomatically assigning the vNICrsquos MAC Address fromthe Oracle Fabric Interconnectrsquos pool
-apply-template-name bull server namebull template name
If the host will be using an IO Template when applyingan IO Template to a server use the template name or theserver name
-tso bull truebull false (default)
If the host will be using TCP Segmentation Offload (TSO)specify either true or false to enable or disable the feature
-private bull truebull false (default)
If the host will be a private vNIC specify true or false toenable or disable the feature If the vNIC is not private itwill be accessible as a standard vNIC on the network Ifprivate the vNIC will be accessible in a private networknot accessible by all resources
TABLE 6-2 Options for Adding or Changing a vNIC (Continued)
Option Possible Values Description
Chapter 6 Working with IO Templates 141
SyntaxTo add storage resources to your IO Template specify the IO Template name thename for your new vHBA and the Storage Cloud to which the vHBA will terminateThe other specifications in the command below are optional
Example
The above example adds storage resources to your template It adds a vHBA calleds_Cloud0vhba which points to the Storage Cloud S_Cloud0 to the IO TemplateCloud9template
OptionsTABLE 6-3 describes the options available with the set io-templateadd vhbacommand
set io-template ltIO profile namegt add vhba ltSpecify vhba namegt ltSpecify the storage cloud the vhbapoints togt [-description=Specify description] [-san-boot-capable=Does this vhba do a SAN BootDefault=false] [-qos=Specify qos profile] [-ha-mode=Is this a haVhba Default=false] [-user-wwn=Specify User defined WWN Id] [-apply-template-name=When applying to a server name use the templatename or the server name] [-lun-mask-profile=Specify LUN Mask Profile] [-no-confirm]
rootFabMgrCLI[ofm] set io-template cloud9template add vhba s_Cloud0vhbaS_Cloud0 -description=rdquoThis vHBA is used for engineering network traffic onlyrdquo
TABLE 6-3 Options for Adding a vHBA to an IO Template
Option Possible Values Description
-description Specify an optional description for the vHBA you are addingto the IO Template
-qos bull 125m_250mbull 1g_2gbull 250m_500mbull 2g_4gbull 4g_8gbull 500m_1gbull 50m_125m
Specify a SAN QoS Profile for the vHBA you are adding ifapplicable
-ha-mode bull truebull false (default)
If the vHBA will be part of an HA vHBA indicate -ha-mode=true in your command
142 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Note ndash At this point the IO Template is created but not yet deployed You willneed to create an IO Profile from the IO Template and connect that IO Profile toa physical server in order to push the vHBAs in the template to the server SeeChapter 7 for instructions on working with IO Profiles
Changing IO ResourcesThis section describes how to change vNICs and vHBAs
Changing vNICsTo change one of the vNIC specifications in an IO Template you use the set io-templateupdate vnic command
-user-wwn If the vHBArsquos WWN ID must be assigned from a specificrange of WWNs specify the user-defined WWN ID to havethe Oracle Fabric Interconnect bypass automaticallyassigning the vHBArsquos WWN from the Oracle FabricInterconnectrsquos pool Use this option if you or a SAN devicewill be assigning WWNs Enter the WWN range as a startingWWN ID then either a dash ( - ) or colon then the endingWWN ID
-apply-template-name bull server namebull template name
If the host will be using an IO Template when applying anIO Template to a server use the template name or the servername
-lun-mask-profile If the host will be using LUN Masks to control what storagetargets are accessible specify the name of the LUN Maskwhich must already exist
TABLE 6-3 Options for Adding a vHBA to an IO Template (Continued)
Option Possible Values Description
Chapter 6 Working with IO Templates 143
SyntaxWhen you change an IO Templatersquos vNIC you specify the IO Template and vNICnames the Network Cloud it points to (if applicable) and the change you wish tomake Issue the following command
Example
The above example changes (updates) the vNIC s_Cloud9vnic in the IO Templatecloud9template to use trunk mode
OptionsTABLE 6-2 describes the options available with the set io-templateupdatevnic command
Changing vHBAsTo change one of the vHBA specifications in a Template you use the set io-templateupdate vhba command
set io-template ltIO profile namegt update vnic ltSpecify vnic namegt [-network-cloud-name=Specify the network cloud the vnic points to] [-description=Specify description] [-iscsi-boot-capable=Does this vnic do an ISCSI Boot Default=false] [-qos=Specify qos profile] [-pxe-boot-capable=Does this vnic do an PXE Boot Default=false] [-qos=Specify qos profile] [-trunk-mode=Is ittrunk mode Default=false] [-ip-type=IP address type Default=hostmanaged] [-vlan-id=SpecifyAccess VLAN Id] [-checksum-offload=Specify Checksum offload] [-community-name=SpecifyCommunity name] [-ha-mode=Is this a haVnic Default=false] [-auto-switchover=Auto SwitchoverDefault=false] [-user-mac=Specify User defined] [-apply-template-name=When applying to a servername use the template name or the server name] [-no-confirm]
rootFabMgrCLI[ofm] set io-template cloud9template update vnic s_Cloud9vnic -trunk-mode=true
144 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxWhen you change an IO Templatersquos vHBA you specify the IO Template andvHBA names the Storage Cloud it points to (if applicable) and the change you wishto make Issue the following command
Example
The above example changes (updates) the vHBA in the vHBA named s_Cloud0vhbawhich is part of the IO Template cloud9template
OptionsTABLE 6-2 describes the options available with the set io-templateupdatevhba command
Displaying IO ResourcesThis section describes how to display ldquovNICsrdquo on page 145 ldquovHBAsrdquo on page 147and ldquoServersrdquo on page 148
vNICsYou display information about the vNICs configured for an IO Template using theshow io-templatevnics command
set io-template ltIO profile namegt update vhba ltSpecify vhba namegt [-storage-cloud-name=Specify the storage cloud the vhba points to] [-description=Specify description] [-san-boot-capable=Does this vhba do a SAN Boot Default=false] [-qos=Specify qos profile] [-ha-mode=Is this a haVhbaDefault=false] [-user-wwn=Specify User defined WWN Id] [-apply-template-name=When applyingto a server name use the template name or the server name]
rootFabMgrCLI[ofm] set io-template cloud9template update vhba s_Cloud0vhba
Chapter 6 Working with IO Templates 145
SyntaxWhen you display vNIC information for an IO Template you specify the name ofthe template by issuing the following command
Example
The above example displays the vNICS in the IO Template cloud9template
FieldsTABLE 6-4 describes the fields displayed with the show io-templatevnicscommand
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] io-template ltIO profilenamegt vnics
rootFabMgrCLI[ofm] show io-template cloud9template vnicsname vnic-name net-cloud-name qos ip-type is-ha access-vlan-id trunk-modedescription------------------------------------------------------------------------------cloud9template Cloud9vnic Cloud9 hostManaged false 0 false1 record displayed
TABLE 6-4 Fields Displayed Using the show io-templatevnics Command
Field Possible Values Description
name The template name in which the vNIC isdefined
vnic-name The name of the vNIC for which the followinginformation is displayed
net-cloud-name The name of the Network Cloud with which thevNIC is associated
qos The bandwidth usage parameters for the vNICin the format CIR_PIR in megabits per second
146 Oracle Fabric Manager Command Reference (Beta) bull September 2014
vHBAsYou display information about the vHBAs configured for an IO Template using theshow io-templatevhbas command
SyntaxWhen you display vHBA information for an IO Template you specify the name ofthe template by issuing the following command
ip-type bull Static for a statically assignedIP address
bull DHCP for an address that wasassigned through DHCP
bull Host managed for an addressthat was assigned by the hostinstead of through the OracleFabric Interconnect
The method by which the IP address for thevNIC was assigned
is-ha bull truebull false (default)
Indicates if the vNIC was configured for HA
access-vlan-id Indicates the VLAN ID if the vNIC isconfigured in a VLAN
trunk-mode bull truebull false (default)
Indicates if the vNIC is in ldquotrunkrdquo or ldquoaccessrdquo Ifthe vNIC was configured for Trunk Mode thisfield displays true False indicates that it wasconfigured for Access Mode
description A description for the vNIC if one was enteredwhen the vNIC was created
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] io-template ltIO profilenamegt vhbas
TABLE 6-4 Fields Displayed Using the show io-templatevnics Command (Continued)
Field Possible Values Description
Chapter 6 Working with IO Templates 147
Example
The above example displays the vHBA in the IO template cloud9template
OptionsTABLE 6-5 describes the fields available with the show io-templatevhbascommand
ServersYou display information about the servers configured for an IO Template using theshow io-templateservers command
show [rootFabMgrCLI[ofm] show io-template cloud9template vhbasname sto-cloud-name qos is-ha description------------------------------------------------------------------------------s_Cloud0vhba S_Cloud0 false1 record displayed
TABLE 6-5 Fields Displayed Using the show io-templatevhbas Command
Fields Possible Values Description
name The name of the vHBA for which the following fields aredisplayed
sto-cloud-name The name of the Storage Cloud with which the vHBA isassociated
qos The SAN QoS Profile configured for the vHBA
is-ha bull truebull false (default)
Indicates if the vHBA was configured for HA
description A description of the vHBA if one was entered when thevHBA was created
148 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxWhen you display server information for an IO Template you specify the name ofthe template by issuing the following command
Example
The above example displays the information about the server providing resources tothe IO Template cloud9template
OptionsTABLE 6-6 describes the fields displayed with the show io-templateserverscommand
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] io-template ltIO templatenamegt servers
roothawk[ofm] show io-template test servers------------------------------------------------------------------------------name COLEMANos Windows617600x64-30026driver-version 530211vnics 0vhbas 0bound nostate uptemplate-name testchassis-ports oregonServerPort11oregonServerPort11------------------------------------------------------------------------------
TABLE 6-6 Fields Displayed with the show io-templateservers command
Field Possible Values Description
name The name of the server being displayed
OS The name of the OS running on the server with which theIO Template is associated
driver-version The driver version running on the server
vnics The number of vNICs configured on the server
vhbas The number of vHBAs configured on the server
Chapter 6 Working with IO Templates 149
bound bull yesbull no
Indicates whether or not the server is bound to an IOProfile
state bull upbull down
The state of the physical server
template-name The name of the template associated with the server
chassis-ports The port string for the InfiniBand port on which thephysical server is connected to the Oracle FabricInterconnect The port string consists of the Oracle FabricInterconnect name and the Server Port number separatedby a colon () For example iowaServerPort18 indicates thatthe host server is connected to the Oracle FabricInterconnect named ldquoiowardquo through port 18 on iowarsquosInfiniBand fabric boardIf the host server is connected to multiple Oracle FabricInterconnects a port string is displayed for each connectionand the individual port strings are separated by a commaFor example rhode-islandServerPort6alabamaServerPort10 indicates two individualconnectionsmdashone connection to the Oracle FabricInterconnect name ldquorhode-islandrdquo and the other connectionto the Oracle Fabric Interconnect named ldquoalabamardquoIf the host server is connected through an interveningInfiniBand switch the switchrsquos GUID is listed in this fieldFor example the value ExtSw-2c90200419858-Port20indicates a connection to an intervening IB switch betweenthe host server and the Oracle Fabric Interconnect
Example outputrootFabMgrCLI[ofm] add io-template cloud9templaterootFabMgrCLI[ofm] set io-template cloud9template add vnic Cloud9vnic Cloud9rootFabMgrCLI[ofm] set io-template cloud9template add vhba s_Cloud0vhbaS_Cloud0rootFabMgrCLI[ofm] show io-template cloud9template------------------------------------------------------------------------------name cloud9templateiscsiboot-namesanboot-namedefault-gatewayapply-templatename truevnics 1vhbas 0description------------------------------------------------------------------------------1 record displayed
TABLE 6-6 Fields Displayed with the show io-templateservers command (Continued)
Field Possible Values Description
150 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Removing IO Resources
vNICsYou remove a vNIC from an IO Template using the set io-templateremovevnic command
SyntaxWhen you remove a vNIC from an IO Template you specify the name of the IOTemplate from which you wish to remove the vNIC as well as the name of thatvNIC Issue the following command
Example
The above example removes the vNIC called s_Cloud9vnic from your IO Templatecloud9template
vHBAsYou remove a vHBA from an IO Template using the set io-templateremove vhba command
SyntaxWhen you remove a vHBA from an IO Template you specify the name of the IOTemplate from which you wish to remove the vHBA as well as the name of thatvHBA Issue the following command
set io-template ltIO profile namegt remove vnic ltSpecify a vNIC namegt [-no-confirm]
rootFabMgrCLI[ofm] set io-template cloud9template remove vnic s_Cloud9vnic
set io-template ltIO profile namegt remove vhba ltSpecify a vHBA namegt [-no-confirm]
Chapter 6 Working with IO Templates 151
Example
The above example removes the vHBA called Cloud0vhba from the IO Templatecloud9template
IO TemplatesYou remove an IO Template using the remove io-template command
SyntaxWhen you delete the IO Template it is no longer available to any servers that useit Any servers that are running with vNICs and vHBAs provided through the IOTemplate will continue to run with the vNICs and vHBAs But the next time the IOTemplate is used the server will no longer be connected to the network and storageattached to the vNIC(s) and vHBA(s) that were in the deleted Template To delete anIO Template issue the following command
Example
The above example deletes the IO Template HRtemplate from your system
rootFabMgrCLI[ofm] set io-template cloud9template remove vhba s_Cloud0vhba
remove [-noconfirm] io-template ltIO template namegt [-no-confirm]
rootFabMgrCLI[ofm] remove io-template HRtemplate
152 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 7
Working with IO Profiles
This chapter describes how to provide the connection policy that specifies thenumber of vNICs and or vHBAs required for a specific server by using the CLI todefine IO Profiles This chapter contains the following topics
ldquoUnderstanding IO Profilesrdquo on page 153
ldquoCreating IO Profilesrdquo on page 154
ldquoPhysical Connectivityrdquo on page 155
ldquoDisplaying IO Profile Resourcesrdquo on page 158
ldquoRemoving an IO Profilerdquo on page 165
Understanding IO ProfilesIO Profiles provide a connection policy that specifies the number of vNICs andorvHBAs that are required for a specific server IO Profiles define the virtual IOresources for a particular server that is managed by Oracle Fabric Manager Thevirtual resources that you can define in an IO Profile include vNICs HA vNICsvHBAs HA vHBAs server profiles and Oracle Fabric Interconnect objects
An IO Profile is derived from an IO Template The IO Template provides theserverrsquos basic scope and connection type and is used to create one or more IOProfiles for a server It is the IO Profilemdashnot the IO Templatemdashthat actuallyconnects to a server When you connect an IO Profile to a server the vNICs andvHBAs in the Template are pushed to the server
The workflow for deploying connectivity through an IO Template is to
1 Create an IO Template (including vNIC andor vHBA resource specifications)
2 Create one or more IO Profiles from the IO Template
153
3 Connect the IO Profile to a physical server deploying the vNICs or vHBAs tothe server
You can also use IO Profiles to create vNICs and vHBAs directly on a physicalserver (without an IO Template) In this case the IO Profile is createdautomatically with the server name
Creating IO ProfilesWhen you create an IO Profile you specify the individual vNIC and vHBAconnections for each server The IO Profile provides the policy and the connectivityfor the vNIC network and vHBA storage resource
You can create up to 20 IO Profiles from one IO Template For example if sixservers require the same connectivity you can use the template to create six differentIO Profilesmdashone for each physical server requiring connectivity You can thenconnect each IO Profile to its corresponding server as needed This allows youprovide consistent server resources and connectivity for all six servers rather thancreating six different sets of vNICs and vHBAs You make these specifications oncethrough the IO Template and connect the servers when you need them
When you create multiple IO Profiles from the same Template you give them aname and Oracle Fabric Manager adds an enumerated suffix in the form of _x Forexample if you created six IO Profiles for your security auditing servers with thename ldquoAuditServersrdquo then the IO Profiles would be named ldquoAuditServer_1rdquothrough ldquoAuditServer_6rdquo Because of the suffix each IO Profile is a unique object inOracle Fabric Manager and as a result can be used and managed independent of theother five IO Profiles
Before using the commands in this section to create IO Profiles make sure youalready have your IO Template(s) created See Chapter 6 for the commands used tocreate IO Templates
Adding IO ProfileUse the add io-profile command to create a new IO Profile from an IOTemplate
154 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo add an IO Profile based on an IO Template name the IO Profile so that youcan associate it with a server For example ldquomontanardquo in the following example isthe name of a server and now it is the name of the IO Profile being defined Issuethe following command
Examples
The above example creates a new IO Profile called montana from the templatecloud9template
Physical ConnectivityAs part of configuring an IO Profile you can select the individual Oracle FabricInterconnects that connect the IO Profile to a server For example assume you havea dual-Oracle Fabric Interconnect environment but you want only one of the OracleFabric Interconnects to connect the IO Profile to the server Through the New IOProfile commands you can specify which Oracle Fabric Interconnects support one ormore IO Profiles By default any Oracle Fabric Interconnect managed by OracleFabric Manager can support the connection
An IO Profile contains the definition of your vNICs and vHBAs but it does notactually provide any connectivity until you connect that IO Profile to a server Onceconnected the vNICs and vHBAs contained in the IO Profile are pushed to thehost An IO Profile must be in the ldquodisconnectedrdquo state to be applied to a server Ifyou want to connect an IO Profile that is already connected to a server you mustexplicitly disconnect that IO Profile first You can also connect an IO Profile to aserver that is in any state but only when the server is fully up and online will theIO Profile support traffic
You can remove an IO Profile from a physical server that is in the ldquoconnectedrdquostate If you want to remove the vNICs and vHBAs from a server without deletingthe IO Profile you can simply disconnect the IO Profile All the connectivity inthe IO Profile remains intact and can be used again on the same server or onanother server By disconnecting the IO Profile you remove the serverrsquos networkand storage connections which causes a service interruption but does not affect theadmin or operational state of the server itself
add io-profile ltName of IO Profilegt ltName of IO Templategt
rootFabMgrCLI[ofm] add io-profile montana cloud9template
Chapter 7 Working with IO Profiles 155
Connecting an IO Profile to a Physical ServerTo connect an IO Profile to a physical server issue the set io-profileconnect command
SyntaxTo connect an IO Profile to a physical server issue the following command
Example
The above example connects the IO Profile montana to the physical servermontana
Disconnecting an IO Profile from a PhysicalServerBefore you can completely delete an IO Profile you must first disconnect the IOProfile from the physical server using the set io-profiledisconnectcommand
SyntaxTo disconnect an IO Profile from a physical server issue the following command
set io-profile ltName of IO Profilegt connect ltPhysical servergt [-lun=iSCSISAN Bootable LUN][-iqn=iSCSI IQN target] [-iqn-ha=ISCSI IQN Target for the Secondary termination (only use for HAVNICs] [-wwpn=SAN WWPN Target] [-wwpn-ha=SAN WWPN Target for the Secondary termination (onlyuse for HA VHBAs]
rootFabMgrCLI[ofm] set io-profile montana connect montana
set io-profile ltName of IO Profilegt disconnect
156 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The above command disconnects the physical server montana from the IO Profilemontana
Updating an IO ProfileFor IO Profiles that are already created you can make changes to them (and inturn the hostrsquos connectivity) without having to delete and recreate the IO ProfileUse the set io-profileupdate command to make real-time updates for aconfigured IO Profile
SyntaxTo update an IO Profile connected to a physical server issue the followingcommand
Options
rootFabMgrCLI[ofm] set io-profile montana disconnect
set io-profile ltName of IO Profilegt update io-profile [-description=Specify description] [-default-gateway=Specify Default gateway] [-san-boot-profile=Spoecify SAN Boot Profile] [-iscsi-boot-profile=Specify iSCSI BootProfile] [-tso=Does this vNIC do TSODefault=lsquofalsersquo] [-private=Is it PrivateDefault=lsquofalsersquo] [-lun-mask-profile=Specify LUN Mask Profile]
TABLE 7-1 Options for Updating an IO Profile
Option Possible Values Description
IO Profile name Specify a name for the IO Profile that you are updating
-description An optional description for the IO Profile you areupdating
-default-gateway Sets or changes the default gateway for the server that isusing the IO Profile
-san-boot-profile Sets or changes the SAN Boot Profile for the IO ProfileThe named SAN Boot Profile must already exist
-iscsi-boot-profile Sets or changes the iSCSI Boot Profile for the IO ProfileThe named iSCSI Boot Profile must already exist
Chapter 7 Working with IO Profiles 157
Example
The above command updates the IO Profile on the server montana by adding aSAN Boot Profile named SB14 and a LUN Mask named Compellent10
Displaying IO Profile Resources
vNICsUse the show io-profilevnics command to display information about thevNICs configured for an IO Profile
SyntaxTo display vNIC information for an IO Profile issue the following command
-tso bull truebull false (default)
If the host will be using TCP Segmentation Offload(TSO) specify either true or false to enable or disable thefeature
-private bull Truebull False (default)
Sets or changes the state of the Private vNIC feature forall vNICs using the IO Profile if you want all vNICsconnected to this IO Profile to be Private vNICs byindicating -private=true By default vNICs are notPrivate instead they are Public
-lun-mask-profile Sets or changes the LUN Mask Profile for the IO ProfileThe named LUN Mask Profile must already exist
rootFabMgrCLI[ofm] set io-profile montana update io-profile -san-boot-profile=SB14 -lun-mask-profile=Compellent10
show [-xml] [-list] [-table] [-sortby=Sort column] io-profile ltName of IO Profilegt vnics
TABLE 7-1 Options for Updating an IO Profile (Continued)
Option Possible Values Description
158 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
This example displays all vNICs associated with the IO Profile named scissors
FieldsTABLE 7-2 describes the fields available with the show io-profilevnicscommand
rootFabMgrCLI[ofm] show io-profile scissors vnics------------------------------------------------------------------------------parentname scissors-4c4c454400434e108059c3c04f4b4d31name eth6net-cloud-name discovered-network-cloudtermination arkansas145state upresourceUnavailableip-address 0000mac-address 001397025069is-ha falsedescription------------------------------------------------------------------------------parentname scissors-44454c4c4300104e8059c3c04f4b4d31name bug20568net-cloud-name discovered-network-cloudtermination texas147state upupip-address 0000mac-address 00139701F028is-ha falsedescription------------------------------------------------------------------------------parentname scissors-44454c4c4300104e8059c3c04f4b4d31name eth5net-cloud-name discovered-network-cloudtermination texas147state upupip-address 19216815205mac-address 00139701F025is-ha falsedescription------------------------------------------------------------------------------3 records displayed
Chapter 7 Working with IO Profiles 159
vHBAsUse the show io-profilevhbas command to display information about thevHBAs configured for an IO Profile
SyntaxTo display an IO Profilersquos vHBA information issue the following command
TABLE 7-2 Fields Displayed Using the show io-profile vnics Command
Fields Possible Values Description
parentname The name of the IO Profile and its parent server
name The name of the Ethernet port to which the vNIC isconnected
net-cloud-name The name of the Network Cloud with which the vNIC isassociated
termination The termination point for the vNIC The termination point iseither a port which is displayed in slotport notation or aLAG which is displayed in slotport notation
state The vNICrsquos administrative and operational state A state ofldquoupuprdquo indicates that the vNIC is operating correctly
ip-address The vNICrsquos IP address
mac-address The vNICrsquos MAC address This can either be staticallyassigned or automatically assigned from the Oracle FabricInterconnectrsquos pool
is-ha bull truebull false
Indicates if the vNIC is configured for HA
description A description of the vNIC if one was entered when the vNICwas created
show [-xml] [-list] [-table] [-sortby=Sort column] io-profile ltName of IO Profilegt vhbas
160 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The above example displays all vHBAs associated with the IO Profile named moe
FieldsTABLE 7-3 describes the fields displayed with the show io-profilevhbascommand
rootFabMgrCLI[ofm] show io-profile moe vhbas------------------------------------------------------------------------------parentname moe-534d4349000200259013002590138cd8name vh1Bsto-cloud-name discovered-storage-cloudtermination arkansas91state upupwwnn 500139710001511Ewwpn 500139700001511Eis-ha falsedescription------------------------------------------------------------------------------parentname moe-534d4349000200259013002590138cd8name vh1sto-cloud-name discovered-storage-cloudtermination texas91state upupwwnn 500139710000F12Bwwpn 500139700000F12Bis-ha falsedescription------------------------------------------------------------------------------2 records displayed
TABLE 7-3 Fields Displayed Using the show io-profilevhbas Command
Fields Possible Values Description
parentname The name of the IO Profile and its parent server
name The name of the vHBA for which the following information isdisplayed
sto-cloud-name The name of the Storage Cloud with which the vHBA is associated
termination The termination point (FC port) for the vHBA
state The administrative state of the vHBA A state of ldquoupuprdquo indicatesthat the vHBA is operating correctly
Chapter 7 Working with IO Profiles 161
IO Profiles
SyntaxTo display information about the IO Profiles defined in your Oracle Fabric Managerenvironment and the physical server to which each is connected issue the followingcommand
wwnn The vHBArsquos world wide network name
wwpn The vHBArsquos world wide port name
is-ha bull truebull false (default)
Indicates if the vHBA was configured for HA
description A description of the vHBA if one was entered when it was created
show [-xml] [-list] [-table] [-sortby=Sort column] io-profile ltName of IO Profilegtserver-profile
TABLE 7-3 Fields Displayed Using the show io-profilevhbas Command (Continued)
Fields Possible Values Description
162 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Examples
The example above shows the information displayed for an individual IO Profilersquosphysical server
rootFabMgrCLI[ofm] show io-profilename daisy-texashostnametemplatestate disconnecteddescriptionvnics 4vhbas 3------------------------------------------------------------------------------name dellblade10-arkansashostname dellblade10labcomtemplatestate updescriptionvnics 8vhbas 6------------------------------------------------------------------------------name dellblade13-arkansashostname dellblade13labcomtemplatestate updescriptionvnics 6vhbas 4------------------------------------------------------------------------------name dghruyj_30-3148344fc0b154801044320044454c4chostnametemplatestate disconnecteddescriptionvnics 0vhbas 0------------------------------------------------------------------------------The example above shows the information displayed for all IO Profiles beingmanaged by Fabric ManagerrootFabMgrCLI[ofm] show io-profile vmcto11_12 server-profileparentname name state chassis-name busy description------------------------------------------------------------------------------vmcto11_12 vmcto11_12 upunassigned arkansas false FM-created fromtemplate vmcto1 record displayed
Chapter 7 Working with IO Profiles 163
FieldsTABLE 7-4 describes the fields displayed with the show io-profile command
TABLE 7-4 Fields Displayed Using the show io-profile Command
Fields Possible Values Description
name The name of each configured IO Profile
hostname The name of the server on which the IOProfile is deployed If no server name isdisplayed the IO Profile is not connected toany server
template The name of the IO Template (if any) that islinked to the IO ProfileNote - It is possible to create an IO Profileand connect it to a server without creating anIO Template If no Template name isdisplayed then the IO Profile is not linked toan IO Template
state bull Up when the IO Profile is successfullyconnected to a server or server group
bull Connected when the IO Profile isconnected to a server
bull Disconnected (default) when the IOProfile is not connected to a server
bull Partial when the IO Profile is notcompletely connected to a server Thisstate requires your attention because itusually means that an error hasoccurred
Indicates the current state of the listed IOProfiles
description A description of the IO Profile if one wasentered when the profile was created
vnics The number of vNICs that are controlled bythe IO Profile
vhbas The number of vHBAs that are controlled bythe IO Profile
Boot Profile The name of the Boot Profile(s) that arecontrolled by the IO Profile
DefaultGateway
The default gateway that is controlled by theIO Profile
164 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Removing an IO ProfileYou can remove an IO Profile from your Oracle Fabric Manager environment at anytime as long as it not connected to a physical server If the IO Profile is connectedto a server use the set io-profiledisconnect command to disconnect itand then use the remove io-profile command to delete it from your OracleFabric Manager environment
Removing IO ProfilesWhen you delete an IO Profile you are completely removing the IO Profile itsvNICs and its vHBAs from your environment Deleting an IO Profile has no effecton the state of the server itself so an online server remains up and online runningany virtual network or virtual storage connections until another IO Profile isconnected
SyntaxTo delete and IO Profiles from your Oracle Fabric Manager environment issue thefollowing command
Examples
The above command deletes the IO Profile montana from Oracle Fabric Manager
remove [-noconfirm] io-profile ltName of IO Profilegt [-no-confirm]
rootFabMgrCLI[ofm] remove io-profile montana
Chapter 7 Working with IO Profiles 165
166 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 8
Working with Physical Servers
This chapter describes how to use the Oracle Fabric Manager CLI (CLI) to configurephysical server connections and how to work with server groups using CLIcommands This chapter has the following topics
ldquoPhysical Server Connectionsrdquo on page 167s
ldquoDisplaying Physical Server Resource Informationrdquo on page 169
ldquoDisplaying Physical Server Resource Informationrdquo on page 169
ldquoWorking with Server Groupsrdquo on page 178
Physical Server ConnectionsYou can connect physical servers to or disconnect them from IO Profiles using theset physical-server command as described below
Connecting a Physical ServerAn IO Profile is contains the definition of your vNICs and vHBAs but it does notactually provide connectivity until you connect that IO Profile to a server If aserver is not already connected to an IO Profile you can connect it to any IOProfile in a ldquodisconnectedrdquo state When the IO Profile is connected to a server ittakes a short time to push the network and storage connectivity to the host Onceestablished the IO Profile transitions from a ldquodisconnectedrdquo state to the ldquouprdquo stateIn this state traffic can flow to and from the server If the IO Profile transitionsfrom ldquodisconnectedrdquo state to ldquopartialrdquo state an error has prevented the IO Profilefrom completely connecting to the server This state requires your attention to fix it
167
Once connected the vNICs and vHBAs contained in the IO Profile are pushed tothe host The set physical-serverconnect command connects a physicalserver to an IO Profile For more information about creating and working with IOProfiles see Chapter 7
SyntaxTo connect a physical server to an IO Profile issue the following command
Specify the physical server name and IO Profile name you wish to connect
Example
The above example connects the physical server bering to the IO Profile bering
Disconnecting a Physical ServerYou can remove an IO Profile that is already bound to a physical server When youunbind an IO Profile all vNICs and vHBAs that are assigned to the server arecompletely removed As a result traffic no longer moves between the server thedata and the storage networks to which it is connected When the IO Profile isdisconnected from a server that IO Profile is in the ldquoupdownrdquo state The serveritself remains online but it is no longer connected to the Oracle Fabric Interconnectat the network level The server is still physically connected to the Oracle FabricInterconnect through the cable between serverrsquos HCA and the Oracle FabricInterconnect
The set physical-serverdiscommect command disconnects a physicalserver from an IO Profile For more information on creating and working with IOProfiles see Chapter 7
set physical-server ltPhysical server namegt connect ltIO Profile namegt [-lun=ISCSISAN bootablelun] [-iqn=ISCSI IQN Target] [-iqn-ha=ISCSI IQN Target for the Secondary termination (only use for HAVNICs)] [-wwpn=SAN WWPN Target] [-wwpn-ha=SAN WWPN Target for the Secondary termination (onlyuse for HA VHBAs)]
rootFabMgrCLI[ofm] set physical-server bering connect bering
168 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo disconnect a physical server from an IO Profile issue the following command
Specify the physical server name and IO Profile name you wish to disconnect fromeach other
Example
The above example removes the connection between the physical server bering andthe IO Profile bering
Displaying Physical Server ResourceInformationPhysical servers are the host devices on which your applications run They connectto the Oracle Fabric Interconnect through high-speed interconnect HCAs that areinstalled in each server The Oracle Fabric Interconnect and Oracle Fabric Managersupport commonly used hypervisors and server types including Oracle LinuxMicrosoft Windows and VMware ESXi For information about specific operatingsystems and hypervisors supported see the Compatibility Matrix
You can display the following information about a physical server
ldquoGeneral Informationrdquo on page 169
ldquovNICsrdquo on page 172
ldquovHBAsrdquo on page 174
ldquoServer Groupsrdquo on page 176
ldquoStatisticsrdquo on page 176
General InformationUse the show physical-server command to display general information abouta specific physical server being managed by Oracle Fabric Manager
set physical-server ltPhysical server namegt disconnect
rootFabMgrCLI[ofm] set physical-server bering disconnect bering
Chapter 8 Working with Physical Servers 169
SyntaxTo display general information about one or all physical servers issue the followingcommand
Example
The example above displays general information about the physical server beringYou can also generate a list of all physical servers being managed by Oracle FabricManager by eliminating the server name from the command The command showphysical-server provides the same information above for each server in yourOracle Fabric Manager environment
FieldsTABLE 8-1 describes the fields available with the show physical-servercommand
show [-xml] [-list] [-table] [-sortby=Sort column] physical-server ltphysical servernamegt [-detail]
rootFabMgrCLI[ofm] show physical-server bering------------------------------------------------------------------------------name beringos Linux2618-238el5xg-371LX1x86_64driver-version 530300vnics 0vhbas 0bound nostatetemplate-namechassis-ports montanaServerPort20------------------------------------------------------------------------------1 record displayed
170 Oracle Fabric Manager Command Reference (Beta) bull September 2014
TABLE 8-1 Fields Displayed Using the show physical-server Command
Fields Possible Values Description
name Indicates the name of the server
os bull Linuxbull Windowsbull Citrixbull VMware
Indicates the hypervisor or host operating system andversion currently running on that server
driver-version The version of Oracle OVN host driver currently in use onthe host server
vnics The number of vNICs that are configured on the physicalserver
vhbas The number of vHBAs that are configured on the physicalserver
Chapter 8 Working with Physical Servers 171
vNICsWhen a physical server is bound to an IO Template it has virtual connectivitythrough vNICs vHBAs or both Use the show physical-servervnicscommand to display information about each vNIC configured for a physical server
state bull Upbull Downbull Unboundbull Initializingbull Partial
The current administrative state of the IO Profile that isdeployed on the physical server
template-name The name of the IO Template bound (if any) to thephysical server
chassis-ports The port string for the InfiniBand port on which thephysical server is connected to the Oracle FabricInterconnect The port string consists of the Oracle FabricInterconnect name and the Server Port number separatedby a colon () For example iowaServerPort18 indicatesthat the host server is connected to the Oracle FabricInterconnect named ldquoiowardquo through port 18 on iowarsquosInfiniBand fabric boardIf the host server is connected to multiple Oracle FabricInterconnects a port string is displayed for eachconnection and the individual port strings are separatedby a comma For example rhode-islandServerPort6alabamaServerPort10 indicates two individualconnectionsmdashone connection to the Oracle FabricInterconnect name ldquorhode-islandrdquo and the otherconnection to the Oracle Fabric Interconnect namedldquoalabamardquoIf the host server is connected through an interveningInfiniBand switch the switchrsquos GUID is listed in this fieldFor example the value ExtSw-2c90200419858-Port20indicates a connection to an intervening IB switchbetween the host server and the Oracle FabricInterconnect
TABLE 8-1 Fields Displayed Using the show physical-server Command (Continued)
Fields Possible Values Description
172 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo display information about the vNICs configured on a physical server issue thefollowing command
Example
The example above displays all vNICs associated with the Physical Server namedscissors
FieldsTABLE 8-2 describes the fields available with the show physical-servervnics command
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] physical-server ltPhysicalservergt vnics
rootFabMgrCLI[ofm] show physical-server scissors vnics------------------------------------------------------------------------------parentname scissorsname bug20568net-cloud-name discovered-network-cloudtermination texas147state upupip-address 0000mac-address 00139701F028is-ha falsedescription------------------------------------------------------------------------------parentname scissorsname eth5net-cloud-name discovered-network-cloudtermination texas147state upupip-address 19216815205mac-address 00139701F025is-ha falsedescription------------------------------------------------------------------------------2 records displayed
Chapter 8 Working with Physical Servers 173
vHBAsWhen a physical server is bound to an IO Template it has virtual connectivitythrough vNICs vHBAs or both Use the show physical-servervhbascommand to display information about each vHBA configured for a physical server
SyntaxTo display information about the vHBAs configured on a physical server issue thefollowing command
TABLE 8-2 Fields Displayed Using the show physical-server vnics Command
Fields Possible Values Description
parentname Indicates the name of the server for which the vNICs areincluded
name The name of the Ethernet port to which the vNIC isconnected
net-cloud-name The name of the Network Cloud with which the vNIC isassociated
discovered-network-cloud The total number of Network Cloud ports known to OracleFabric Manager
termination The termination point for the vNIC The termination pointis either a port which is displayed in slotport notation ora LAG which is displayed in slotport notation
state The vNICrsquos administrative and operational state A state ofldquoupuprdquo indicates that the vNIC is operating correctly
ip-address The vNICrsquos IP address
mac-address The vNICrsquos MAC address This can either be staticallyassigned or automatically assigned from the Oracle FabricInterconnectrsquos pool
is-ha bull truebull false
Indicates if the vNIC is configured for HA
description A description of the vNIC if one was entered when thevNIC was created
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] physical-server ltPhysicalservergt vhbas
174 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The example above displays all vHBAs associated with the physical server namedscissors
FieldsTABLE 8-3 describes the fields available with the show physical-server vhbascommand
rootFabMgrCLI[ofm] show physical-server scissors vhbas------------------------------------------------------------------------------parentname shaker35name lun2Bsto-cloud-name discovered-storage-cloudtermination arkansas91state upupip-address 5001397100015114wwnn 5001397100015114wwpn 5001397000015114is-ha falsedescription------------------------------------------------------------------------------parentname bug-shaker35name lun1Bsto-cloud-name discovered-storage-cloudtermination arkansas91state upupip-address 5001397100015113wwnn 5001397100015113wwpn 5001397000015113is-ha falsedescription------------------------------------------------------------------------------2 records displayed
Chapter 8 Working with Physical Servers 175
Server Groups
StatisticsYou can display the IO statistics on a physical server using the physical-serverstats command The values displayed also show the unit ofmeasurement For example 1G indicates that 1 Gbps is currently in use for inbound(ingress) or outbound (egress) traffic The Ingress and Egress values can be affectedby Network and Storage QoS Profile (if any) assigned to the server
TABLE 8-3 Fields Displayed Using the show physical-server vhbas Command
Fields Possible Values Description
parentname Indicates the name of the server for which the vHBAs areincluded
name The name of the FC port to which the vHBA isconnected
sto-cloud-name The name of the Storage Cloud with which the vHBA isassociated
termination The termination point for the vHBA The terminationpoint is either a port which is displayed in slotportnotation
state The vHBArsquos administrative and operational state A stateof ldquoupuprdquo indicates that the vHBA is operatingcorrectly
wwnn-address The vHBArsquos world wide network name address
wwpn-address The vHBArsquos world wide port name address This addresscan either be statically assigned or automaticallyassigned from the Oracle Fabric Interconnectrsquos pool
is-ha bull truebull false
Indicates if the vHBA is configured for high availability
description A description of the vHBA if one was entered when thevNIC was created
show physical-server ltName of Physical Servergt server-groups
176 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo display information about the server profiles configured for a physical serverissue the following command
Example
The example above displays real-time statistic information about the physical servernamed jed
FieldsTABLE 8-4 describes the fields available with the show physical-serverstatscommand
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] physical-server ltPhysicalservergt stats
rootFabMgrCLI[ofm] show physical-server jed stats------------------------------------------------------------------------------name jednetwork-ingress 18632872000network-egress 984417184000storage-ingress 0000000storage-egress 0000000total-ingress 18632872000total-egress 984417184000------------------------------------------------------------------------------1 record displayed
TABLE 8-4 Fields Displayed Using the show physical-server stats Command
Fields Description
name The name of the server for which the real-time statistics are being displayed
network-ingress The amount of inbound network traffic currently in use on the server
network-egress The amount of outbound network traffic currently in use on the server
storage-ingress The amount of inbound storage traffic currently in use on the server
Chapter 8 Working with Physical Servers 177
Working with Server GroupsSever groups enable you to use some of Oracle Fabric Managerrsquos features to managemultiple servers at once instead of managing individual servers For example witha server group of three servers you can perform one failover on the entire servergroup instead of having to failover each server on its own (a total of three failovers)
When you create server groups you are gathering individual servers in the networkand putting them together in a logical construction that acts like a container Allservers in the group are treated as one entity for many configuration andmanagement tasks For example assume a server group has 10 servers in it You canmigrate the servers by migrating the server group as a whole instead of performing10 migrations one for each server Or you can assign the same IO Template to allservers within the group so that all servers have an identical configuration
You can group servers as needed for your network but it is common to have aunifying theme for the server group For example grouping servers by departmentor business unit by application type or by hardware configuration is common
This section describes
ldquoCreating a Server Group from Selected Serversrdquo on page 178
ldquoDisplaying Server Groupsrdquo on page 179
ldquoRemoving Server Groupsrdquo on page 180
Creating a Server Group from Selected ServersTo create a new server group you first add it to Oracle Fabric Manager using theadd server-group command and then you add physical servers to that groupusing the set server-groupadd command
storage-egress The amount of outbound storage traffic currently in use on the server
total-ingress The total amount of inbound (network and storage) traffic currently in use on theserver
total-egress The total amount of outbound (network and storage) traffic currently in use on theserver
TABLE 8-4 Fields Displayed Using the show physical-server stats Command (Continued)
Fields Description
178 Oracle Fabric Manager Command Reference (Beta) bull September 2014
SyntaxTo create a new server group and add physical servers to that group issue thefollowing commands
Example
The example above creates the server group called HRserverGroup adds twoservers (bering and scissors) to that group and displays all of the server groupsdefined to Oracle Fabric Manager
Displaying Server GroupsWith the show server-group command you can
Display the server groups in which a physical server is a member
Display the physical servers that are part of a server group
SyntaxTo display the server groups in which a physical server is a member issue thefollowing command
add server-group ltSpecify Server Group namegt [-description=Specify Description]
set server-group ltServer Group namegt add ltPhysical servergt
rootFabMgrCLI[ofm] add server-group HRserverGrouprootFabMgrCLI[ofm] set server-group HRserverGroup add beringrootFabMgrCLI[ofm] set server-group HRserverGroup add scissorsrootFabMgrCLI[ofm] show server-groupname servers description------------------------------------------------------------------------------HRserverGroup scissorsbering1 record displayed
show [-xml] [-list] [-table] [-sortby=Sort column] physical-server ltphysical servernamegt server-group
Chapter 8 Working with Physical Servers 179
To display the physical servers that are part of a server group issue the followingcommand
Examples
The example above displays the server group (HRserverGroup) to which thephysical server bering belongs
The above example displays the physical servers that are part of the server groupHRserverGroup
Removing Server GroupsTo remove a physical server from server group use the set server-groupremove command
SyntaxTo remove a physical server from a server group issue the following commands
show [-xml] [-list] [-table] [-sortby=Sort column] server-group ltServer Group namegt
rootFabMgrCLI[ofm] show physical-server bering server-groupparentname name servers description------------------------------------------------------------------------------bering HRserverGroup 21 record displayed
rootFabMgrCLI[ofm] show server-group HRserverGroupname servers description------------------------------------------------------------------------------HRserverGroup scissorsbering1 record displayed
set server-group ltServer Group namegt remove ltPhysical servergt
180 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
The example above removes the physical server scissors from the server groupHRserverGroup
Removing Virtual IO Resources from ServerGroupsYou can remove all virtual IO resources from server group using the set server-groupunbind command
SyntaxTo remove all virtual IO resources from a server group issue the followingcommands
Example
The example above removes the virtual resources from the server groupHRserverGroup
Removing Server GroupsYou can remove a server group from Oracle Fabric Manager using the removeserver-group command
rootFabMgrCLI[ofm] set server-group HRserverGroup remove scissors
set server-group ltServer Group namegt unbind ltPhysical servergt
rootFabMgrCLI[ofm] set server-group HRserverGroup unbind
Chapter 8 Working with Physical Servers 181
SyntaxTo remove all virtual IO resources from a server group issue the followingcommands
Example
The example above removes the server group HRserverGroup
remove [-noconfirm] server-group ltServer Group namegt
rootFabMgrCLI[ofm] remove server-group HRserverGroup
182 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 9
Working with Boot Profiles
This chapter provides instructions for defining SAN and iSCSI Boot Profiles usingthe CLI This chapter has the following topics
ldquoUnderstanding and Working with SAN Boot Profilesrdquo on page 183
ldquoUnderstanding and Working with iSCSI Boot Profilesrdquo on page 190
Understanding and Working with SANBoot ProfilesSAN Boot enables you to boot a server or virtual machine from a SAN disk accessedthrough a vHBA The disk is identified by a target World Wide Port Name (WWPN)and Logical Unit Number (LUN) ID on a storage disk array as shown in FIGURE 9-1
183
FIGURE 9-1 SAN Boot Topology
All computers boot from local boot devices However to boot from a ldquoremoterdquodevice you need to make the device appear to be local Oraclersquos ROM BIOSextensions for HCA cards perform the following boot-sequence
1 On power up the serverrsquos BIOS initializes the necessary hardware
2 The host server establishes a connection to the Oracle Fabric Interconnect wherethe system determines which vHBA to use and how to set up the communicationpath from the host server to the hard disk in the storage array
3 The BIOS reads the boot sequence where the Oracle HCA is the first boot device(highest priority) in the list
Note ndash Ensure that the Oracle HCA is moved up from the ldquoExcluded from bootorderrdquo list into the ldquoBoot priority orderrdquo list The HCA card appears as a genericldquoPCI SCSIrdquo device
1 The OS Loader is installed which is specific to each OS
For Linux the loader is GRand Unified Bootloader (GRUB) This loader resides inthe boot sector of a bootable disk The software responsible for loading the GRUBloader is held in the Option ROM of the HCA and runs in the context of the BIOS
184 Oracle Fabric Manager Command Reference (Beta) bull September 2014
When the loader runs it typically reads a configuration file from the disk andallows the user to boot the operating system in a number of configurations ForGRUB this file is called grubconf
For Linux GRUB will load the kernel and initrd into memory and begin runningthe kernel The root file system (rootfs) given to the kernel will be the initrd Aninitial RAM disk (initrd) is a compressed CPIO image (or compressed ext2 imagefor older kernels)
The kernel runs a program in the initrd in the location init Typically thisprogram is a shell script that loads the kernel modules and mounts the real rootfile system
2 BIOS interrogates the hard disk to determine if it is present and if the disk isbootable (or not) If the hard disk is bootable the Oracle HCA functions as a hard-disk controller BIOS begins to treat the Oracle HCA as the local ID controller forthe local hard disk
3 The data (Linux kernel) is sent from the hard disk and loaded into memory Thekernel begins to work and loads all the necessary drivers into the host serverAdditional information abut preparing the host server for SAN Booting over anOracle vHBA is available through the Remote Booting Guide
Creating a SAN Boot ProfileWhen the physical server has been installed with an Oracle HCA with the SAN BootOption ROM SAN Boot requires a vHBA and a SAN Boot Profile to support serverboot up from SAN disk In addition through Oracle Fabric Manager you will needto create a Preboot Server Profile if the server has never been booted up withOraclersquos OVN host drivers installed and connected to the Oracle FabricInterconnectmdashfor example a bare metal install
As part of creating a SAN Boot Profile you specify the root file system through aLUN on a target The SAN Boot Profile supports different ways of mounting the rootfile system
direct which allows you to specify a device name for the LUN that contains theboot image and the root file system and always use that device name Otherwisewhen devices are discovered you cannot guarantee that the SAN boot device isused consistently
static which allows you to manually specify the location of the SAN bootinformation and configure SAN booting on the host server
logical volume manager which allows you to specify a group and volume thatcontain the root file system
Chapter 9 Working with Boot Profiles 185
Be aware that the boot image must be entirely contained within one LUN The bootimage file cannot be striped across multiple LUNs The root file system must also beentirely contained within one LUN
SyntaxWhen you configure a SAN Boot vHBA the vHBA supports both the SAN Boot andthe vHBA functionality To create a SAN Boot Profile issue the following command
To change the properties of a SAN Boot Profile you can issue the followingcommand
Example
The example above creates a new logical volume manager SAN Boot Profile namedsanboot_2 The name of the serverrsquos boot device that will receive the SAN bootinformation (kernel and initrd) off the SAN is VolGroup00 and LogVol00 is the nameof the volume on which the SAN Boot information will be located
FieldsTABLE 9-1 describes the fields available with the add and create san-host-profile commands
add san-boot-profile ltSpecify a SAN profilegt [-description=Specify Description][-mount-type=Specify Mount type] [-mount-device=Specify Device name] [-group-name=SpecifyGroup name] [-volume-name=Specify Volume name]
set san-boot-profile ltSAN profile namegt [-description=Specify Description] [-mount-type=Specify Mount type] [-mount-device=Specify Device name] [-group-name=Specify Group name][-volume-name=Specify Volume name]
rootFabMgrCLI[ofm] add san-boot-profile sanboot_2 -mount-type=lvm -group-name=VolGroup00 -volume-name=LogVol00
186 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Displaying SAN Boot Profile DetailsYou can display information about all of the SAN Boot Profiles defined in yourOracle Fabric Manager environment or for a single profile using the show san-boot-profile command
SyntaxTo display SAN Boot Profile information issue the following command
TABLE 9-1 Fields Specified Using the add and create san-host-profile Commands
Fields Possible Values Description
name Specify the name of the new SAN Boot Profile or existing SAN BootProfile that you are adding or changingThe name can be an alphanumeric character string and typicallyrelates to the server(s) that use the SAN Boot Profilemdashfor exampleLinuxFinance for all the Linux servers in the Finance server group
-description Specify a description of the SAN Boot Profile
-mount-type bull staticbull lvmbull direct
Specify the mount type which can be static logical volume manager ordirect attached
-mount device If the mount type is direct enter the name of the serverrsquos boot devicethat will receive the SAN Boot information (kernel and initrd) from theSAN
-group-name If you are creating a logical volume manager SAN Boot Profile specifythe name of the serverrsquos boot device that will receive the SAN bootinformation (kernel and initrd) off the SAN
-volume-name If you are creating a logical volume manager SAN Boot Profile specifythe name of the volume on which the SAN Boot information is located
show [-xml] [-list] [-table] [-sortby=Sort column] san-boot-profile ltSAN boot profilenamegt
Chapter 9 Working with Boot Profiles 187
Example
The above example lists information for all SAN Profile defined in the environmentTo display information for only one profile specify the profile name in the command(for example show san-boot-profile sanboot_3)
FieldsTABLE 9-2 describes the fields displayed with the show san-boot-profilecommand
rootFabMgrCLI[ofm] show san-boot-profile------------------------------------------------------------------------------name sanboot_1mount-type lvmgroup-name VolGrop00volume-name LogVol00mount-deviceiocloud-referenceiotemplates 0description------------------------------------------------------------------------------name sanboot_2mount-type lvmgroup-name VolGroup00volume-name LogVol00mount-deviceiocloud-referenceiotemplates 0description------------------------------------------------------------------------------name sanboot_3mount-type staticgroup-namevolume-namemount-deviceiocloud-referenceiotemplates 0description------------------------------------------------------------------------------3 records displayed
188 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Deleting a SAN Boot ProfileYou can delete a SAN Boot Profile from your Oracle Fabric Manager environmentusing the remove san-boot-profile command
SyntaxTo remove a SAN Boot Profile issue the following command
TABLE 9-2 Fields Displayed Using the show san-boot-profile Command
Fields Possible Values Description
name The name of the SAN Boot Profile for which the information isbeing displayed
mount-type bull staticbull lvmbull direct
The SAN Boot Profilersquos mount type which can be static logicalvolume manager or direct attached
group-name For a logical volume manager SAN Boot Profile this is the name ofthe serverrsquos boot device that receives the SAN boot information(kernel and initrd) off the SAN
volume-name For a logical volume manager SAN Boot Profile this is the name ofthe volume on which the SAN Boot information is located
mount-device If the mount type is direct this is the name of the serverrsquos bootdevice that receives the SAN Boot information (kernel and initrd)from the SAN
iocloud-reference
If this is a dual path bootable IO Template (provides two paths tothe same LUN so that a single point of failure through the OracleFabric Interconnectrsquos fabric is eliminated) this is the name of theStorage Cloud that terminates the vHBA on a FC port
iotemplates The number of associated IO Templates providing the vHBA thatconnects to the LUN in the SAN where the servers bootinformation resides (kernel boot image and so on)
description A description of the SAN Boot Profile if one was entered when theprofile was created
remove [-noconfirm] san-boot-profile ltSAN boot profile namegt
Chapter 9 Working with Boot Profiles 189
Example
The example above removes the SAN Boot Profile sanboot_1 from the Oracle FabricManager environment
Understanding and Working with iSCSIBoot ProfilesThe Oracle Fabric Interconnect supports booting a Linux server over a vNIC usingan iSCSI connection FIGURE 9-2 illustrates the topology used to achieve iSCSIbooting
FIGURE 9-2 Linux Server iSCSI Boot Topology
TABLE 9-3 lists some terminology specific to iSCSI booting
rootFabMgrCLI[ofm] remove san-boot-profile sanboot_1
190 Oracle Fabric Manager Command Reference (Beta) bull September 2014
When configuring iSCSI boot you perform the same general steps as for any remotebooting setup
1 Install the SAN volume with the necessary bits
Note ndash iSCSI boot uses the same initrd that Linux SAN Boot uses You cannot usethe supported Linux installers over iSCSI You can find additional affirmation aboutpatching the Anaconda installer and installing the boot disk in the Remote BootingGuidersquos ldquoiSCSI Bootingrdquo chapter
Alternatively you can install over FC to the disk and then have your server bootover iSCSI The iSCSI install options require a temporary FC or Ethernet connectionto the volume
2 Configure the Oracle Fabric Interconnect with the required virtual IO resourcesCreate a vNIC and server profile using either DHCP or static addressing
3 Configure the host server with drivers and firmware to enable remote boot tooccur
To configure iSCSI booting you will need
the Server GUID
the LUN from which the server will be booting This is the LUN where theserverrsquos boot information is located on the iSCSI storage array The Oracle vNICmust be connected to this LUN to provide a path for the boot information to reachthe server on which the vNIC is deployed
the target IQN (T-IQN) which you can get by logging into the storage
the initiator IQN I-IQN) which you can get by displaying the vNIC propertiesOn the Oracle Fabric Interconnect you can get this information by issuing theshow server-profile ltprofile-namegt iscsi-boot -detail commandThe -detail qualifier is required to display the I-IQN
TABLE 9-3 iSCSI Boot Terms
Term Definition
initiator The host server that is booting over an iSCSI connection
target The iSCSI array
IQN An iSCSI qualified name of an initiator or target
target IP The IP address of the target filer or array
Chapter 9 Working with Boot Profiles 191
Creating and Changing an iSCSI Boot ProfileCreating an iSCSI Boot Profile enables the host server to access its boot informationover a boot capable vNIC that connects the server to its boot information The iSCSIboot information is supported on the server through an Oracle HCA and optionROM which must be present in the host server that will boot over an iSCSIconnection If the Oracle HCA and option ROM are not yet installed you shouldinstall them now
When you create an iSCSI Boot Profile you enter the necessary information forbooting the server over a vNIC that connects to its boot information on storageHowever the bootable vNIC that connects the server to the network is notconfigured as part of creating an iSCSI Boot Profile The profile must be connected toan IO Template that contains a valid bootable vNIC for iSCSI booting Forinformation about creating an IO Template see Chapter 6
As part of creating an iSCSI Boot Profile you specify the root file system through aLUN on a target The iSCSI Boot Profile three ways of mounting the root file system
direct which allows you to specify a device name for the LUN that contains theboot image and the root file system and always uses that device nameOtherwise when devices are discovered you cannot guarantee that the SAN bootdevice is used consistently
static which allows you to manually specify the location of the SAN bootinformation and configure SAN booting on the host server
logical volume manager which allows you to specify a group and volume thatcontain the root file system
Be aware that the boot image must be entirely contained within one LUN The bootimage file cannot be striped across multiple LUNs The root file system must also beentirely contained within one LUN You also must specify the target IP AddressGroup which is the IP address of the target filer or array
When you configure an iSCSI Boot vNIC the vNIC supports both iSCSI Boot andstandard virtual IO functionality
SyntaxTo create an iSCSI Boot Profile issue the following command
add iscsi-boot-profile ltSpecify a iSCSI boot profilegt ltSpecify Target addressgt [-target-portal-group=Specify Target portal group] [-protocol=Specify Protocol Id Default=6] [-port=Specify Port IdDefault=3260] [-description=Specify Description] [-mount-type=Specify Mount type][-mount-device=Specify Device name] [-group-name=Specify Group name] [-volume-name=SpecifyVolume name]
192 Oracle Fabric Manager Command Reference (Beta) bull September 2014
To change the properties of an iSCSI Boot Profile you can issue the followingcommand
Example
The above example sets IP address of the iSCSI Boot Profile iscsiboot_3 and definesits mount type as direct
FieldsTABLE 9-4 describes the fields you specify with the add and set iscsi-boot-profile commands
set iscsi-boot-profile ltiSCSI boot profile namegt [-description=Specify Description][-target-address=Specify Target address] [-target-portal-group=Specify Target portal group][-protocol=Specify Protocol Id Default=6] [-port=Specify Port Id Default=3260] [-mount-type=Specify Mount type] [-mount-device=Specify Device name] [-group-name=Specify Group name][-volume-name=Specify Volume name]
rootFabMgrCLI[ofm] set iscsi-boot-profile iscsiboot_3 -target-address=1721612 mount-type=direct
TABLE 9-4 Fields Displayed Using the add and set iscsi-boot-profile Commands
Fields Possible Values Description
name Specify an alphanumeric character string that will namethe iSCSI Boot Profile that you are creating
-target-address Specify the IP Address group for the filer or array thatcontains the serverrsquos iSCSI Boot information
-target-portal-group Specify the IP address for the iSCSI Portal GroupDepending on your iSCSI storage array this field mightnot be required
-protocol Default=6 Specify the number of the protocol that will support theiSCSI communication This field is populated with thedefault value 6 but you can change the communicationprotocol number if you need to
-port Default=3260 Specify the port number that will support the iSCSIcommunication between the server and the location ofthe serverrsquos iSCSI Boot information This field ispopulated with the default value 3260 but you canchange the communication port number if you need to
Chapter 9 Working with Boot Profiles 193
Displaying an iSCSI Boot ProfileYou can display information about all of the iSCSI Boot Profiles defined in yourOracle Fabric Manager environment or for a single profile using the show iscsi-boot-profile command
SyntaxTo display iSCSI Boot Profile information issue the following command
-description As an option you can enter an alphanumeric characterstring that describes the iSCSI Boot Profile that you arecreating or changing
-mount-type bull staticbull lvmbull direct
Specify the mount type which can be static logicalvolume manager or direct attached
-mount-device If you are creating or changing a direct attached iSCSIBoot Profile specify the name of the serverrsquos bootdevice that will receive the iSCSI boot information
-group-name If you are creating or changing a logical volumemanager iSCSI Boot Profile specify the name of theVolume Group that contains the volume where theserverrsquos iSCSI Boot information is located
-volume-name If you are creating or changing a logical volumemanager iSCSI Boot Profile specify the name of thevolume on which the serverrsquos iSCSI Boot information islocated
show [-xml] [-list] [-table] [-sortby=Sort column] iscsi-boot-profile ltSAN boot profilenamegt
TABLE 9-4 Fields Displayed Using the add and set iscsi-boot-profile Commands (Continued)
Fields Possible Values Description
194 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example
Fields
rootFabMgrCLI[ofm] show iscsi-boot-profile------------------------------------------------------------------------------name iscsiboot_1target-address 1921688108target-portal-groupport 3260protocol 6mount-type directgroup-namevolume-namemount-deviceiocloud-referenceiotemplates 0description------------------------------------------------------------------------------name iscsiboot_2target-address 1124target-portal-groupport 3260protocol 6mount-type directgroup-namevolume-namemount-deviceiocloud-referenceiotemplates 0description------------------------------------------------------------------------------name iscsiboot_3target-address 1721612target-portal-groupport 3260protocol 6mount-type directgroup-namevolume-namemount-deviceiocloud-referenceiotemplates 0description------------------------------------------------------------------------------3 records displayed
Chapter 9 Working with Boot Profiles 195
TABLE 9-5 describes the fields displayed with the add and set iscsi-boot-profile commands
TABLE 9-5 Fields Displayed Using the add and set iscsi-boot-profile Commands
Fields Possible Values Description
name The name of the iSCSI Boot Profile
-target-address The IP Address of the filer or array that contains the serverrsquosiSCSI Boot information
-target-portal-group
Specify the IP address for the iSCSI Portal Group Depending onyour iSCSI storage array this field might not be required
-port Default=3260 The port number that supports the iSCSI communicationbetween the server and the location of the serverrsquos iSCSI Boot information The default value is 3260
-protocol Default=6 The protocol number used for communication between theserver and the target containing its iSCSI boot information Thedefault value is 6
-mount-type bull staticbull lvmbull direct
The type of mount configured on the iSCSI Boot vNIC
-group-name The logical volume manager (LVM) group name If the mounttype is LVM this field displays the group name
-volume-name The name of the logical volume that LVM uses for the root filesystem mount point
-mount-device The name of the device that contains the root file system mountpoint for the iSCSI Boot Profile
iocloud-reference If this is a dual path bootable IO Template (provides two pathsto the same LUN so that a single point of failure through theOracle Fabric Interconnectrsquos fabric is eliminated) this is thename of the Network Cloud that terminates the vNIC on anEthernet port
iotemplates The number of associated IO Templates providing the vHBAthat connects the LUN in the SAN where the serverrsquos bootinformation (kernel boot image and so on)
-description As an option you can enter an alphanumeric character stringthat describes the iSCSI Boot Profile that you are creating orchanging
196 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Deleting an iSCSI Boot ProfileYou can delete an iSCSI Boot Profile from your Oracle Fabric Manager environmentusing the remove iscsi-profile command
SyntaxTo remove a iSCSI Boot Profile issue the following command
Example
The example above removes the iSCSI Boot Profile iscsiboot_3 from the Oracle FabricManager environment
remove [-noconfirm] iscsi-boot-profile ltiSCSI boot profile namegt
rootFabMgrCLI[ofm] remove iscsi-boot-profile iscsiboot_3
Chapter 9 Working with Boot Profiles 197
198 Oracle Fabric Manager Command Reference (Beta) bull September 2014
CHAPTER 10
Oracle Fabric Manager CLI QuickReference
This chapter is a quick reference of all the commands in the Oracle Fabric ManagerCLI Click the link below to display a table of commands related to the topic
ldquoRole Group Mappingrdquo on page 200
ldquoDomain Group Mappingrdquo on page 202
ldquoPVI Cloudrdquo on page 203
ldquoApplicationsrdquo on page 205
ldquoNetwork Cloudsrdquo on page 207
ldquoStorage Cloudsrdquo on page 211
ldquoIO Templatesrdquo on page 214
ldquoIO Profilesrdquo on page 220
ldquoPhysical Serversrdquo on page 223
ldquoGlobal Addressrdquo on page 226
ldquoSystem Commands for the Oracle Fabric Interconnect or Oracle Fabric Managerrdquoon page 227
ldquoSystem Information and Tech Supportrdquo on page 228
ldquoJobsrdquo on page 228
ldquoNetwork Connectivity (ping traceroute)rdquo on page 231
ldquoOracle Fabric Interconnectsrdquo on page 232
ldquovNICsrdquo on page 234
ldquovHBAsrdquo on page 238
ldquoServer Groupsrdquo on page 241
ldquoEthernet LAGsrdquo on page 242
ldquoDefault Gatewaysrdquo on page 244
ldquoNetwork Quality of Service (QoS)rdquo on page 245
199
ldquoStorage Quality of Service (QoS)rdquo on page 246
ldquoMAC-Based Quality of Servicerdquo on page 247
ldquoBoot Profilesrdquo on page 248
ldquoUser Rolerdquo on page 252
ldquoResource Domainrdquo on page 253
ldquoCLI Propertiesrdquo on page 255
ldquoWorld Wide Names and MAC addressesrdquo on page 257
ldquoLUN Masksrdquo on page 259
ldquoOracle SDN Controllersrdquo on page 261
ldquoPluginsrdquo on page 262
Role Group MappingRole groups provide the permissions for the objects to which a user canaccessmdashconfigure change or manage The default role group is ldquooperatorrdquo which isthe most restrictive (read-only) If there are many roles with similar functions youcan use regular expressions to define that role group
200 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Command Arguments Description
add role-group-mapping ltName of mappinggtltRegular expression for groupgtltRoles to mapgt
Create a role group mapping on theOracle Fabric InterconnectExampleadd role-group-mappingTechnicalSupport Technicaladministrator
remove role-group-mapping ltName of mappinggt Remove a role group mapping fromthe Oracle Fabric InterconnectExampleremove role-group-mappingTechnicalSupport
set role-group-mapping ltName of mappinggt[-group=Regular expression for group][-roles=Roles to map][-description=Description]
Assign the group mapping and itsroleExampleset role-group-mappingTechnicalSupport -group=technical -role=administrator -description=Support users requiringadmin access
show role-group-mapping [-xml][-list][-table][-sortby=Sort column]ltName of mappinggt
Display the role group mapping toverify that you added it correctlyExampleshow role-group-mapping -list -sort=rsquoSecurity RolersquoTechnical
set role-group-record ltName of recordgtlt-group=Regular expression for groupgtlt-roles=Roles to mapgtlt-description=stringgt
Sets roles andor an optionaldescription for a named role group
Chapter 10 Oracle Fabric Manager CLI Quick Reference 201
Example Output
See also Chapter 3
Domain Group MappingDomain groups define which Oracle Fabric Manager domains a user is able toaccess ultimately enabling them access to the resources mapped to that domain TheDomain Group Mapping command supports linking one or more groups in anexternal IMS to one or more specific Oracle Fabric Manager domains If there aremany domains to which a user should have access you can use regular expressionsto define that domain group
rootFabMgrCLI[ofm] show role-group-mapping------------------------------------------------------------------------------displayed-name HumanResourcesMappinggroup-names HumanResourceGrouproles networkstoragedescription Access to all human resources networks and storage------------------------------------------------------------------------------1 record displayed
Command Arguments Description
add domain-group-mapping ltName of mappinggtltRegular expression for groupgtltResource domain namegt
Create a domain group mapping onthe Oracle Fabric InterconnectExampleadd domain-group-mappingStorageAdmin StorageStorageCloud
202 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example Output
See also Chapter 3
PVI CloudA PVI requires a Fabric name You create a Fabric when you connect an OracleFabric Interconnect to switches andor servers with InfiniBand cables If you connecttwo Oracle Fabric Interconnects using InfiniBand cables the two subnets becomeone subnet or one fabric When you make a PVI cloud on that Fabric anycommunication on that cloud between the two servers connected through InfiniBandoccurs at InfiniBand speeds (such as 20-40GBs)
This command enables you to add remove manage and list Private VirtualInterconnect (PVI) clouds
remove domain-group-mapping
ltName of mappinggt Remove a domain group mappingfrom the Oracle Fabric InterconnectExampleremove domain-group-mappingStorageAdmin
set domain-group-mapping ltName of mappinggt[-group=Regular expression for group][-domain=Resource domain name][-description=Description]
Assign the group mapping and itsroleExampleset domain-group-mappingStorageAdmin StorageStorageCloud
show domain-group-mapping [-xml] [-list] [-table][-sortby=Sort column]ltName of mappinggt
Display the domain group mappingto verify that you added it correctlyExampleshow domain-group-mapping
rootFabMgrCLI[ofm] show domain-group-mappingdisplayed-name group-names domain description------------------------------------------------------------------------------MedicalData Medical default domain for all medical information1 record displayed
Command Arguments Description
Chapter 10 Oracle Fabric Manager CLI Quick Reference 203
Command Arguments Description
add pvi-cloud ltpvi-cloud namegt ltFabric namegt[-mtu=Private Virtual Interconnectmtu]
Create a private virtual interconnect for amaximum transmission unit (MTU)within the specified fabricExample add pvi-cloud pviCloud9
remove pvi-cloud ltpvi-cloud namegt Removes a PVI from your fabricExample remove pvi-cloudpviCloud9
set pvi-cloud ltpvi-cloud namegt up [or] down Enables a new PVI Cloud or disables anexisting oneExample set pvi-cloud pviCloud9up
set pvi-cloud ltPVI namegt [-mtu=Private VirtualInterconnect MTU] [-description=Private Virtual Interconnect Description]
Specifies an MTU a new name or adescription for a PVI CloudExample set pvi-cloud pviCloud9-mtu=9000 -description=PrivateCloud9
show pvi-cloudvnics
ltPVI namegt vnics [-xml] [-list][-table] [-sortby=Sort column]
Lists the vNICS available to the PVICloudExample show pvi-cloud pviCloud9vnics
204 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example Output
See also Appendix C
ApplicationsThese command enable you to add applications to and remove them from OracleFabric Manager management
rootFabMgrCLI[ofm] show pvi-cloud------------------------------------------------------------------------------name pviCloud9state upupnetwork-id 64896mtu 9000fabric fabric_5514059420008609description PrivateCloud9vnics 0------------------------------------------------------------------------------name XSF1state upupnetwork-id 39852mtu 9000fabric fabric_5514059420008609descriptionvnics 0------------------------------------------------------------------------------2 records displayed
Chapter 10 Oracle Fabric Manager CLI Quick Reference 205
Example Output
See also Appendix A
Command Arguments Description
add app ltName of appgt [-zipfile=App ZIP filename] [-location=Location of ZIP file]
Adds an application to Oracle FabricManagerExample add app Fabric Monitor -zipfile=perfmanzip -location=ofmapps
remove app ltName of appgt Removes an application from OracleFabric Manager controlExample remove app Fabric Monitor
set app ltName of appgt[-description=Description]
Enables an application within OracleFabric ManagerExample set app -description=Thisapplication shows the performance ofyour Oracle Fabric Managerenvironment
show app [-xml] [-list] [-table][-sortby=Sort column] ltName of appgt
Displays the applications managed byOracle Fabric ManagerExample show app
rootFabMgrCLI[ofm] show app ofmperfmgr------------------------------------------------------------------------------displayed-name ofmperfmgrversion 10index-url pmjsfplugin-loader-classrest-base ofmperfmgrplugin-state activecontact-info supportoraclecomdescription------------------------------------------------------------------------------1 record displayed
206 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Network CloudsOracle Fabric Interconnects contain a set of IO ports that are connected to your datacenter network The network and SAN administrator connect these ports to theirEthernet switches in order to provide IO resources to the servers Each IO port onthe Oracle Fabric Interconnect system provides access to a set of ldquocloudsrdquo Forexample you might have a Network Cloud that provides access to the HR networkAs far as the network administrator is concerned you are connecting wires to theOracle Fabric Interconnectrsquos IO ports for the sole purpose of providing the serveradministrator access to the resources
The server administrator then connects servers to a set of network resourcesprovided by the network administrators The server administrator doesnrsquot care whatphysical Oracle Fabric Interconnect ports are being connected to as long as theservers have access to the required resources Network Clouds can be configuredand managed by Network and Administrator roles in Oracle Fabric Manager
The commands in this section enable you to add remove configure and displayNetwork Clouds
Chapter 10 Oracle Fabric Manager CLI Quick Reference 207
Command Arguments Description
add network-cloud ltSpecify Network cloud namegt[-description=Specify Network clouddescription] [-qos=Specify Network cloudQOS] [-trunk-mode=Enable trunk-mode][-access-vlan-id=Specify Access VLAN-Id] [-private=Is this private Default=false]
Add a network cloud to yourenvironment that will provide networkresources to users Oracle FabricInterconnects contain a set of IO portsthat are connected to your data centernetwork The network and SANadministrator connect these ports to theirEthernet switches You assign networkresources to an Oracle Fabric ManagerNetwork CloudExampleadd network-cloud Cloud9
remove network-cloud
ltNetwork cloud namegt Deletes the named Network Cloud fromyour environmentExampleremove network-cloud Cloud9
set network-cloud ltSpecify Network cloud namegt[-description=Specify Network clouddescription] [-qos=Specify Network cloudQOS] [-trunk-mode=Enable trunk-mode][-access-vlan-id=Specify Access VLAN-Id] [-private=Is this private Default=false] add ethernet-ports ltSpecifyEthernet ports or lagsgt
Assign network characteristics (a QoSProfile trunk mode VLAN ID orEthernet Port) to your Network CloudExampleset network-cloud Cloud9 -qos=123
orset network-cloud Cloud9 addethernet-port montana53
208 Oracle Fabric Manager Command Reference (Beta) bull September 2014
set network-cloud ltSpecify Network cloud namegt[-description=Specify Network clouddescription] [-qos=Specify Network cloudQOS] [-trunk-mode=Enable trunk-mode][-access-vlan-id=Specify Access VLAN-Id] [-private=Is this private Default=false] remove ethernet-portsltSpecify Ethernet ports or lagsgt
Removes an Ethernet port from aNetwork CloudExampleset network-cloud Cloud9 removemontana53
set network-cloud ltSpecify Network cloud namegt[-description=Specify Network clouddescription] [-qos=Specify Network cloudQOS] [-trunk-mode=Enable trunk-mode][-access-vlan-id=Specify Access VLAN-Id] [-private=Is this private Default=false] remove reserved-mac-idsltSpecify the Directorgt ltSpecify the MACaddressgt
Removes a MAC ID from a NetworkCloudExampleset network-cloud Cloud9 removereserved-mac-ids montana00139705700012
show [-table] [-list] [-xml][-sortby=Specify column to sort by]network-cloud ltNetwork cloud namegtethernet-ports
Displays the Ethernet ports on a NetworkCloudExampleshow network-cloud Cloud9ethernet-ports
Command Arguments Description
Chapter 10 Oracle Fabric Manager CLI Quick Reference 209
Example Output 1
Example Output 2
See also Chapter 4
rootFabMgrCLI[ofm] add network-cloud Cloud9rootFabMgrCLI[ofm] set network-cloud Cloud9 add ethernet-ports montana53rootFabMgrCLI[ofm] show network-cloud Cloud9------------------------------------------------------------------------------name Cloud9ports 1lags 0trunk-mode falseqosis-private falseaccess-vlan-id 1available-ingress-cir 0available-egress-cir 0allocation-policy randomdescription------------------------------------------------------------------------------1 record displayed
rootFabMgrCLI[ofm] show network-cloud Cloud9 ethernet-ports-lags------------------------------------------------------------------------------parentname Cloud9eth-port montana53state upupvnic-count 0type nwEthernet1GbPortavailable-ingress-cir 1000000available-egress-cir 1000000description------------------------------------------------------------------------------1 record displayed
210 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Storage CloudsOracle Fabric Interconnects contain a set of IO ports that are connected to your datacenter SAN The SAN administrator connects these ports to their Fibre Channelswitches in order to provide IO resources to the servers Each IO port on theOracle Fabric Interconnect can be thought of as providing access to a set of ldquocloudsrdquoFor example you might have a Storage Cloud that is zoned to give access to a set ofLUNs used by HR As far as the storage administrator is concerned you areconnecting wires to the Oracle Fabric Interconnectrsquos IO ports for the sole purposeof providing the server administrator access to the resources
The server administrator then connects the servers to a set of storage resourcesprovided by the storage administrators The server administrator doesnrsquot care whatphysical ports are being connected to as long as the servers have access to therequired resources Storage Clouds can be configured and managed by Storage andAdministrator roles
The commands in this section enable you to add remove configure and displayStorage Clouds
Chapter 10 Oracle Fabric Manager CLI Quick Reference 211
Command Arguments Description
add storage-cloud ltSpecify Storage cloud namegt[-description=Specify Storage clouddescription][-qos=Specify Storage cloud QOS]
Add a Storage Cloud to yourenvironment that will provide storageresources to users Oracle FabricInterconnects contain a set of IO portsthat are connected to your data centernetwork The network and SANadministrator connect these ports to theirFibre Channel switches You assignstorage resources to an Oracle FabricManager Storage CloudExampleadd storage-cloud S_Cloud0
set storage-cloud ltSpecify Storage cloud namegt[-description=Specify Storage clouddescription][-qos=Specify Storage cloud QOS] [-lun-mask=Specify Storage cloud profile]add fc-ports ltSpecify FC portgt
Adds Fibre Channel ports to a StorageCloudExampleset storage-cloud S_Cloud0 addfc-ports montana62
set storage-cloud ltSpecify Storage cloud namegt[-description=Specify Storage clouddescription][-qos=Specify Storage cloud QOS][-lun-mask=Specify Storage cloud profile]add reserved-wwn-ids ltSpecify aDirectorgt [-wwn-id-count=EnterNumber of WWN IDs you want to reserve (1to 4095) Also use the option start-index tospecify start WWN ID to reserve][-start-index=Enter the Start index ofWWN IDs that you want to reserve (MAC IDis 3 hex digits) Also use the option wwn-id-count to mention the number of WWNIDs to reserve] [-wwn-ids-list=Entermultiple WWN IDs separated by commas]
Reserves World Wide Names for yourStorage CloudExampleset storage-cloud S_Cloud0 wwn-ids-list=500139700004700012
set storage-cloud ltSpecify Storage cloud namegt[-description=Specify Storage clouddescription][-qos=Specify Storage cloud QOS][-lun-mask=Specify Storage cloud profile]remove fc-ports ltSpecify FC portgt
Removes a Fibre Channel port from thenamed Storage CloudExampleset storage-cloud S_Cloud0remove fc-ports montana62
212 Oracle Fabric Manager Command Reference (Beta) bull September 2014
set storage-cloud ltSpecify Storage cloud namegt[-description=Specify Storage clouddescription][-qos=Specify Storage cloud QOS] [-lun-mask=Specify Storage cloud profile]remove reserved-wwn-ids ltSpecifythe Directorgt ltSpecify the WWN addressgt
Removes a reserved world wide name(s)from the named Storage CloudExampleset storage-cloud S_Cloud0remove reserved-wwn-ids list=500139700004700012
show [-table] [-list] [-xml][-sortby=Specify column to sort by]storage-cloud ltStorage cloud namegtfc-ports
Display the Fibre Channel portsassociated with the named StorageCloudExampleshow storage-cloud S_Cloud0 fc-ports
remove storage-cloud ltStorage cloud namegt Removes a Storage Cloud from theenvironmentExampleremove storage-cloud S_Cloud0
show [-table] [-list] [-xml] [-sortby=Specify column to sort by] lun-mask lt namegt target-luns
Displays the target LUNs that areincluded in the named Storage CloudExampleshow lun-mask3 target-luns
Command Arguments Description
Chapter 10 Oracle Fabric Manager CLI Quick Reference 213
Example Output 1
Example Output 2
See also Chapter 5
IO TemplatesAn IO Template is an Oracle Fabric Manager feature that allows the serveradministrator to create the shape of the IO for a set of servers Different servershave different IO requirements For example a server that will be used by theengineering department may require access to a couple of Network Clouds and aStorage Cloud but a server that is used by Finance may only require access to theinternet The commands in this section enable you to use the CLI to create anddeploy IO templates that define access to your network and storage resources
rootFabMgrCLI[ofm] add storage-cloud S_Cloud0rootFabMgrCLI[ofm] set storage-cloud S_Cloud0 add fc-ports montana62rootFabMgrCLI[ofm] show storage-cloud S_Cloud0name ports qos lun-mask-reference allocation-policy description------------------------------------------------------------------------------S_Cloud0 1 random1 record displayed
rootFabMgrCLI[ofm] show storage-cloud S_Cloud0 fc-portsparentname fc-port state type vhba-count speed description------------------------------------------------------------------------------S_Cloud0 montana62 updown sanFcPort 0 40001 record displayed
214 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Command Arguments Description
add io-template ltSpecify IO template namegt[-description=Specify Description][-default-gateway=Specify Defaultgateway] [-san-boot-profile=SpecifySAN boot profile] [-iscsi-boot-profile=Specify iSCSI boot profile]
Creates a new IO template withinformation pertinent to your networkand storage requirementsExampleadd io-templatecloud9template
remove io-template ltIO template namegt [-no-confirm] Deletes an existing IO template fromyour systemExampleremove io-template HRtemplate
set io-template ltIO profile namegt[-description=Specify Description] [-default-gateway=Specify Default gateway][-san-boot-profile=Specify SAN bootprofile] [-iscsi-boot-profile=SpecifyiSCSI boot profile] [-use-template-name=Use Template-name Default=true] addvnic ltSpecify vnic namegt ltSpecify thenetwork cloud the vnic points togt[-description=Specify description][-qos=Specify qos profile] [-trunkmode=Isit trunk mode Default=false][-iptype=IP address type Default=hostmanaged][-vlanId=Specify Access VLAN Id][-checksum=Specify Checksum offload][-community-name=Specify Communityname] [-ha-mode=Is this a haVnic Default=false][-auto-switchover=Auto SwitchoverDefault=false][-user-mac=Specify User defined MACaddress]
Adds a network resources to yourtemplateExampleset io-templateCloud0template add vnicCloud9vnic Cloud9
Chapter 10 Oracle Fabric Manager CLI Quick Reference 215
set io-template ltIO profile namegt[-description=Specify Description][-default-gateway=Specify Defaultgateway] [-san-boot-profile=SpecifySAN boot profile] [-iscsi-boot-profile=Specify iSCSI boot profile][-use-template-name=Use Template-name Default=true] add vhba ltSpecifyvhba namegt ltSpecify the storage cloud the vhbapoints togt[-description=Specify description][-qos=Specify qos profile] [-lunmask=setprofile] [-lunmask-enable=EnabledLunmask Default=false] [-ha-mode=Isthis a haVhba Default=false] [-user-wwn=Specify User defined WWN Id]
Adds storage resources to yourtemplateExampleset io-templatecloud9template add vhbas_Cloud0vhba S_Cloud0
set io-template ltIO profile namegt[-description=Specify Description] [-default-gateway=Specify Default gateway][-san-boot-profile=Specify SAN bootprofile] [-iscsi-boot-profile=SpecifyiSCSI boot profile] [-use-template-name=Use Template-name Default=true] removevnic ltSpecify a vNIC namegt [-no-confirm]
Removes a vNIC from your IOtemplateExampleset io-templatecloud9template remove vnics_Cloud9vnic
set io-template ltIO profile namegt[-description=Specify Description] [-default-gateway=Specify Default gateway][-san-boot-profile=Specify SAN bootprofile] [-iscsi-boot-profile=SpecifyiSCSI boot profile] [-use-template-name=Use Template-name Default=true] removevhba ltSpecify a vHBA namegt
Removes a vHBA from your IOtemplateExampleset io-templatecloud9template remove vhbas_Cloud0vhba
set io-template ltIO Profile Namegt update io-templatelt-description=stringgt lt-default-gateway=Default Gateway Addressgt lt-san-boot-profile=SAN Boot Profile Namegt lt-iscsi-boot-profile=iSCSI Boot Profile Namegt
Changes (updates) properties in yourIO Template
Command Arguments Description
216 Oracle Fabric Manager Command Reference (Beta) bull September 2014
set io-template ltIO profile namegt[-description=Specify Description] [-default-gateway=Specify Default gateway][-san-boot-profile=Specify SAN bootprofile] [-iscsi-boot-profile=SpecifyiSCSI boot profile] [-use-template-name=Use Template-name Default=true] updatevnic ltSpecify vnic namegt [-net-cloud=Specify the network cloud the vnic points to][-description=Specify description][-qos=Specify qos profile] [-trunkmode=Isit trunk mode Default=false][-iptype=IP address type Default=hostmanaged][-vlanId=Specify Access VLAN Id][-checksum=Specify Checksum offload][-community-name=Specify Communityname] [-ha-mode=Is this a haVnic Default=false][-auto-switchover=Auto SwitchoverDefault=false][-user-mac=Specify User defined MACaddress]
Changes (updates) the vNIC in yourIO templateExampleset io-templatecloud9template update vnics_Cloud9vnic
set io-template ltIO profile namegt[-description=Specify Description][-default-gateway=Specify Defaultgateway] [-san-boot-profile=SpecifySAN boot profile] [-iscsi-boot-profile=Specify iSCSI boot profile] [-use-template-name=Use Template-nameDefault=true] update vhba ltSpecify vhbanamegt [-sto-cloud=Specify the storagecloud the vhba points to][-description=Specify description][-qos=Specify qos profile] [-lunmask=setprofile] [-lunmask-enable=EnabledLunmask Default=false][-ha-mode=Is this a haVhba Default=false][-user-wwn=Specify User defined WWN Id]
Changes (updates) the vHBA in yourIO templateExampleset io-templatecloud9template update vhbas_Cloud0vhba
Command Arguments Description
Chapter 10 Oracle Fabric Manager CLI Quick Reference 217
show [-table] [-list] [-xml][-sortby=Specify column to sort by] io-template ltIO profile namegt vnics
Displays the vNICS in your IOtemplateExampleshow io-templatecloud9template vnics
show [-table] [-list] [-xml][-sortby=Specify column to sort by] io-template ltIO profile namegt vhbas
Displays the vHBAs in your IOtemplateExampleshow io-templatecloud9template vhbas
show [-table] [-list] [-xml][-sortby=Specify column to sort by] io-template ltIO profile namegt servers
Displays the servers in your IOtemplateExampleshow io-templatecloud9template servers
Command Arguments Description
218 Oracle Fabric Manager Command Reference (Beta) bull September 2014
Example Output 1
Example Output 2
See also Chapter 6
rootFabMgrCLI[ofm] add io-template cloud9templaterootFabMgrCLI[ofm] set io-template cloud9template add vnic Cloud9vnic Cloud9rootFabMgrCLI[ofm] set io-template cloud9template add vhba s_Cloud0vhbaS_Cloud0rootFabMgrCLI[ofm] show io-template cloud9template------------------------------------------------------------------------------name cloud9templateiscsiboot-namesanboot-namedefault-gatewayapply-templatename truevnics 1vhbas 0description------------------------------------------------------------------------------1 record displayed
rootFabMgrCLI[ofm] show io-template cloud9template vnicsname vnic-name net-cloud-name qos ip-type is-ha access-vlan-id trunk-modedescription------------------------------------------------------------------------------cloud9template Cloud9vnic Cloud9 hostManaged false 0 false1 record displayed
rootFabMgrCLI[ofm] show io-template cloud9template vhbasname sto-cloud-name qos is-ha description------------------------------------------------------------------------------s_Cloud0vhba S_Cloud0 false1 record displayed
Chapter 10 Oracle Fabric Manager CLI Quick Reference 219
IO ProfilesIO Profiles enable you to connect virtual IO resources to physical servers byassociating them with your IO Templates IO Profiles hold all the virtual IOinformation for a particular server managed by Oracle Fabric Manager includingvNICs HA vNICs vHBAs HA vHBAs all server profiles and all Oracle FabricInterconnect objects connected to the server
You first define your IO Template and its resources then create an IO Profile fromthat template and connect the IO Profile to a physical server Once your IO Profileconnects to the server the vNICs and vHBAs defined in your IO Template arepushed to that server
The commands in this section enable you to use the CLI to create and deploy IOProfiles connecting your virtual IO resource definitions (vNICs and vHBAs) tophysical servers deploying those resources defined in your IO Template Thecommands in this section also show how to display IO Profile information andremove IO Profiles
TABLE 10-1 Commands to Create and Deploy IO Profiles
Command Arguments Description
add io-profile ltName of IO Profilegt ltname of IO Templategt Create an IO Profile based on an IOTemplate Name the IO Profile so thatyou can associate it with a server Forexample ldquomontanardquo in the followingexample is the name of a server andnow it is the name of the IO Profilebeing definedExampleadd io-profile montanacloud9template
remove io-profile ltName of IO Profilegt Delete an IO Profile from an OracleFabric InterconnectExampleremove io-profilecloud9template
set io-profile ltName of IO Profilegt[-description=Description] connectltPhysical servergt
Connect an IO Profile to a physicalserver managed by Oracle FabricManagerExampleset io-profile montanaconnect montana
220 Oracle Fabric Manager Command Reference (Beta) bull September 2014
set io-profile ltName of IO Profilegt add vnic ltSpecify avNIC namegt ltSpecify the Network cloud thevnic points togt [-description=SpecifyDescription] [-qos=Specify QOS profile][-vlan-id=Set VLAN Id] [-trunk-mode=Is trunk mode Default=false] [-ha-mode=Isthis a haVnic Default=false] [-auto-switchover=Auto switchover enabledDefault=false] [-ip-type=Specify IPaddress type Default=HostManaged][-ipaddr=Specify IP address Default=0000] [-ipmask=Specify IP maskDefault=255255255255][-mac-address=Specify MAC address][-local-id=Specify Local Id][-checksum-offload=Checksum Offloadenabled Default=false][-community-name=Specify Communityname]
Adds a new vNIC to an IO Profilewith the network characteristicsrequiredExampleset io-profile montana -addvnic NewMonVnic -ha-mode=true-auto-switchover=true
set io-profile ltName of IO Profilegt add vhba ltSpecify avHBA namegt ltSpecify the Storage cloud thevhba points togt [-description=SpecifyDescription] [-qos=Specify QOS profile] [-ha-mode=Is this a haVhba] [-lun-masks-enabled=LUN Mask enabled Default=false] [-local-id=Specify Local Id][-wwnn=Specify WWN Id][-mtu=Specify MTU]
Adds a new vHBA to an IO Profilewith the storage characteristicsrequiredExampleset io-profile montana addvhba NewMonVhba -ha-mode=true-lun-masks-enabled=true
set io-profile ltName of IO Profilegt[-description=Description] disconnect
Disconnect a physical server from anIO ProfileExampleset io-profile montanadisconnect montana
set io-profile ltIO Profile Namegt server-profileltserver-profile-namegt down
Sets an IO Profile connected to aserver to ldquodownrdquo state withoutdisconnecting the profile from theserver vNICs and vHBAs remainconnected but not able to supporttraffic
set io-profile ltIO Profile Namegt server-profile ltserver-profile-namegt up
Sets an IO Profile connected but inldquodownrdquo state back to ldquouprdquo statevNICs and vHBAs can support trafficwhen the IO Profile is broughtsuccessfully ldquouprdquo
TABLE 10-1 Commands to Create and Deploy IO Profiles (Continued)
Command Arguments Description
Chapter 10 Oracle Fabric Manager CLI Quick Reference 221