Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Vmoprcmd command returns not-full list of drives

Created: 28 Jun 2010 | 10 comments
Svetlana_B's picture
0 0 Votes
Login to vote

The list which is returned by the command vmoprcmd -devmon ds  returns data about 2 drivesonly:

c:\Program Files\Veritas\Volmgr\bin>vmoprcmd -devmon ds -h nbuhost06
 
                                  DRIVE STATUS
 
Drive Name               Label   Ready  RecMID  ExtMID  Wr.Enbl.  Type
    Host                       DrivePath                            Status
=============================================================================
IBM.ULTRIUM-TD1.000      No      No                     No        hcart
    nbuhost06                  {3,0,0,1}                            TLD
 
IBM.ULTRIUM-TD1.001      No      No                     No        hcart
    nbuhost06                  {3,0,0,2}                            TLD

 But NetBackup Administration Console (Media and Device Management ->Devices -> Drives) shows the list of 3 drivesfor the same master server:
IBM.ULTRIUM-TD1.000 nbuhost06          HCART  TLD         0              1              Yes                         3              0              0              1                7YK3S0021J                                         Yes         No          0              IBM     ULTRIUM-TD1     18N2      
IBM.ULTRIUM-TD1.001 nbuhost06          HCART  TLD         0              2              Yes                         3              0              0              2                7YK3S0021K                                        Yes         No          1              IBM     ULTRIUM-TD1     18N2      
CERTANCE.ULTRIUM2.000           nbu-media-01   HCART2                TLD         1              1              Yes                         3              0                6              0              JK02AL3                                                Yes         No          0              CERTANCEULTRIUM 2       1826   
 
I see that drives for nbu-media-01 are not included into vmoprcmd command output. The question is why? What command should I use to obtain entire list of drives including their status?

Comments

Kisad's picture
29
Jun
2010
1 Vote +1
Login to vote

dont use the -h switch

Hi Svetlana

please try the command without using the -h nbuhost06... -h <hostname> will list drives assigned to that particular host only and not all the drives.

just try vmoprcmd  or vmoprcmd -devmon

Thanks
Kisad

Svetlana_B's picture
29
Jun
2010
2 Votes 0
Login to vote

Hello Kisad, Thanks

Hello Kisad,

Thanks for replying on my problem.

Running commands on master server or media server sides does not fit our needs

We need to be able to query full list of drives from a remote machine with admin console installed.

Thanks,
Svetlana

Sriram's picture
29
Jun
2010
2 Votes +2
Login to vote

That is not possible, you

That is not possible, you should have VMD process running for executing the command.  VMD process is part of MM process of netbackup and will be running on master and media servers.

Kisad's picture
29
Jun
2010
0 Votes 0
Login to vote

where did u execute this command

on which server did you execute the below command as mentioned in your 1st post.

c:\Program Files\Veritas\Volmgr\bin>vmoprcmd -devmon ds -h nbuhost06

Thanks
Kisad

wr's picture
29
Jun
2010
1 Vote +1
Login to vote

We need to be able to query full list

...of drives from a remote machine with admin console installed

Svetlana, you would need to run command for each media server in turn, thus:
  vmoprcmd -devmon ds -h nbuhost06
  vmoprcmd -devmon ds -h nbu-media-01

good Will backing-up

Svetlana_B's picture
30
Jun
2010
0 Votes 0
Login to vote

We have a master server,

We have a master server, several media servers and a separate client machine. We run vmoprcmd command on the client machine.
When we run the command with master server as device host (as it is described in documentation: vmoprcmd -devmon ds -h <master_server>), it returns devices from different meadia servers. But this list of devices is not complete. It is different from the list of devices displayed in NetBackup Administration Console(vmoprcmd output consists less data than NetBackup Administration Console shows)

Sriram's picture
02
Jul
2010
0 Votes 0
Login to vote

Bill, I have the same kind of

Bill,

I have the same kind of setup here, remote machine, admin console installed executed the same command from it but with no result

Why?

Find the screen shot attached.

screenshot_vmorpcmd.JPG
Svetlana_B's picture
09
Aug
2010
0 Votes 0
Login to vote

We are still waiting for the answer
Anybody knows how we could get  full list of devices?

Thanks,
Svetlana

ianG's picture
09
Aug
2010
2 Votes 0
Login to vote

.

Perhaps the command 'vmdareq' may be of use?

wr's picture
09
Aug
2010
0 Votes 0
Login to vote

Command line works for me in few different environments.  I suggest you open a case with Symantec.

good Will backing-up