Sregisterresource - register a new physical resource
Sregisterresource [-h] NewResourceName ResourceType Location PhysicalPath Class
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.
- display command options
Sregisterresource NewResource 'unix file system' sdsc '/scratch/slo- cal/?USER.?DOMAIN/?SPLITPATH/?PATH?DATA== NAME ==.?RANDOM.?TIMESEC' permanent
Sregisterresource 'ora-catharsis-sdsc' 'oracle dblobj database' 'catharsis oracle Vault' "/srbVault/OBJ_LOCATOR/OBJ_ID='TEST.?PATH/?DATA== NAME ==.?RANDOM.?TIMESEC'" permanent