Veritas-bu

[Veritas-bu] Drive control via command line

2002-04-15 04:57:42
Subject: [Veritas-bu] Drive control via command line
From: dave.markham AT icl DOT net (David Markham)
Date: Mon, 15 Apr 2002 09:57:42 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_0283_01C1E463.FCBC5220
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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_000_0283_01C1E463.FCBC5220
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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


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

------=_NextPart_000_0283_01C1E463.FCBC5220--


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