Let’s Talk Dirty Shutdowns (NetApp ONTAP Update Problems!)

Best Practices Tips

Are Dirty Shutdowns causing your NetApp ONTAP Update to Loop?

In this post I’ll share what I learned recently about NetApp ONTAP v8.x. Let’s talk “Dirty-Shutdowns!”

Beginner Alert:

Mark this page because some day you might need it. This is a must know for newbies managing NetApp storage.

What are Dirty-Shutdowns?

A dirty-shutdown can happen for a number of reasons, for example:

  • A software bug has caused a filer to fail-over and trigger a loop. The “dirty-shutdown” is now keeping you from updating ONTAP to fix the bug.
  • Or a loop was caused by a forced take-over during a normal ONTAP update. The “dirty-shutdown” is now keeping you from completing the normal ONTAP update.

Both cases put the filer head into dirty-shutdown mode and force ONTAP to continue booting to the primary partition.

Here’s the Scenario:

You’ve decided to update your NetApp software to a new version of ONTAP v8.x and while going through the documented process of clicks, take-overs, and reboots something goes terribly wrong and now your filer head is looping back to the old firmware.

After reviewing your steps and freaking out because this is a production system and now you are stuck failed-over on one filer, you call technical support.

From here you go through the rigmarole of redoing all the steps you just did, again.

Then after about an hour you get transferred again and now you rehash all the steps again with someone else. But this time they decide they want you to pull down the update on a web-server so you can do a NETBOOT which installs the upgrade over the primary OS partition.

From here things really get hairy because you don’t have a web-server available to do a NETBOOT and time is ticking away. Now it’s 3AM and your change window is quickly running out.

Jumping ahead…you finally set up a web-server, pull down the file, run the update and reboot. Success. You are back up on the new version. Then you do the take over and rerun the update on the second filer.

But this should have been non-disruptive and quick but instead it took 3 – 4 hours and a call to NetApp support.

Why did this happen?

Here’s the Explanation:

I’ve had to endure this problem on production systems in the past and what I found out is this. The new version of ONTAP, v8.x, now runs on BSD. There is a trigger now that wasn’t there in v7.x that detects what is known as a dirty-shutdown which forces ONTAP to boot to the primary flash partition.

Here’s the Solution:

When your filer is looping after a dirty-shutdown you can try this option before doing the NETBOOT.

Run this command with the environment variable set to LOADER.

For example:  “LOADER-B >boot_backup” to boot to the secondary partition or “boot_primary” for the primary partition.

If this works you will bypass the primary and boot to secondary partition where the updated OS should be sitting.

If this fails then the NETBOOT is the next option.

Note: Always call your technical support when you are not sure.

Wrap-up

Storage is a big part of virtualization and knowing how to resolve problems fast is important for managing your virtual service.

Remember, no matter how much you spend on hardware and software — outages will still happen, guaranteed!

To be indispensable you need to learn how to get your services back up with the least amount of disruption.

I hope this “Dirty-Talk” has helped you?

WAIT! Before You Go... Join Other Go-Getters

Enter your name & email address below to get started.

We're listening. Go ahead and share your ideas?

vSphere 6
8 Updates That Make vSphere 6 Better – Keith Barker
25 VMware Interview Questions: Tough & Technical (Download)
VMware jobs in Phoenix
VMware Jobs in Phoenix Arizona (Comparing Opportunities)
DevOps training
10 Reasons VMware Admins Should Boost OpenStack Skills
DevOps Tools
DevOps Toolchain: Download 3 Free Tools Used By Pros (Ansible, Git, Jenkins)
MSDevOps Guide
Microsoft DevOps: 25+ Power-Packed Windows SysAdmin Skills (NEW Guide!)
continuous integration tools
DevOps Training Courses That Will Give You The Edge (Perfect For Beginners Who Want Skills That Are Noticed By Google & Facebook…)
Why DevOps Fails: How To Get Back On Track
Why DevOps Fails: How To Get Back On Track
Click here to learn how to Optimize WordPress Speed
WordPress Speed Optimization: Part 4 – VPS Case Study To Make VMinstall.com Rank Higher In Google Through Faster Hosting & High Availability @ Lower Cost
Best Hosting for WordPress
Case Study: Best VPS For Easy WordPress Migration
cloudways review updated
Cloudways Review: 12 Pros & Cons From My Deep Dive Testing (VPS Series: Part 2)
ServerPilot Review: Installing WordPress On DigitalOcean (VPS Series: Part 1)
Storage Engineer Skills
Why Storage Engineer Skills Are HOT! (Can You Say Big Data?)
Rise of the Robots
I’m Amazed After Reading Rise of the Robots – Best Jobs In 2017 (You won’t Guess what’s going on!)
top virtual reality jobs
30+ Awesome Virtual Reality Jobs That Take You From Boring To Amazing! (Must Read…)
Thinking Like Seth Godin
How To STOP A 300% Salary Loss Because YOU Think Like A SysAdmin: Start Thinking Like Seth Godin (Read Now!)
3 Open Source Storage Software Alternatives For Beginners
shades of devops
Free DevOps eBook Project (Read It Now!)
How to install Genymotion
How To Install Genymotion for Beginners (Includes Google Play)
20 Questions VMware Newbies Want Answered (Free Career Guide)