UNSOLVED

rwong1

updated

12 years ago

R

rwong1

34 Posts

0

4188

July 15th, 2014 11:00

ULT 3582 and Networker auto-cleaning

Hi,

I'm  trying to enable the ULT 3582 auto-cleaning but when configuring it came back with no cleaning cell.

I'm not sure whether the NetWorker 76 build 142 for AIX 6.1 is configured correctly or not.   Could you help to check if the NSR jukebox and NSR device for rmt0.1 and rmt1.1  are OK?  The goal is to let the ULT3582 to do the cleaning.  (Not sure if this is better than using the NetWorker).

Your help is apprecaited.

Ren Wong

#nsrjb

                1:      sdp_nsr         [enabled]

There is only one enabled and configured jukebox: sdp_nsr

Jukebox sdp_nsr: (Ready to accept commands)

slot  volume                                    pool          barcode  volume id        recyclable

   1: CMV007 MainDBbackup  CMV007   3535443941       no

   2: CMV025 MainDBbackup  CMV025   3518666916       no

   3: CMV009 MainDBbackup  CMV009   3501889859       no

   4: CMV004 MainDBbackup  CMV004   3485112765       no

   5: CMV002 MainDBbackup  CMV002   3468335689       no

   6: CMV001                                    MainDBbackup CMV001   3451558802       no

   7: CMV003 HistDBbackup  CMV003   3434781849       no

   8: CMV00H HistDBbackup  CMV00H   3418004816       no

   9: CMV00C                                    HistDBbackup  CMV00C 3401227707       no

  10:

  11:

  12: CMV008                                    HistDBbackup  CMV008 3384450641       no

  13:

  14:

  15: CMV019                                    HistDBbackup CMV019   3367673594       no

  16: CMV005 HistDBbackup  CMV005   3350896505       no

  17: CMV01G HistDBbackup  CMV01G   3334119407       no

  18:                                                                       

  19:

  20:

  21: CMV00F                                    bootstrap     CMV00F 4189542823       no

  22: Cleaning Tape (46 uses left) CLNI05                     CLNI05   -    

  23: Cleaning Tape (47 uses left) CLNU63                     CLNU63   -    

        *not registered in the NetWorker media data base

drive 1 (/dev/rmt0.1) slot 21: CMV00F (mounted)

Latest Frimware release 2005/7/12

310B.GY005

Driver 73V1

Confirm from IBM site which are the latest

Try to turn off the host autocleaning

nsradmin> print type: NSR jukebox; name:sdp_nsr

                        type: NSR jukebox;

                        name: sdp_nsr;

                     comment: ;

                 description: "scsidev@2.1.1: Standard SCSI Jukebox";

                       model: Standard SCSI Jukebox;

                     enabled: Yes;

                control port: scsidev@2.1.1;

                     devices: /dev/rmt0.1, /dev/rmt1.1;

              number devices: 2;

               number drives: 2;

  SmartMedia update interval: 12;

             bar code reader: Yes;

       match bar code labels: Yes;

       jukebox serial number: ATNN=IBM     ULT3582-TL      0000013387791000;

             max parallelism: 1;

                STL barcodes: CMV007, CMV025, CMV009, CMV004, CMV002, CMV001,

                              CMV003, CMV00H, CMV00C, "", "", CMV008, "", "",

                              CMV019, CMV005, CMV01G, "", "", "", CMV00F,

                              CLNI05, CLNU63;

            RSM Library GUID: ;

              RSM Media Type: ;

             RSM Drive GUIDs: ;

             RSM Media GUIDs: ;

            STL device names: ;

          STL device sharing: ;

      STL device reservation: ;

           STL interface lib: ;

              STL identifier: ;

                  auto clean: Yes;

      verify label on unload: No;

              cleaning slots: 22-23;

           default cleanings: 50;

       auto media management: Yes;

            application name: ;

             application key: ;

               read hostname: ;

                NDMP jukebox: No;

               NDMP hostname: ;

         NDMP jukebox handle: ;

                       ready: Yes;

             virtual jukebox: No;

     virtual jukebox frameid: ;

nsradmin>

nsradmin> print type: NSR device; name: /dev/rmt1.1

                        type: NSR device;

                        name: /dev/rmt1.1;

                     comment: ;

                 description: ;

                message_I18N: "writing, done ";

                     message: "writing, done ";

                 volume name: CMV00F;

                media family: tape;

                  media type: LTO Ultrium-2;

                     enabled: Yes;

                   read only: No;

             target sessions: 32;

                max sessions: 512;

              parent jukebox: sdp_nsr;

           cleaning required: No;

           cleaning interval: 6 months;

           date last cleaned: "Mon Mar 17 14:24:34 2014";

       auto media management: No;

                        ndmp: No;

      dedicated storage node: No;

                 remote user: ;

                    password: ;

                 hardware id: ;

                         CDI: SCSI commands;

Warn on suspect volumes (%): 0;

          TapeAlert Critical: Read failure;

           TapeAlert Warning: Hard error, Diagnostics required,

                              Tape directory corrupted on load;

       TapeAlert Information: ;

                WORM capable: No;

             DLTWORM capable: No;

      WORM cartridge present: No;

        device serial number: ;

          Network Write Size: 8192;

                      Server: ;

        Send/Receive Timeout: 90;

           Number of Retries: 3;

Network Failure Retry Interval: 5;

                 Compression: Compression Speed Fast;

                  Encryption: AES 256 Encryption;

                  Throttling: No;

                   bandwidth: ;

nsradmin> print type: NSR;  name: sdp_nsr

                        type: NSR;

                        name: sdp_nsr;

                     version: NetWorker 7.6.Build.142 Power Edition/12;

                     comment: ;

                 parallelism: 32;

                manual saves: Enabled;

             public archives: Disabled;

             volume priority: NearLine Priority;

       SmartMedia save mount: volume by characteristics;

              license server: ;

             update licenses: No;

         device sharing mode: maximal sharing;

WORM pools only hold WORM tapes: Yes;

WORM tapes only in WORM pools: Yes;

      Job inactivity timeout: 0;

    Jobsdb retention in days: 3;

    Jobsdb maximum size (KB): 40960;

                  BMR server: ;

     Savegroup log by job id: No;

               administrator: "user=root,host=sdp_nsr",

"user=root,host=sdp1_admin",

"user=root,host=sdp1_admin_persistent",

"user=root,host=sdp1_cross",

"user=root,host=sdp", "user=root,host=sdp1",

"user=root,host=sdp1_persistent",

"user=root,host=sdp2_admin",

"user=root,host=sdp2_admin_persistent",

"user=root,host=sdp2_cross",

"user=root,host=sdp2",

"user=root,host=sdp2_persistent",

"user=administrator,host=sdp_nsr",

"user=system,host=sdp_nsr",

"user=administrator,host=sdp1",

"user=administrator,host=sdp2";

                contact name: ;

                     company: ;

              street address: ;

                   city/town: ;

              state/province: ;

             zip/postal code: ;

                     country: ;

                       phone: ;

                         fax: ;

               email address: ;

              server OS type: AixOS;

                     site-id: ;

       support email address: ;

               purchase date: ;

       product serial number: ;

        datazone pass phrase: ;

     Keep Incomplete Backups: No;

1 Attachment

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1591

    0

    Posted July 15th, 2014 12:00

    76 build 142???  Come on   You must patch that. Normally, when cleaning is configured to be done via library itself (see http://ps-2.kev009.com/rs6000/manuals/Tape/358x/3582/3582_Setup,Operator,Svc_Guide_a67po0ct.pdf) then this won't represented to outside world and you will see only available slots outside that, but this may depend on library too (my experience comes from Quantum lib).  If visible, you can lock working range via available slots and disable NetWorker cleaning in NW. 


  • rwong1

    34 Posts

    1591

    0

    Posted July 15th, 2014 13:00

    Hi, 

    I suppose the "auto media management" attribute in the NSR jukebox should be set to "No"?

    Thanks

    Ren

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1591

    1

    Posted July 15th, 2014 13:00

    No, auto media management is not related to cleaning in NetWorker. Auto clean should be set to No and available slots should exclude cleaning slots if you see them.

  • crazyrov

    6 Operator

    •

    1319 Posts

    1591

    1

    Posted July 16th, 2014 02:00

    Is the library disabled and enabled after you have done the changes. Also, i hope you have not mentioned these slots in the available slot range.

  • rwong1

    34 Posts

    1596

    0

    Posted July 16th, 2014 05:00

    Hi,

    Where can I see that the the cleaning slots are not included in the  available slots ? At the ULT 3582?

    I don't see anything useful from the NetWorker side.

    Thanks for your suggestion.

    Ren

  • amhill

    5 Posts

    1596

    0

    Posted July 16th, 2014 05:00

    When you look at the properties of the tape library there should be a check mark field to turn on/off auto-cleaning.  Next to that there should be a field where you can put in available tape library slots.  In your case it looks like that would need to be 1-21

  • crazyrov

    6 Operator

    •

    1319 Posts

    1596

    1

    Posted July 16th, 2014 06:00

    Hi Ren,

         First enable Diagnostic mode on the NMC, to do this to to NMC - > View -> diagnostic mode. once enabled go to the properties of your Jukebox -> Advanced Tab -> Available slots. it should be 1-21 in your case. Disable the library and enable it for the changes to take affect.

  • rwong1

    34 Posts

    1596

    0

    Posted July 16th, 2014 06:00

    Hi crazyrov,

    The unit does not have NMC.  Is there any other way?

    Thanks

    Ren

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1596

    0

    Posted July 16th, 2014 06:00

    nsradmin.  And I doubt you do not have NMC installed anywhere else.

  • amhill

    5 Posts

    811

    1

    Posted July 16th, 2014 07:00

    If you're not completely familiar with using nsradmin in edit mode to change the jukebox resource as you need to run nsradmin, skip the first part and look at the part of editing the resourcefile directly while networker is down.

    For the nsradmin way; do this while first disabling the jukebox to prevent access to the resource!!!

    1). the nsradmin way
    # nsradmin
    # nsradmin> . type:nsr jukebox;name:put_jukebox_name_here
    # nsradmin> edit

    Then the jukebox resource opens in a vi-like session, available for manual editing.

    - change "available slots" parameter
    - change "physical slots" parameter
    - for the part "volume ids" delete the slot entries from behind so that there are only desired amount of slots left
    - for the part "volumes" delete the volume entries from behind so that there are only desired amount of slots left

    save and quit

    NOTE! When using nsradmin to edit a resource pay attention to the fact that there is 1 space character at the end of each line! Do not forget to have that space at the end of a line when adding/removing lines from a resource file.

    2). the editing of the resourcefile while networker is down
    In stead you could better try to change the jukebox resourcefile while networker is down. The benefit is that you first can copy that file as a fast fallback in case you make an error. With nsradmin you sometimes can get in a stuck situation

    Look for the jukebox resourcefile in directory /nsr/res/nsrdb/ (every jukebox has its own resourcefile in NW 7.x)

    # egrep -i "physical slots|available slots" /nsr/res/nsrdb/*/*
    07/8a1713b63f5b5876a3af2c1b:available slots: 1-678;
    07/8a1713b63f5b5876a3af2c1b:physical slots: 1, 678;

    In this case it's a stk L700 with 678 slots, the resourcefile of which is called 8a1713b63f5b5876a3af2c1b and is in directory 07.

    If you want to change the the slots you should:
    - shutdown networker
    - edit the resourcefile and change parameters available slots (1-23;) and physical slots (1, 21;) so that it reflects to the situation you want
    - start networker again