Home
%3CLINGO-SUB%20id%3D%22lingo-sub-425471%22%20slang%3D%22en-US%22%3ECluster%20aggregated%20view%20in%20Windows%20Server%202012%20R2%20Storage%20Provider%20for%20a%20symmetric%20storage%20configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-425471%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20Nov%2007%2C%202014%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EBlog%20written%20by%20Sripresanna%20in%20the%20Storage%2C%20Network%20%26amp%3B%20Print%20Team%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CB%3E%20Cluster%20aggregated%20view%20for%20Windows%20Storage%20Provider%20%3C%2FB%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20this%20blog%2C%20I%E2%80%99d%20like%20to%20explain%20about%20the%20new%20cluster%20aggregated%20view%20feature%20that%20is%20part%20of%20the%20Storage%20Management%20on%20Windows%20Server%202012%20R2.%20For%20a%20quick%20overview%20of%20the%20Storage%20Management%20at%20Microsoft%2C%20refer%20to%20the%20%3CA%20href%3D%22http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2F9%2F4%2FA%2F94A15682-02D6-47AD-B209-79D6E2758A24%2FWindows_Server_2012_R2_Storage_White_Paper.pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Windows%202012%20R2%20Storage%20%3C%2FA%3E%20(scroll%20to%20SM%20API)%20and%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fb%2Ffilecab%2Farchive%2F2012%2F07%2F05%2Fgetting-started-with-smi-s-on-windows-server-2012.aspx%22%20target%3D%22_blank%22%3E%20Getting%20Started%20with%20SMI-S%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20a%20cluster%20environment%2C%20there%20are%20two%20types%20of%20storage%20subsystem%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E1.%20Standalone%20subsystem%3A%20Storage%20resources%20that%20are%20directly%20connected%20to%20the%20storage%20node.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E2.%20Cluster%20subsystem%3A%20Storage%20resources%20that%20are%20either%20clustered%20or%20clusterable.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ea)%20Clustered%20-%20Storage%20resources%20that%20are%20already%20part%20of%20the%20cluster.%20IsClustered%20Property%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eb)%20Clusterable%20%E2%80%93%20Storage%20resources%20that%20can%20be%20potentially%20added%20to%20the%20cluster.%20If%20a%20storage%20object%20is%20reachable%20from%20a%20cluster%20node%2C%20then%20that%20storage%20object%20is%20considered%20to%20be%20clusterable.%20Disks%20(even%20if%20disks%20are%20not%20fully%20shared%20across%20all%20cluster%20nodes)%20with%20below%20bustypes%20are%20in%20the%20Clusterable%20category%20%E2%80%93%20%E2%80%9CiSCSI%E2%80%9D%2C%20%E2%80%9CSAS%E2%80%9D%2C%20%E2%80%9CFiber%20Channel%E2%80%9D%2C%20and%20potentially%20%E2%80%9CStorage%20Spaces%20(if%20pool%20is%20in%20shared%20view)%E2%80%9D%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EChallenge%3A%20In%20Windows%202008%2C%20the%20management%20layer%20of%20cluster%20storage%20required%20administrator%20to%20do%20extra%20task%20to%20view%20all%20the%20storage%20resources.%20The%20administrator%20had%20to%20go%20to%20each%20cluster%20node%2C%20enumerate%20the%20storage%20and%20combine%20the%20list%20to%20understand%20what%20storage%20is%20clustered%20and%20what%20is%20local%20to%20the%20node.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESolution%3A%20In%20Windows%202012%20R2%2C%20we%20introduced%20a%20feature%20called%20cluster%20aggregated%20view.%20With%20this%20feature%2C%20the%20Storage%20Provider%20performs%20the%20above%20tasks%20for%20the%20administrator%20and%20presents%20a%20unified%20view%20called%20cluster%20aggregated%20view.%20As%20a%20result%2C%20the%20administrator%20can%20view%20both%20local%20and%20cluster%20subsystem%20resources%20and%20uniquely%20identify%20the%20objects%20from%20any%20cluster%20nodes%20without%20performing%20any%20extra%20task.%20Thus%2C%20saves%20time%20and%20makes%20the%20management%20of%20storage%20subsystem%20easier.%20This%20feature%20is%20implemented%20in%20the%20Windows%20storage%20provider%20and%20other%20SMP%20providers%20can%20chose%20to%20do%20it.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CB%3EGetting%20Started%20Guide%20%3C%2FB%3E%20%3A%20In%20this%20part%2C%20I%E2%80%99ll%20walk%20you%20step-by-step%20to%20illustrate%20the%20cluster%20aggregate%20feature%20in%20Windows%20Server%202012%20R2%20and%20its%20implications%20on%20a%20Symmetric%20storage%20configuration%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20a%20symmetric%20storage%20configuration%2C%20all%20the%20cluster%20capable%20drives%20are%20connected%20to%20all%20the%20storage%20nodes.%20In%20this%20example%2C%20there%20are%20two%20cluster%20nodes%20viz.%20Keshan-VM-4%20and%20Keshan-VM-7.%20The%20below%20table%20shows%20the%20storage%20subsystem%20for%20both%20the%20nodes.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CTABLE%3E%0A%20%20%20%3CTBODY%3E%3CTR%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3E%3CB%3E%20Node%20%3C%2FB%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3E%3CB%3E%20Standalone%20Subsystem%20%3C%2FB%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3E%3CB%3E%20Cluster%20Subsystem%20%3C%2FB%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%3C%2FTR%3E%0A%20%20%20%3CTR%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3EKeshan-VM-4%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3EStorage%20Spaces%20on%20Keshan-VM-4%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3EClustered%20Storage%20Spaces%20on%20keshan-th1%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%3C%2FTR%3E%0A%20%20%20%3CTR%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3EKeshan-VM-7%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3EStorage%20Spaces%20on%20Keshan-VM-7%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%20%3CTD%3E%3CBR%20%2F%3E%3CP%3EClustered%20Storage%20Spaces%20on%20keshan-th1%3C%2FP%3E%3CBR%20%2F%3E%3C%2FTD%3E%0A%20%20%20%3C%2FTR%3E%0A%20%20%3C%2FTBODY%3E%3C%2FTABLE%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107308i5C065804C17C2EDD%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107309i15F96DC912DD42BF%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CI%3E%20PowerShell%20snippet%20showing%20the%20Storage%20Subsystem%20from%20node1%20and%20node2%20%3C%2FI%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CEM%3E%20%3C%2FEM%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ea.%20Enumerate%20physical%20disks%20in%20each%20subsystem%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EEnumerating%20physical%20disks%20(using%20Get-PhysicalDisk)%20shows%20drives%20in%20the%20standalone%20subsystem%20of%20the%20current%20node%20and%20the%20aggregation%20of%20drives%20in%20the%20cluster%20subsystem%20across%20all%20cluster%20nodes.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EKeshan-VM-4%20has%20only%20the%20OS%20disk%20in%20its%20standalone%20subsystem%20and%20Keshan-VM-7%20has%20three.%20On%20both%20nodes%20the%20cluster%20subsystem%20contains%20the%2010%20SAS%20disks%20shared%20between%20the%20two%20cluster%20nodes.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107310i2B5949E0205E1260%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CI%3E%20PowerShell%20snippet%20showing%20the%20Physical%20disks%20in%20each%20Storage%20subsystem%20on%20node%20-%20Keshan-VM-4%20%3C%2FI%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107311iFD2AF749AAC46ADE%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CI%3E%20PowerShell%20snippet%20showing%20the%20Physical%20disks%20in%20each%20Storage%20subsystem%20on%20node%20-%20Keshan-VM-7%20%3C%2FI%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CEM%3E%20%3C%2FEM%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eb.%20Creating%20a%20Storage%20pool%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20Win8%2C%20a%20pool%20was%20created%20using%20drives%20with%20%E2%80%9CCanPool%E2%80%9D%20property%20of%20%E2%80%9Ctrue%E2%80%9D.%20In%20R2%2C%20this%20still%20works%20for%20a%20standalone%20system%20containing%20only%20one%20subsystem.%20On%20a%20cluster%20node%2C%20which%20now%20has%20two%20subsystems%2C%20here%E2%80%99s%20the%20mechanism%20to%20create%20a%20pool.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETo%20create%20a%20pool%20in%20the%20Standalone%20subsystem%2C%20use%20the%20local%20poolable%20physical%20disks.%20Enumerating%20the%20drives%20using%20Get-StoragePool%20shows%20the%20pools%20in%20the%20standalone%20subsystem%20of%20the%20current%20node%20and%20the%20aggregation%20of%20the%20pools%20in%20the%20cluster%20subsystem%20across%20all%20cluster%20nodes.%20The%20newly%20created%20pool%20%E2%80%9Clocalpool%E2%80%9D%20is%20in%20the%20local%20subsystem%20of%20the%20node%20%E2%80%9CKeshan-VM-7%E2%80%9D.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107312i169C6D13683E9ED9%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E2%80%9Clocalpool%E2%80%9D%20will%20not%20be%20seen%20in%20the%20pool%20aggregated%20view%20on%20the%20other%20cluster%20node%20%E2%80%9CKeshan-VM-4%E2%80%9D%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107313iBA8013AE80F431B8%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CI%3E%20PowerShell%20snippet%20to%20create%20a%20pool%20on%20local%20subsystem%20of%20Keshan-VM-4%20%3C%2FI%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWhen%20the%20pool%20is%20created%20in%20the%20cluster%20subsystem%2C%20it%20will%20appear%20in%20the%20pool%20aggregated%20view%20on%20all%20of%20the%20cluster%20nodes.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107314i3E882F99FDC27BDB%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CI%3E%20PowerShell%20snippet%20to%20create%20a%20pool%20on%20local%20subsystem%20from%20node%20Keshan-VM-4%20%3C%2FI%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFew%20things%20to%20note%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-%20A%20pool%20can%20be%20created%20only%20using%20drives%20that%20belong%20to%20the%20same%20subsystem%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-%20A%20pool%20created%20on%20a%20cluster%20subsystem%20is%20by%20default%20clustered%20(added%20to%20the%20cluster).%20To%20disable%20auto-clustering%20of%20a%20pool%2C%20the%20%E2%80%9CEnableAutomaticClustering%E2%80%9D%20flag%20needs%20to%20be%20set%20to%20%E2%80%9Cfalse%E2%80%9D%20on%20the%20cluster%20subsystem%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107315i52A23542D1983598%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107316iF7BB3D655587D2FE%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFrom%20then%20on%2C%20to%20add%20the%20pool%20to%20the%20cluster%2C%20the%20Add-ClusterResource%20cmdlet%20should%20be%20used.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ec.%20Creating%20virtual%20disk%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107317i20CB1A51A356D525%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CI%3E%20PowerShell%20snippet%20to%20enumerate%20pool%20in%20local%20Subsystem%2C%20create%20Virtual%20Disk%20and%20enumerate%20it%20%3C%2FI%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107318iB357CE99CEC6E60D%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CI%3E%20PowerShell%20snippet%20to%20enumerate%20pool%20in%20cluster%20Subsystem%2C%20create%20Virtual%20Disk%20and%20enumerate%20it%20%3C%2FI%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EPool%20and%20Space%20owner%20nodes%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20R2%2C%20a%20new%20StorageNode%20object%20has%20been%20introduced%20to%20represent%20a%20node.%20This%20is%20used%20in%20the%20following%20scenarios%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-%20To%20determine%20storage%20topology%20i.e.%20connectivity%20of%20physical%20disks%20and%20enclosures%20to%20cluster%20nodes%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-%20To%20find%20out%20on%20which%20node%20the%20pool%2FSpace%20is%20Read-Write%20%E2%80%93%20pool%20owner%20and%20space%20owner%20nodes.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20below%20output%20for%20Get-StorageNode%20executed%20from%20cluster%20node%20%E2%80%9CKeshan-VM-4%E2%80%9D%20shows%20the%20storage%20nodes%20in%20the%20local%20and%20cluster%20subsystems.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107319iE63AA703CD6BBAE4%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20the%20cluster%2C%20the%20pool%20and%20Space%20are%20Read-Write%2C%20only%20on%20one%20of%20the%20nodes.%20To%20get%20the%20owner%20node%2C%20use%20the%20StorageNode%20to%20StoragePool%2FVirtualDisk%20association.%20The%20below%20screenshot%20shows%20that%20node%20%E2%80%9CKeshan-VM-4%E2%80%9D%20is%20the%20pool%20owner%20of%20the%20clustered%20pool%20%E2%80%9Ccluspool%E2%80%9D.%20This%20was%20run%20from%20%E2%80%9CKeshan-VM-4%E2%80%9D%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107320i01D58353E80C4FB7%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20below%20snippet%20shows%20that%20%E2%80%9CKeshan-VM-4%E2%80%9D%20is%20also%20the%20Space%20owner%20node%20for%20%E2%80%9CclusVD%E2%80%9D.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F107321iC182A487E83C42CE%22%20%2F%3E%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-425471%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20Nov%2007%2C%202014%20Blog%20written%20by%20Sripresanna%20in%20the%20Storage%2C%20Network%20%26amp%3B%20Print%20Team%26nbsp%3BCluster%20aggregated%20view%20for%20Windows%20Storage%20Provider%26nbsp%3BIn%20this%20blog%2C%20I%E2%80%99d%20like%20to%20explain%20about%20the%20new%20cluster%20aggregated%20view%20feature%20that%20is%20part%20of%20the%20Storage%20Management%20on%20Windows%20Server%202012%20R2.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-425471%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Efailover%20clustering%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Estorage%20management%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Estorage%20spaces%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewindows%20server%202012%20r2%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on TECHNET on Nov 07, 2014

Blog written by Sripresanna in the Storage, Network & Print Team



Cluster aggregated view for Windows Storage Provider



In this blog, I’d like to explain about the new cluster aggregated view feature that is part of the Storage Management on Windows Server 2012 R2. For a quick overview of the Storage Management at Microsoft, refer to the Windows 2012 R2 Storage (scroll to SM API) and Getting Started with SMI-S


In a cluster environment, there are two types of storage subsystem:


1. Standalone subsystem: Storage resources that are directly connected to the storage node.


2. Cluster subsystem: Storage resources that are either clustered or clusterable.


a) Clustered - Storage resources that are already part of the cluster. IsClustered Property


b) Clusterable – Storage resources that can be potentially added to the cluster. If a storage object is reachable from a cluster node, then that storage object is considered to be clusterable. Disks (even if disks are not fully shared across all cluster nodes) with below bustypes are in the Clusterable category – “iSCSI”, “SAS”, “Fiber Channel”, and potentially “Storage Spaces (if pool is in shared view)”


Challenge: In Windows 2008, the management layer of cluster storage required administrator to do extra task to view all the storage resources. The administrator had to go to each cluster node, enumerate the storage and combine the list to understand what storage is clustered and what is local to the node.


Solution: In Windows 2012 R2, we introduced a feature called cluster aggregated view. With this feature, the Storage Provider performs the above tasks for the administrator and presents a unified view called cluster aggregated view. As a result, the administrator can view both local and cluster subsystem resources and uniquely identify the objects from any cluster nodes without performing any extra task. Thus, saves time and makes the management of storage subsystem easier. This feature is implemented in the Windows storage provider and other SMP providers can chose to do it.



Getting Started Guide : In this part, I’ll walk you step-by-step to illustrate the cluster aggregate feature in Windows Server 2012 R2 and its implications on a Symmetric storage configuration


In a symmetric storage configuration, all the cluster capable drives are connected to all the storage nodes. In this example, there are two cluster nodes viz. Keshan-VM-4 and Keshan-VM-7. The below table shows the storage subsystem for both the nodes.




Node



Standalone Subsystem



Cluster Subsystem



Keshan-VM-4



Storage Spaces on Keshan-VM-4



Clustered Storage Spaces on keshan-th1



Keshan-VM-7



Storage Spaces on Keshan-VM-7



Clustered Storage Spaces on keshan-th1






PowerShell snippet showing the Storage Subsystem from node1 and node2



a. Enumerate physical disks in each subsystem



Enumerating physical disks (using Get-PhysicalDisk) shows drives in the standalone subsystem of the current node and the aggregation of drives in the cluster subsystem across all cluster nodes.


Keshan-VM-4 has only the OS disk in its standalone subsystem and Keshan-VM-7 has three. On both nodes the cluster subsystem contains the 10 SAS disks shared between the two cluster nodes.



PowerShell snippet showing the Physical disks in each Storage subsystem on node - Keshan-VM-4



PowerShell snippet showing the Physical disks in each Storage subsystem on node - Keshan-VM-7



b. Creating a Storage pool



In Win8, a pool was created using drives with “CanPool” property of “true”. In R2, this still works for a standalone system containing only one subsystem. On a cluster node, which now has two subsystems, here’s the mechanism to create a pool.


To create a pool in the Standalone subsystem, use the local poolable physical disks. Enumerating the drives using Get-StoragePool shows the pools in the standalone subsystem of the current node and the aggregation of the pools in the cluster subsystem across all cluster nodes. The newly created pool “localpool” is in the local subsystem of the node “Keshan-VM-7”.



“localpool” will not be seen in the pool aggregated view on the other cluster node “Keshan-VM-4”



PowerShell snippet to create a pool on local subsystem of Keshan-VM-4


When the pool is created in the cluster subsystem, it will appear in the pool aggregated view on all of the cluster nodes.



PowerShell snippet to create a pool on local subsystem from node Keshan-VM-4



Few things to note:


- A pool can be created only using drives that belong to the same subsystem


- A pool created on a cluster subsystem is by default clustered (added to the cluster). To disable auto-clustering of a pool, the “EnableAutomaticClustering” flag needs to be set to “false” on the cluster subsystem




From then on, to add the pool to the cluster, the Add-ClusterResource cmdlet should be used.



c. Creating virtual disk




PowerShell snippet to enumerate pool in local Subsystem, create Virtual Disk and enumerate it



PowerShell snippet to enumerate pool in cluster Subsystem, create Virtual Disk and enumerate it



Pool and Space owner nodes



In R2, a new StorageNode object has been introduced to represent a node. This is used in the following scenarios:


- To determine storage topology i.e. connectivity of physical disks and enclosures to cluster nodes


- To find out on which node the pool/Space is Read-Write – pool owner and space owner nodes.


The below output for Get-StorageNode executed from cluster node “Keshan-VM-4” shows the storage nodes in the local and cluster subsystems.



In the cluster, the pool and Space are Read-Write, only on one of the nodes. To get the owner node, use the StorageNode to StoragePool/VirtualDisk association. The below screenshot shows that node “Keshan-VM-4” is the pool owner of the clustered pool “cluspool”. This was run from “Keshan-VM-4”



The below snippet shows that “Keshan-VM-4” is also the Space owner node for “clusVD”.