Veritas-bu

[Veritas-bu] Drive control via command line

2002-04-15 12:33:17
Subject: [Veritas-bu] Drive control via command line
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Mon, 15 Apr 2002 10:33:17 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1E49B.3F7BB420
Content-Type: text/plain;
        charset="iso-8859-1"

/usr/openv/volmgr/bin/vmoprcmd -up <drive_index_number>

-----Original Message-----
From: David Markham [mailto:dave.markham AT icl DOT net]
Sent: Monday, April 15, 2002 2:58 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Drive control via command line


I am running Netbackup 3.2GA on Solaris.
 
I have done various things from the command line, but currently have a
problem I am not sure how to rectify.
 
Most morning when I check the backup with xnb running on X windows, I notice
under the Device Management tab that 1 or more drives are down.
I use an Sun L1000 storage unit by the way. Some times backups are hung due
to this and are just sitting there.
I just action a drive control command on each drive that is down by
selecting the drive, hitting drives, drive control and selecting UP (AVR
CONTROL).
 
Now I need to try and monitor this by a script which will run, but I need it
to automatically change the drive to UP if it is noticed as being in a down
state.
I have found /usr/openv/volmgr/bin/vmoprcmd which I can manipulate to find
the drive status, but I do not now how to do this "drive control" from
command line so can anyone help please please.
 
If so please let me know
 
Thank you
 
Dave


------_=_NextPart_001_01C1E49B.3F7BB420
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>/usr/openv/volmgr/bin/vmoprcmd -up&nbsp;<SPAN 
class=282563216-15042002>&lt;drive_index_number&gt;</SPAN></FONT></FONT></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> David Markham 
  [mailto:dave.markham AT icl DOT net]<BR><B>Sent:</B> Monday, April 15, 2002 
2:58 
  AM<BR><B>To:</B> veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> 
  [Veritas-bu] Drive control via command line<BR><BR></FONT></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>I am running 
  Netbackup 3.2GA on Solaris.</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>I have done 
  various things from the command line, but currently have a problem I am not 
  sure how to rectify.</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>Most morning when 
  I check the backup with xnb running on X windows, I notice under the Device 
  Management tab that 1 or more drives are down.</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>I use an Sun 
L1000 
  storage unit by the way. Some times backups are hung due to this and are just 
  sitting there.</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>I just action a 
  drive control command on each drive that is down by selecting the drive, 
  hitting drives, drive control and selecting UP (AVR 
  CONTROL).</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>Now I need to try 
  and monitor this by a script which will run, but I need it to automatically 
  change the drive to UP if it is noticed as being in a down 
  state.</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>I have found 
  /usr/openv/volmgr/bin/vmoprcmd which I can manipulate to find the drive 
  status, but I do not now how to do this "drive control" from command line so 
  can anyone help please please.</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>If so please let 
  me know</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial size=2>Thank 
  you</FONT></SPAN></DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=582454608-15042002><FONT face=Arial 
  size=2>Dave</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C1E49B.3F7BB420--

<Prev in Thread] Current Thread [Next in Thread>