After replacing the LCC and Driver in IBM TS4500 tape library, rematch the tape library and driver in TSM

图片[1]-IBM TS4500磁带库更换LCC及Driver驱动器后TSM中重新匹配带库及驱动器-UU技术社区

Summary:

This article records that because the drive PWWN changes after the LCC controller is replaced (initialized) on the TS4500, it is necessary to replace the new drive PWWN on the Cisco SAN switch (MDS9710), and rematch the tape library Library and drive Driver and activation path in TSMServer (tivoli) Steps.

Environment:

The TS4500 tape library has 4 Drivers and 8 paths connected to 2 Cisco MDS9710s respectively.

The two FC links of TSMServer are connected to two Cisco MDS9710s respectively.

TSMServer version:

tsm: TSMSERVER>q version
Session established with server TSMSERVER: Linux/x86_64
Server Version 7, Release 1, Level 7.0

Refer to link-status

Note: Some of the pictures in this article come from DCNM

1. Restore FC fiber link

Due to PWWN change, record the new PWWN recognized on the SAN switch

图片[2]-IBM TS4500磁带库更换LCC及Driver驱动器后TSM中重新匹配带库及驱动器-UU技术社区
图片[3]-IBM TS4500磁带库更换LCC及Driver驱动器后TSM中重新匹配带库及驱动器-UU技术社区

Restore link on MDS9710A


#查看之前的zone配置
MDS9710A# show zoneset active vsan 10 | grep 4500
  zone name TS4500_TSM_SERVER vsan 10
    pwwn 50:05:07:60:44:58:c2:0c [TS4500_ROW1_0]
    pwwn 50:05:07:60:44:58:c2:0d [TS4500_ROW2_0]
    pwwn 50:05:07:60:44:58:c2:0e [TS4500_ROW3_0]
    pwwn 50:05:07:60:44:58:c2:0f [TS4500_ROW4_0]
MDS9710A# show zone name TS4500_TSM_SERVER vsan 10
zone name TS4500_TSM_SERVER vsan 10
  pwwn 50:05:07:60:44:58:c2:0c [TS4500_ROW1_0]
  pwwn 50:05:07:60:44:58:c2:0d [TS4500_ROW2_0]
  pwwn 50:05:07:60:44:58:c2:0e [TS4500_ROW3_0]
  pwwn 50:05:07:60:44:58:c2:0f [TS4500_ROW4_0]
  pwwn 10:00:00:90:fa:1d:28:b6 [TSM_SERVER_HBA1]
MDS9710A# configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
MDS9710A(config)# device-alias database 
#删除旧的别名
MDS9710A(config-device-alias-db)# no device-alias name TS4500_ROW1_0
MDS9710A(config-device-alias-db)# no device-alias name TS4500_ROW2_0
MDS9710A(config-device-alias-db)# no device-alias name TS4500_ROW3_0
MDS9710A(config-device-alias-db)# no device-alias name TS4500_ROW4_0
MDS9710A(config-device-alias-db)# device-alias commit 
MDS9710A(config)# show device-alias database | grep 4500
#创建新的别名记录
MDS9710A(config)# device-alias database 
MDS9710A(config-device-alias-db)# device-alias name TS4500_ROW1_0 pwwn 50:05:07:60:44:5e:77:0c
MDS9710A(config-device-alias-db)# device-alias name TS4500_ROW2_0 pwwn 50:05:07:60:44:5e:77:0d
MDS9710A(config-device-alias-db)# device-alias name TS4500_ROW3_0 pwwn 50:05:07:60:44:5e:77:0e
MDS9710A(config-device-alias-db)# device-alias name TS4500_ROW4_0 pwwn 50:05:07:60:44:5e:77:0f
#提交
MDS9710A(config-device-alias-db)# device-alias commit 
MDS9710A(config)# show device-alias database | grep 4500
device-alias name TS4500_ROW1_0 pwwn 50:05:07:60:44:5e:77:0c
device-alias name TS4500_ROW2_0 pwwn 50:05:07:60:44:5e:77:0d
device-alias name TS4500_ROW3_0 pwwn 50:05:07:60:44:5e:77:0e
device-alias name TS4500_ROW4_0 pwwn 50:05:07:60:44:5e:77:0f
MDS9710A(config)# wr
[########################################] 100%
Copy complete.
MDS9710A(config)# show zone name TS4500_TSM_SERVER vsan 10
zone name TS4500_TSM_SERVER vsan 10
  pwwn 50:05:07:60:44:58:c2:0c
  pwwn 50:05:07:60:44:58:c2:0d
  pwwn 50:05:07:60:44:58:c2:0e
  pwwn 50:05:07:60:44:58:c2:0f
  pwwn 10:00:00:90:fa:1d:28:b6 [TSM_SERVER_HBA1]
MDS9710A(config)# vsan database 
MDS9710A(config-vsan-db)# vsan 10
MDS9710A(config-vsan-db)# zone name TS4500_TSM_SERVER vsan 10
#删除旧的PWWN
MDS9710A(config-zone)# no member pwwn 50:05:07:60:44:58:c2:0c
MDS9710A(config-zone)# no member pwwn 50:05:07:60:44:58:c2:0d
MDS9710A(config-zone)# no member pwwn 50:05:07:60:44:58:c2:0e
MDS9710A(config-zone)# no member pwwn 50:05:07:60:44:58:c2:0f
MDS9710A(config-zone)# show device-alias database | grep 4500
device-alias name TS4500_ROW1_0 pwwn 50:05:07:60:44:5e:77:0c
device-alias name TS4500_ROW2_0 pwwn 50:05:07:60:44:5e:77:0d
device-alias name TS4500_ROW3_0 pwwn 50:05:07:60:44:5e:77:0e
device-alias name TS4500_ROW4_0 pwwn 50:05:07:60:44:5e:77:0f
#添加新的PWWN
MDS9710A(config-zone)# member pwwn 50:05:07:60:44:5e:77:0c
MDS9710A(config-zone)# member pwwn 50:05:07:60:44:5e:77:0d
MDS9710A(config-zone)# member pwwn 50:05:07:60:44:5e:77:0e
MDS9710A(config-zone)# member pwwn 50:05:07:60:44:5e:77:0f
MDS9710A(config-zone)# exit
MDS9710A# show zoneset
zoneset name Fabric-A vsan 10
......
MDS9710A(config-zoneset)# show zone name TS4500_TSM_SERVER vsan 10
zone name TS4500_TSM_SERVER vsan 10
  pwwn 50:05:07:60:44:5e:77:0c [TS4500_ROW1_0]
  pwwn 50:05:07:60:44:5e:77:0d [TS4500_ROW2_0]
  pwwn 50:05:07:60:44:5e:77:0e [TS4500_ROW3_0]
  pwwn 50:05:07:60:44:5e:77:0f [TS4500_ROW4_0]
  pwwn 10:00:00:90:fa:1d:28:b6 [TSM_SERVER_HBA1]
  MDS9710A(config-zoneset)# wr
[########################################] 100%
Copy complete.
MDS9710A(config-zoneset)# show zoneset active vsan 10 | grep 450
  zone name TS4500_TSM_SERVER vsan 10
#激活zone
MDS9710A(config-zoneset)# zoneset activate name Fabric-A vsan 10
Zoneset activation initiated. check zone status
#查看状态*表示链路已连接
MDS9710A(config)# show zoneset active vsan 10 | grep 450
  zone name TS4500_TSM_SERVER vsan 10
  * fcid 0x0a13e2 [pwwn 50:05:07:60:44:5e:77:0c] [TS4500_ROW1_0]
  * fcid 0x0a1401 [pwwn 50:05:07:60:44:5e:77:0d] [TS4500_ROW2_0]
  * fcid 0x0a1421 [pwwn 50:05:07:60:44:5e:77:0e] [TS4500_ROW3_0]
  * fcid 0x0a1442 [pwwn 50:05:07:60:44:5e:77:0f] [TS4500_ROW4_0]
MDS9710A(config)# 

State after recovery:

图片[4]-IBM TS4500磁带库更换LCC及Driver驱动器后TSM中重新匹配带库及驱动器-UU技术社区

Restore link on MDS9710B

MDS9710B# configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
MDS9710B(config)# device-alias database 
MDS9710B(config-device-alias-db)# show device-alias database | grep 4500
device-alias name TS4500_ROW1_1 pwwn 50:05:07:60:44:98:c2:0c
device-alias name TS4500_ROW2_1 pwwn 50:05:07:60:44:98:c2:0d
device-alias name TS4500_ROW3_1 pwwn 50:05:07:60:44:98:c2:0e
device-alias name TS4500_ROW4_1 pwwn 50:05:07:60:44:98:c2:0f
MDS9710B(config-device-alias-db)# no device-alias name TS4500_ROW1_1 
MDS9710B(config-device-alias-db)# no device-alias name TS4500_ROW2_1 
MDS9710B(config-device-alias-db)# no device-alias name TS4500_ROW3_1 
MDS9710B(config-device-alias-db)# no device-alias name TS4500_ROW4_1
MDS9710B(config-device-alias-db)# device-alias name TS4500_ROW1_1 pwwn 50:05:07:60:44:9e:77:0c
MDS9710B(config-device-alias-db)# device-alias name TS4500_ROW2_1 pwwn 50:05:07:60:44:9e:77:0d
MDS9710B(config-device-alias-db)# device-alias name TS4500_ROW3_1 pwwn 50:05:07:60:44:9e:77:0e
MDS9710B(config-device-alias-db)# device-alias name TS4500_ROW4_1 pwwn 50:05:07:60:44:9e:77:0f
MDS9710B(config-device-alias-db)# device-alias co
commit           confirm-commit   
MDS9710B(config-device-alias-db)# device-alias commit 
MDS9710B(config)# show device-alias database | grep 4500
device-alias name TS4500_ROW1_1 pwwn 50:05:07:60:44:9e:77:0c
device-alias name TS4500_ROW2_1 pwwn 50:05:07:60:44:9e:77:0d
device-alias name TS4500_ROW3_1 pwwn 50:05:07:60:44:9e:77:0e
device-alias name TS4500_ROW4_1 pwwn 50:05:07:60:44:9e:77:0f
MDS9710B(config)# show zoneset active vsan 11 | grep 4500
  zone name TS4500_TSM_SERVER vsan 11
MDS9710B(config)# show zone name TS4500_TSM_SERVER vsan 11
zone name TS4500_TSM_SERVER vsan 11
  pwwn 50:05:07:60:44:98:c2:0c
  pwwn 50:05:07:60:44:98:c2:0d
  pwwn 50:05:07:60:44:98:c2:0e
  pwwn 50:05:07:60:44:98:c2:0f
  pwwn 10:00:00:90:fa:1d:30:d2 [TSM_SERVER]
MDS9710B(config)# zone name TS4500_TSM_SERVER vsan 11
MDS9710B(config-zone)# no member pwwn 50:05:07:60:44:98:c2:0c
MDS9710B(config-zone)# no member pwwn 50:05:07:60:44:98:c2:0d
MDS9710B(config-zone)# no member pwwn 50:05:07:60:44:98:c2:0e
MDS9710B(config-zone)# no member pwwn 50:05:07:60:44:98:c2:0f
MDS9710B(config-zone)# member pwwn 50:05:07:60:44:9e:77:0c
MDS9710B(config-zone)# member pwwn 50:05:07:60:44:9e:77:0d
MDS9710B(config-zone)# member pwwn 50:05:07:60:44:9e:77:0e
MDS9710B(config-zone)# member pwwn 50:05:07:60:44:9e:77:0f
MDS9710B(config-zone)# wr
[########################################] 100%
Copy complete.
MDS9710B(config-zone)# show zone name TS4500_TSM_SERVER vsan 11
zone name TS4500_TSM_SERVER vsan 11
  pwwn 50:05:07:60:44:9e:77:0c [TS4500_ROW1_1]
  pwwn 50:05:07:60:44:9e:77:0d [TS4500_ROW2_1]
  pwwn 50:05:07:60:44:9e:77:0e [TS4500_ROW3_1]
  pwwn 50:05:07:60:44:9e:77:0f [TS4500_ROW4_1]
  pwwn 10:00:00:90:fa:1d:30:d2 [TSM_SERVER]
MDS9710B(config-zone)# show  zoneset active vsan 11 
zoneset name Fabric-B vsan 11
MDS9710B(config-zone)# zoneset activate name Fabric-B vsan 11
Zoneset activation initiated. check zone status
MDS9710B(config)# show  zoneset active vsan 11 | grep 4500
  zone name TS4500_TSM_SERVER vsan 11
  * fcid 0x0b1682 [pwwn 50:05:07:60:44:9e:77:0c] [TS4500_ROW1_1]
  * fcid 0x0b16a1 [pwwn 50:05:07:60:44:9e:77:0d] [TS4500_ROW2_1]
  * fcid 0x0b16c1 [pwwn 50:05:07:60:44:9e:77:0e] [TS4500_ROW3_1]
  * fcid 0x0b16e2 [pwwn 50:05:07:60:44:9e:77:0f] [TS4500_ROW4_1]
MDS9710B(config)# wr
[########################################] 100%
Copy complete.
MDS9710B(config)#

State after recovery

2. TSMServer configuration

The difficulty in this part is to correspond to the SN corresponding to the tape library and the drive.

/proc/scsi/IBMchanger and /proc/scsi/IBMtape They are virtual files for IBM tape library robots and tape devices for SCSI interfaces in Linux operating systems.
In Linux,/proc The file system provides a method to obtain kernel runtime information by accessing virtual files. in /proc/scsi The directory provides information about the SCSI subsystem, including identifying and managing SCSI devices. and /proc/scsi/IBMchanger and /proc/scsi/IBMtape file respectively provide status information of the IBM tape library robot arm and tape device, such as the current location, status of the robot arm and tape device, etc.

[root@TSMSERVER fc_host]# lsscsi -g
[0:2:0:0]    disk    LSI      MR9260-8i        2.11  /dev/sda   /dev/sg0 
[1:0:0:0]    cd/dvd  PLDS     DVD-RW DS8A9SH   EL3A  /dev/sr0   /dev/sg1 
[7:0:0:0]    tape    IBM      ULT3580-TD4      A239  -          /dev/sg6 
[7:0:0:1]    mediumx IBM      03584L32         A420  -          /dev/sg7 
[7:0:1:0]    tape    IBM      ULT3580-TD4      A239  -          /dev/sg12
[7:0:1:1]    mediumx IBM      03584L32         A420  -          /dev/sg13
[7:0:2:0]    tape    IBM      ULT3580-TD4      C7QB  -          /dev/sg4 
[7:0:2:1]    mediumx IBM      03584L32         A420  -          /dev/sg5 
[7:0:3:0]    tape    IBM      ULT3580-TD4      C7QB  -          /dev/sg10
[7:0:3:1]    mediumx IBM      03584L32         A420  -          /dev/sg11
[7:0:8:0]    tape    IBM      ULT3580-TD7      JAYE  -          /dev/sg16
[7:0:8:1]    mediumx IBM      03584L32         1702  -          /dev/sg17
[7:0:9:0]    tape    IBM      ULT3580-TD7      JAYE  -          /dev/sg18
[7:0:9:1]    mediumx IBM      03584L32         1702  -          /dev/sg19
[7:0:10:0]   tape    IBM      ULT3580-TD7      JAYE  -          /dev/sg20
[7:0:11:0]   tape    IBM      ULT3580-TD7      K4K0  -          /dev/sg21
[8:0:4:0]    tape    IBM      ULT3580-TD7      JAYE  -          /dev/sg2 
[8:0:4:1]    mediumx IBM      03584L32         1702  -          /dev/sg3 
[8:0:5:0]    tape    IBM      ULT3580-TD7      JAYE  -          /dev/sg8 
[8:0:6:0]    tape    IBM      ULT3580-TD7      JAYE  -          /dev/sg9 
[8:0:6:1]    mediumx IBM      03584L32         1702  -          /dev/sg14
[8:0:7:0]    tape    IBM      ULT3580-TD7      K4K0  -          /dev/sg15
[root@TSMSERVER fc_host]# 

[root@TSMSERVER dev]# cd /sys/class/fc_host/
[root@TSMSERVER fc_host]# cat host
host7/ host8/ 
[root@TSMSERVER fc_host]# cat host7/port_name 
0x10000090fa1d30d2
[root@TSMSERVER soft]# cat /sys/class/fc_host/host8/port_name 
0x10000090fa1d28b6
[root@TSMSERVER soft]# 

[root@TSMSERVER fc_host]# cat /proc/scsi/IBM*
lin_tape version: 3.0.39
lin_tape major number: 245
Attached Changer Devices:
Number  model       SN                       HBA             SCSI            FO Path   
0       03584L32    0000078BA8460401         lpfc            8:0:4:1         NA        
1       03584L32    0000078253410401         lpfc            7:0:2:1         NA        
2       03584L32    0000078253410401         lpfc            7:0:0:1         NA        
3       03584L32    0000078BA8460401         lpfc            8:0:6:1         NA        
4       03584L32    0000078253410401         lpfc            7:0:3:1         NA        
5       03584L32    0000078253410401         lpfc            7:0:1:1         NA        
6       03584L32    0000078BA8460401         lpfc            7:0:8:1         NA        
7       03584L32    0000078BA8460401         lpfc            7:0:9:1         NA        
lin_tape version: 3.0.39
lin_tape major number: 245
Attached Tape Devices:
Number  model       SN                       HBA             SCSI            FO Path   
0       ULT3580-TD7 000780E4AB               lpfc            8:0:4:0         NA        
1       ULT3580-TD4 00078C09C1               lpfc            7:0:2:0         NA        
2       ULT3580-TD4 00078C09BF               lpfc            7:0:0:0         NA        
3       ULT3580-TD7 000780E5EB               lpfc            8:0:5:0         NA        
4       ULT3580-TD4 0007858176               lpfc            7:0:3:0         NA        
5       ULT3580-TD4 00078C09BD               lpfc            7:0:1:0         NA        
6       ULT3580-TD7 000780AFEB               lpfc            8:0:6:0         NA        
7       ULT3580-TD7 00078D05E1               lpfc            8:0:7:0         NA        
8       ULT3580-TD7 000780E4AB               lpfc            7:0:8:0         NA        
9       ULT3580-TD7 000780AFEB               lpfc            7:0:9:0         NA        
10      ULT3580-TD7 000780E5EB               lpfc            7:0:10:0        NA        
11      ULT3580-TD7 00078D05E1               lpfc            7:0:11:0        NA        
[root@TSMSERVER fc_host]# 

Check the current tape library status:

tsm: TSMSERVER>q libaray f=d
ANR2000E Unknown command - QUERY LIBARAY.
ANS8001I Return code 2.

tsm: TSMSERVER>q library f=d

                  Library Name: TS3500
                  Library Type: SCSI
                        ACS Id: 
              Private Category: 
              Scratch Category: 
         WORM Scratch Category: 
              External Manager: 
                        Shared: Yes
                       LanFree: 
            ObeyMountRetention: 
       Primary Library Manager: 
                           WWN: 
                 Serial Number: 0000078253410401
                     AutoLabel: No
                  Reset Drives: Yes
               Relabel Scratch: No
                      ZosMedia: 
Last Update by (administrator): ADMIN
         Last Update Date/Time: 12/06/2020 13:21:03

                  Library Name: TS4500
                  Library Type: SCSI
                        ACS Id: 
              Private Category: 
              Scratch Category: 
         WORM Scratch Category: 
              External Manager: 
                        Shared: Yes
                       LanFree: 
            ObeyMountRetention: 
       Primary Library Manager: 
                           WWN: 
                 Serial Number: 0000078253410402
                     AutoLabel: No
                  Reset Drives: Yes
               Relabel Scratch: No
                      ZosMedia: 
Last Update by (administrator): ADMIN
         Last Update Date/Time: 12/06/2020 13:21:15

The Serial Number of TS4500: 0000078253410402 has been changed and needs to be corresponding to IBMchanger.

#如无法update 先删除TS4500下的所有path
Delete path TSMSERVER LTO7DRIVER0 srctype=server desttype=drive library=TS4500

Update SN through update command

tsm: TSMSERVER>help update librar             
Session established with server TSMSERVER: Linux/x86_64
  Server Version 7, Release 1, Level 7.0
  Server date/time: 05/31/2023 15:09:36  Last access: 05/31/2023 14:18:56

3.67.15 UPDATE LIBRARY (Update a library)

Use this command to update a library definition.



To update the device name or the external manager path name of a
library, you must use the UPDATE PATH command.

Syntax and parameter descriptions are available for the following
library types.

Tip: To display information about a specific command in the following
      list, type HELP followed by the topic number for that command.

*  3.67.15.1, "UPDATE LIBRARY (Update a 349X library)"
*  3.67.15.2, "UPDATE LIBRARY (Update an ACSLS library)"
*  3.67.15.3, "UPDATE LIBRARY (Update an EXTERNAL library)"
*  3.67.15.4, "UPDATE LIBRARY (Update a FILE library)"
*  3.67.15.5, "UPDATE LIBRARY (Update a manual library)"
*  3.67.15.6, "UPDATE LIBRARY (Update a SCSI library)"
*  3.67.15.7, "UPDATE LIBRARY (Update a shared library)"
*  3.67.15.8, "UPDATE LIBRARY (Update a VTL library)"

For detailed and current library support information, see the Supported
Devices website for your operating system: 
   http://www.ibm.com/software/sysmgmt/products/support/IBM_TSM_Supported_Devices_for_Linux.html



Related commands



tsm: TSMSERVER>

tsm: TSMSERVER>help 3.67.15.6
3.67.15.6 UPDATE LIBRARY (Update a SCSI library)

Use this syntax to update a SCSI library.



Privilege class

To issue this command, you must have system privilege or unrestricted
storage privilege.



Syntax 

>>-UPDate LIBRary--library_name----LIBType--=--+-SCSI-+--------->
                                               '-VTL--'     

>--+--------------------+--+-------------------------+---------->
   '-SHAREd--=----Yes---'  '-RESETDrives--=--+-Yes-+-'   
                                             '-No--'     

>--+-----------------------------+------------------------------>
   '-AUTOLabel--=--+-No--------+-'   
                   +-Yes-------+     
                   '-OVERWRITE-'     

>--+----------------------------+------------------------------->
   '-RELABELSCRatch--=--+-No--+-'   
                        '-Yes-'     

>--+------------------------------+----------------------------><
   '-SERial--=--+-serial_number-+-'   
                '-AUTODetect----'     




Parameters


tsm: TSMSERVER>
tsm: TSMSERVER>update library TS4500 LIBType=SCSI AUTOLabel=yes SERial=0000078BA8460401
ANR8465I Library TS4500 updated.

tsm: TSMSERVER>q library f=d

                  Library Name: TS3500
                  Library Type: SCSI
                        ACS Id: 
              Private Category: 
              Scratch Category: 
         WORM Scratch Category: 
              External Manager: 
                        Shared: Yes
                       LanFree: 
            ObeyMountRetention: 
       Primary Library Manager: 
                           WWN: 
                 Serial Number: 0000078253410401
                     AutoLabel: No
                  Reset Drives: Yes
               Relabel Scratch: No
                      ZosMedia: 
Last Update by (administrator): ADMIN
         Last Update Date/Time: 05/31/2023 14:01:53

                  Library Name: TS4500
                  Library Type: SCSI
                        ACS Id: 
              Private Category: 
              Scratch Category: 
         WORM Scratch Category: 
              External Manager: 
                        Shared: Yes
                       LanFree: 
            ObeyMountRetention: 
       Primary Library Manager: 
                           WWN: 
                 Serial Number: 0000078BA8460401
                     AutoLabel: Yes
                  Reset Drives: Yes
               Relabel Scratch: No
                      ZosMedia: 
Last Update by (administrator): ADMIN
         Last Update Date/Time: 05/31/2023 15:13:50


Update Drive

tsm: TSMSERVER>

tsm: TSMSERVER>DEFINE drive  TS4500  LTO7DRIVER0 online=yes
ANR8404I Drive LTO7DRIVER0 defined in library TS4500.

tsm: TSMSERVER>q drive

Library Name     Drive Name       Device Type     On-Line            
------------     ------------     -----------     -------------------
TS3500           3584DRV1         LTO             Yes                
TS3500           3584DRV2         LTO             Yes                
TS3500           3584DRV3         LTO             Yes                
TS3500           3584DRV4         LTO             Yes                
TS4500           LTO7DRIVER0      UNKNOWN         Yes                
TS4500           LTO7DRIVER1      LTO             Yes                
TS4500           LTO7DRIVER2      LTO             Yes                
TS4500           LTO7DRIVER3      LTO             Yes                

tsm: TSMSERVER>q drive f=d

Library Name  Drive Name    Device Type  On-Line              Read Formats      Write Formats     Element  Drive State       Volume Name  Allocated to  WWN             Serial Number   Last Update by      Last Update      Cleaning Frequency       
                                                                                                                                                                                        (administrator)      Date/Time       (Gigabytes/ASNEEDED/NONE)
------------  ------------  -----------  -------------------  ----------------  ----------------  -------  ----------------  -----------  ------------  --------------  --------------  ---------------  ------------------  -------------------------
TS3500        3584DRV1      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  257      UNKNOWN                                      5005076044013-  00078C09BF      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         801                                                  12:55:56                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS3500        3584DRV2      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  258      UNKNOWN                                      5005076044013-  00078C09BD      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         802                                                  12:57:25                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS3500        3584DRV3      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  259      UNKNOWN                                      5005076044013-  00078C09C1      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         803                                                  12:58:59                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS3500        3584DRV4      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  260      UNKNOWN                                      5005076044013-  0007858176      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         804                                                  12:59:31                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS4500        LTO7DRIVER0   UNKNOWN      Yes                                                               UNKNOWN                                                                      ADMIN                05/31/2023      NONE                     
                                                                                                                                                                                                              15:18:18                                
TS4500        LTO7DRIVER1   LTO          Yes                  ULTRIUM7C,ULTRI-  ULTRIUM7C,ULTRI-  258      UNKNOWN                                      500507604418C-  000780AFEB      ADMIN                06/28/2022      ASNEEDED                 
                                                               UM7,ULTRIUM6C,-   UM7,ULTRIUM6C,-                                                         20D                                                  17:11:59                                
                                                               ULTRIUM6,ULTRI-   ULTRIUM6                                                                                                                                                             
                                                               UM5C,ULTRIUM5                                                                                                                                                                          
TS4500        LTO7DRIVER2   LTO          Yes                  ULTRIUM7C,ULTRI-  ULTRIUM7C,ULTRI-  257      UNKNOWN                                      500507604418C-  000780E4AB      ADMIN                06/28/2022      ASNEEDED                 
                                                               UM7,ULTRIUM6C,-   UM7,ULTRIUM6C,-                                                         20C                                                  17:12:38                                
                                                               ULTRIUM6,ULTRI-   ULTRIUM6                                                                                                                                                             
                                                               UM5C,ULTRIUM5                                                                                                                                                                          
TS4500        LTO7DRIVER3   LTO          Yes                  ULTRIUM7C,ULTRI-  ULTRIUM7C,ULTRI-  259      UNKNOWN                                      500507604418C-  000780E5EB      ADMIN                02/14/2023      NONE                     
                                                               UM7,ULTRIUM6C,-   UM7,ULTRIUM6C,-                                                         20E                                                  19:34:17                                
                                                               ULTRIUM6,ULTRI-   ULTRIUM6                                                                                                                                                             
                                                               UM5C,ULTRIUM5                                                                                                                                                                          

tsm: TSMSERVER>help update drive
3.67.13 UPDATE DRIVE (Update a drive)

Use this command to update a drive.



Privilege class

For detailed and current drive support information, see the Supported
Devices website for your operating system: 
   http://www.ibm.com/software/sysmgmt/products/support/IBM_TSM_Supported_Devices_for_Linux.html

To issue this command, you must have system privilege or unrestricted
storage privilege.



Syntax 

>>-UPDate DRive--library_name--drive_name----------------------->

>--+------------------------------+--+--------------------+----->
   '-SERial--=--+-serial_number-+-'  '-ONLine--=--+-Yes-+-'   
                '-AUTODetect----'                 '-No--'     

>--+----------------------------+------------------------------->
   '-ELEMent--=--+-address----+-'   
                 '-AUTODetect-'     

>--+----------------------------+------------------------------->
   |                       (1)  |   
   '-ACSDRVID--=--drive_id------'   

>--+-------------------------------------------+---------------><
   |                     (2)                   |   
   '-CLEANFREQuency--=-------+-NONE----------+-'   
                             |          (3)  |     
                             +-ASNEEDED------+     
                             '-gigabytes-----'     


  Notes: 
1. The ACSDRVID parameter is valid only for drives in ACSLS libraries.
2. The CLEANFREQUENCY parameter is valid only for drives in SCSI
   libraries.
3. The CLEANFREQUENCY=ASNEEDED parameter value does not work for all
   tape drives. For more information, see the parameter description.



Parameters

library_name (Required)
   Specifies the name of the library to which the drive is assigned.

drive_name (Required)
   Specifies the name that is assigned to the drive.

SERial 
   Specifies the serial number for the drives that are being updated.
more...   (<ENTER> to continue, 'C' to cancel) c

Output to screen cancelled.  Please wait for the 'tsm>' prompt.
##更新Drive SN
tsm: TSMSERVER>update drive TS4500 LTO7DRIVER0 SERial=00078D05E1 online=yes
ANR8467I Drive LTO7DRIVER0 in library TS4500 updated.

tsm: TSMSERVER>Q DRIVE f=d

Library Name  Drive Name    Device Type  On-Line              Read Formats      Write Formats     Element  Drive State       Volume Name  Allocated to  WWN             Serial Number   Last Update by      Last Update      Cleaning Frequency       
                                                                                                                                                                                        (administrator)      Date/Time       (Gigabytes/ASNEEDED/NONE)
------------  ------------  -----------  -------------------  ----------------  ----------------  -------  ----------------  -----------  ------------  --------------  --------------  ---------------  ------------------  -------------------------
TS3500        3584DRV1      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  257      UNKNOWN                                      5005076044013-  00078C09BF      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         801                                                  12:55:56                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS3500        3584DRV2      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  258      UNKNOWN                                      5005076044013-  00078C09BD      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         802                                                  12:57:25                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS3500        3584DRV3      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  259      UNKNOWN                                      5005076044013-  00078C09C1      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         803                                                  12:58:59                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS3500        3584DRV4      LTO          Yes                  ULTRIUM4C,ULTRI-  ULTRIUM4C,ULTRI-  260      UNKNOWN                                      5005076044013-  0007858176      ADMIN                05/31/2023      NONE                     
                                                               UM4,ULTRIUM3C,-   UM4,ULTRIUM3C,-                                                         804                                                  12:59:31                                
                                                               ULTRIUM3,ULTRI-   ULTRIUM3                                                                                                                                                             
                                                               UM2C,ULTRIUM2                                                                                                                                                                          
TS4500        LTO7DRIVER0   UNKNOWN      Yes                                                               UNKNOWN                                                      00078D05E1      ADMIN                05/31/2023      NONE                     
                                                                                                                                                                                                              15:19:54                                
TS4500        LTO7DRIVER1   LTO          Yes                  ULTRIUM7C,ULTRI-  ULTRIUM7C,ULTRI-  258      UNKNOWN                                      500507604418C-  000780AFEB      ADMIN                06/28/2022      ASNEEDED                 
                                                               UM7,ULTRIUM6C,-   UM7,ULTRIUM6C,-                                                         20D                                                  17:11:59                                
                                                               ULTRIUM6,ULTRI-   ULTRIUM6                                                                                                                                                             
                                                               UM5C,ULTRIUM5                                                                                                                                                                          
TS4500        LTO7DRIVER2   LTO          Yes                  ULTRIUM7C,ULTRI-  ULTRIUM7C,ULTRI-  257      UNKNOWN                                      500507604418C-  000780E4AB      ADMIN                06/28/2022      ASNEEDED                 
                                                               UM7,ULTRIUM6C,-   UM7,ULTRIUM6C,-                                                         20C                                                  17:12:38                                
                                                               ULTRIUM6,ULTRI-   ULTRIUM6                                                                                                                                                             
                                                               UM5C,ULTRIUM5                                                                                                                                                                          
TS4500        LTO7DRIVER3   LTO          Yes                  ULTRIUM7C,ULTRI-  ULTRIUM7C,ULTRI-  259      UNKNOWN                                      500507604418C-  000780E5EB      ADMIN                02/14/2023      NONE                     
                                                               UM7,ULTRIUM6C,-   UM7,ULTRIUM6C,-                                                         20E                                                  19:34:17                                
                                                               ULTRIUM6,ULTRI-   ULTRIUM6                                                                                                                                                             
                                                               UM5C,ULTRIUM5                                                                                                                                                                          

tsm: TSMSERVER>
##定义新的path

tsm: TSMSERVER>define path TSMSERVER TS4500  srctype=server desttype=library  device=/dev/IBMchanger3 online=yes
ANR1720I A path from TSMSERVER to TS4500 has been defined.

tsm: TSMSERVER>

tsm: TSMSERVER>define path TSMSERVER LTO7DRIVER0 srctype=server desttype=drive  libr=TS4500 device=/dev/IBMtape7 online=yes
ANR1720I A path from TSMSERVER to TS4500 LTO7DRIVER0 has been defined.

tsm: TSMSERVER>define path TSMSERVER LTO7DRIVER1 srctype=server desttype=drive  libr=TS4500 device=/dev/IBMtape6 online=yes
ANR1720I A path from TSMSERVER to TS4500 LTO7DRIVER1 has been defined.

tsm: TSMSERVER>define path TSMSERVER LTO7DRIVER2 srctype=server desttype=drive  libr=TS4500 device=/dev/IBMtape4 online=yes
ANR1720I A path from TSMSERVER to TS4500 LTO7DRIVER2 has been defined.

tsm: TSMSERVER>define path TSMSERVER LTO7DRIVER3 srctype=server desttype=drive  libr=TS4500 device=/dev/IBMtape2 online=yes
ANR1720I A path from TSMSERVER to TS4500 LTO7DRIVER3 has been defined.

tsm: TSMSERVER>q path

Source Name     Source Type     Destination     Destination     On-Line   
                                Name            Type            
-----------     -----------     -----------     -----------     ----------
TSMSERVER       SERVER          TS3500          LIBRARY         Yes       
TSMSERVER       SERVER          3584DRV1        DRIVE           Yes       
TSMSERVER       SERVER          3584DRV2        DRIVE           Yes       
TSMSERVER       SERVER          3584DRV3        DRIVE           Yes       
TSMSERVER       SERVER          3584DRV4        DRIVE           Yes       
TSMSERVER       SERVER          LTO7DRIVER0     DRIVE           Yes       
TSMSERVER       SERVER          LTO7DRIVER1     DRIVE           Yes       
TSMSERVER       SERVER          LTO7DRIVER2     DRIVE           Yes       
TSMSERVER       SERVER          LTO7DRIVER3     DRIVE           Yes       

tsm: TSMSERVER>
tsm: TSMSERVER>q path f=d

Source Name    Source Type    Destination    Destination    Library        Node Name      Device         External       ZOS Media      Comm.          LUN            Initiator      Directory      On-Line       Last Update by     Last Upda-
                              Name           Type                                                        Manager        Server         Method                                                                    (administrator)    te Date/T-
                                                                                                                                                                                                                                       ime    
-----------    -----------    -----------    -----------    -----------    -----------    -----------    -----------    -----------    -----------    -----------    -----------    -----------    ----------    ---------------    ----------
TSMSERVER      SERVER         TS3500         LIBRARY                                      /dev/IBMch-                                                                0                             Yes           ADMIN              12/06/2020
                                                                                           anger1                                                                                                                                    13:21:02 
TSMSERVER      SERVER         3584DRV1       DRIVE          TS3500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe1                                                                                                                                       12:55:56 
TSMSERVER      SERVER         3584DRV2       DRIVE          TS3500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe0                                                                                                                                       12:57:25 
TSMSERVER      SERVER         3584DRV3       DRIVE          TS3500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe3                                                                                                                                       12:58:58 
TSMSERVER      SERVER         3584DRV4       DRIVE          TS3500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe5                                                                                                                                       12:59:31 
TSMSERVER      SERVER         LTO7DRIVER0    DRIVE          TS4500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe7                                                                                                                                       15:22:18 
TSMSERVER      SERVER         LTO7DRIVER1    DRIVE          TS4500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe6                                                                                                                                       15:23:18 
TSMSERVER      SERVER         LTO7DRIVER2    DRIVE          TS4500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe4                                                                                                                                       15:23:38 
TSMSERVER      SERVER         LTO7DRIVER3    DRIVE          TS4500                        /dev/IBMta-                                                                0                             Yes           ADMIN              05/31/2023
                                                                                           pe2                                                                                                                                       15:23:57 

tsm: TSMSERVER>

If you have any questions, please leave a comment!

© Copyright Notice
THE END
If you like it, please support it.
like9Appreciate Share
Comment Grab the sofa
avatar
Welcome to leave valuable insights!
submit
avatar

Nick name

Cancel
Nick nameexpressioncodepicture

    There are currently no comments available