Jul 26

I’m sitting here doing some work on VMware view listening to Historical Apollo 16 Audio recordings. These guys communicate quite well. It’s amazing how professional and well these guys communicate.

John Watts Young (johnny) and Charles Moss Duke, Jr. (charlie) have been working on the surface of the moon for the last hour. Drilling holes, fixing air hoses, taking pictures, etc. The culture of my world is different from these guys. I’ll make a conscisous effort to be more like these guys in the future. Even Houston is impressive. They are blunt when they need to be, passive at the right times, and generally able to show the excitement of standing on the moon.

Hah, “sound doesn’t travel too good in a vacuum but it jumped”, they are taking some pictures.

Soma.fm is an online radio station that I use sometimes. One of the streams is Mission Control audio. I’m here in my chair living this event for the first time along with some ambient chillout style music. You see, I was not even born when these guys were making history. Some 238,000 miles from earth and 9 years before I was born. I’m sure they never thought anyone would be listening to this in their homes 29 years later.

Mr. Young & Mr. Duke, I really appreciate all you have done for the space program. I hope you are both enjoying retirement. I am enjoying listening to the fine job you guys did. Would love to meet you if you are ever in Houston.

Jul 26

If you run your TSM on AIX read on…

Tape drives need to be changed out from time to time. The process can get tricky if you don’t remember the steps. I’ll give them to you in a bit and you can always reference this page when you need to perform this action again. This is test on AIX 5.3 and Tivoli 5.5.

Step 1. Log into TSM and determine which drive you need to change. You can use query drive, show library and query path f=d to get this information. Lets assume it is a drive named “DRIVE00” and that its path is /dev/rmt0.
Step 2. Delete the path definition in TSM for the Drive. An example command would be “del path server1 drive00 srct=server destt=drive library0. You can run a help delete path. Remember the settings because we can use them later.
Step 3. Delete the drive definition in TSM. An example command would be “del drive

rmdev -dl lb0
rmdev -dl rmt1
rmdev -dl rmt2
rmdev -dl rmt3
Smit, Devices, Tivoli, Discover Supported Devices, Both fscsi adapters. This gives us lb’s and mt’s. We do not want mt’s.
rmdev -dl mt0
rmdev -dl mt1
rmdev -dl mt2

run cfgmgr in aix to get the rmt’s back.

delete path ZPHBACKUP01 DRIVE00 SRCT=SERV DESTT=DR LIBR=ML6020
delete path ZPHBACKUP01 DRIVE01 SRCT=SERV DESTT=DR LIBR=ML6020
delete path ZPHBACKUP01 DRIVE02 SRCT=SERV DESTT=DR LIBR=ML6020
delete path ZPHBACKUP01 ML6020 SRCT=SERV DESTT=LIBR

delete drive ML6020 DRIVE00
delete drive ML6020 DRIVE01
delete drive ML6020 DRIVE02

stop/start tivoli storage manager

define path ZPHBACKUP01 ML6020 SRCT=SERV DESTT=LIBR DEVI=/dev/lb0

def drive ML6020 DRIVE00
def drive ML6020 DRIVE01
def drive ML6020 DRIVE02

define path ZPHBACKUP01 DRIVE00 SRCT=SERV DESTT=DRIVE LIBR=ML6020 DEVI=/dev/rmt0
define path ZPHBACKUP01 DRIVE01 SRCT=SERV DESTT=DRIVE LIBR=ML6020 DEVI=/dev/rmt1
define path ZPHBACKUP01 DRIVE02 SRCT=SERV DESTT=DRIVE LIBR=ML6020 DEVI=/dev/rmt2

Jul 26


It seems I am always upgrading tape formats in an effort to keep up with my growth. I have decided it would be best for the procedure I follow to be well documented. I use Atape for the drives and I use the Tivoli Storage Manager driver for the library. This is the method I follow for configuring the drives.

1) From TSM:
Save the output from the device queries, and save the current device configuration (the filename is optional):

query library
query drive f=d
query path f=d
query devclass f=d
backup devconfig [ filename=devconfig.bak ]

2) From AIX:
List the tape devices:

lsdev -Cc tape

Remove the drive and library device names:

rmdev -dl

For example, if the drive device name is /dev/rmt1:

rmdev -dl rmt1

3) Upgrade Atape
Ftp the Atape driver in binary mode from ftp://index.storsys.ibm.com/devdrvr/AIX or ftp://ftp.software.ibm.com/storage/devdrvr/AIX

Remove the older Atape driver (optional):

installp -u Atape.driver

Install and commit the Atape driver. For example, if you downloaded the file to /tmp/Atape.12.0.8.0.bin:

installp -acXd /tmp/Atape.12.0.8.0.bin all

Configure the tape device:

cfgmgr -v

(-v is not required but will show where it hangs if it does)

Verify the new devices are Available:

lsdev -Cc tape

(Note: While not always absolutely necessary, it is strongly recommended to reboot the system after upgrading the Atape.driver)

4) From TSM:
While it is recommended to remove and redefine the paths after any hardware change, including upgrading Atape.driver, sometimes it is not necessary to do anything else after upgrading Atape. If the activity log reports I/O errors for the library or drives, sometimes it is only necessary to force the TSM server to communicate with the drives to resolve them:

update path srctype=server desttype=drive library= device= online=yes

If this does not resolve the I/O errors, then continue with steps 5-7.

5) Delete the drive and library paths
For each drive:

delete path srctype=server desttype=drive library=

For the library:

delete path srctype=server desttype=library

6) Redefine the drive and library paths

define path srctype=server desttype=library device=/dev/ online=yes
define path srctype=server desttype=library library= devicename=/dev/ online=yes

(Use the devconfig file as a guide for the definitions.)

References:
IBM Tivoli Storage Manager for AIX Administrator’s Reference
Atape device driver README ftp://index.storsys.ibm.com/devdrvr/AIX/README

« Previous Entries