Archive | Linux RSS feed for this section

Warning, New Exploit: Dealing with SHELLSHOCK on Linux & SAN Vendor links

Quick Warning:

To those that run your own webservers, and Mac OSX users.. If you haven’t already heard, there is a critical exploit out called SHELLSHOCK now that uses exploits a flaw in “bash” the primary command line of unix type operating systems. (linux, *bsd, Mac OSX). A variable can be used to execute a command.

This exploit can also be triggered remotely by making a special request to most webservers that run on linux or *bsd.

Click to continue reading “Warning, New Exploit: Dealing with SHELLSHOCK on Linux & SAN Vendor links”

2 Comments Continue Reading →

Quick n Dirty Netapp LUN creation script

I am constantly having to pre-create or migrate massive amounts of LUNs in customer environments. I have many ways to go about it, powershell, ruby, but my awk script is my #1 way to do it

Imagine having to make luns for dozens of database instances on multiple hosts for dev/prod/qa. Suckage!

They all would follow a certain order and naming convention. Most of the sizes would be the same.

If I have to do anything once, I’ll probably have to do it again. So, script it! This will work in any shell with awk (osx/linux/solaris/CygWin)

Click to continue reading “Quick n Dirty Netapp LUN creation script”

Leave a comment Continue Reading →

Snippet: NetApp SSH Keys for passwordless auth.

It really pisses me off when I have to type passwords over and over and over again. Even more so when I am trying to do a ton of work or do a deployment and I need to do it.

It’s even more annoying when a customer won’t enable proper access to their systems, or they use root forever with weak passwords.

Enter the SSH KEYs. Here is how to set them up on your NetApp in both 7-mode and Cluster Mode!

Click to continue reading “Snippet: NetApp SSH Keys for passwordless auth.”

Leave a comment Continue Reading →

Tip #6: A better OSX terminal means better productivity.

First off, let me say that I live and breathe the terminal. Almost 2 decades playing in unix and linux gives me a strong love for it. I know I am more productive than a pointy clicky loser. BASH ftmfw! (and when I am stuck admin’ing windows systems, powershell, which I am not ashamed to say I have a newfound fondness for.)

Click to continue reading “Tip #6: A better OSX terminal means better productivity.”

Leave a comment Continue Reading →

Do not buy your FC HBAs from your server manufacturer!

A tale of debugging and tech support hell… don’t freaking buy an HBA with a server! Don’t REUSE cards you have laying around if they were sourced from any server manufacturer or different brand SAN.

Click to continue reading “Do not buy your FC HBAs from your server manufacturer!”

Leave a comment Continue Reading →

Tip #5: Graphing performance data from Netapp – IN 3D!

I figured it was time to share some of the information I have posted before with graphing with powershell and also more advanced…

In the past, I had used 3D modeling in the Stats package R, to do 3D modeling of the CPU on a san. This is how!

Click to continue reading “Tip #5: Graphing performance data from Netapp – IN 3D!”

1 Comment Continue Reading →

Scripted NetApp LUN Creation + Oracle ASM addition

I am constantly in new customer environments, setting up NetApp, Oracle RAC & ASM, NetApp SnapDrive, SnapManager for Oracle, etc on Linux…

While I know what I am doing in regards to storage and Oracle, most customers do not have a single point man (or woman) who knows all of these technologies and is the administrator to do day to day operations of them all. Also, when I have tried to teach the teams to do this, or if the DBA is in charge of all of these steps in a small environment, they typically get very confused when thinking about the relationship of the /dev/sd* and the multipath /dev/mapper/360* entries.

Click to continue reading “Scripted NetApp LUN Creation + Oracle ASM addition”

Leave a comment Continue Reading →

Easily convert/clean Powershell UTF-16 output to UTF-8 on Mac/Linux

I work with Powershell quite often. I make healthcheck systems for apps such as NetBackup, and others. I use it for day to day administration of NetApp and vmware.

One problem I always have with it jumping between customer environments is the fact that the default text output is UTF-16. This looks like a bunch of junk when I view it in terminal on my Mac, and also it is not easily grep’able, or less/more’able.

Click to continue reading “Easily convert/clean Powershell UTF-16 output to UTF-8 on Mac/Linux”

Leave a comment Continue Reading →

Tip #2: Simplify creating NetApp luns/mounts with snapdrive (unix/linux)

NetApp’s snapdrive utility can help simplify out workflow, and reduce the amount of requests we get from the “Bob’s” of the world. This shows how you can do things like creating, presenting, formatting and mounting luns from your NetApp all with 1 command from the host!

Click to continue reading “Tip #2: Simplify creating NetApp luns/mounts with snapdrive (unix/linux)”

2 Comments Continue Reading →