Forum Discussion

nike_new's avatar
nike_new
Level 6
11 years ago

nbu 7.5 os is solaris

Ihave a query regarding a restore.

 

My backup is on tape.I require 5 media for restore.media are not in library.We have 5 library in one domain.we have 4 robot control host.

 

I need to ask on site team to insert the medias .when i goes in media section and search the media it says it is none and robot control host is not shown.

 

To which robot control hosts this media be inserted?(i mean to which library)

 

nbu 7.5.0,.4

solaris

  • nbemmcmd command is a combination of bpmedialist and vmquery.

    When media is offsite (standalone), the best you can get is media server name.

    You need to know your environment and need to know which media server is attached to which robot.

9 Replies

  • Check properties at cmd level for one of the tapes with this command:

    nbemmcmd -listmedia -mediaid <media-id>

    Look for 'Last Write Host field'.

    You should know which robot this media server is attached to that have drives that match the media density.

    Ask on site team to insert tapes in the robot that you have identified above.

    Another command that will help is 'bpmedialist -m <media-id>.
    It will show media server name.

  • @marianne:

    Another command that will help is 'bpmedialist -m <media-id>.
    It will show media server name.

     

    this command gives me "server host" name but this server host is not the robot control host.

    At which library ,to insert the media?

  • Any library that that server has access to

    If you look under devices - robots that "server host" will have robots shown against it even though it is not the control host.

    You can put the tape in any of those as long as that library has drives that are the same denisty as the tapes (HCART / HCART2 etc.)

    Hope this helps

  • @Marianne:

     

    Look for 'Last Write Host field'.

    You should know which robot this media server is attached to that have drives that match the media density.

     

    How to check or know  which robot this media server is attached to that have drives that match the media density.?????

  • nbemmcmd command is a combination of bpmedialist and vmquery.

    When media is offsite (standalone), the best you can get is media server name.

    You need to know your environment and need to know which media server is attached to which robot.

  • sudo ./bpmedialist -m 004493
    Server Host = mediaunix23

     id     rl  images   allocated        last updated      density  kbytes restores
               vimages   expiration       last read         <------- STATUS ------->
               On Hold
    --------------------------------------------------------------------------------
    004493  13     73   01/21/2011 13:51  10/07/2011 10:34  hcart2   325127533     0
                  MPX   10/05/2018 10:34        N/A         FULL
               0

     > sudo ./nbemmcmd -listmedia -mediaid 004493
    NBEMMCMD, Version: 7.5.0.4
    ====================================================================
    Media GUID:                     e89edd22-f837-11dd-8000-a66ff944b9d7
    Media ID:                       004493
    Partner:                        -
    Media Type:                     HCART2
    Volume Group:                   ---
    Application:                    Netbackup
    Media Flags:                    1
    Description:                    ---
    Barcode:                        004493
    Partner Barcode:                --------
    Last Write Host:                mediaunix23
    Created:                        02/11/2009 12:31
    Time Assigned:                  01/21/2011 13:51
    First Mount:                    02/12/2009 20:13
    Last Mount:                     10/07/2011 10:31
    Volume Expiration:              -
    Data Expiration:                10/05/2018 10:34
    Last Written:                   10/07/2011 10:34
    Last Read:                      -
    Robot Type:                     NONE
    Robot Control Host:             -
    Robot Number:                   -
    Slot:                           -
    Side/Face:                      -
    Cleanings Remaining:            -
    Number of Mounts:               132
    Maximum Mounts Allowed:         0
    Media Status:                   FULL MPX
    Kilobytes:                      325127533
    Images:                         73
    Valid Images:                   73
    Retention Period:               13
    Number of Restores:             0
    Optical Header Size Bytes:      1024
    Optical Sector Size Bytes:      0
    Optical Partition Size Bytes:   0
    Last Header Offset:             2480714
    Adamm Guid:                     00000000-0000-0000-0000-000000000000
    Rsm Guid:                       00000000-0000-0000-0000-000000000000
    Origin Host:                    NONE
    Master Host:                    unix123
    Server Group:                   NO_SHARING_GROUP
    Upgrade Conflicts Flag:
    Pool Number:                    8
    Volume Pool:                    Yearly
    Previous Pool Name:             SCRATCH
    Vault Flags:                    -
    Vault Container:                -
    Vault Name:                     -
    Vault Slot:                     -
    Session ID:                     -
    Date Vaulted:                   -
    Return Date:                    -
    Media on Hold:                  0

     

     

    Which library to inser this media?

  • You have to put the tapes to the library that its drives are presented to the media server mediaunix23 and their density is hcart2

    If you need more help, post the output of the command tpconfig -l from the server mediaunix23

  • I believe I have answered your question in the post that you marked as solution and subsequently removed.

    Please do not drag this thread out any longer.

    There is nothing more to this - check which robot the media server is connected to and put tape in that particular robot.