Just a quick post this time , I was fumbling around the DMV’s the other day looking for a specific Availability group DMV that I just couldn’t remember the name of – I think we have all been there before with some of the DMV names! 🙂
Whilst I was combing through various combinations of sys.dm_hadr and sys.Availability I stumbled across a couple of gems that I thought would be nice to share.
- sys.dm_hadr_cluster
- sys.dm_hadr_cluster_members
- sys.dm_hadr_cluster_networks
But before we get carried away with what they show, let me show you what things look like from the Failover Cluster Manager so that we can be sure that I am not pulling a fast one.
![2017-08-15 20_33_24-SQL01 [Running] - Oracle VM VirtualBox](https://sqlundercover.files.wordpress.com/2017/08/2017-08-15-20_33_24-sql01-running-oracle-vm-virtualbox.png?w=736)
![2017-08-15 20_33_37-SQL01 [Running] - Oracle VM VirtualBox](https://sqlundercover.files.wordpress.com/2017/08/2017-08-15-20_33_37-sql01-running-oracle-vm-virtualbox.png?w=736)
So lets see what the DMV’s say:
![2017-08-15 20_37_42-DC01 [Running] - Oracle VM VirtualBox.png](https://sqlundercover.files.wordpress.com/2017/08/2017-08-15-20_37_42-dc01-running-oracle-vm-virtualbox1.png?w=736)
Ok so this is all well and good it saves having to use Failover cluster manager to save some time in a crucial time critical situation – but what do we see if the cluster is down?
![2017-08-15 20_31_49-SQL01 [Running] - Oracle VM VirtualBox](https://sqlundercover.files.wordpress.com/2017/08/2017-08-15-20_31_49-sql01-running-oracle-vm-virtualbox.png?w=736)
![2017-08-15 20_31_16-DC01 [Running] - Oracle VM VirtualBox](https://sqlundercover.files.wordpress.com/2017/08/2017-08-15-20_31_16-dc01-running-oracle-vm-virtualbox1.png?w=736)
So that’s it, just a quick one to share today that may just make life a little easier 🙂
Thanks for reading.
Good post.
LikeLike