java netapp.cmds.jsh

One of the problems I have with the NetApp filers is the inability to use simple UNIX commands like cp (copy) and mv (move) even though their base OS is Linux. Often times I have needed to use these commands to make backup copies of files I need to modify but have not been able to. There are a number of ways to get around this problem:

  • export and mount /vol/vol0 to a UNIX host and use native UNIX commands
  • CIFS share /vol/vol0 to a Windows host and use Native windows commands
  • create a snapshot of /vol/vol0 and use the Data ONTAP native rdfile and wrfile command

Of course there are problems with these as well.

  • In order to make use of exporting and mounting the volume I would require access to a UNIX host with the appropriate permissions to perform these actions; which often enough I do not have access to.
  • In order to use a CIFS share the filer needs to have a CIFS license in place and have access to a windows system that has access to the filer; and at least one of my filers does not have a CIFS license, and on the ones that do I may not have access to a system that can map the CIFS share on the given network.
  • the Data ONTAP rdfile and wrfile commands are useful, but dangerous. wrfile, which allows you to write to a file, first destroys the file (removes all data from it) then opens it for you to add to. This means if you forget to use rdfile first to see the contents of the file, then you have just erased the file. Correcting this can be as simple as pulling the original file from a snapshot (if you remembered to take one) or as complicated as needing to create the file from scratch.

The solution to all these problems is to use an undocumented java shell on the filer which grants the ability to use cp, mv and other commands.

Here is an example of the command to drop to the java shell and a list of the commands available:

filer01>java netapp.cmds.jsh
jsh> ?
Java Shell commands:
cd [directory]
pwd
ls [-l]
cat file
rm file [file2 …]
cp src dest
mv src dest
ps [-l]
kill <-1|-9> threadName
gc
classpath [pathname]
syspath [pathname]
Debug on|off
threads
monitors
heap
version
syncdb
du [-sk] [files or directories]
java_class [&]
ONTAP_cmd
jsh> exit
filer01>

This command alone has made this class worth it for me, this will come in very handy in the future.

Training, finally.

For the past year I have been trying to get training approved to help me in my day to day work of supporting a number of NetApp filers, today I was informed that this training has finally been approved. While this is a good thing and I am happy to finally be getting some formal training, I am a little disappointed in the timing. Seems that my manager wants to make certain this training falls on the 2009 budget, so I have pretty much two choices in regards to when I can take this 5 day training class; I can either go to Phoenix AZ next week (11/15/2009  – 11/21/2009) or I can go to NYC the week of Christmas. I really don’t want to be out on training during Christmas, so it looks like I am going to Phoenix next week. I’ve never been to AZ, in fact this will be the furthest west I have ever been, so that is cool. However, I was supposed to be on vacation next week so I could go hunting, so I will miss hunting season for the second year in a row and will need to reschedule my vacation. Well, at least I will be getting my training, I just hope it is worth it in the end due to how much I have already learned from dealing with this hardware on a day to day basis.

Holy Crap we’re every where!

Today I was sighning up for a service on the CVS website when i was presented with a typical terms of use agrement. What wasn’t typical for me to see, was the Thomson Health Care (which actually should be update to read Thomson Reuters Healthcare) agreement. We really are every where in the health care field!

CVS Terms of Use

I have highlighted the area in question in a red rectangle. Click the image for a larger view.

Posted in Job

Mlive.com posts article about Thomson Reuters sign

MLive.com has an article today about the sign changing on the 777 building, and can be read here: Thomson Reuters one of Washtenaw County’s largest employers.

Making our presence known

The strong presence of Thomson Reuters is finally made known today as the iconic 777 that used to adorn the side of the building at 777 E. Eisenhower Pkwy is replaced with a Thomson Reuters logo. The building has long been a landmark in the Ann Arbor area as the large 7’s on the top of the building could be very easily seen in the serounding area. I guess people are going to have to start changing there landmark directions to “at the old 777 building…” In any event the third largest employer in the county is making its presence known.

Back from Philly, Again

Another DR test in Philly has come an end. This one was rather interesting for a number of reasons. First off we had never performed a DR for this particular TSM environment, so we had no documentation on how the environment should be recovered. Chuck and I pretty much had to modify some existing documents we had for our ADV environment on the fly. Things went much better than we anticipated, and even though we only had two hours to rebuild the environment, which we figured was about four hours to little, we still managed to make it pretty far into the recovery and learned a lot. Secondly, we only had two hours because we had some issues with the AIX MKSYSB tape not arriving from Ireland until Tuesday the 7th, when we needed it Monday the 6th. Due to this we actually got to take two hours on Tuesday and tour The Grand Lodge of Free and Accepted Masons of Pennsylvania. It is currently undergoing restoration of the outside, but the inside was amazing. I took a lot of photos with my camera phone, and will get them up as soon as I can. I really would like to go back and do thhis tour again with my good camera and retake some pictures for a couple of reasons. One, they would be much better quality, and two I would actually be able to take more because it would focus and snap faster. I wish I had the time, connections, and opportunity to pursue joining the Masons as it is something I have thought about off and on for a long time now. Maybe sometime in the future.

Another DR test done

I just got back from Philadelphia from another DR test for work. Spent three days out there this time and due to some changes made in our process I ended up having a bit of free time so Torrey, Chuck, and myself all walked down to the historic district and toured Independance Hall and saw the Liberty Bell as they had never been there before. We also stopped off and had lunch at the Hard Rock Cafe, someplace I had never been. Having a little “free” time to walk around Philly was nice, but afterwards it was back to work and dealing with all of the problems that arose. In the end it was a long three days and we got a lot accomplished and learned that our new NIM server set up works (when we don”t have network issues at the hosted site anyway) and that I configured our hardware encryption devices correctly.  Not that I doubted that, after all I was out there in June testing just that. Now I just have to wait a few weeks before I go back for the next test.

Successful Trip

The test was a success last night, we actually got done “early” as we were finished by 3:00am and got to go back to the hotel and get some sleep. We potentially could have been done much sooner except we had some unforeseen issues that caused us to contact support for the encryption devices. After six hours of them not being able to help me figure out what the issue was I resolved it by taking an alternate configuration route. The device is not set up in a cluster like we originally hoped, but rather in a stand alone mode and technically this is the vendor supported configuration. We also had some issues with the backup server that was solved when Bob decided to try to run the server on a concatenated file system instead of a striped JFS2 file system. We are still not sure why we got better performance this way than we did with the stripped file system, it does not make sense. We lost a few hours with that but likely it overlapped with my vendor issue. Once I solved the encryption problem things went fine and we were done in a few hours.

We got back to the hotel around 3:30am, after walking back from the test site. Walking through Philadelphia at night brought back some memories. It’s odd how comfortable it was walking through the city at such a late hour. I would never walk through Detroit at that time, but I never worried about stuff like that with Philly. I also didn’t realize just how much I missed Philly. I woke up around 7am and considering I was having such a hard time sleeping I decided to get some breakfast and walk around the city for a bit. I took a number of pictures of City Hall with my phone, and they will eventually be added to the gallery. This building is the largest and tallest Masonry Building in the world. Oddly enough when I lived in PA just outside of Philly, I never made it into Center City to see this building. I’m glad I finally got the opportunity to see it, even though I got no sleep.

The plain ride back to MI was fine, and I even got to take a little nap. I think I will be heading back to Philly in September for another, much larger, DR test. I probably wont have any time to walk around then though, I guess only time will tell.

City of Brotherly Love

Today I flew out to Philadelphia to perform a disaster recovery test in preparation to implement some hardware encryption devices. We are staying down in Center City at the Embassy Suites, right next to City Hall. We got out here a little latter than we had hoped due to airport delays, but we were still able to walk over to the test site and take a look around, as it is our first time at this location. It was nice walking around the city, to bad I wont be able to enjoy more of it. Oh well, time to get some sleep as the test starts at 8am tomorrow morning.

Systems Manager

As of today my position as Systems Manager is Official. I received and signed my offer letter today at work and got a formal welcome aboard from my boss and team. I know Chuck in particular is very excited as this now means that I can be added to the on call rotation and he will not have to be on call every other weekend. I have already taken the necessary steps to ensure my work laptop can access my network at home, and that I can VPN into work from home for those times that I am on call. This comes with the added “bonus” that should I need to I could work from home. I will not, however, be making a habit of that!