AHM 24 Sept 2003 - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

AHM 24 Sept 2003

Description:

Create SRB admin Group #groupadd demo. Create SRB user ... expect java to be located at /usr/local/apps/jdk1.4.1/bin Hence softlinks ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 16
Provided by: dl98
Category:
Tags: ahm | sept | usr

less

Transcript and Presenter's Notes

Title: AHM 24 Sept 2003


1
Running SRB
  • Ananta Manandhar

2
Pre Install Tasks
  • Create SRB admin Group
  • groupadd demo
  • Create SRB user
  • useradd d /home/srbdemo m g demo srbdemo
  • passwd srbdemo

3
Download Tasks
  • Download SRB (current latest ver
    2.1.2patch1patch2 )
  • http//www.npaci.edu/dice/srb/tarfiles/main.html
  • Download PGP decryption software (Intl. version)
  • http//www.pgpi.org/products/pgp/versions/freeware
    /
  • Download and install Java
  • http//java.sun.com
  • Use PGP to decrypt SRB tar file
  • pgp SRB2_1_2_n_patch.tar
  • Enter passpharse

4
Configuring Database
  • Download PostgreSQL
  • http//www.postgresql.org/
  • Download ODBC Driver (for versions later than
    7.3)
  • ftp//ftp.postgresql.org/pub/odbc/versions/src/psq
    lodbc-07.03.0100.tar.gz

5
Installing SRB using install.pl script
  • This script enables a basic installation of
    Postgres enabled SRB.
  • Configures postgres
  • Builds Postgres, Postgres-ODBC SRB
  • Initializes the Database
  • Ingests MCAT tables
  • Updates configuration Files
  • Provides access to local disk space as an SRB
    resource
  • http//www.npaci.edu/DICE/SRB/tarfiles/install.pl

6
Installing SRB using install.pl script 2
  • Copy PostgreSql, Postgre-ODBC, SRB tar and
    install.pl to a new directory
  • cp install.pl /srb
  • cp postgresql-7.3.3.tar.gz /srb
  • cp psqlodbc-08.03.0100.tar.gz /srb
  • cp SRB2_1_2_n_patch.tar /srb
  • Edit first few lines of install.pl . This script
    will then install each package under this current
    directory as well as the storage area.
  • This script can then be used to start/stop
    postgres and SRB servers and to view the list of
    running processes

7
Editing install.pl
  • The Variables in install.pl are matched
    accordingly
  • SRB_FILE"SRB2.1.2.tar"
  • SRB_FILE_ALREADY_DECRYPTED1
  • SRB_DIR"SRB2"
  • POSTGRES_FILE"postgresql-7.3.3.tar"
  • ODBC_FILE"psqlodbc-07.03.0100.tar"
  • DB_NAME"MCAT"
  • YOUR_ADMIN_NAME"srbdemo"
  • YOUR_ADMIN_PWsrb"
  • YOUR_DOMAINallhands"
  • RESOURCE_NAMEallhandsResource"
  • RESOURCE_DIR"startDir/Vault"
  • IP_ADDRESS_LOCALHOST130.246.143.151"

8
Starting installation
  • To Start installation
  • /srbusr/srb/install.pl
  • Some minor issues with the script and its
    workaround
  • It requires postgresql tar file as
    postgresql-7.3.3.tar without the letters base
    as it expects installation dir name to be same as
    tar file name.
  • Some source files expect java to be located at
    /usr/local/apps/jdk1.4.1/bin Hence softlinks
    may need to be created
  • Keep the Srb Admin name same as unix account eg
    srbusr

9
SRB Deployment Scenario
User
SRB Domain
10
Starting SRB
  • To Start SRB
  • Use the install.pl to start SRB, MCAT and
    Postgres database
  • ./install.pl start
  • To Stop SRB
  • ./install.pl stop
  • To View SRB processes
  • ./install.pl ps

11
Using InQ
  • InQ is a client windows application used to store
    and retrieve files from SRB. It can be downloaded
    from
  • InQ requires certain parameters to know the MCAT
    enabled server to which it should connect.
  • Name srbdemo
  • Host solitaire.esc.rl.ac.uk
  • Domain allhands
  • Port 5544
  • Authorization ENCRYPT1
  • Password

12
InQ Login
13
InQ (SRB Windows Client)
14
Administering SRB
  • To Start GUI Admin Tool
  • cd install/MCAT/java
  • gmake run

15
  • Questions ?
Write a Comment
User Comments (0)
About PowerShow.com