hidden:Replace a tape drive in HPSS

From Lsdf
Jump to navigationJump to search

Replace a tape drive in HPSS

A call at Oracle should be generated automatically for T10KD drives.
Otherwise open a service request at Oracle https://support.oracle.com with the Tray Serial Number.
The Tray Serial Number of the drive can be determined via SL-Console or in file https://team.kit.edu/sites/scc-sdm/Dokumente/Data_Protection/Hardware/HardwareListDataProtection.xlsx?Web=1

When the call at Oracle was opened, please set the Icinga State for the Check "Drive_Trap" of the corresponding library to OK: https://icinga.scc.kit.edu/icinga-web


1. preparation of replacement
1.1 log-in on core
1.2 call hpss gui: /opt/hpss/bin/hpssgui.pl &
1.3 Select Device/Drive List (if necessary choose preferency "Movers(tape)")
1.4 select the drive to be replaced
1.5 set "locked" the drive to be replaced: Device Administration-->Lock and Drive Administration-->Lock
1.6 drive is ready for replacing

7. replace the drive in the tape library
7.1 insert documentation of the replace in LSDF Wiki (System Logs)

http://wiki.scc.kit.edu/lsdf/index.php/hidden:System_Logs_(HPSS,_TSM)

8. Reactivate the replaced drive in hpss
8.1 Show the drive configuration in hpss gui:

Select the drive
Choose Configure
Read field "Drive Address" x,y,z,t

8.2. Reconfigure acsls 

log-in on acsls mashine (scc-stk-lib01, 172.21.238.64)
cmd_proc -ql
ACSSA> display drive * -f serial_num
ACSSA>logoff

8.3.  reconfigure the repalaced drive in acsls

config drive x,y,z

Drive id    Old Type         New Type         chg Drive Serial Number
--------    --------         --------         -----------------------
0           T1D              unchanged         *  579004007294
NOTICE: "drive id" is the number t read from Step 8.1

8.4. reconfigure the drive in hpss

log-in HPSS GUI
Devices and Drives-->select the drive
Read field  "Mover" "that is the mover the drive is connected to"
log-in on the mover shown on previous step 
ls -l /dev/hpss --> note the new SerialNumber

change field configure-->Device Name with the new device read from mover 
Press Update at the bottom of the window

8.5. unlock the drive in hpss

Devices and Drives-->select the drive
Device Administration-->Unlock
Drive Administration-->Unlock

8.6 check documentation of drive exchange in LSDF Wiki (System Logs)

Check if exchange was documented:
http://wiki.scc.kit.edu/lsdf/index.php/hidden:System_Logs_(HPSS,_TSM)

8.7 Update Device Name on the StorSentry GUI

Reboot Storsentry, if neccessary, to add the new drive into the scsi layer
Afterwards do an update to the configuration if the drive is not seen

[root@storsentry-test ~]# /opt/histor/storsentry/agent/support/Update_config.sh

Start the GUI and verify the exchange, the new drive will be seen by its serial number.

StorSentry GUI:
Administration: Log in (no password)
Rename the replaced drive from DriveName to DriveName-removed.
Rename the new drive from "SerialNumber of the new drive" to DriveName.



back to HPPS main page