Scommands

From GridInfo

Jump to: navigation, search

Contents

Introduction

The Scommands are a set of unit line commands that provide direct access to the SRB. Often they are direct parallels of unix/linux commands, but are prefixed with a capital S. Examples of parallel commands are Sls and Smkdir. Other commands are parallels of unix ftp commands, such as Sput and Sget.

Example Scommands

Among the most useful of the Scommands are

Metadata Scommands

There are a few metadata Scommands. These include:

Installation

The Scommand can be built as part of a complete SRB install, or as an client-only installation. The Scommand client package is available for installation from the main SRB web site: http://www.sdsc.edu/srb/tarfiles/SRB3_4_0client.tar.

Environment setup

On a unix/linux system, you need to set up two files within a directory called .srb: .MdasEnv and .MdasAuth

.MdasEnv

mdasCollectionName '/home/<username>.<domain_name>'
mdasCollectionHome '/home/<username>.<domain_name>'
mdasDomainName '<domain_name>'
mdasDomainHome '<domain_name>'
srbUser '<username>'
srbHost '<host computer>'
srbPort '<port number>'
defaultResource '<default vault name'
AUTH_SCHEME 'ENCRYPT1' or 'PASSWD_AUTH' or 'GSI_AUTH'

.MdasAuth

This file contains only one line, on which is your SRB password.

External links



Return to main Storage Resource Broker page

Personal tools