TWiki
>
WLCGDatalakes Web
>
FSTDeployment
(2018-05-24,
EnricoBocchi
)
(raw view)
E
dit
A
ttach
P
DF
---+++Requirements * Two or more filesystems with more than 2TB of disk space each (ideally on different nodes or shared volumes/pools/filesystems). They can be: xfs, ext4, cephfs, or mountable volumes/pools (e.g., ceph, dcache) * Ability to run xrootd/eos daemons on the nodes holding the filesystems/volumes (see installation instructions below) * Preferably 10GE NICs * A stable, DNS-registered hostname. Ideally, the DNS hostname should match the Linux hostname and resolve to the IP address set on the machine interface. Network Address Translation is supported as well * Open port for xrootd (TCP - 1095) for messaging and real data traffic * Possibility to log in to the servers remotely (tuning, debug, etc.) ---+++Installation via Docker container The installation via Docker container consists of a Docker image where the EOS file server daemon lives. *1. Install Docker and Docker compose* Refer to the official installation instructions for your OS: https://docs.docker.com/install/ and https://docs.docker.com/compose/install/ The deployment has been tested and proved working with Docker 17.03 and Docker Compose 1.19. *2. Prepare the filesystem* Assuming to have a block device available at =/dev/md1=, format it as an xfs filesystem and mount it on the host at =/mnt/eosdisk=. <verbatim> mkfs.xfs -L "eos_fst" /dev/md1 mkdir -p /mnt/eosdisk mount /dev/md1 /mnt/eosdisk </verbatim> It is recommended to edit =/etc/fstab= consistently to make the mount persistent in case of host reboot. *3. Create a configuration file for the container* Copy and paste what follows in a plain-text file called =eos-fst.yaml= <verbatim> # Docker Compose configuration file for EOS FST container version: "2" services: eos-fst: image: gitlab-registry.cern.ch/cernbox/boxedhub/eos-datalakes:alpha container_name: eos-fst restart: unless-stopped cap_add: - SYS_PTRACE security_opt: - apparmor=unconfined network_mode: "host" volumes: - %%%storage-path-on-the-host%%%:/mnt/data01 environment: EOS_INSTANCE_NAME: "eoseulake" EOS_GEOTAG: "%%%your-geographical-location%%%" EOS_MGM_MASTER1: "eulake.cern.ch" EOS_MGM_MASTER2: "eulake.cern.ch" EOS_MGM_ALIAS: "eulake.cern.ch" EOS_MQ_ALIAS: "eulake.cern.ch" FST_MOUNTPOINT: "/mnt/data01" FST_FQDN: "%%%your-machine-hostname%%%" </verbatim> *4. Customize the configuration file =eos-fst.yaml= with the specificities of your site* Edit =eos-fst.yaml= and replace * _%%%storage-path-on-the-host%%%_ with the path on the host where the filesystem for EOS is mounted (e.g., _/mnt/eosdisk_) * _%%%your-geographical-location%%%_ with an identifier of the location (e.g., _cern_). To support multi-level geoscheduling, specify the location with finer granularity (e.g., _cern::gva::rack1_) * _%%%your-machine-hostname%%%_ with the Fully Qualified Domain Name of the host where the xrootd/eos daemons run (e.g., _eos-fst.cern.ch_) *5. Start the container* Run (with sudo privileges) <verbatim> docker-compose -f eos-fst.yaml up -d </verbatim> The Docker daemon will pull the image from the repository and start the container. The EOS file server daemon will automatically connect to the management node and register the file system. _Known Limitations_ * The Docker container supports a single volume where the EOS file storage daemon can read/write (_/mnt/eosdisk_ in the example). This will be extended in future. * The EOS logs are not stored persistently. Restarting the container will cause to old logs to be wiped. ---+++Installation with native eos client (rpm-based) _work-in-progress_ -- Main.EnricoBocchi - 2018-05-23
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r2 - 2018-05-24
-
EnricoBocchi
Log In
WLCGDatalakes
WLCGDatalakes Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
Altair
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Cern Search
TWiki Search
Google Search
WLCGDatalakes
All webs
Copyright &© 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback