Deprecated: Assigning the return value of new by reference is deprecated in /var/www/seafelt-blog/wp-settings.php on line 512

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/seafelt-blog/wp-settings.php on line 527

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/seafelt-blog/wp-settings.php on line 534

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/seafelt-blog/wp-settings.php on line 570

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/seafelt-blog/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/seafelt-blog/wp-includes/query.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/seafelt-blog/wp-includes/theme.php on line 1109

Deprecated: Function eregi() is deprecated in /var/www/seafelt-blog/wp-content/plugins/wp-statpress/statpress.php on line 1139

Deprecated: Function eregi() is deprecated in /var/www/seafelt-blog/wp-content/plugins/wp-statpress/statpress.php on line 1140

Deprecated: Function eregi() is deprecated in /var/www/seafelt-blog/wp-content/plugins/wp-statpress/statpress.php on line 1141

Deprecated: Function eregi() is deprecated in /var/www/seafelt-blog/wp-content/plugins/wp-statpress/statpress.php on line 1142

Deprecated: Function ereg() is deprecated in /var/www/seafelt-blog/wp-content/plugins/wp-statpress/statpress.php on line 979
seafelt.com - Part 3

Skip to content


ModiPy update: Automated NetApp simulator installation


Deprecated: Function split() is deprecated in /var/www/seafelt-blog/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 413

Deprecated: Function split() is deprecated in /var/www/seafelt-blog/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 413

Just a quick note to let you know about something I worked on a bit this past weekend.

I’ve been adding a bunch of test cases to ModiPy to make the code quality better, and to chase down some corner cases that were really annoying me.

I’m pleased to say that I’ve got bunch of tests written, and the code passes most of them.

Most interestingly, the real world example that kicked off this bughunt was my desire to automate the installation and baseline configuration of a NetApp simulator. I do this a bunch, and wanted to stop having to remember all the steps to set one up, get some disks connected to it, configure both nodes, license the cluster, etc., etc. Yawn.

In my professional life, we get installation engineers to do this for physical Filers by following a written, printed document, called a Build guide. It’s a manual process. Some parts of it have to be, like getting it plugged in and connected to a network. But from then on, it could be automated. Better yet, we can then automate the testing of the configuration to make sure it’s correct, before the engineer leaves the site. People make mistakes, so do installation engineers. Having to manually check all the settings are correct on a newly installed 6070 cluster is a major pain in the ass.

Sure, you could write your own custom Makefile or shell script. But that sucks, and doing all the error checking is the biggest pain. Wouldn’t it be great if you could just grab a template from somewhere that does 95% of what you want, and just tweak a few variables?

Show me the code

That’s one of the goals of ModiPy. So, I’ve uploaded the configuration I just used to successfully install a NetApp simulator as a 2 node cluster, configured with an IP address, hostname and the cluster licensed. It’s even had secureadmin configured so once you boot it up from now on, you can talk directly to the simulator via ssh, just like a real Filer. You can check out the example ModiPy config by clicking here.

The next stage will be to add some change templates that give me a few test lab setups so I can quickly run up some test configs whenever I need to test, say, iSCSI, or moving volumes between physicals using ndmpcopy.

And, of course, I’ll be sharing them with you. Aren’t you lucky?

Posted in Development, Howto. Tagged with , , , .

SNMP Traps On Audit Rule Failure

Hi folks!

Just wanted to let you know that we’ve just added the capability to send SNMP traps to the seafelt Configuration Manager auditor.

So What?

What does this mean? Well, let’s say you have a nightly audit process that generates the usual audit reports. Great. They’re probably stored on a webserver somewhere for historical purposes, or so people can go back and find out what broke when. You might also email the report to someone, maybe even a list. Someone might even read them.

When we first install the audit tool at a customer’s site, they’re often amazed at all the things they didn’t even know were broken. There’s a flurry of enthusiasm. Cool.

But after a while, complacency sets in. It’s really easy to ignore an email, particularly when you get hundreds each day. You set up a filter that puts the audit reports into a folder, and you fully intend to read them. One day.

A Sense Of Urgency

Now you can immediately send a trap from the auditor into your enterprise fault management system. The alarms will go off. You know that this is something that you must fix. Particularly if you flag that particular trap type as a Sev 1 or Sev 2 incident.

All your existing fault management processes come to bear on the problem. And the problem will get fixed. Which is the entire point of having the audit there in the first place: To detect and fix brokenness.

Configurable

Of course, you don’t want to create a Sev 1 incident for every audit rule that fails. Yes, the SNMP trapping facility is fully configurable, with sensible defaults. You can send traps on just one rule, a whole group of rules, or all rules, if you like. You can even send the traps to different destinations, if you want. No problem.

Shed some light into the dark corners of your IT operation.

Email us at scm@seafelt.com for more information!

Posted in Features. Tagged with , , .