Back to BeStMan 2 User's Guide Home
Installation
- Manual installation from a web downloadable file
After downloading from the web (https://codeforge.lbl.gov/projects/bestman/) and expanding from the gzipped tar file, it creates bestman2 directory.
- VDT packman installation
- VDT (http://vdt.cs.wisc.edu) provides a package for installing BeStMan2, using pacman.
- Refer to OSG VDT installation pages
Installation Preparation
- Java 1.6.0_x or higher Java home path
- e.g. /sandbox/jdk1.6.0_12
- BeStMan2 installation directory
- This directory may be created during the installation process,
- e.g. /opt/bestman2
- Grid Service Certificate
- The existing host certificate can be used, or a new service certificate can be obtained.
- These service certificates must be accessible by the BeStMan2 process owner.
- Note: WLCG experiments require host certificates.
- e.g. /DC=org/DC=doegrids/OU=Services/CN=myhost.lbl.gov
- in /etc/grid-security/hostcert.pem and /etc/grid-security/hostkey.pem
- e.g. /DC=org/DC=doegrids/OU=Services/CN=srm/myhost.lbl.gov
- in /opt/srm/demo/srmcert.pem and /opt/srm/demo/srmkey.pem
- Grid CA certificate directory
- The existing CA certificate directory must be used, and /etc/grid-security/certificates is used by default.
- e.g. /etc/grid-security/certificates
- GridFTP server hostname and port number if different from 2811
- This is needed for putting files into BeStMan2 managed storage system.
- GLOBUS_TCP_PORT_RANGE
- These ports have to be opened when there is a firewall on the system.
- e.g. GLOBUS_TCP_PORT_RANGE=48001,48999
- One open port number to be assigned to BeStMan2
- This port has to be opened when there is a firewall on the system.
- Local disk path and size information to be managed by BeStMan2
- e.g. /data/bestman/cache : 20000MB
- log file path information for BeStMan2 (recommended using different disk partition from the cache)
- Decision to run BeStMan2 in gateway mode without any managements or in full management mode (default: gateway mode)
Installing and Running BeStMan for the impatients
Getaway mode
For those who do not have time to follow the whole page and whose host machine meets the following assumptions, the easy three steps will have BeStMan2 server ready on the host machine.
- Assumptions
- root is being used to configure and run the BeStMan2 server in gateway mode
- host certificate exists in /etc/grid-security/hostcert.pem
- the machine does not have a firewall
- all default configurable values are used
- Run configure in bestman2/setup directory:
- Start the server in bestman2/sbin directory:
- Check the server:
- e.g. % bestman2/bin/srm-ping srm://hostname:8443/srm/v2/server
- When checking the server prints out BeStMan2 server version information, it is up and running and ready for your work.
Full management mode
For those who do not have time to follow the whole page and whose host machine meets the following assumptions, the easy three steps will have BeStMan2 server ready on the host machine.
- Assumptions
- root is being used to configure and run the BeStMan2 server
- host certificate exists in /etc/grid-security/hostcert.pem
- the machine does not have a firewall
- all default configurable values are used
- Decide your BeStMan2 managed cache path and its size and run configure in bestman2/setup directory:
- e.g. % ./configure --with-replica-storage-path=/data/bestman/cache --with-replica-storage-size=20000
- Start the server in bestman2/sbin directory:
- Check the server:
- e.g. % bestman2/bin/srm-ping srm://hostname:8443/srm/v2/server
- When checking the server prints out BeStMan2 server version information, it is up and running and ready for your work.