BeStMan-gateway Installation and Configuration for OSG Tier-2, Tier-3 sites



Similar documents
StoRM hands on session

Grid, Storage and SRM

Measurement of BeStMan Scalability

A. Sim, CRD, L B N L 1

Grid User Management Service GUMS Tutorial

CEMON installation and configuration procedure

Roadmap for Applying Hadoop Distributed File System in Scientific Grid Computing

Tanya Levshina, Steve Timm

Monitoring Clearswift Gateways with SCOM

Michael Thomas, Dorian Kcira California Institute of Technology. CMS Offline & Computing Week

File Transfer Best Practices

HADOOP, a newly emerged Java-based software framework, Hadoop Distributed File System for the Grid

OSG PUBLIC STORAGE. Tanya Levshina

CMS Tier-3 cluster at NISER. Dr. Tania Moulik

Analisi di un servizio SRM: StoRM

Software Infrastructure Supplement for the OSG Proposal

How To Set Up Egnyte For Netapp Sync For Netapp

EMI Storage meets EMI security

SolarWinds Log & Event Manager

SECURE Web Gateway. HTTPS/SSL Technical FAQ. Version 1.1. Date 04/10/12

DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014

Configuring Load Balancing

Alert Notification of Critical Results (ANCR) Public Domain Deployment Instructions

CactoScale Guide User Guide. Athanasios Tsitsipas (UULM), Papazachos Zafeirios (QUB), Sakil Barbhuiya (QUB)

MS 10972A Administering the Web Server (IIS) Role of Windows Server

10972-Administering the Web Server (IIS) Role of Windows Server

Bringing Federated Identity to Grid Computing. Dave Dykstra CISRC16 April 6, 2016

Active Directory Sync (AD) How to Setup

Scalla/xrootd. Andrew Hanushevsky, SLAC. SLAC National Accelerator Laboratory Stanford University 19-May-09. ANL Tier3(g,w) Meeting

Running Knn Spark on EC2 Documentation

Introduction to Programming and Computing for Scientists

Active Directory Integration

Features of AnyShare

Smart Card Authentication Client. Administrator's Guide

TPM Key Backup and Recovery. For Trusted Platforms

Verify LDAP over SSL/TLS (LDAPS) and CA Certificate Using Ldp.exe

Installation and Configuration Guide

Microsoft Administering the Web Server (IIS) Role of Windows Server

Installing and Configuring a SQL Server 2014 Multi-Subnet Cluster on Windows Server 2012 R2

White Paper. Fabasoft on Linux - Preparation Guide for Community ENTerprise Operating System. Fabasoft Folio 2015 Update Rollup 2

Junio SSL WebLogic Oracle. Guía de Instalación. Junio, SSL WebLogic Oracle Guía de Instalación CONFIDENCIAL Página 1 de 19

Administering the Web Server (IIS) Role of Windows Server

MarkLogic Server. Connector for SharePoint Administrator s Guide. MarkLogic 8 February, 2015

Specific Interview Comments on Documentation

Andrew Hanushevsky SLAC National Accelerator Laboratory Stanford University 19-August-2009 Atlas Tier 2/3 Meeting.

Summary. How-To: Active Directory Integration. April, 2006

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK.

Lesson Plans Microsoft s Managing and Maintaining a Microsoft Windows Server 2003 Environment

Check Point FDE integration with Digipass Key devices

TIBCO Spotfire Platform IT Brief

Setup Cisco Call Manager on VMware

Smart Card Authentication. Administrator's Guide

BlackShield ID Agent for Terminal Services Web and Remote Desktop Web

installation administration and monitoring of beowulf clusters using open source tools

Managing Users and Identity Stores

CLEARSWIFT SECURE Web Gateway HTTPS/SSL decryption

Team Foundation Server 2012 Installation Guide

Storage Resource Managers: Recent International Experience on Requirements and Multiple Co-Operating Implementations

Knowledge Base Article: Article 218 Revision 2 How to connect BAI to a Remote SQL Server Database?

McAfee Asset Manager Console

User's Guide - Beta 1 Draft

IGI Portal architecture and interaction with a CA- online

Distributed Systems Troubleshooting and Performance Analysis!

Grid Data Management. Raj Kettimuthu

ADFS 2.0 Application Director Blueprint Deployment Guide

Oracle Virtual Desktop Infrastructure. VDI Demo (Microsoft Remote Desktop Services) for Version 3.2

VMTurbo Operations Manager 4.5 Installing and Updating Operations Manager

Survey of Filesystems for Embedded Linux. Presented by Gene Sally CELF

The EDGeS project receives Community research funding

Step-by-step installation guide for monitoring untrusted servers using Operations Manager ( Part 3 of 3)

BlackShield ID Agent for Remote Web Workplace

Configuration Guide. SafeNet Authentication Service AD FS Agent

WHMCS LUXCLOUD MODULE

Implementing Moodle on a Windows High Availability Environment

Administration GUIDE. Exchange Database idataagent. Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 233

Setting Up the Mercent Marketplace Price Optimizer Extension

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

App Orchestration 2.5

IIS, FTP Server and Windows

Training module 2 Installing VMware View

virtualization.info Review Center SWsoft Virtuozzo (for Windows) //

Novell Access Manager

UNISOL SysAdmin. SysAdmin helps systems administrators manage their UNIX systems and networks more effectively.

Microsoft OCS with IPC-R: SIP (M)TLS Trunking. directpacket Product Supplement

DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP System v10 with Microsoft IIS 7.0 and 7.5

QUANTIFY INSTALLATION GUIDE

DataMover: Robust Terabyte-Scale Multi-file Replication over Wide-Area Networks

Entrust Managed Services PKI. Configuring secure LDAP with Domain Controller digital certificates

Managing for the Long Term: Keys to Securing, Troubleshooting and Monitoring a Private Cloud

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

A new Secure Remote Access Platform from Giritech. Page 1

RSA Authentication Manager 7.1 Microsoft Active Directory Integration Guide

Drupal Automated Testing: Using Behat and Gherkin

RingStor User Manual. Version 2.1 Last Update on September 17th, RingStor, Inc. 197 Route 18 South, Ste 3000 East Brunswick, NJ

Integration Guide. Microsoft Active Directory Rights Management Services (AD RMS) Microsoft Windows Server 2008

Active Directory Sync (AD) How it Works in WhosOnLocation

Detailed Outline of Hadoop. Brian Bockelman

VMware Identity Manager Connector Installation and Configuration

AGENDA: INTRODUCTION: 1. How is our cloud monitoring setup? 2. Which are the tools used? 3. How do we access monitoring dashboard?

Transcription:

BeStMan-gateway Installation and Configuration for OSG Tier-2, Tier-3 sites (draft) T. Levshina Introduction OSG Storage VDT group has been asked to provide a full support of BeStMan-gateway storage solution. This goal has been set by OSG for the year 3 (2008-2009 fiscal year). This document is written for system administrators who are planning to use storage that is installed on top of any Posix file system. The goal of this document is to give enough information for system administrators to do initial simple configuration of the storage as well as provide references to the documents that may help to accomplish more sophisticated configuration. Proposed Architecture BeStMan-gateway storage consists of the following components: BeStMan-gateway is a partial implementation of SRM v2.2, developed by LBNL, for disk based storage systems maintenance ( http://datagrid.lbl.gov/bestman ) GridFTP server provides a high-performance, secure, reliable data transfer ( http://www.globus.org/toolkit/docs/3.2/gridftp ) POSIX-compliant FS

Configuration decisions The following questions should be answered before you can proceed with installation and configuration of BeStMan-gateway storage solution: Q. How many nodes could be used for storage? The absolute minimum number of nodes is 1: Usually one would prefer to separate GridFtp from BeStMan for better performance. Also, you may want to have multiple GridFtp server. The decision should be based on your load and storage requirements. Q. What authorization mechanism do you prefer? You have to decide if you want to use grid-map-file or GUMS server for users authentication and authorization. More details about GUMS could be found at https://twiki.grid.iu.edu/bin/view/releasedocumentation/installconfigureandma nagegums Q. Do you need to support space tokens? BeStMan-gateway supports predefined, static space tokens that should be included in configuration. It doesn't keep trace or enforce static space tokens. If you want partition your storage space and have a designated space for some VOs or users you can choose to use space tokens. You will have to decide the names and descriptions of the tokens as well as the size of the area. BeStMan-gateway BeStMan-gateway is a generic SRM v2.2 load balancing frontend for GridFTP servers. It is developed by the Scientific Data Management Group of Lawrence Berkeley National Laboratory. It implements a subset of SRM v2.2 specifications that includes: srmping() srmgettransferprotocols() srmls() srmrm() srmmkdir() srmrmdir() srmpreparetoput() srmpreparetoget() srmputdone() srmreleasefiles() srmgetspacetokens()

srmgetspacemetadata() Some of the abovementioned specs are just partially implemented. For more information see http://wt2.slac.stanford.edu/xrootdfs/bestman-gateway.html. BeStMan can be installed from VDT cache. cd $INSTALLATION_DIR/ vdt pacman -get http://vdt.cs.wisc.edu/vdt_xxx_cache/ bestman You will need to configure BeStMan to enable gateway-mode. You have to decide if you would like to use static space token reservation, and in this case to come up with a list of token names, description and size of space allocated for each token. Keep in mind that in gateway-mode BeStMan is not managing your space. The example below shows how to configure BeStMan in gateway-mode, enable gums and space token usage: $VDT_LOCATION/vdt/setup/configure_bestman --server y \ --user <user> \ --cert <service_cert> \ --key <service_key> \ --http-port <public_port> \ --https-port <secured_port> \ --gums-host <GUMS hostname> \ --gums-port <GUMS port number> \ --gums-dn <Client DN for GUMS interface> \ --enable-gateway \ --with-tokens-list "<TOKEN_1_NAME>[desc:<TOKEN_1_DESC>][<TOKEN_1_SIZE_GB>];< TOKEN_2_NAME>[desc:<TOKEN_2_DESC>][<TOKEN_2_SIZE>]" \ --with-transfer-servers <GridFTP server list> \ Where user name of the non-privileged user that runs BeStMan, GRIDFtp server list is a list FQDN of your GridFtp servers, separated by ;. e.g. gsiftp://host1.domain.tld;gsiftp://host2.domain.tld GUMS hostname the name of GUMS server, GUMS port number the port of GUMS server, Client DN for GUMS interface is a service certificate subject. If you want to use grid-map-file for user authentication and authorization do not specify the following options: --gums-host --gums-port --gums-dn

If you do not want to use statically reserved space tokens do not specify the following options: --with-tokens-list If you would like to run BeStMan on the Please, make the appropriate modification to /etc/sudoers described in BeStMan documentation, namely add the following lines to this file: Cmnd_Alias SRM_CMD = /bin/rm, /bin/mkdir, /bin/rmdir, /bin/mv, /bin/ls Runas_Alias SRM_USR = ALL,!root <user_name> ALL=(SRM_USR) NOPASSWD: SRM_CMD If you are running your BeStMan-gateway on the node that doesn t have an access to your FS, you will have to create the corresponding root directory that should be owned by user you have specified while configuring BeStMan-gateway, and you will have to modify the following attributes in $VDT_LOCATION/bestman/config/bestman.rc configuration file: checksizewithfs=false checksizewithgsiftp=true GridFtp GridFtp server comes with BeStMan installation. If you want to install stand alone GridFTP server you will need to install the following packages from VDT: cd $INSTALLATION_DIR mkdir vdt cd vdt pacman -get http://vdt.cs.wisc.edu/vdt_1101_cache:globus-base-essentials pacman -get http://vdt.cs.wisc.edu/vdt_1101_cache:globus-base-data-server If you want to use the grid-map-file for user authentication and authorization ignore the rest of this section. If you want to use GUMS for user authorization you will need to install PRIMA package from VDT cd $INSTALLATION_DIR/ vdt export VDT_GUMS_HOST=<GUMS hostname> pacman -get http://vdt.cs.wisc.edu/vdt_xxx_cache:prima Where GUMS hostname is a GUMS server and VDT_LOCATION is root directory of VDT installation. Then copy two files from $VDT_LOCATION/post-install to in /etc/grid-security: cp $VDT_LOCATION/post-install/prima-authz.conf /etc/grid-security cp $VDT_LOCATION/post-install/gsi-authz.conf /etc/grid-security

You can have multiple installation of GridFtp servers located on the nodes you have specified in BeStMan-gateway configuration. You will need to make sure that users have write permission in to the storage area. Start the system You have to be root to start each service. You have to start all the components in the following order (this is order is optional but seems logical): 1. Start BeStMan. Login on BeStMan node, then: cd <VDT_LOCATION> vdt-control on bestman 2. Start GridFtp servers. Login on each GridFtp server node, then: cd <VDT_LOCATION> vdt-control on gridftp Stop the system You have to be root to stop each service. You have to stop all the components in the following order (this is order is optional but seems logical): 1. Stop BeStMan. Login on BeStMan node, then: cd <VDT_LOCATION> vdt-control off 2. Stop GridFtp servers. Login on each GridFtp server node, then: cd <VDT_LOCATION> vdt-control off gridftp System sanity check In order to verify that the system is functional you will need to download VDT-client package: cd $INSTALLATION_DIR mkdir vdt_client cd vdt_client pacman pacman -get http://vdt.cs.wisc.edu/vdt_xxx_cache/vdt-client You will need to get your voms-proxy certificate: voms-proxy-init voms <voname>:/<voname>

Execute srm-ping: srm-ping srm://<bestman_host>:8443/srm/v2/server Expected results: ########################################### SRM_HOME is /usr/local/osg-client/srm-client-lbnl JAVA_HOME is /usr/local/osg-client/jdk1.5 X509_CERT_DIR = /usr/local/osg-client/globus/trusted_ca GSI_DAEMON_TRUSTED_CA_DIR = /usr/local/osg-client/globus/trusted_ca ########################################### SRM-CLIENT: got remote srm object SRM-PING: Thu Sep 18 11:55:50 CDT 2008 Calling SrmPing Request... Ping versioninfo=v2.2 Extra information Key=backend_type Value=BeStMan Key=backend_version Value=2.2.1.1 Key=GatewayMode Value=Enabled Key=gsiftpTxfServers Value=gsiftp://osg-ress-2.fnal.gov Key=clientDN Value=/DC=org/DC=doegrids/OU=People/CN=Tanya Levshina 508821 Key=localIDMapped Value=fnalgrid Key=staticToken(0) Value=DISK1 desc=data1 size=1073741824 Key=staticToken(1) Value=DISK2 desc=data2 size=2147483648 If you have reasonable result you may try to srm copy. In order to do so create a file test1 in /tmp directory and execute: srm-copy file:////tmp/test1 srm://<bestman_host>.gov:8443/srm/v2/server\?sfn=<fs_root_dir>/test1 - spacetoken <TOKEN_1_NAME> You should get back something like that: srm-copy file:////tmp/test1_1 srm://fapl118.fnal.gov:8443/srm/v2/server\?sfn=/home/tlevshin/cache/tes t_4 -spacetoken DISK1 ########################################### SRM_HOME is /usr/local/vdt_client/srm-client-lbnl JAVA_HOME is /usr/local/vdt_client/jdk1.5 X509_CERT_DIR = /etc/grid-security/certificates GSI_DAEMON_TRUSTED_CA_DIR = /etc/grid-security/certificates ########################################### SRM-CLIENT: Mon Nov 03 11:32:03 CST 2008 Connecting to httpg://fapl118.fnal.gov:8443/srm/v2/server

SRM-CLIENT: Mon Nov 03 11:32:04 CST 2008 Calling SrmPrepareToPutRequest now... request.token=put:5 status=srm_success explanation=null SRM-CLIENT: RequestFileStatus for SURL=file:////tmp/test1_1 is Ready. SRM-CLIENT: received TURL=gsiftp://fg0x5.fnal.gov//home/tlevshin/cache/test_4 >>>Total Memory=17932288 >>>Free Memory=6875256 >>>Memory in use=11057032 SRM-CLIENT: Mon Nov 03 11:32:08 CST 2008 start file transfer. SRM-CLIENT:Source=file:////tmp/test1_1 SRM-CLIENT:Target=gsiftp://fg0x5.fnal.gov//home/tlevshin/cache/test_4 SRM-CLIENT: Mon Nov 03 11:32:10 CST 2008 end file transfer. SRM-CLIENT: Mon Nov 03 11:32:10 CST 2008 Calling putdone for srm://fapl118.fnal.gov:8443/srm/v2/server?sfn=/home/tlevshin/cache/test _4 SRM-CLIENT: Mon Nov 03 11:32:18 CST 2008 end file transfer. SRM-CLIENT: Mon Nov 03 11:32:18 CST 2008 end file transfer. SRM-CLIENT: Request completed with success SRM-CLIENT: Printing text report now... SRM-CLIENT*REQUESTTYPE=put SRM-CLIENT*TOTALFILES=1 SRM-CLIENT*TOTAL_SUCCESS=1 SRM-CLIENT*TOTAL_FAILED=0 SRM-CLIENT*REQUEST_TOKEN=put:5 SRM-CLIENT*REQUEST_STATUS=SRM_SUCCESS SRM-CLIENT*SOURCEURL[0]=file:////tmp/test1_1 SRM- CLIENT*TARGETURL[0]=srm://fapl118.fnal.gov:8443/srm/v2/server?SFN=/home /tlevshin/cache/test_4 SRM- CLIENT*TRANSFERURL[0]=gsiftp://fg0x5.fnal.gov//home/tlevshin/cache/test _4 SRM-CLIENT*ACTUALSIZE[0]=16 SRM-CLIENT*FILE_STATUS[0]=SRM_SUCCESS SRM-CLIENT*EXPLANATION[0]=SRM-CLIENT: PutDone is called successfully ExitCode=0 Log file and configuration locations

If any of the tests described above have failed or you are just curious to see what s going on you could find log and configuration files for each of the module in the following location on a relevant node: Module Configuration files Log files Name BeStMan $VDT_LOCATION/bestman/conf/bestman.rc $VDT_LOCATION/vdt-appdata/betsman/logs/event.srm.log GridFtp $VDT_LOCATION/services/vdt-run-gsiftp.sh.env $VDT_LOCATION/globus/var/log/gridftp.log $VDT_LOCATION/globus/var/log/gridftp-auth.log Looking for help? The detailed information about each component can found on the following web sites: BeStMan - http://datagrid.lbl.gov/bestman GridFTP - http://www.globus.org/toolkit/docs/3.2/gridftp The information related to current VDT cache, installation and confirmation is at http://vdt.cs.wisc.edu/index.html. Numerous documents about storage solutions supported by OSG as well as other useful links could be found at https://twiki.grid.iu.edu/twiki/bin/view/documentation/webhome See if your question is already answered under the FAQ section https://twiki.grid.iu.edu/bin/view/documentation/setools%2ctips%2cfaqs If not, please send all your questions to osg-storage@opensciencegrid.org Acknowledgments Many thanks to the following people who have helped to understand the configuration and installation procedure and BeStMan-gateway inclusion in VDT: Alain Roy (OSG Software coordinator) Scot Kronenfeld (VDT team member) Alex Sim and Junmin Gu - BeStMan developers