Cabling


SAS cables and HBA cards should all be labeled so that you can connect your JBOD(s) to your server(s).  Cabling diagrams can also be found on our website herehttp://www.dataonstorage.com/windows-server-2012-r2-storage-spaces.html


Windows Server 2012 R2


Before setting up your storage spaces, it is required to go into Server Manager and install the following in every single server

All of these features will be under Server Roles in the Add Roles and Features Wizard.



JBOD/Physical Disks

It is recommended that SAS devices are used with DataON JBODs.

  • Verify that the HealthStatus of all JBOD enclosures are Healthy.  To do this, in PowerShell, run the following cmdlet: Get-StorageEnclosure | select * .  This will get all storage enclosures that are recognized by the server, along with important information regarding the enclosure, including its health status.

  • Verify that all physical disks can be pooled.  The following cmdlet lists the number of disks that are available to be added to a storage pool: Get-PhysicalDisk -canpool $true | measure

  • Verify each server has redundant paths to all the disks in each JBOD enclosure.  Download the file in the following link which contains the cmdlet, mpathadm.ps1https://dataon.freshdesk.com/support/solutions/articles/6000112437-windows-cmdlet-to-check-path-redundancy .  The cmdlet, mpathadm.ps1, returns how many paths each server has to each disk.


Creating Storage Spaces

Before creating the storage pool, reference the following guide on Microsoft's configuration limits for storage spaces:


https://dataon.freshdesk.com/support/solutions/articles/6000008454-configuration-limitations-recommended-by-microsoft


  • Create a Storage Pool - All available disks must be grouped into one or more storage pools.
    • In Server Manager, click File and Storage Services
    • Click Storage Pools
    • Under Storage Pools, click Tasks, then New Storage Pool.  The Storage Pool Wizard will open
    • Name the storage pool
    • Select each physical disk you wish to be added to the storage pool
    • Confirm the settings of the storage pool are correct, then click Create
    • The new storage pool should now be listed under Storage Pools
  • Create the Quorum Disk - A Quorum disk must be created in a failover cluster to ensure that the cluster will continue to have high availability an event of a failure.
    • The New Virtual Disk Wizard should open after creating the storage pool.  If not, under Virtual Disks, click Tasks, then New Virtual Disk.
    • .On the storage pool page, select the storage pool you'd like to create the quorum disk from and then click Next.
    • Name the quorum disk Q.
    • Select your desired layout for the quorum disk and then click Next.
    • Select the Fixed provisioning type.
    • Specify the size of the quorum disk.  The quorum disk should be the smallest virtual disk.
    • Confirm the settings of the quorum disk are correct, then click Create.
    • Follow the Create the Volume step below to create the volume for the quorum disk.
  • Create the Virtual Disk(s) - You must now create one, or more, virtual disks, from the storage pool.
  • Create the Volume
    • Select the server and virtual disk in which you want to create the volume.
    • Specify the size of the volume and then click Next.
    • On the Assign to a drive letter or folder page, select your option and click Next.
    • Select your desired file system settings and click Next.
    • Confirm that the volume settings are correct, then click Create.
    • In Server Manager, click the Volumes page to verify the volume was created.

*Repeat the steps for creating a virtual disk and volume for however many virtual disks you decide to create.

  • Creating the Failover Cluster
    • On one of the available nodes, open Failover Cluster Manager in the tools drop-down in Server Manager.
    • Under Management, select Validate Configuration to validate the cluster.  If the validation tests are successful, you may proceed to create the cluster.
    • Select Create cluster
      • Select the servers you wish to be clustered.
      • Name the cluster.
      • Verify that the Add all eligible storage to the cluster box is checked.
      • Confirm the cluster settings, then click Create.
    • After the cluster is created, expand Storage, then click Disks.  The quorum disk, along with all of the virtual disks, that were created should be shown.  Select all of the virtual disks, excluding the quorum disk, and click the Add to clustered shared volume option.
    • All of the volumes are now shared between the clustered servers.  If failure with one server would occur, the workload will be distributed to another server in the cluster.

Diagnosing Storage Spaces

We recommend that users regularly manage their storage spaces making sure the status is always Healthy.  To do this, Microsoft, provides a script that automatically generates a report indicating the operational status of your storage spaces.  The link to download the script is as follows: 



 After running the script, the report will be generated.