Content-type: text/html
Manpage of Sregisterresource
Sregisterresource
Section: Admin SRB Commands (1)
Updated: April 2004
Index
Return to Main Contents
NAME
Sregisterresource - register a new physical resource
SYNOPSIS
Sregisterresource
[-h]
NewResourceName
ResourceType
Location
PhysicalPath
Class
DESCRIPTION
Sregisterresource
is an SRB Administrator command to register a new physical resource
into the MCAT.
It is similar to the MCAT command
ingestResource
but
can run on any supported host whereas
ingestResource
needs to run on
the MCAT host. It uses SRB client/server calls to update the MCAT.
You must have SRB administrative privileges for this command to succeed.
NewResourceName
is a name of your choosing for your new resource.
ResourceType
needs to be one of the ResourceTypes defined in your SRB MCAT system, such
as 'unix file system', 'hpss file system', etc. Use Stoken to display
your complete list.
Location
needs to be a Location that is defined in your MCAT; again use Stoken to
display a complete list.
PhysicalPath
is the path name under which this physical resource will be storing the files.
Class
needs to be one of the ResourceClass items that is defined in your MCAT, such
as 'archival', 'generic', etc; again use Stoken to
display a complete list.
OPTIONS
- -h
-
display command options
EXAMPLES
Sregisterresource NewResource 'unix file system' sdsc '/scratch/slocal/?USER.?DOMAIN/?SPLITPATH/?PATH?DATANAME.?RANDOM.?TIMESEC' permanent
Sregisterresource 'ora-catharsis-sdsc' 'oracle dblobj database' 'catharsis oracle Vault' "/srbVault/OBJ_LOCATOR/OBJ_ID='TEST.?PATH/?DATANAME.?RANDOM.?TIMESEC'" permanent
SEE ALSO
Stoken(1),
Sregisterlocation(1),
and mcatAdmin the Java GUI admin tool.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 18:44:15 GMT, July 02, 2004