A new storage feature was introduced in Windows Server 2016, which is very similar to other scale-out storage solutions such as VMware's Vsan, which allows direct connection of storage spaces, using local storage of storage nodes. That is, using each storage node's internal disk device to build an HA storage system to connect to a single storage node:
650) this.width=650; "height=" "title=" clip_image001 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image001 "src=" http://s3.51cto.com/wyfs02/ M00/79/9b/wkiom1awca7ye3zqaablmggbn9a477.png "border=" 0 "/>
All nodes use SMB3 to communicate directly with the storage space:
650) this.width=650; "height=" 208 "title=" clip_image002 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/ M02/79/9b/wkiom1awcbcxg2zcaabvbgqbyoi629.png "border=" 0 "/>
Storage spaces seamlessly integrates software-defined storage features that make up Windows Server, including scale-out file servers, cluster shared volumes, storage spaces, and failover clusters.
650) this.width=650; "height=" 447 "title=" clip_image003 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image003 "src=" http://s3.51cto.com/wyfs02/ M00/79/9b/wkiom1awcbkbrxujaadvslyesqa276.png "border=" 0 "/>
In addition to the same principle, it can be provided to Hyper-V virtual machines.
650) this.width=650; "height=" 449 "title=" clip_image004 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/ M01/79/9b/wkiom1awcbprbrgaaad7rzpmrnc852.png "border=" 0 "/>
So below I will use Windows Server TP4 to see how Microsoft's new server operating system can bring similar solutions:
According to Microsoft's requirements for simplicity is at least 4 second generation of Hyper-V virtual machines to complete the experiment, with at least 4 data disks per virtual machine.
(https://technet.microsoft.com/en-us/library/mt126109.aspx)
Note: The storage space direct connection does not support Mpio oh.
Because the test resources are limited, I have prepared 3 servers here: 1 dc;2 Windows Server 2016 domain member server, each add 2 10G disk, each 2 card, one external, a heartbeat
Let's start by installing the failover cluster role for each node
Install-windowsfeature–name File-services, Failover-clustering–includemanagementtools
650) this.width=650; "height=" 147 "title=" clip_image005 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image005 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awceasokzfaac7f2u5nvo152.png "border=" 0 "/>
Here's a start to verify that the cluster has the prerequisites to create a direct connection to the storage space:
650) this.width=650; "height=" 443 "title=" clip_image006 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/ M02/79/9b/wkiom1awcbehf3lkaadk8cwgghk504.png "border=" 0 "/>
Select "Run only selected tests" because we want to test the storage space direct connection here, by default this option is checked.
Here I uncheck the storage, because I am not testing shared storage, I am going to do storage space direct connection.
650) this.width=650; "height=" 439 "title=" clip_image007 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image007 "src=" http://s3.51cto.com/wyfs02/ M00/79/9b/wkiom1awcbmdt5claadu0sgdz_8245.png "border=" 0 "/>
You can also verify with PowerShell, but you must bring the-include parameter with the storage Spaces Direct value:
Test-cluster–node stor1,stor2–include "Storage Spaces Direct", Inventory,network, "System Configuration"
Validation completed, although warning, but still can be created
650) this.width=650; "height=" "title=" clip_image008 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/ M02/79/9b/wkiom1awcb6idw0saafwx33ndnc548.png "border=" 0 "/>
The following begins the creation of the cluster, including the file server
New-cluster–name Storcluster–node stor1,stor2–nostorage-staticaddress 192.168.11.153
650) this.width=650; "height=" "title=" clip_image009 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image009 "src=" http://s3.51cto.com/wyfs02/ M01/79/9b/wkiom1awcb_quaogaacn5cepw2e398.png "border=" 0 "/>
After the creation is complete, we can view the cluster network
650) this.width=650; "height=" 113 "title=" clip_image010 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image010 "src=" http://s3.51cto.com/wyfs02/ M00/79/9a/wkiol1awcfkxvtfxaacbt12mija127.png "border=" 0 "/>
Enable storage space direct connection below (Storage Spaces Direct)
Here is also divided into several types:
SATA Ssd+sata Hdd:enable-clusterstoragespacesdirect
NVMe ssd+ SATA Ssd:enable-clusters2d–s2dcachedevice NVMe
All SATA SSDs or NVMe SSDs to configure Sds:enable-clusters2d-s2dcachemode Disabled (s2d cache disabled)
In the SATA ssd+sata HDD configuration, storage space is tiered using SSD performance +HDD capacity.
In the NVMe ssd+sata SSD configuration, storage space is tiered using the performance of NVMe SSDs +sata SSD capacity.
650) this.width=650; "height=" 223 "title=" clip_image011 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image011 "src=" http://s3.51cto.com/wyfs02/ M02/79/9b/wkiom1awccptio8daadggj1kpwk549.png "border=" 0 "/>
Next, create the storage pool
Creating a storage pool can be created with PowerShell:
New-storagepool-storagesubsystemname <fqdn of the subsystem>-friendlyname <StoragePoolName>- Writecachesizedefault 0-provisioningtypedefault Fixed-resiliencysettingnamedefault Mirror-physicaldisk ( Get-storagesubsystem-name <fqdn of the Subsystem> | Get-physicaldisk)
Example:
New-storagepool-storagesubsystemname storcluster.contoso.com-friendlyname Storpool-writecachesizedefault 0- Provisioningtypedefault Fixed-resiliencysettingnamedefault Mirror-physicaldisk (get-storagesubsystem-name StorCluster.contoso.com | Get-physicaldisk)
650) this.width=650; "height=" 106 "title=" clip_image012 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image012 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awcfbdnrz-aadkqjbiyo4887.png "border=" 0 "/>
Of course, you can also use graphical to create:
650) this.width=650; "height=" 175 "title=" clip_image013 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image013 "src=" http://s3.51cto.com/wyfs02/ M00/79/9a/wkiol1awcfjcsrs6aadvobmmp8k359.png "border=" 0 "/>
Specify Storage Pool Name
650) this.width=650; "height=" 244 "title=" clip_image014 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image014 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awcfmyaehcaacjpoqqmws433.png "border=" 0 "/>
Select the physical disk for the storage pool, and the disk mode
650) this.width=650; "height=" 286 "title=" clip_image015 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image015 "src=" http://s3.51cto.com/wyfs02/ M02/79/9a/wkiol1awcf3hyrgpaad9o8trkbk177.png "border=" 0 "/>
How many blocks will be used here to select the number of pieces, it can be understood that 2 servers per 2 Fast hard disk is assumed to be considered as a server of 4 hard disks built into a cluster storage pool
650) this.width=650; "height=" 423 "title=" clip_image016 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image016 "src=" http://s3.51cto.com/wyfs02/ M02/79/9a/wkiol1awcf_hovhhaafpsmb_67i381.png "border=" 0 "/>
Start creating
650) this.width=650; "height=" 424 "title=" clip_image017 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image017 "src=" http://s3.51cto.com/wyfs02/ M02/79/9c/wkiom1awcc_b0wnnaadhftshdcu394.png "border=" 0 "/>
You can create a virtual disk when you are finished
650) this.width=650; "height=" 423 "title=" clip_image018 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image018 "src=" http://s3.51cto.com/wyfs02/ M00/79/9a/wkiol1awcgpiap8maacxhfbvww4500.png "border=" 0 "/>
You can see our cluster storage pool:
650) this.width=650; "height=" 429 "title=" clip_image019 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image019 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awcgxgs9fsaad2twbe-n4021.png "border=" 0 "/>
Start creating virtual disks
650) this.width=650; "height=" 209 "title=" clip_image020 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image020 "src=" http://s3.51cto.com/wyfs02/ M02/79/9c/wkiom1awcdatkjkiaadhtmzo2pg531.png "border=" 0 "/>
Why is 33G here? 4 Bucks 10G plus it's supposed to be 40G, right?
650) this.width=650; "height=" 274 "title=" clip_image021 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image021 "src=" http://s3.51cto.com/wyfs02/ M00/79/9c/wkiom1awcdfdivilaac8x1uak8y899.png "border=" 0 "/>
Cause after the storage pool has been created, each disk has a small portion of the occupied space:
650) this.width=650; "height=" 369 "title=" clip_image022 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image022 "src=" http://s3.51cto.com/wyfs02/ M01/79/9c/wkiom1awcdqqp8suaadjpaknn9m784.png "border=" 0 "/>
If we have 2 types of disks, then you can create a storage tier (tiered)
650) this.width=650; "height=" 476 "title=" clip_image023 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image023 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awcg_rsxo4aaelgtootty449.png "border=" 0 "/>
The next step is the hidden skills: This chassis sense is still very interesting, but the resources are limited and cannot be tested.
650) this.width=650; "height=" 470 "title=" clip_image024 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image024 "src=" http://s3.51cto.com/wyfs02/ M02/79/9c/wkiom1awcecskukfaafwbyx6tx0644.png "border=" 0 "/>
Here is the option to store data layouts: similar to RAID0,RAID1,RAID5
650) this.width=650; "height=" 198 "title=" clip_image025 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image025 "src=" http://s3.51cto.com/wyfs02/ M02/79/9a/wkiol1awchprfl4qaadylrqw6y0214.png "border=" 0 "/>
650) this.width=650; "height=" 113 "title=" clip_image026 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image026 "src=" http://s3.51cto.com/wyfs02/ M00/79/9a/wkiol1awchfwufryaadl5p8crpe612.png "border=" 0 "/>
650) this.width=650; "height=" title= "clip_image027" style= "margin:0px;border:0px;padding-top:0px"; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image027 "src=" http://s3.51cto.com/wyfs02/ M00/79/9c/wkiom1awcenclsymaadmxntkkfk191.png "border=" 0 "/>
Depending on the layout you choose, the actual available size is different.
Simple Available size is 32G
Mirror Available size is 14
Parit Available size is 21
Then select the virtual disk size you created (not larger than the available space capacity)
650) this.width=650; "height=" 476 "title=" clip_image028 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image028 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awch2spvfaaadhfypmbem831.png "border=" 0 "/>
Start creating
650) this.width=650; "height=" 475 "title=" clip_image029 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image029 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awcigxoce6aaexbb4kf9u411.png "border=" 0 "/>
Once you're done, you can start creating the volume.
650) this.width=650; "height=" 475 "title=" clip_image030 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image030 "src=" http://s3.51cto.com/wyfs02/ M02/79/9a/wkiol1awcioz_0p8aaeknwvp4jm496.png "border=" 0 "/>
650) this.width=650; "height=" 198 "title=" clip_image031 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image031 "src=" http://s3.51cto.com/wyfs02/ M02/79/9c/wkiom1awcftwahypaaduusg8u8w657.png "border=" 0 "/>
Select Virtual Disk
650) this.width=650; "height=" 475 "title=" clip_image032 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image032 "src=" http://s3.51cto.com/wyfs02/ M01/79/9c/wkiom1awcfbjlnkpaafgim_p1ic026.png "border=" 0 "/>
Create a volume and consume a little space from the virtual disk
650) this.width=650; "height=" "title=" clip_image033 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image033 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awcirxjpzfaacmzztf32o341.png "border=" 0 "/>
assigning drives and folders if I want to do a shared storage volume then I can choose not to assign drives and folders
650) this.width=650; "height=" 474 "title=" clip_image034 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image034 "src=" http://s3.51cto.com/wyfs02/ M02/79/9a/wkiol1awciyjlucnaaehkmmz8wc594.png "border=" 0 "/>
Select the format of the volume is refs or NTFS, and the cell size name, and so on
650) this.width=650; "height=" 290 "title=" clip_image035 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image035 "src=" http://s3.51cto.com/wyfs02/ M02/79/9a/wkiol1awci_byngdaaeetsoyovu559.png "border=" 0 "/>
Create
650) this.width=650; "height=" 477 "title=" clip_image036 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image036 "src=" http://s3.51cto.com/wyfs02/ M00/79/9a/wkiol1awcjgtq3cgaafb0_gikva270.png "border=" 0 "/>
You can see the changes after the creation is complete.
650) this.width=650; "height=" 345 "title=" clip_image037 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image037 "src=" http://s3.51cto.com/wyfs02/ M02/79/9c/wkiom1awcgfre80gaafma5ozmtw964.png "border=" 0 "/>
This is where we can turn the volume into a cluster shared volume
650) this.width=650; "height=" 274 "title=" clip_image038 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image038 "src=" http://s3.51cto.com/wyfs02/ M00/79/9a/wkiol1awcjrcroigaad8zjasnrk542.png "border=" 0 "/>
See this I believe you know here is familiar with the function and the original taste
650) this.width=650; "height=" 267 "title=" clip_image039 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image039 "src=" http://s3.51cto.com/wyfs02/ M00/79/9c/wkiom1awcgvqbfkfaadxor4cb18593.png "border=" 0 "/>
Finally, let's say the optimization section of the storage pool:
Over time, adding or removing physical disks or overwriting or deleting data can cause the pool's physical disk data to be distributed uneven. In this case, some disks become full and some are empty, so administrators can optimize maintenance tasks.
Optimize-storagepool <PoolName>
Example:
Optimize-storagepool Storpool
650) this.width=650; "height=" 143 "title=" clip_image040 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image040 "src=" http://s3.51cto.com/wyfs02/ M01/79/9a/wkiol1awcj6c8kduaabvuos12g4478.png "border=" 0 "/>
You can also use the following PS to monitor the progress of optimization
Get-storagejob |? Name–eq Optimize
650) this.width=650; "height=" "title=" clip_image041 "style=" border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none, "alt=" clip_image041 "src=" http://s3.51cto.com/wyfs02/M01/79/9C/ Wkiom1awcg2xf_3iaacyr4sif88517.png "border=" 0 "/>
If optimization stops working unexpectedly, it can be repaired:
Get-virtualdisk | Repair-virtualdisk
Today to share this, the content information is huge, also please you slowly digest, I also dizzy, also need digestion digestion. Special thanks to "The Old king next door" to my guidance can be successfully completed, thank you.
This article is from the "Zjunsen Microsoft Virtualization" blog, so be sure to keep this source http://rdsrv.blog.51cto.com/2996778/1734673
WinSrv2016 scale-out storage (SDS) [No shared storage]