Wednesday, June 11, 2008

Legato notes and links...

I keep telling myself to never admin you know a backup software. If you say you know it, you always run the risk of being declared the backup expert. Well, it's happened to me. I am now on the backup team with my current client until they have the expertise in house to run their Legato 7.2 infrastructure. They had some great contractors from Edge Tech Ltd. Ricky and Co where absolute Legato ninjas. But the word came down to eliminate or convert all contrators. So they were let go, and I'm left holding the backup bag.


So here's my post collecting Legotcha links and commands.


IPnom has a great collection of man pages online


I use the nsr_group and nsr_client pages for nsradmin a lot.


Backupcentral.com has a page: What neat things can I do with nsradmin


Avisit has a list too


David Mussulman has a list of EMC Legato Networker Admin Tools

Here's some of my commands:


root@rcomanchi013:/var/tmp> nsradmin -i - . type: nsr client

show name; group

print

Get some group info



. type: NSR group

show name;status;start time;last start;last end

print



Show groups to find running status



. type: NSR group

show name;status;last start

print



# list the volumes the media server knows about that aren't “full” (!full doesn't seem to work)




mminfo -a -r 'volume,%used,pool,location' -q '!full'

To find a tape that's been cloned off site, when you know the 'onsite' tape that was backed up to:




mminfo -q volume=N31407 -r 'volume,cloneid,client'

This will spit out things like:




Volume CloneID Host

N31407 1204238003 host2.name.net.com.org.blah

N31407 1204239940 host2.name.net.com.org.blah

Then you can search for the CloneID in question:




mminfo -q cloneid=1204239940 -r 'volume'

Which will put out a list of volumes. Find the volume of the type that goes off site and you're all set.

Tuesday, June 10, 2008

Higher gas shifting the traffic jams online?

So I've been reading several articles that say that $4.00 gas is causing people to change their driving habits. Consolidating trips, canceling vacations, no free pizza delivery, tele-commuting, etc. Which made me start to think that if gas goes higher (and it probably will) and tele-work becomes more and more prevalent (I hope it does, I love working from my home office). Will the traffic jams in the DC Metro area move from the real highway to the information highway? ISP's are already cracking down on P2P and other high-bandwidth apps. What's going to happen when a few thousand go2mypc users hope on the net on your local DSLAM or its Cable equivalent. Will Verizion regret giving such high speeds to FIOS users initially? I guess on the plus side, adding more lanes to the information-highway is far easier than the real highway. It'll be interesting to see how this pans out.


I should google this meme... I'd bet I'm tech-person number 32,1231 to have come up with this 'all on their own' this week.


Rich


Brocade oddness today...

Came across some unusual brocade errors today. And since google turned up nothing, I suspect it's pretty rare.


When I telnet to the box, I get the following:

Connected to 10.20.30.40.



Escape character is '^]'.



libipadm error: client connect failed /tmp/ipadm-g-login-23293-d6ba659370229

ipadm do_backtrace connect failed pid 23293, name login

/fabos/lib/libipadm.so.1.0[0xf6720c0]

/fabos/lib/libipadm.so.1.0[0xf6723a8]

/fabos/lib/libipadm.so.1.0(ipAdmLocalAddrIdGet+0x4c)[0xf6726c0]

/lib/security/pam_fabos.so[0xfd889e4]

/lib/security/pam_fabos.so(pam_sm_authenticate+0x25c)[0xfd891c8]

/lib/libpam.so[0xff8c7d0]

/lib/libpam.so(_pam_dispatch+0x2b0)[0xff8cd30]

/lib/libpam.so(pam_authenticate+0x90)[0xff8f17c]

/bin/login[0x10003254]

/lib/libc.so.6[0xfdd8930]

/lib/libc.so.6[0xfdd8a34]



Fabos Version 5.3.1



Password:



BottomSwitch:admin> ipaddrshow

libipadm error: client connect failed /tmp/ipadm-g-ipaddrshow-23398-d6bb020d2dce6

ipadm do_backtrace connect failed pid 23398, name ipaddrshow

/fabos/lib/libipadm.so.1.0[0xf8ca0c0]

/fabos/lib/libipadm.so.1.0[0xf8ca3a8]

/fabos/lib/libipadm.so.1.0(ipAdmLocalAddrIdGet+0x4c)[0xf8ca6c0]

ipaddrshow(main+0x44)[0x10006018]

/lib/libc.so.6[0xf75e930]

/lib/libc.so.6[0xf75ea34]

ipAdmLocalAddrIdGet() returned 21

BottomSwitch:admin>


The errshow gives me the following from weeks ago:



2008/05/15-02:40:35, [RAS-1001], 137,, INFO, SilkWorm48000, First failure data capture (FFDC) event occurred.

2008/05/15-02:40:41, [RAS-1001], 138,, INFO, SilkWorm48000, First failure data capture (FFDC) event occurred.

2008/05/15-02:41:03, [TRCE-1001], 139,, WARNING, SilkWorm48000, Trace dump available (Slot 6)! (reason: FFDC)

2008/05/15-02:41:03, [TRCE-1004], 140,, WARNING, SilkWorm48000, Trace dump (Slot 6) was not transferred because trace auto-FTP disabled.

2008/05/15-02:41:05, [TRCE-1001], 141,, WARNING, SilkWorm48000, Trace dump available (Slot 6)! (reason: FFDC)

2008/05/15-02:41:05, [TRCE-1004], 142,, WARNING, SilkWorm48000, Trace dump (Slot 6) was not transferred because trace auto-FTP disabled.

2008/05/15-02:42:08, [RAS-1001], 143,, INFO, SilkWorm48000, First failure data capture (FFDC) event occurred.

2008/05/15-02:42:09, [TRCE-1001], 144,, WARNING, SilkWorm48000, Trace dump available (Slot 6)! (reason: FFDC)

2008/05/15-02:42:09, [TRCE-1004], 145,, WARNING, SilkWorm48000, Trace dump (Slot 6) was not transferred because trace auto-FTP disabled.


So it looks like something got wonky with the CP's on the 15th of May. Fortunately it's a lightly used switch in the not-yet-operational DR facility. But it's a little scary. Mostly because google doesn't come up with anything for thne 'stack trace lines. The erroshow lines come up with some vague hits, but nothing of value. A little more investigation shows that this happened on both brocade 48000 director switches. Strange stuff. Rebooting the switches fixed it but it shouldn't have happened in the first place in my opinion. Now I'm off to investigate what would have happened on the 15th of May.


Friday, June 6, 2008

Mystery volume mounted on my Macs...

I have the very nifty utility Growl. It provides "useful notifications that you control". I run several growl aware apps and an add-on utility called "HardwareGrowler" which is quite awsome. It gives you a growl notification when a device is plugged in or unplugged, for example, when I plug my network drop in, I get a notificaiton that the EN0 device became active, further it tells me that it's 100Mb, etc. I have growl set to automatically remove notices after a few seconds if the machine is not idle. But idle notices stick around until I close them.


Yesterday I had a growl notification that said "Volume Mounted Keystoen-1.0.1.340" which was strange, because a volume doesn't show up in the finder.


200806061420.jpg


rwhiffen-macbook:networker rwhiffen$ df -k

Filesystem 1K-blocks Used Avail Capacity Mounted on

/dev/disk0s2 116753840 61716172 54781668 53% /

devfs 118 118 0 100% /dev

fdesc 1 1 0 100% /dev

map -hosts 0 0 0 100% /net

map auto_home 0 0 0 100% /home

/dev/disk1s2 1348 548 800 41% /Volumes/Keystone-1.0.1.340

/dev/disk2s3 97554672 60569148 36985524 62% /Volumes/external

rwhiffen-macbook:networker rwhiffen$

So now I see a new volume /Volumes/Keystone-1.0.1.340 and it has two files: Keystone.tbz install.py. And install.py has a header that says the following:



#!/usr/bin/python

# Copyright 2008 Google Inc. All rights reserved.



"""This script will install Keystone in the correct context

(system-wide or per-user). It can also uninstall Keystone. is run by

KeystoneRegistration.framework.



Example command lines for testing:

Install: install.py --install=/tmp/Keystone.tbz --root=/Users/fred

Uninstall: install.py --nuke --root=/Users/fred



Example real command lines, for user and root install and uninstall:

install.py --install Keystone.tbz

install.py --nuke

sudo install.py --install Keystone.tbz

sudo install.py --nuke



For a system-wide Keystone, the install root is "/". Run with --help

for a list of options. Use --no-processes to NOT start background

processes (e.g. launchd item).



Errors can happen if:

- we don't have write permission to install in the given root

- pieces of our install are missing



On error, we print an message on stdout and our exit status is

non-z
ero. On success, we print nothing and exit with a status of 0.

"""


So it seems a google product has mounted a volume with a python module in it. Funny thing is, if I google for it, I get zero hits. So I was a bit concerned about what it is exactly. If you bzip2 -d the tbz file and tar tvf the tar file it has a lot of files in it:

drwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/drwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/drwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/drwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/lrwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/GoogleShared -> Versions/Current/GoogleSharedlrwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/Resources -> Versions/Current/Resourcesdrwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/Versions/drwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/Versions/A/-rwxr-xr-x macbuild/staff 221032 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/Versions/A/GoogleShareddrwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/Versions/A/Resources/-rw-r--r-- macbuild/staff 884 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/Versions/A/Resources/Info.plistlrwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/GoogleShared.framework/Versions/Current -> Adrwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/Keystone.framework/lrwxr-xr-x macbuild/staff 0 2008-06-04 19:36:38 GoogleSoftwareUpdate.bundle/Contents/Frameworks/Keystone.framework/Keystone -> Versions/Current/Keystone



So it seems that the Google Software Update app launched itself and downloaded some kind of update. Funny thing is, I don't recall ever telling Google it was OK for it's app to do this. So I go into Google Updater and I find out that I 'kind of did'

200806061450.jpg

So I don't have the "notify me" box checked, which is why I didn't get told about it. Strange stuff. Not sure I like it.