Find Custom Config Section in web.config by Type instead of by String
Instead of calling Configuration ConfigurationManager.GetSection("name of section"), call the following: CustomSection section = GetConfigSection(typeof(CustomSection)) as CustomSection; This way, you...
View ArticleIIS and Certificates Random Musings
If you view a cert, windows goes out and downloads the root and puts it in the third-party trusted root certificate authorities store. If you select a cert in IIS binding, windows goes out and...
View ArticleEmail When Scheduled Task Fails
1. Create a new scheduled task 2. On the actions tab, click new 3. Change the action to send an e-mail 4. Enter the to, from, subject, text and smtp server information For subject and text enter...
View ArticleDPM 2010 Slow when Selecting Roverypoint to Recover
It took almost an hour to select a date and time to recover in DPM 2010. It appeared the this was because of high cpu usage by SQL. The query that seemed to be responsible for this was:SELECT Path,...
View ArticleIIS Application Initialization Quick Reference
Need to install application initialization module, if IIS 7.5 it's a separate download or WPI, included in IIS 8Set startMode to AlwaysRunning on application poolOpen configuration editor in IIS on...
View ArticleStorage Spaces and Latent Sector Errors / Unrecoverable Read Errors
I emailed S2D_Feedback@microsoft.com to ask about storage spaces direct and how it handles Latent Sector Errors (LSE), otherwise known as Unrecoverable Read Errors. Here is the email I sent:My company...
View Article3 Node Storage Spaces Direct Cluster Works!!!
I went through the following URL https://technet.microsoft.com/en-us/library/mt126109.aspx but instead of creating a 4 node Storage Spaces Direct cluster, I decided to try and see if a 3 node cluster...
View ArticleAD-less S2D cluster bootstrapping
AD-less S2D cluster bootstrapping - Domain Controller VM on Hyper-converged Storage Spaces DirectIs it a supported scenario to run a AD domain controller in a VM on a hyper-converged S2D cluster?...
View ArticleS2D Continually Refresh Job and Disk Status
In storage spaces direct you can run Get-StorageJob to see the progress of rebuilds/resyncs. The following powershell snippet allows you to continually refresh the status of the rebuild operation so...
View ArticleStorage Spaces Direct (S2D) Storage Jobs Suspended and Degraded Disks
Storage spaces direct is great, but every once and a while a S2D storage job will get a stuck and just sit there in a suspended state. This usually happens after a reboot of one of the nodes in the...
View ArticleStorage Spaces Direct (S2D), Degraded Virtual Disks and KB4038782
After applying Windows Server 2016 September's patch (KB4038782) to a node in an S2D cluster, the disks on that node would not come out of maintenance mode after the node re-joined the cluster and...
View ArticleS2D StoragePools and Virtual Disks Can Easily Move
It's possible to move all the physical disks involved in a S2D deployment to different servers and to bring the data online! I tested this out by installing S2D on a three node cluster. I shutdown all...
View ArticleS2D Recovering a Detached Virtual Disk with No Redundancy
So you've got your S2D cluster and you lost redundancy. Now what? How can this happen? Well if you restart too many nodes this can happen. Lets walk through a sample scenario and see what happens. Jump...
View ArticleHyper-V SET and NLB in Guest, Duplicate Frames/Packets
Just a quick blurb about switch embedded teaming and Microsoft network load balancing in guest virtual machines. If you've got NLB setup in multicast operational mode running in a VM on top of a...
View ArticleThe Case Against 2-Node S2D Solutions and 2-Way Mirroring
Update: 11/8/2018 Documentation is out for Windows Server 2019 that shows how MS solved the problem. This doesn't solve the problem though if you still decide to utilize 2-way mirroring. Just don't do...
View ArticleResize S2D Volume Quick Reference
Get-VirtualDisk vd01Get-VirtualDisk vd01 | Get-StorageTier | Resize-StorageTier -Size 1.5TBGet-VirtualDisk vd01Get-VirtualDisk vd01| Get-Disk | Get-Partition | Get-Volume$VirtualDisk = Get-VirtualDisk...
View ArticleS2D Replacing PhysicalDisk Quick Reference
List phsyical disks to find failed disk. Note serial number.Get-PhysicalDiskGet-PhysicalDisk | Get-StorageReliabilityCounterList virtual disks that use the drive, remember them for...
View ArticleTrouble Shooting S2D / Clusters
So you have a problem with S2D or you just fixed a problem and you want to try and figure out why it happened so it doesn't happen again. Execute the Get-ClusterDiagnosticInfo powershell script. It...
View ArticleView Physical Disks by Node in S2D Cluster
Quick snippets to view physical disks by node in S2D cluster:Get-StorageNode |%{$_.Name;$_ | Get-PhysicalDisk -PhysicallyConnected} The following is useful if you're looking at performance monitor and...
View ArticleThe Proper Way to Take a Storage Spaces Direct Server Offline for Maintenance?
Way back in September 2017 a Microsoft update changed the behavior of what happened when you suspended(paused)/resumed a node from a S2D cluster. I don't think the article "Taking a Storage Spaces...
View ArticleHierarchical View of S2D Storage Fault Domains
You can view your storage fault domains by running the following command:Get-StorageFaultDomain The problem is that this is just a flat view of everything in your S2D cluster. If you want to view...
View ArticleWMI root\cimv2 Hierarchy Visualization
Update: I made a mobile friendly version. You can find it at http://www.kreel.com/wmi. If you add it to your home screen and then open it, it should open full screen and give you more real-estate (at...
View ArticleInsightful WMI Snippets
Get all the namespacesfunction Get-CimNamespaces ($ns="root") { Get-CimInstance -ClassName __NAMESPACE -Namespace $ns | foreach { Get-CimNamespaces $("$ns\" + $_.Name) } Get-CimInstance...
View ArticleAzure Application Proxy Woes / Searching Azure AD for SPNs
I was trying to setup Azure Application Proxy so that it could I could publish my onprem Exchange OWA access through it and I was running into problems. Every time I tried to create the AAP on-premise...
View ArticleDisabling Legacy Authentication in Exchange Server 2019 with a DAG
If you have a DAG and you're using a frontend load balancer or DNS round robin, disabling legacy auth at the organization level will not work and will cause everything to go haywire. Be careful...
View Article
More Pages to Explore .....