Building #USB SOFS with Storage Spaces Direct #S2D #WS2016   Leave a comment

I like the option Storage Spaces. As you can use a simple disk to play with thin provisioning and show he I got a 480 TB Disk ( USB ) that is huge.

But this is no fun. I’m not saying this is Supported! play at own risk.

image

This is fun for demo’s but I was thinking about a fun blog post this could be it. At least to get things working.

I used my old USB disk and thought has anyone build a USB Scale-out File Server ? guess not Let me bing that for you  http://tinyurl.com/lprxqsf

Playing with the New Cluster Options. as shown in an old blog post : what is new in Server 2016

But looking at just those 4 Options to Enable the Storage Spaces Direct that is no fun but what about the other options.

Storage Space Direct

With a little help of this STORAGE_BUS_TYPE enumeration on MSDN we could do Fun things with some old disks.

https://msdn.microsoft.com/en-us/library/windows/desktop/ff800833(v=vs.85).aspx

So enabling the options I start Building My Scaleout File Server with My USB thumbdrive Storage.

image

With the DASmodeEnabled and the change of the bustype the disk are online

 

image

Creating my Storage Space Direct

 

Storage Space Direct

Got My three disks online in my Cluster Enclosure

image

Created a Disk and made this disk a CSV Winking smile To bad I could not thin provisioning this disk. So a max of 700 GB is there.

Storage Space Direct

Just a screen shot of my Cluster with Storage Space Direct

Storage Space Direct

Se how Fun new technology can be play and learn.

 

Download Windows Server Technical Preview evaluations:

Happy clustering

Robert Smit

@clusterMVP

https://robertsmit.wordpress.com

Posted May 18, 2015 by Robert Smit [MVP] in Windows Server 2016

Tagged with

#whatif #Hybrid Storage Spaces Direct #S2D and Storage Replication #SR #Azure Windows Server 2016 #MVPvConf #ws2016 #MVPBuzz   3 comments

As you know in Windows Server you can use the local storage in you cluster and you can also replicate storage between two Servers.

But what if we combine these two options ? seems logical and with some advanced config it could work. ok but what if I use Azure for this and better I use a Hybrid config using a Cluster that has also a leg in a on premise Winking smile will this work ? I don’t think it is supported but cluster validation passed on this so it must be supported. with a *

Ok what Do I need for this :

Azure Subscription – Check

Azure Site – to – site VPN  – Check

on-premise Cluster – Check  6 node Cluster

Azure Cluster nodes – Check 2 nodes running in Azure.

Fast Internet line – check

I’m not showing you all the details else it would be a very long blog post and I have already posted on how you can build your Replica and How to use the Storage Spaces Direct Combine them with those Two options.

https://robertsmit.wordpress.com/2014/10/08/first-look-at-windows-volume-replication-storage-replica-in-windows-server-windows10-winserv-storage-wvr/

https://robertsmit.wordpress.com/2014/12/16/storage-spaces-shared-nothing-storage-replication-does-das-only-storage-work-in-a-failover-cluster-or-in-azure-winserv-sr-ch9/

My Setup is 4 Cluster nodes On Hyper-v on premise and Two node in Azure all running All Running Windows Server 2016.

and basically what I did is Building a cluster with Storage Spaces Direct based on 3 local disk and on top of this I created a 2 Disks that I used for replication.

image

as you can see I have 26 disk in Node 1 Different Sizes and Shared and non shared disks these are running on my Hyper-v 2012R2 Server

image

and with the Storage Spaces Direct option my Cluster Would look like this.  Hybrid Cluster with all the Best options in Windows Server 2016

imageimage

My Storage Pools One is running in Azure and On is on premis As for the Replication all replication disk needs to be at the same size.

image

Sizing difficult in azure So I created first the Azure disk to see what size they are and after that I created the On-premise disks

image

This is really nice all native Windows Server 2016. the only thing you need is a fast internet line. and Currently the limit is the access to Azure ( if you don’t have Expressroute. )

image

Seting up the Replication is easy with powershell

New-SRPartnership -SourceComputerName win2015-1 -SourceRGName Azure_group01 -SourceVolumeName u: -SourceLogVolumeName v: -DestinationComputerName win2015-6 -DestinationRGName Azure_group02 -DestinationVolumeName p: -DestinationLogVolumeName Q: -LogSizeInBytes 1gb

image

My Replication with Storage Spaces Direct in a hybrid Configuration. as you can see with this more configurations are possible and if you make sure the line latency is below 50ms things could work just fine.

image

But building this is fun but imaging you need to trouble shoot this where are my disk and what is failing things are getting complex and even with the hybrid model extending your Datacenter to Azure is a bit closer.

image

With todays Fast internet it is easy to build this and hybrid solutions are easy to build especially with windows server 2016 build in Replica and local Storage for clustering. extending your lab or production to Azure and you can demonstrate the high available solutions today. but keep in mind building an troubleshooting can be a pain as environments are getting complex.

 

Checkout the MVP V-Conf Session

Deploying Highly Available SQL Server in Microsoft Azure IaaS

http://mvp.microsoft.com/en-us/virtualconference-sessions.aspx

 

Download Windows Server Technical Preview evaluations:

Happy clustering

Robert Smit

@clusterMVP

https://robertsmit.wordpress.com

Posted May 18, 2015 by Robert Smit [MVP] in Windows Server 2016

Tagged with

#eBooks #Review @PacktPub http://bit.ly/1GRNFoQ Microsoft Hyper-V PowerShell Automation by Vinith Menon   Leave a comment

Vinith Menon Wrote a Book “Microsoft Hyper-V PowerShell Automation

When Building a Hyper-v environment Automation is often a next step as you will build VM’s creating networks , setting up replication. adding Clusters,vSwitches and you don’t want to do this all by hand. We have PowerShell.

image

This book is a great step on how to start with the given samples and explanation of the PowerShell commands. There are several chapters and each has his own Hyper-v topic. I liked the Configuring Virtual Switches and creating PowerShell module cmdlets chapter. As versions and options moving fast in the Windows Server, this book will get you started and get your environment up to speed in no time with all the given samples.

About This Book

  • Explore the new features in Hyper-V in Windows Server 2012 R2 and also learn to automate them using PowerShell
  • Take advantage of numerous Hyper-V best practices for administrators with re-usable PowerShell scripts
  • Implement your learning immediately with practical instructions and examples

In Detail

Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Hyper-V is Microsoft’s hypervisor that creates and runs virtual machines. Hyper-V for Windows PowerShell provides IT pros with an easy way to enable automation of management tasks within Windows Server. The Hyper-V PowerShell module includes several significant features that extend its use, improve its usability, and allow you to control and manage your Hyper-V environment with more granular control.

This book explores the new features made available with Hyper-V version 3, and breaks down the mystery and confusion that surrounds which feature to use and when. It also teaches you the PowerShell way to automate the usage of these features. It will take you through a number of practical examples that will help you take advantage of the Hyper-V version 3 cmdlets efficiently. You will also learn how to use Hyper-V version 3 PowerShell cmdlets to install and configure Hyper-V in a Windows Server environment and also learn about the various administration tasks in detail. You will learn everything you need to get started with administering your Hyper-V environment using PowerShell.

Book Details

ISBN 139781784391539

Paperback 124 pages

Posted May 15, 2015 by Robert Smit [MVP] in packt

Tagged with

#improve Windows Server 2016 #UserVoice page #S2D #ws2016 #nano #linux #CPS #cloud #powershell #preview   Leave a comment

Windows Server has a new UserVoice page: http://windowsserver.uservoice.com/forums/295047-general-feedback with subsections:

General Feedback

Do you have an idea or suggestion based on your experience with Windows Server? We would love to hear it! Please take a few minutes to submit your idea in the one of the forums available on the right or vote up an idea submitted by another Windows Server customer. All of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Windows Server. Suggestions can apply to both released and Technical Preview versions of Windows Server.

This forum (General Feedback) is used for any broad feedback related to Windows Server. If you have feedback on a specific aspect of Windows Server, for example Storage, Networking, Virtualization, Nano Server, etc., please submit your feedback in one of the forums available on the right.

If you are looking to provide feedback on Automation (PowerShell and Scripting) please provide your suggestions using our PowerShell Connect Site.

Remember that this site is only for feature suggestions and ideas!

If you have technical questions or need help with Windows Server, please visit our TechNet Forums.

To see our work in progress, please go ahead and install the Windows Server Technical Preview. More information on what’s new in the Technical Preview can be found here. You can join the conversation about the Technical Preview and swap advice with others at Technical Preview Forums.

Clustering: http://windowsserver.uservoice.com/forums/295074-clustering

Storage: http://windowsserver.uservoice.com/forums/295056-storage

Virtualization: http://windowsserver.uservoice.com/forums/295050-virtualization

Networking: http://windowsserver.uservoice.com/forums/295059-networking

Nano Server: http://windowsserver.uservoice.com/forums/295068-nano-server

Linux Support: http://windowsserver.uservoice.com/forums/295062-linux-support

 

At the heart of the Microsoft Cloud Platform, Windows Server brings Microsoft’s experience delivering global-scale cloud services into your infrastructure. Windows Server Technical Preview 2 provides a wide range of new and enhanced features and capabilities spanning server virtualization, storage, software-defined networking, server management and automation, web and application platform, access and information protection, virtual desktop infrastructure, and more.

As a reminder, these are early pre-release builds. Many of the features and scenarios are still in development. As such, these builds are not intended for production environments, labs, nor full evaluations. This is pre-released software; features and functionality may differ in the final release.

Need more information about the next version of Windows Server? See what’s new in Windows Server Technical Preview 2.

Download for Windows Server 2016 Technical Preview 2 (TP2) is here: http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview

 

Happy clustering

Robert Smit

follow me : @clusterMVP

https://robertsmit.wordpress.com

MVP Profile : http://mvp.microsoft.com

Posted May 13, 2015 by Robert Smit [MVP] in Windows Server 2016

Tagged with

Windows Server 2016 with Storage Spaces Direct. Building #SOFS with Storage Spaces Direct #winserv #win2016 #S2D #howtopics   Leave a comment

Windows Server 2016 enables service providers to deploy Microsoft storage solutions using Storage Spaces Direct with Direct Attached Storage (DAS). Today’s Microsoft storage solutions are dependent on and require storage hardware that is inherently shareable, such as Fibre Channel, or iSCSI SAN, or Storage Spaces with Shared SAS. Storage Spaces with DAS hardware support in Windows Server 2016 enables Microsoft Storage Solutions to use hardware that is not shareable by design.

Windows Server 2016 with Storage Spaces Direct

The Microsoft Storage Solution in Windows Server 2016 is an evolution of the investments in Scale-Out File Server (SOFS), Clustered Shared Volume File System (CSVFS), Storage Spaces and Failover Clustering.

Windows Server 2016 with Storage Spaces Direct

What’s New in the Windows Server Technical Preview http://technet.microsoft.com/en-us/library/dn765472.aspx

What’s New in Failover Clustering in Windows Server Technical Preview http://technet.microsoft.com/en-us/library/dn765474.aspx

What do we need to create a Windows Server Storage Spaces Direct  ?

Well just a cluster based on windows server Technical preview and some local disks any disks ? no not just any disk it can’t be USB disk but this can be used with the normal storage spaces. as shown here http://blogs.technet.com/b/askpfeplat/archive/2012/10/10/windows-server-2012-storage-spaces-is-it-for-you-could-be.aspx

A basic cluster with a bunch of drives is al you need

In this case I have a two node cluster and  20 disks on node 1 and 9 disk on node 2.

Remember these are local disk and not clustered. We can transfer this in a Storage Space and use it for Hyper-v

Windows Server 2016 with Storage Spaces Direct

But Suppose we could use this for a cluster then our “old” disks would be use full to other functions.

Of course there are some question marks here  but let me show you how to build this and this could be helpful.

If I take a look at the disk storage on my first node I see 21 disk

image  image

and not that much storage on node 2

So on our two node cluster I can’t add local storage this will not work unless..

Unless we set an extra Cluster Property and then we can use this disk as cluster storage but with a star*

I’ll do this in the GUI in PowerShell it is way to easy ( did you hear that …odd a few years ago it was reversed )

If we take a look at the Cluster Property’s we will see that there is a new option in DASMODE

DASModeEnabled        0
DASModeBusTypes        134144
DASModeOptimizations        1
DASModeIOLatencyThreshold        10000

 

Windows Server 2016 with Storage Spaces Direct

When setting all the options we can use all the disks in the cluster nodes.

Setting the DASModeEnabled=1 will allocate all the local disk to the Storage Pool.

(Get-Cluster).DASModeEnabled=1

Windows Server 2016 with Storage Spaces Direct

in the enclosures there is a huge list with all the Disks, these disk are all local disks Winking smile

Windows Server 2016 with Storage Spaces Direct

Now we are creating Storage Spaces I’ll show you this in the GUI and this way you can see what is changed in the cluster. After this you can do this in PowerShell like in de blogs below

More info can be found here http://technet.microsoft.com/en-us/library/jj822937.aspx Deploy Clustered Storage Spaces

Step-by-step for Storage Spaces Tiering in Windows Server 2012 R2

http://blogs.technet.com/b/josebda/archive/2013/08/28/step-by-step-for-storage-spaces-tiering-in-windows-server-2012-r2.aspx

Now that all my disk converted to a SES enclosure and as you can see this is published in the Cluster under the new Enclosure under storage.

 image

 

image

Creating a new Storage spaces direct

Windows Server 2016 with Storage Spaces Direct 

As you can see I can create Multiple Spaces

image

You will need at least 3 disk to create a Storage Space.

image

Windows Server 2016 with Storage Spaces Direct

Selecting the Disks for the Storage Space

image

 

Next create a Virtual disk in the just created Storage Space

image

image

 

I have no storage tier so for this demo I choose a simple setup

 

imageimageimage

 

Now that the disk is created we need to create a volume on the Disk.

 

imageimageimageimageimage

As you can see there are several steps needed to create a disk/ volume in a Storage space. This has nothing to do with Storage spaces direct.

when look at the cluster I see now a Disk in the pool that I can use as a Cluster Disk for a Clustered Resource.

 

Windows Server 2016 with Storage Spaces DirectWindows Server 2016 with Storage Spaces Direct

In this case I used Only a simple setup but you can create a bigger setup and getting more lops or redundancy

 

Windows Server 2016 with Storage Spaces Direct

In this case I created a Scale out file server with Storage Spaces Direct. This is demo only!

Windows Server 2016 with Storage Spaces Direct

So these are the basic steps to use , you can use a tiered storage space direct.

If you want more info about this checkout the Techdays NL Agenda

 image

https://www.microsoft.com/netherlands/techdays/spreker.aspx?name=robert-smit&theme=yellow

Or view the Sessions from Ignite on Channel 9

http://channel9.msdn.com/Events/Ignite/2015/BRK3474

 

 

Happy clustering

Robert Smit

@clusterMVP

https://robertsmit.wordpress.com

Technorati Tags: ,,,,,,

Posted May 12, 2015 by Robert Smit [MVP] in windows Server 2016

Tagged with

#MOM is back but with more and better options #MOMS Microsoft Operations Management Suite #OMS #MSIgnite #Azure   Leave a comment

Announcing Microsoft Operations Management Suite. At Ignite Microsoft called the OMS this will be the mother of all Monitoring in and around the clouds. With a lot of Free options so why paying for Monitoring as you can see the state of your servers a a great view or custom dashboard. As OMS is a great too the get quick insight info and check if the Configuration is followed by the best practice guidance.

Microsoft Operations Management Suite
 

Operations Management Suite webpage :

The Microsoft Operations Management Suite is the IT management solution for the era of the cloud; a single solution, built to manage your entire enterprise environment regardless of location, operating system, hypervisors, or cloud provider choices. Operations Management Suite manages your Windows and Linux workloads across your datacenter, Azure, Amazon Web Services (AWS), OpenStack, and VMware environments, incorporating cloud-scale resources to unlock new, faster ways to solve and prevent problems building. Through this rich platform powered by Azure, Operations Management Suite delivers a unified IT management solution enabling you to:

  • Gain visibility across your hybrid enterprise cloud: Collect and analyze log data from virtually any source, and turn it into real-time operational intelligence.
  • Orchestrate complex and repetitive operations: Automate manual and frequently repeated tasks for more efficient and cost-effective hybrid cloud management.
  • Ensure data integrity and application availability: Backup and enable integrated recovery for all your servers and applications, no matter where they reside.
  • Secure your workloads, servers, and users: Identify malware status and missing system updates. Collect security-related events for analysis.

Microsoft Operations Management Suite

As you can see OMS is not only bound to the Microsoft cloud.

Complements your System Center investment to unleash new management scenarios. As System Center continues to drive faster time to value, OMS extends its capability to deliver a full hybrid management experience across any datacenter or cloud. Integrate with ease, and use the power of your System Center environment to access new management technologies faster.

 

Happy clustering

Robert Smit

follow me : @clusterMVP

https://robertsmit.wordpress.com

MVP Profile : http://mvp.microsoft.com

Manage Azure with System Center 2012 R2 Virtual Machine Manager #SCVMM 2012 R2 #UR6   Leave a comment

With Update Rollup 6 for System Center 2012 R2 Virtual Machine Manager (VMM 2012 R2 UR6) you have the option to manage Azure Virtual machines.

What you can do with this feature
If you already manage your on-premises virtual machines in Virtual Machine Manager, you can use this feature to perform some very basic actions on Azure instances without leaving the VMM console. For example, you can do the following:

  • Add or remove one or more Azure subscriptions by using the VMM console.
  • See a list view of details and statuses of all role instances in all deployments in that subscription.
  • Manually update the list of instances.
  • Perform the following basic actions on the instances:
    • Start
    • Stop
    • Shutdown
    • Restart
    • Connect through RDP

 

image

I tried to get this done all by PowerShell but it failed on me during lack of time to test this.

So basically you need a Azure Management Certificate

image

What you need to do is create a Certificate We use makecert and as you need the whole studio for just the makecert you can download the file from my onedrive http://1drv.ms/1GMrelk

What we need is just a display name , azure Subscription ID and a Certificate.

image

In my example you will need the Azure PowerShell Module.

You can download and install the Azure PowerShell modules by running the Microsoft Web Platform Installer. When prompted, click Run. The Web Platform Installer installs the Azure PowerShell modules and all dependencies. Follow the prompts to complete the installation.

First we make a self signed Certificate.

c:\makecert -sky exchange -r -n "CN=clustermvpazureFake" -pe -a sha1 -len 2048 -ss My "c:\clustermvpazureFake.cer"

Now that I have a Certificate I can upload this in my personal store.

Import-Certificate -FilePath "c:\clustermvpazureFake.cer" -CertStoreLocation ‘Cert:\currentuser\My’ -Verbose

image

sure you can do this manually but this is faster.

the next step is get my subscription ID

The basic steps to get my subscription is always the same get my publish file an list all my subscriptions

Import-Module Azure
Import-Module "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\Azure\Azure.psd1"
Get-AzurePublishSettingsFile
Import-AzurePublishSettingsFile "c:\azureapril.publishsettings"
Get-AzureSubscription

Selecting my Subscription.

Select-AzureSubscription "MVP-Cluster"

 

Getting my ID in just some easy steps I get my ID

$getauzsub= Get-AzureSubscription | Where-Object {$_.Subscriptionname  -eq "MVP-Cluster"}
$azuresubid = $getauzsub.SubscriptionId
$azuresubid

This ID You can copy past this from the PowerShell into the GUI and selecting my certificate that we just created and imported in the store.

 

image

 

image

And As you will get a warning : The Subscription could not be authenticated by azure. Ensure that your Certificate and Subscription ID are valid.

image

We forgot to Upload the Certificate to Azure.

As there are many post on the web to upload the management certificate with PowerShell it all failed on me. So we upload the certificate by hand.

Set-AzureSubscription -SubscriptionName $azuresubname -SubscriptionId $azuresubid -Certificate $getCert

 

Uploading the just created Certificate to Azure.

In the Azure portal go to settings on the bottom and select management Certificates

image

And on the bottom there is an upload option you can select the Certificate and the subscription just make sure this will be the same as in the VMM console

image image

Now that the certificate is uploaded we go back to the VMM console and press finish and in a few seconds the Azure content is loaded in the VMM Console.

and Easy starting and stopping with the RDP is there real handy one step closer a a real hybrid Cloud.

image

 

Happy clustering

Robert Smit

follow me : @clusterMVP

https://robertsmit.wordpress.com

MVP Profile : http://mvp.microsoft.com

  • Twitter

  • Follow

    Get every new post delivered to your Inbox.

    Join 1,629 other followers

    %d bloggers like this: