90 likes | 242 Views
SRB 2.0 Installation Tutorial April, 2003. Wayne Schroeder, 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
E N D
SRB 2.0 Installation TutorialApril, 2003 Wayne Schroeder, 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 (using password) • ./configure (new with SRB 2.0) • Auto detects type of system (Solaris, SunOS, Linux, Aix, Alpha, SGI, OSX, C90, T3E) • Many ./configure options • Follows common configure conventions • Still edit the mk/mk.config file for less frequently used selections
Frequently Used Configure Options • --enable-installdir=path Specify where to install • --enable-javagui Build the Admin tool • --enable-jdkhome=path Specify Java path • --enable-db2mcat Build with DB2 MCAT • --enable-oramcat Build with Oracle MCAT • --enable-psgmcat Build with Postgres MCAT • --enable-db2lobj Support DB2 Large Obj Storage • --enable-oralobj --enable-syblobj for Oracle, Sybase • --enable-gsi-auth Include Globus Grid Security Infrastructure authentication (available in SRB 2.0.2) • Various options to specify paths to libraries (Postgres, DB2, Illustra, etc) and select versions. • --help For a complete list.
Selected mk.config parameters * SRB_LARGEFILE64 (C, S, MC) - > 2 Gbytes file support (default)* MDAS_AUTH (C, S, MC) – for both passwd and encrypt1 (default) * COMM_PORT_NUM_START, COMM_PORT_NUM_COUNT (C, S, MC) – define (change default) range of port numbers * UniTREE, HPSS, DPSS (S, MC) – file systems in additional to UNIX
Building SRB * make everything – server, client lib, Scommands, java : gmake clean gmake * server only : gmake srb * client lib : gmake client * Scommand : gmake util * java : cd java gmake
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 5544 from srb.h) PRE_SPAWN_CNT – number of prespawn servers
SRB server build/configuration (mcat-enabled) * ./configure with appropriate MCAT options * gmake (to build server/client/java) * cd MCAT * gmake (to build MCAT commands) * cd java * gmake (to build Admin tool)see mcat Install presentation for additional information
Starting SRB server* create a srb user with admin privilege. srb user can be another name if not connecting to standard srb servers. * Update ~/.MdasEnv file of user running the server * Type in :cd bin runsrb or gmake install cd to the install directory/bin runsrb * SRB shutdown – type in : killsrb