[Veritas-bu] Drive/Robot creation from the command line?
2000-10-30 12:49:18
Subject: |
[Veritas-bu] Drive/Robot creation from the command line? |
From: |
Rob Worman rob AT colltech DOT com |
Date: |
Mon, 30 Oct 2000 10:49:18 -0700 |
Actually, someone else on the list pointed out
#strings `type -p tpconfig` | grep \\- > /tmp/foo.out
Usage: tpconfig [-d]
tpconfig -l
tpconfig -dl
tpconfig -add -drive <drvindex> -type <drvtype> -name <drvname> -altname
<altdrvname> [-vhname <vhdrvname>] [-drstatus [UP|DOWN]]
[-cleanfreq <hours>] [-robot <robnum> -robtype <robtype>
-robdrnum <robdrvnum> [-ACS <acsnum> -LSM <lsmnum>
-PANEL <panelnum>]]
tpconfig -add -robot <robnum> -robtype <robtype> [-robpath <devfile>]
[-cntlhost <cntlhost>] [-vdbhost <volume_database_host>]
tpconfig -update -drive <drvindex>
[-type <drvtype>] [-name <drvname>] [-altname <altdrvname>]
[-vhname <vhdrvname>] [-drstatus [UP|DOWN]] [-cleanfreq <hours>]
[-robot <robnum> -robtype <robtype> -robdrnum <robdrvnum>
[-ACS <acsnum> -LSM <lsmnum> -PANEL <panelnum>]]
tpconfig -update -robot <robnum> [-robtype <robtype>] [-robpath <devfile>]
[-cntlhost <cntlhost>] [-vdbhost <volume_database_host>]
tpconfig -delete -drive <drvindex>
tpconfig -delete -robot <robnum>
tpconfig -lsavdbhost
tpconfig -savdbhost <standalone_volume_database_host>
Usage: tpconfig [-d]
tpconfig -dl
Just what I was looking for!
rob
>for new installs, try vmconf or perhaps you can gleen
>some ideas from it.
>
>/usr/openv/volmgr/bin/vmconf
>
>-david
>
>Quoting Rob Worman <rob AT colltech DOT com>:
>
>> NBU 3.2 on Solaris
>>
>> I would love to find a way to script the creation of
>drives and robots -
>> but the only apparent way to do this would be via the
>interactive tpconfig.
>> (possible, but not pretty...)
>>
>> Someone please correct me with the hidden "tpcreate"
>command or somethin'.
>> :)
|
|
|