Hi I want to know how many times of server downtime per year in 99.5% availability.
365 * 0.005
, which is 1.825
days, which is 43 hours. That's how long your server can be down over a year.
It can be down for all 43 hours, or for 7 minutes each day in one year, or almost an hour in a week.
See this for more info.
60 * 24 * 365 (or 366 in a leap year) * 0.005 = 2628 minutes or roughly 44 hours.
365.25 * 24 * (100-99.5) / 100 hours
Just replace 99.5 with whatever the percentage is.
Joel wrote a good article about server downtime you should check it out.
Depends on your assumptions for how long each outage takes to repair. Your total outage time, for 99.5% availability is 365.26*24*0.005 = 43.83 hours. If you anticipate a bit under 1 hour to repair the average outage and restore service, you may have 44 outages. If you have more complex problems that take a 4 hour average to solve, you may have 11 outages, or if all you need is a 10 minute reboot, you may have 263 outages and still achieve 99.5% reliability.
If you need to have parts express shipped overnight, you get one and a half outages per year.
99.5% is not a very high reliability figure for a production server.