Forum Discussion

bill0621's avatar
bill0621
Level 4
11 years ago

command with grep filter

Hi all,

I need to know  which are the ROBOT CONTROL HOST in my env.

Please let me know what command to run from master server to get this info.

 

thanks

 

  • You can run vmglob -listall command on master and look for robot control host. 

    Master server # vmglob -listall |more
    =====================================================================
    device type:               robot
    device name:               ROBOT0
    serial number:             ACS-0-AAA
    hostname:                  BBB
    volume database hostname:  Master Server
    robot number:              0
    robot drive number:        -1
    robot type:                ACS
    drive type:                -
    flags:                     0x80000
    worldwide name:            -
    worldwide name type:       0
    inquiry:                   STK     ACSLS           0000
    library name:              -
    vendor drive name:         -
    robot control host:        Its Name
    ACS:                       -1
    LSM:                       -1
    PANEL:                     -1
    DRIVE:                     -1

     

7 Replies

  • run the tpconfig -d command on the media server having the tape drives.. it will show you the robot contorl host on the server...

  • I want to run the command on master server .i have around 50 media servers.

    Can i run vmglob and nbemmcmd command?

  • You can run vmglob -listall command on master and look for robot control host. 

    Master server # vmglob -listall |more
    =====================================================================
    device type:               robot
    device name:               ROBOT0
    serial number:             ACS-0-AAA
    hostname:                  BBB
    volume database hostname:  Master Server
    robot number:              0
    robot drive number:        -1
    robot type:                ACS
    drive type:                -
    flags:                     0x80000
    worldwide name:            -
    worldwide name type:       0
    inquiry:                   STK     ACSLS           0000
    library name:              -
    vendor drive name:         -
    robot control host:        Its Name
    ACS:                       -1
    LSM:                       -1
    PANEL:                     -1
    DRIVE:                     -1

     

  • Thanks Gary.

    1. Can you please provide the filter for this command so that it will show only robot number and robot control host.

     

    2...vmglob and nbemmcmd..both exist in NBU 6.5.what is the basic differencebetween them?
     

  • Please do not add to your original question.

    Difference between commands are easy to see for yourself.
    Issue the commands and see. Or use Commands manual.

    Gary has given you the command.

    Grep and egrep are not NBU commands - use man pages or Google to see how to use these commands.

  • Thanks Marianne.

    .vmglob and nbemmcmd..both exist in NBU 6.5.what is the basic differencebetween them?
     

     

    Really I am unable to figure it out the difference.vmglob exist oin 5.x when we have databases on media server also.

     

    but now in NBU 6.x when we have EMM, why this vmglob command?

     

    Both vmglob and nbemmcmd do the sam thing?

  • The Global device database (globdb) has always been on the master server. Even in NBU 5.x.
    In NBU 5.x, Media servers had device database (ltidevs).

    The global device database is now part of Emm database and still works exactly the same as in NBU 5.x.
    We are not going to get into a discussion of NBU 5 vs. NBU 7 commands and databases.
    There is no point.

    If you cannot see a difference, then you can choose whichever one you like.

    Your original question has been answered. 
    Time to close this discussion...