1、American National StandardDeveloped byfor Information Technology Virtualization Management SpecificationINCITS 483-2012INCITS 483-2012INCITS 483-2012American National Standardfor Information Technology Virtualization Management SpecificationSecretariatInformation Technology Industry CouncilApproved
2、May 29, 2012American National Standards Institute, Inc.Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANS
3、I Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be m
4、adetowards their resolution.The use of American National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the
5、 standards.The American National Standards Institute does not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the Ame
6、ricanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National Standa
7、rdsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerica
8、n National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2012 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of I
9、TI, 1101 K Street NW, Suite 610, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may berequired for the implementation of the standard disclose such patents to the publisher. However,neither the develop
10、ers nor the publisher have undertaken a patent search in order to identifywhich, if any, patents may apply to this standard. As of the date of publication of this standardand following calls for the identification of patents that may be required for the implementation ofthe standard, no such claims
11、have been made. No further patent search is conducted by the de-veloper or publisher in respect to any standard it processes. No representation is made or impliedthat licenses are not required to avoid infringement in the use of this standard.i CONTENTS Foreword . ix Introduction 1 1 Scope 3 1.1 Res
12、ource Allocation Profile 3 1.2 System Virtualization Profile 3 1.3 Allocation Capabilities Profile . 3 1.4 Processor Resource Virtualization Profile 3 1.5 Memory Resource Virtualization Profile . 3 1.6 Storage Resource Virtualization Profile 3 1.7 Ethernet Port Resource Virtualization Profile . 3 1.
13、8 Virtual System Profile . 3 1.9 Generic Device Resource Virtualization Profile 3 1.10 Virtual Ethernet Switch Profile 4 2 Normative references 4 3 Terms and definitions . 5 4 Symbols and abbreviated terms 12 5 Resource Allocation Profile 14 5.1 Description . 14 5.2 Implementation . 18 5.3 Methods .
14、 27 5.4 Use cases 35 5.5 CIM elements . 40 6 System Virtualization Profile 52 6.1 Description . 52 6.2 Implementation . 59 6.3 Methods . 67 6.4 Use cases 84 6.5 CIM elements . 110 7 Allocation Capabilities Profile 126 7.1 Description . 126 7.2 Implementation . 129 7.3 Methods . 130 7.4 Use cases 134
15、 7.5 CIM elements . 139 8 Processor Resource Virtualization Profile . 144 8.1 Description . 144 8.2 Implementation . 149 8.3 Methods . 157 8.4 Use cases 158 8.5 CIM elements . 168 9 Memory Resource Virtualization Profile . 178 9.1 Description (informative) 178 9.2 Implementation . 186 9.3 Methods .
16、198 9.4 Use cases (informative) . 198 9.5 CIM elements . 207 10 Storage Resource Virtualization Profile . 221 10.1 Description . 222 10.2 Implementation . 234 10.3 Methods . 251 10.4 Use cases 253 10.5 CIM Elements. 270 11 Ethernet Port Resource Virtualization Profile. 282 11.1 Description . 282 11.
17、2 Implementation . 291 11.3 Methods . 303 ii 11.4 Use cases 304 11.5 CIM elements . 318 12 Virtual System Profile 341 12.1 Description . 341 12.2 Implementation . 350 12.3 Methods . 360 12.4 Use-cases 363 12.5 CIM elements . 374 13 Generic Device Resource Virtualization Profile . 381 13.1 Descriptio
18、n . 381 13.2 Implementation . 383 13.3 Methods . 383 13.4 Use cases 383 13.5 CIM elements . 388 14 Virtual Ethernet Switch Profile . 390 14.1 Description . 390 14.2 Implementation . 394 14.3 Methods . 395 14.4 Use cases 397 14.5 CIM elements . 400 Annex A (Informative) Virtual system modeling backgr
19、ound information 407 A.1 Concepts: Model, view, controller 407 A.2 Aspect-oriented modeling approach . 407 A.3 Presence of model information. 408 A.4 Model extension through settings. 409 Annex B (Informative) Implementation details . 410 B.1 Dual-configuration implementation approach . 410 B.2 Sing
20、le-configuration implementation approach 413 Figures Figure 1 Resource Allocation Profile: Class Diagram 15 Figure 2 Abstract instance diagram: Concrete resource pool . 35 Figure 3 Abstract instance diagram: Primordial pool with backed resources 36 Figure 4 Abstract instance diagram: Primordial pool
21、 without backed resources 36 Figure 5 Resource pool hierarchy instance diagram . 37 Figure 6 Simple resource allocation 38 Figure 7 Profiles related to system virtualization . 54 Figure 8 System Virtualization Profile: Class diagram . 56 Figure 9 System Virtualization Profile instance diagram: Disco
22、very, localization, and inspection . 86 Figure 10 Virtual system configuration based on input virtual system configurations and implementation defaults 98 Figure 11 Virtual system resource modification . 102 Figure 12 System Virtualization Profile: Snapshot example 105 Figure 13 Allocation Capabilit
23、ies Profile: Class diagram . 127 Figure 14 Allocation capabilities associated to CIM_ComputerSystem and CIM_ResourcePool 135 Figure 15 Allocation capabilities associated to CIM_ResourceAllocationSettingData . 136 Figure 16 Multiple CIM_AllocationCapabilities instances 137 Figure 17 Processor Resourc
24、e Virtualization Profile: Class Diagram 145 Figure 18 Processor Resource Virtualization Profile: Instance diagram 159 Figure 19 Defined state . 160 Figure 20 Active state . 161 Figure 21 CIM_ModifyResourceSettings Before 163 Figure 22 RASD to Modify Resources 164 iii Figure 23 CIM_ModifyResourceSett
25、ings After . 165 Figure 24 CIM_AddResourceSettings Before 166 Figure 25 RASD to add processor 167 Figure 26 CIM_AddResourceSettings After . 168 Figure 27 Memory Resource Virtualization Profile: Profile class diagram . 179 Figure 28 Instance Diagram: Concept of memory resource pool hierarchies 181 Fi
26、gure 29 Instance Diagram: Concept of memory resource allocation 183 Figure 30 Instance Diagram: Memory composition . 185 Figure 31 Instance Diagram: Example CIM representation of memory resource virtualization . 200 Figure 32 Storage Resource Virtualization Profile: Profile class diagram . 223 Figur
27、e 33 Instance diagram: Concept of storage resource pool hierarchies . 227 Figure 34 Instance diagram: Concept of storage resource allocation . 230 Figure 35 Cooperation of DMTF SVPC and SNIA SMI-S profiles . 233 Figure 36 Instance diagram: Example CIM representation of storage resource virtualizatio
28、n . 254 Figure 37 Create virtual disk with implicit file creation . 263 Figure 38 Create virtual disk with pre-existing file . 265 Figure 39 Create dedicated virtual disk . 267 Figure 40 Create virtual delta disk and file 269 Figure 41 Ethernet Port Resource Virtualization: Profile class diagram 283
29、 Figure 42 Virtual ethernet switch port allocation 287 Figure 43 Instance Diagram: Ethernet adapter and Ethernet connection resource allocations . 289 Figure 44 Ethernet switch port and Ethernet connection resource pools 306 Figure 45 Static Ethernet switch port allocation to a virtual Ethernet swit
30、ch . 308 Figure 46 Ethernet adapter connection to static switch port 310 Figure 47 Dynamic Ethernet switch port connection capabilities. 313 Figure 48 Dynamic Ethernet switch port allocation . 314 Figure 49 Allocation capabilities for simple Ethernet connection. 315 Figure 50 Simple connection of vi
31、rtual machine to Ethernet switch 316 Figure 51 Profiles related to system virtualization . 343 Figure 52 Virtual System Profile: Class diagram . 344 Figure 53 Virtual system states . 349 Figure 54 Virtual system representation and virtual system configuration 354 Figure 55 Sample virtual system conf
32、iguration . 365 Figure 56 Sample virtual system in “active“ state 367 Figure 57 Instance diagram: Profile conformance of scoped resources 368 Figure 58 Generic Device Resource Virtualization: Class diagram . 382 Figure 59 Simple virtual device allocation . 384 Figure 60 Profile registration using ce
33、ntral class . 385 Figure 61 Profile registration using scoping class . 386 Figure 62 Determining resource capabilities . 387 Figure 63 DMTF Management profiles related to the virtual Ethernet switch 392 Figure 64 Virtual Ethernet Switch Profile: Class Diagram . 393 Figure 65 Basic example of virtual
34、 Ethernet switch . 398 Figure A-1 State-dependent presence of model elements 408 Figure B-2 Sample virtual system in a state other than “defined“ (Dual-configuration approach) . 412 Figure B-3 Sample virtual system in the “defined“ state (Single-configuration approach) . 414 Figure B-4 Sample virtua
35、l system in a state other than “defined“ (Single-configuration approach) . 415 iv Tables Table 1 Component documents 2 Table 2 Related profiles for the Resource Allocation Profile . 14 Table 3 CIM_ResourcePoolConfigurationService.CreateChildResourcePool( ) method: Return code values 27 Table 4 CIM_R
36、esourcePoolConfigurationService.CreateChildResourcePool( ) method: Parameters 28 Table 5 CIM_ResourcePoolConfigurationService.DeleteResourcePool( ) method: Return code values . 28 Table 6 CIM_ResourcePoolConfigurationService.DeleteResourcePool( ) method: Parameters . 29 Table 7 CIM_ResourcePoolConfi
37、gurationService.AddResourcesToResourcePool( ) method: Return code values 29 Table 8 CIM_ResourcePoolConfigurationService.AddResourcesToResourcePool( ) method: Parameters 30 Table 9 CIM_ResourcePoolConfigurationService.RemoveResourcesFromResourcePool( ) method: Return code values 31 Table 10 CIM_Reso
38、urcePoolConfigurationService.RemoveResourcesFromResourcePool( ) method: Parameters 31 Table 11 CIM_ResourcePoolConfigurationService.ChangeParentResourcePool( ) method: Return code values 32 Table 12 CIM_ResourcePoolConfigurationService.ChangeParentResourcePool( ) method: Parameters 32 Table 13 CIM e
39、lements: Resource Allocation Profile . 40 Table 14 Class: CIM_AffectedJobElement 41 Table 15 Class: CIM_BaseMetricDefinition . 41 Table 16 Class: CIM_BaseMetricDefinition Instantaneous consumption 42 Table 17 Class: CIM_BaseMetricDefinition Interval metrics . 42 Table 18 Class: CIM_BaseMetricDefinit
40、ion Aggregate consumption 42 Table 19 Class: CIM_BaseMetricValue . 43 Table 20 Class: CIM_BaseMetricValue Instantaneous consumption . 43 Table 21 Class: CIM_BaseMetricValue Interval metrics . 43 Table 22 Class: CIM_BaseMetricValue Aggregate consumption . 44 Table 23 Class: CIM_Component . 44 Table 2
41、4 Class: CIM_ConcreteJob . 44 Table 25 Class: CIM_ElementAllocatedFromPool 45 Table 26 Class: CIM_ElementCapabilities 45 Table 27 Class: CIM_ElementSettingData 45 Table 28 Class: CIM_HostedDependency 46 Table 29 Class: CIM_HostedResourcePool 46 Table 30 Class: CIM_HostedService 46 Table 31 Class: CI
42、M_LogicalDevice . 47 Table 32 Class: CIM_MetricDefForME 47 Table 33 Class: CIM_MetricForME . 47 Table 34 Class: CIM_ResourceAllocationFromPool . 48 Table 35 Class: CIM_ResourceAllocationSettingData (current settings) 48 Table 36 Class: CIM_ResourceAllocationSettingData (defined settings) 49 Table 37
43、 Class: CIM_ResourcePool . 49 Table 38 Class: CIM_ResourcePoolConfigurationCapabilities . 50 Table 39 Class: CIM_ResourcePoolConfigurationService 50 Table 40 Class: CIM_SettingsDefineState 51 Table 41 Class: CIM_ServiceAffectsElement 51 Table 42 Class: CIM_SystemDevice . 51 Table 43 Related profiles
44、 for the System Virtualization Profile 52 Table 44 DefineSystem( ) method: Parameters. 70 Table 45 DefineSystem( ) method: Return code values 72 Table 46 DestroySystem( ) method: Parameters . 72 Table 47 DestroySystem( ) method: Return code values 73 v Table 48 AddResourceSettings( ) method: Paramet
45、ers 73 Table 49 AddResourceSettings( ) method: Return code values 74 Table 50 ModifyResourceSettings( ) method: Parameters 75 Table 51 ModifyResourceSettings( ) Method: Return code values 76 Table 52 ModifySystemSettings( ) Method: Parameters . 76 Table 53 ModifySystemSettings( ) Method: Return code
46、 values . 77 Table 54 RemoveResourceSettings( ) Method: Parameters . 78 Table 55 RemoveResourceSettings( ) Method: Return code values . 78 Table 56 CreateSnapshot( ) method: Parameters . 79 Table 57 CreateSnapshot( ) method: Return code values . 80 Table 58 DestroySnapshot( ) method: Parameters . 80
47、 Table 59 DestroySnapshot( ) method: Return code values . 81 Table 60 ApplySnapshot( ) method: Parameters . 81 Table 61 ApplySnapshot( ) method: Return code values . 82 Table 62 CIM Elements: System Virtualization Profile . 110 Table 63 Association: CIM_AffectedJobElement . 111 Table 64 Class: CIM_C
48、oncreteJob 112 Table 65 Class: CIM_Dependency Class 112 Table 66 Association: CIM_ElementCapabilities (host system) . 113 Table 67 Association: CIM_ElementCapabilities (virtual system management) 113 Table 68 Association: CIM_ElementCapabilities (snapshot service) . 114 Table 69 Association: CIM_ElementCapabilities (snapshots of virtual systems) . 114 Table 70 Association: CIM_ElementConformsToProfile 115 Table 71 Association: CIM_HostedDependency . 115 Table 72 Association: CIM_HostedService (virtual system management service) 116 Table 73 Association: CIM_HostedService (virtual sys