SRB Installation Tutorial
This detailed tutorial provides step-by-step instructions for installing the Storage Resource Broker (SRB) software. Three installation types are covered: Client-only, Client with non-MCAT server, and Client with MCAT-enabled server. Key configuration parameters such as PORTNAME, large file support, and authentication methods are discussed. The guide includes commands for building the SRB software, configuring server settings, and starting the SRB server with essential user privileges. Ideal for researchers and system administrators looking to set up SRB for managing data resources effectively.
SRB Installation Tutorial
E N D
Presentation Transcript
SRB Installation Tutorial Michael Wan San Diego Supercomputer Center mwan@sdsc.edu SRB URL:http://www.npaci.edu/Research/DI/srb/
Three types of Installations • Client only – client lib, Scommand and java • Client + non-MCAT server • Client + MCAT-enabled server – MCAT must be installed first
Building SRB software • untar the SRB software • edit the mk/mk.config file • Some important parameters in mk.config: • PORTNAME – (C, S, MC) • PORTNAME_solaris, PORTNAME_sunos PORTNAME_linux PORTNAME_osx PORTNAME_aix PORTNAME_alpha PORTNAME_c90 PORTNAME_sgi
Mk.config parameters – (cont1) * SRB_LARGEFILE64 (C, S, MC) - > 2 Gbytes file support* MDAS_AUTH (C, S, MC) – for both passwd and encryp1 * GSI_AUTH (C, S, MC) - need LIB_GSI_AUTH – globus and aid libraries * JAVA_GUI, javaDir (C) – directory of JDK * COMM_PORT_NUM_START, COMM_PORT_NUM_COUNT (C, S, MC) – define range of port numbers
Mk.config parameters – (cont2)* installDir (S, MC) – server installation * UTREE, HPSS, DPSS (S, MC) – file systems in additional to UNIX * DB_Oracle, DB_DB2, DB_Illustra (S, MC) – DB large object * ORACLE_HOME, DB2_LIB_DIR, DB2_HDR_DIR, ILLUS_LIB_DIR, ILLUS_HDR_DIR (S, MC) * ORACLE_VERSION, ORACLE_CONNECT (S, MC) * MCAT_VERSION, ORAMCAT, DB2MCAT (MC)
Building SRB * make everything – server, client lib, Scommand, and java: gmake clean gmake * server only – gmake srb * client lib : gmake client * Scommand : gmake util * java: gmake java
SRB server configuration (non-mcat) * data/mcatHost file – line 1 – host addr of MCAT enabled server line 2 – authScheme for connection line 3 – DN name of MCAT server user (GSI only) * bin/runsrb script – runtime env variables srbPort – port number (default 5588) PRE_SPAWN_CNT – number of prespawn servers
SRB server configuration (mcat-enabled) * data/MdasConfig file – Raja * data/LobjConfig, data/TableConfig – DB user/passwd pair
Starting SRB server* create a srb user with admin privilege. * ~/.MdasEnv file of user running the server * Type in :cd bin runsrb * SRB shutdown – type in; killsrb