Views |
||||||||||||||
How can I create and delete drives from the command line?
Here's the usage statement that you can pick out if you run "strings tpconfig": Usage: tpconfig [-d] tpconfig -l 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 >]]
[-cntlhost < cntlhost >] [-vdbhost < volume_database_host >]
[-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 >]]
[-cntlhost < cntlhost >] [-vdbhost < volume_database_host >]
FYI: we only use this procedure on HP platforms. On Sun platform, we make sure the tape device paths are identical on all SAN media servres so all we need to do is to copy the existing /usr/openv/volmgr/database/ltidevs and /usr/openv/volmgr/database/robotic_def files. This makes configuring many SAN media servers fairly easy. |
||||||||||||||
| This page was last modified 07:28, 2 December 2006. | ||||||||||||||