dbatools icon indicating copy to clipboard operation
dbatools copied to clipboard

New History Ideas

Open potatoqualitee opened this issue 8 years ago • 5 comments

Is this:

Just place "x" to indicate selection (e.g. "[x]")

  • [x] feature
  • [ ] bug:

Get-DbaMirrorStatusChange Get-DbaMirrorStatusHistory Get-DbaAvailabilitygroupHistory Theres some DMVs that hold the mirroring stuff too IIRC and definitely for the AGs as well That would be good when did it failover - what caused it "beat the ass of this"

potatoqualitee avatar Jul 06 '17 15:07 potatoqualitee

This Get-DbaAvailabilitygroupHistory would require reading the XEL session data from the health session for AG. This is the only location on an instance that would contain why it failed over, with the exception of the errorlog for the instance.

The DMVs for hadr and availability groups only gives you info on the configuration details and some performance info on how the replicas are holding up (redo log size, various queues, etc.).

wsmelton avatar Jul 09 '17 00:07 wsmelton

We can use the Xel reader to make stuff pretty now. Maybe I'll do this with my new 💣 Azure Container Instances

potatoqualitee avatar Jul 30 '21 12:07 potatoqualitee

Ref #920 that was closed as being the users can utilize Get-DbaXESession -SqlInstance sql2014 -Session System_Health | Read-DbaXEFile

Same applies to this, it is the same session to read along with the one for the AG health.

wsmelton avatar Jul 30 '21 13:07 wsmelton

🚧🚨 This issue is being marked as stale due to 90 days of inactivity. If you would like this issue to remain open:

  • Verify the issue/bug is reproduced in the latest version of the module
  • Verify the environmental info provided is still accurate
  • Add any additional steps you followed to reproduce if necessary 🚨🚧 ⌛️ This issue will be closed in 30 days ⌛️

github-actions[bot] avatar Oct 29 '21 06:10 github-actions[bot]

I'm going to try to start working through all the Availability Group tickets, I figure I would start with the oldest one. Can you provide me more details on what you want to see from the history?

tboggiano avatar Mar 07 '22 18:03 tboggiano