alex naparu madhu jujare microsoft corporation...2012 storage developer conference. © 2012...
TRANSCRIPT
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
NAS Management using Microsoft System Center 2012
Virtual Machine Manager and SMI-S
Alex Naparu Madhu Jujare
Microsoft Corporation
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
NAS Management with
New feature in SCVMM 2012 SP1 Bridges the gap between block and share Same management capabilities for Windows file
servers and NAS
2
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
NAS Management with
Discovery File Servers File Systems File Shares
Creation / Removal File Systems File Shares
3
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
How We Got Here
Big thanks to our partners Kick-off engagement with EMC and NetApp Expecting more NAS partners soon
SNIA SMI-S Plugfests
4
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
CIM Passthrough API
DEMO
5
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
SMI-S Support
Basic operations supported on SMI-S 1.4 and later File server / file share / file system discovery File share creation / removal
ACL management operations require SMI-S 1.6 New sub-profile added to 1.6 (Simple Identity
Management sub-profile)
6
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
SMI-S Support (Required Profiles)
Profile Registration Computer System Multicomputer Systems supported
NAS Head Filesystem Filesystem Manipulation File Export File Export Manipulation
7
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
SMI-S Support
“interop” namespace required “ElementConformsToProfile” association from
NAS Head to Top-Level Computer System Some optional classes are now required Some optional elements are now required CIM_LocalFileSystem.NumberOfFiles
8
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
Discovery (File Servers)
“interop” namespace CIM_RegisteredProfile instances for “NAS Head”
Vendor namespace Computer System Profile Top-Level Computer Systems vs. Dedicated File Servers
Protocol Support
CIFS is what we’re looking for Protocol dialect
9
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
Discovery (File Systems and Shares)
File Shares Associated to File Servers Multiple capabilities for each File Server Only CIFS shares are exposed by SCVMM
Local File Systems Reside on Logical Disks Logical Disks allocated from Storage Pools
10
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
Management (File Shares)
Local File Systems exported as File Shares 1:1 mapping in SCVMM 1:many mapping supported for objects
created outside SCVMM SCVMM shares root of File System
File Export Service Creation / Removal of File Shares
11
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
Management (File Systems)
CIM_FileSystemConfigurationService File Systems created directly from Storage Pool SMI-S: two ways to create File Systems
From Extents (Logical Disks) From Storage Pools - what SCVMM does
12
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
ACL Management
File Shares “registered” to Hyper-V hosts/clusters Host machine accounts need share access
Integrated with Active Directory
NAS devices need to be AD-aware SMI-S providers need to work with AD
13
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
ACL Management
Simple Identity Management Subprofile DSP1034 Added to SMI-S 1.6 Mandatory for ACL management support New methods added to the profile
Integration with Active Directory
14
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
ACL Management
Mandatory DSP1034 Classes CIM_UserContact CIM_Identity CIM_AccountManagementService
New Class added CIM_AssociatedPrivilege
15
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
ACL Management
16
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
ACL Management
CIM_AssociatedPrivilege class Associates an Identity to a File Share Activities[] property specifies actual privileges Instances managed by FileExportService
17
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
18
Identity UserContact
FileShare
AssignedIdentity0..1 1..*
AssociatedPrivilege
1..*
1..*
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
ACL Management
New Methods added to SIMP Profile CIM_AccountManagementService.GetUserContact() CIM_AccountManagementService.CreateUserContact() CIM_FileExportService.AssignPrivilegeToExportedShare()
Intrinsic methods for deletion/modification
19
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
Under the Hood
Block Storage Management (existing feature) Done through Windows Standards-Based Storage Service Storage Service exposes WMI classes
Storage Service does not expose NAS classes Interaction with SMI-S provider through CIM
Passthrough API
20
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
CIM Passthrough API
WMI provider Root\Microsoft\Windows\Storage\PT Allows access to all classes exposed by a
provider Uses same CIM transport layer as Windows
Storage Service
21
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
CIM Passthrough API
User Context contains connection information Host / Port User / Password Namespace
22
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
CIM Passthrough API
DEMO
23
2012 Storage Developer Conference. © 2012 Microsoft Corporation. All Rights Reserved.
SMI-S Providers
How do I write a SMI-S provider for NAS? “interop” namespace is mandatory ElementConformsToProfile associations
NAS Head Multiple Computer System supported
Associations and “Dedicated” fields critical Additional profile (DSP1034) needed for ACL
24