We are working on this problem also. We have Netware servers and there is no HSM
client available. So we want to archive and delete all files that have not been
accessed in X days. I wrote a perl script that runs on my NT workstation with the
Netware volumes attached that searches the target path for old files. It builds a list
of these files in a file with the command to archive and delete each one. This file is
then called as a macro to perform the work. Ideally, this would be run on the Netware
console using its client. But we have found that the client locks up after between 5
and 25 files (5 tries before giving up :). What I am doing now is running the macro on
an NT server that has a Netware client. This puts the archives in the NT's filespace,
but the archive references the Netware volume name. Not perfect, but it runs. I am
using version 3.7.2 and am testing 4.1.1 to see if it works better on the server. The
macro looks like this:
arc -del -descr="retail 10-05-00"
"\\ceanw2\vol1\ceadir\retail\ToddM\data\OracleDoc\DOC\sysman\doc\A48513\rcfa.gif"
arc -del -descr="retail 10-05-00"
"\\ceanw2\vol1\ceadir\retail\ToddM\data\OracleDoc\DOC\sysman\doc\A48513\rcfa1.gif"
arc -del -descr="retail 10-05-00"
"\\ceanw2\vol1\ceadir\retail\ToddM\data\OracleDoc\DOC\sysman\doc\A48513\tunea.gif"
arc -del -descr="retail 10-05-00"
"\\ceanw2\vol1\ceadir\retail\ToddM\data\OracleDoc\DOC\sysman\doc\A48513\metha.gif"
arc -del -descr="retail 10-05-00"
"\\ceanw2\vol1\ceadir\retail\ToddM\data\OracleDoc\DOC\sysman\doc\A48513\metha1.gif"
arc -del -descr="retail 10-05-00"
"\\ceanw2\vol1\ceadir\retail\ToddM\data\OracleDoc\DOC\sysman\doc\A48520\ch10a.gif"
arc -del -descr="retail 10-05-00"
"\\ceanw2\vol1\ceadir\retail\ToddM\data\OracleDoc\DOC\sysman\doc\A48520\ch10a1.gif"
The quotes are required if there are spaces in the file names. The perl script is
attached to the bottom.
Some of my macros are over 20,000 lines long. The operation averages 7.7 seconds per
file, so patience is called for. But the load on the server and network is virtually
nil.
Anyone else out there using TSM with Netware? We are have lots of trouble with it
dying.
Chuck Colht
---------------------------------------------------------
Chuck Colht
Network Administrator
Chugach Electric Association
[EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 10/05/00 09:13AM >>>
Hello,
We have a process that archives a large set of files. We are running
into a problem now because the number of files is apparently too great for the
command interpretor (shell) to accept as individual arguments. We use this
particular method so that we can archive all these files with the same
description, and using the same timestamp. Is anyone aware of a method of
using an input file to list all the files required to be archived. If not,
can we fool the shell by putting double quotes around all the files,
essentially using this as one argument only?
Any help would be appreciated.
-Matt