Cloud Native

How to Simulate Failure in a Highly Available System | Aidan Macklen, SIOS Technology | TFiR

0

An HA and DR setup that has never been tested is only a promise. Network disconnections, a failed virtual IP address dependency, an outage of the primary system, or a hung application can all disrupt a highly available system, and you find out during the outage. The only reliable check is to simulate failure before production does it for you.

In this interview on TFiR, Aidan Macklen, Customer Experience Engineer at SIOS Technology, explains how to simulate failure in a QA system, which logs and access checks show whether a failover worked, and what to check first when a gap appears.

Guest: Aidan Macklen, Customer Experience Engineer at SIOS Technology
Show: Data Driven
LinkedIn: Aidan Macklen
Watch the discussion on YouTube

Here is what every sysadmin and IT operations team running HA or DR needs to know.

Technical Deep Dive

Q: How do you simulate failure to know your high availability setup protects you from downtime?

Aidan Macklen, Customer Experience Engineer at SIOS Technology, says the only way to know you are protected from downtime is to simulate failure instances, preferably in a QA system that lets you predict the outages you may experience. Macklen lists the larger issues he has seen: network disconnections, including the virtual IP address the protected application depends on, an overall outage of system 1, and an application that hangs and cannot switch over. A highly available system can suffer many kinds of outages, so each one needs to be tested.

“The only way to really know if you’re protected from downtime is to simulate failure instances.” Aidan Macklen, Customer Experience Engineer, SIOS Technology

Q: What should you check in the logs after a failover test?

Macklen recommends starting with the logging, typically system or application event logging. On Windows that means the event logs. On Linux it means the journal and message logs, or wherever the application is routed to log. Typical findings include DNS issues, a server that is unable to start, or a failover clustering problem.

“The first thing I would recommend is to check the logging.” Aidan Macklen, Customer Experience Engineer, SIOS Technology

Q: How do you confirm a failover worked for end users?

After the logs, Macklen suggests checking whether the end user can access the application and the database, and whether the resources are coming online. These are the places to start before digging deeper.

“Is the end user able to access the application, the database? Are the resources coming online?” Aidan Macklen, Customer Experience Engineer, SIOS Technology

Q: What should you fix first when a failover test finds a gap?

Macklen recommends ensuring the network is not the issue and that your drives are healthy and accessible. From there, SIOS offers to review the logging and share any documentation that may help with an issue affecting the SIOS configuration.

“Typically, we would recommend ensuring that the network is not the issue and that your drives are healthy and accessible.” Aidan Macklen, Customer Experience Engineer, SIOS Technology

Resources & Documentation

***

👇 Click to Read Full Raw Transcript

Swapnil Bhartiya: Many organizations have already invested in high availability and disaster recovery. How does an IT team tell whether that investment is actually protecting them from downtime?

Aidan Macklen: So the only way to really know if you’re protected from downtime is to simulate failure instances. So preferably you would have a QA system set up such that you can sort of predict the outage that you may experience. So for example, some of the larger issues that we see are network disconnections, whether this be the virtual IP address that is a dependency of the application you’re protecting, or possibly an overall outage of system 1. Could be an application getting hung in the process, thus not able to switch over. It’s really a various amount of outages that could occur in a highly available system, but the only way to truly know is to test and simulate these outages.

Swapnil Bhartiya: When teams run a failover test, what should they be checking to confirm the plan will actually work when they need it?

Aidan Macklen: So the first thing I would recommend is to check the logging. Typically, this would be within the system or application event logging. If on a Windows environment, or if on Linux, you would be looking through the journal and message logging, or possibly wherever the application is routed to log at. Typically, you would see some, whether it be DNS issues, maybe the server is unable to start, failover clustering is having an issue, this would be the best place to start. From there, you could look into, is the end user able to access the application, the database? Are the resources coming online? I think those would be good places to start.

Swapnil Bhartiya: Once a team finds a gap in their production, how should they decide what to fix first?

Aidan Macklen: We are happy to help with any issue you experience that you may believe has an impact with the SIOS configuration. Typically, we would recommend that you ensure that the network is not the issue. You can— your drives are healthy and accessible. From there, we are happy to take a look and let you know what we see throughout the logging, if we have any documentation that may assist. But we’re always happy to help. Thanks, Jon.

How to Run AI Agent Messaging Across Cloud and Edge | Andrew Connolly, NATS | TFiR

Previous article