{"id":21020201,"url":"https://github.com/bringhurst/robinhood","last_synced_at":"2026-04-17T10:33:14.894Z","repository":{"id":4135261,"uuid":"5247664","full_name":"bringhurst/robinhood","owner":"bringhurst","description":"See http://sourceforge.net/apps/trac/robinhood for details.","archived":false,"fork":false,"pushed_at":"2012-07-31T15:28:11.000Z","size":4804,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T17:26:21.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bringhurst.png","metadata":{"files":{"readme":"README.Lustre_HSM","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-31T15:24:32.000Z","updated_at":"2017-08-16T14:55:19.000Z","dependencies_parsed_at":"2022-08-25T20:51:41.388Z","dependency_job_id":null,"html_url":"https://github.com/bringhurst/robinhood","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bringhurst/robinhood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Frobinhood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Frobinhood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Frobinhood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Frobinhood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bringhurst","download_url":"https://codeload.github.com/bringhurst/robinhood/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Frobinhood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31925504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:19:20.377Z","status":"ssl_error","status_checked_at":"2026-04-17T10:19:18.682Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T10:36:08.615Z","updated_at":"2026-04-17T10:33:14.877Z","avatar_url":"https://github.com/bringhurst.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"I   - License\nII  - Compiling\nIII - Install\nIV  - Database configuration\nV   - Enabling Lustre changelogs\nVI  - RobinHood config file\nVII - First run\n\nI - License\n===========\n\nCopyright (C) 2009 CEA/DAM\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the CeCILL-C License.\n\nThe fact that you are presently reading this means that you have had\nknowledge of the CeCILL-C license (http://www.cecill.info) and that you\naccept its terms.\n\nII - Compiling\n==============\n\n2.1 - From source tarball\n-------------------------\n\nIt is advised to build RobinHood on your target system, to ensure the best\ncompatibility with your Lustre and MySQL versions. \n\nMake sure you have the following products installed on your machine:\n* bison\n* flex\n* mysql-devel\n* liblustreapi (/usr/include/liblustreapi.h and /usr/lib/liblustreapi.a)\n  It is usually provided by lustre RPM.\n\nUnzip and untar the source distribution:\n\u003e tar zxvf robinhood-2.2.0.tar.gz\n\u003e cd robinhood-2.2.0\n\nRun the 'configure' script with the following options:\n* For Lustre-HSM: --with-purpose=LUSTRE_HSM\n* --prefix=\u003cpath\u003e to set the prefix of installation path (default is /usr).\n\nE.g.:\n\u003e ./configure --with-purpose=LUSTRE_HSM\n\nThen, build the RPM:\n\u003e make rpm\n\nA ready-to-install RPM is generated in the 'rpms/RPMS/\u003carch\u003e' directory.\n\n2.2 - From git repository\n-------------------------\n\n# make sure flex, bison, libtool, mysql-devel are installed:\n# E.g.\nyum install flex\nyum install bison\nyum install libtool\nyum install mysql-devel\n\n# retrieve robinhood sources\n\ngit clone git://robinhood.git.sourceforge.net/gitroot/robinhood/robinhood\ncd robinhood\nsh autogen.sh\n\nThen refer to section 2.1 for next compilation steps.\n\n\nIII - Install\n=============\n\nFor installing robinhood on your target system, install the previously generated RPM:\n\u003e rpm -ivh rpms/RPMS/x86_64/robinhood.lustre_hsm-2.2.0-1.x86_64.rpm\n\nThis installs:\n* robinhood binaries (for Lustre-HSM: 'rbh-hsm' and 'rbh-hsm-report')\n* configuration helper script (rbh-config)\n* configuration templates\n* The /etc/init.d/robinhood-hsm script (for RobinHood service management)\n\nThis also creates the robinhood service (chkconfig --add).\n\nNote: on SLES systems, the default dependency for init scheduling is on \"mysql\" service.\nHowever, in many cases, it should be too early for starting robinhood daemon,\nespecially if the filesystem it manages is not yet mounted.\nIn such case, you have to modify the following lines in \"scripts/robinhood.init.sles.in\"\nbefore you run \"./configure\":\n# Required-Start:    \u003cyour filesystem service\u003e\n\n\nIV - Database Configuration\n===========================\n\nMySQL\n-----\nRobinhood needs a MySQL database for storing information about files.\nThis database can run on a different node from Robinhood daemon.\n\n* Install MySQL server on the machine (mysql-server and mysql packages).\n* Start the DB engine:\n\tservice mysqld start\n* Run the configuration helper script as root on the database host:\n\t1) check database requirement:\n\t\t\u003e rbh-config precheck_db\n\t2) create robinhood's database:\n\t\t\u003e rbh-config create_db\n\n* Write the DB password to a file with read access for root only (600)\n  e.g. to /etc/robinhood.d/.dbpassword\n\nNote: initially, the database schema is empty. Robinhood will create it the first time it is launched.\n\nSQLite\n------\nYou can use SQLite instead of MySQL for testing, or small filesystems.\nFor this, you need to compile robinhood with the following option:\n\t--with-db=SQLITE\nTo setup database access, you just need to give a path where robinhood will\nstore its sqlite database (in-file), in the ListManager::SQLite block of the\nconfiguration file:\n\nListManager {\n    SQLite {\n        db_file = \"/var/robinhood/robinhood_sqlite_db\" ;\n    }\n}\n\nV - Enabling Lustre changelogs\n==============================\nFor Lustre-HSM purpose, you must register robinhood as a MDT changelog consummer.\n\n* Run the configuration helper script on Lustre MDT:\n\t\u003e rbh-config enable_chglogs\n  This registers a changelog consummer and activate required changelog records.\n\nNote: by default, the script checks for a 'cl1' consummer.\nIf you need to register several changelog consummers on your file system,\nrefer to lustre documentation.\n\nVI - Configuration file\n=======================\n\nYou can use the '--template' option to generate a documented configuration file template:\n\u003e rbh-hsm --template=\u003ctemplate_file\u003e\n\nNote: by default, \"service robinhood-hsm start\" looks for configuration files in \"/etc/robinhood.d/hsm\".\n\nFor more details, refer to Robinhood Admin Guide (in the doc/admin_guide directory).\n\nVII - First run\n===============\n\nEven if your filesystem is empty, you need to perform an initial scan in order to initialize robinhood database.\nThis prevents from having entries in filesystem that it wouldn't know about.\nrbh-hsm --scan --once\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringhurst%2Frobinhood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbringhurst%2Frobinhood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringhurst%2Frobinhood/lists"}