UPDATE PATH TIVOLI STORAGE MANAGER

A seguito di un blackout l’infrastruttura di backup di un cliente (composta da tsm 6.2 e libreria ts3310 con tre drive via FC) ha incominciato da dare degli errori (considerate che tutti e 3 i componenti HW si sono riavviati Server linux, libreria e switch in fibra) :

ANR8413E UNABLE OPEN DRIVE /dev/IBMtape2 error number 12

Dopo essermi salvato la configurazione dei drive  in un file di testo:

tsm: OMER>query path f=d

                   Source Name: OMER
                   Source Type: SERVER
              Destination Name: TS3310_MO
              Destination Type: LIBRARY
                       Library:
                     Node Name:
                        Device: /dev/IBMchanger0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): ADMIN
         Last Update Date/Time: 03/16/2011 13:24:18

                   Source Name: OMER
                   Source Type: SERVER
              Destination Name: DRIVE0
              Destination Type: DRIVE
                       Library: TS3310_MO
                     Node Name:
                        Device: /dev/IBMtape2
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): SERVER_CONSOLE
         Last Update Date/Time: 06/22/2012 18:38:58

                   Source Name: OMER
                   Source Type: SERVER
              Destination Name: DRIVE1
              Destination Type: DRIVE
                       Library: TS3310_MO
                     Node Name:
                        Device: /dev/IBMtape1
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): SERVER_CONSOLE
                Source Name: OMER
                   Source Type: SERVER
              Destination Name: DRIVE2
              Destination Type: DRIVE
                       Library: TS3310_MO
                     Node Name:
                        Device: /dev/IBMtape0
              External Manager:
                           LUN:
                     Initiator: 0
                     Directory:
                       On-Line: Yes
Last Update by (administrator): SERVER_CONSOLE
         Last Update Date/Time: 06/22/2012 16:48:22

Ho ridefinito i due path che in questo caso mi davano errori i path erano del DRIVE0 e DRIVE2:

update path OMER DRIVE0 srctype=SERVER autodetect=yes desttype=drive library=TS3310_MO device=/dev/IBMtape0

update path OMER DRIVE2 srctype=SERVER autodetect=yes desttype=drive library=TS3310_MO device=/dev/IBMtape2

mi ero accorto che erano questi i drive perche facendo un update con le correnti configurazioni mi compariva un messaggio di errore:

tsm: OMER>update path OMER DRIVE2 srctype=SERVER desttype=drive library=TS3310_MO device=/dev/IBMtape0
ANR8958E UPDATE PATH: Autodetect is OFF and the serial number reported by the drive did not match the serial number in the drive definition.
ANS8001I Return code 15.

tsm: OMER>update path OMER DRIVE2 srctype=SERVER autodetect=yes desttype=drive library=TS3310_MO device=/dev/IBMtape0
ANR8419E UPDATE PATH: The drive or element conflicts with an existing drive in library TS3310_MO.
ANS8001I Return code 15.

Adesso sembra andare tutto….

UPDATE PATH TIVOLI STORAGE MANAGER

Leave a Reply

Your email address will not be published.