{"id":22758802,"url":"https://github.com/clusterlabs/hawk","last_synced_at":"2025-04-13T05:05:20.055Z","repository":{"id":3126630,"uuid":"4154361","full_name":"ClusterLabs/hawk","owner":"ClusterLabs","description":"A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager","archived":false,"fork":false,"pushed_at":"2025-03-18T15:08:50.000Z","size":18168,"stargazers_count":153,"open_issues_count":13,"forks_count":50,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-13T05:04:44.120Z","etag":null,"topics":["clustering","corosync","crmsh","high-availability","javascript","pacemaker","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"http://hawk-ui.github.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClusterLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-04-27T02:30:01.000Z","updated_at":"2025-04-09T12:40:45.000Z","dependencies_parsed_at":"2023-12-08T11:28:04.225Z","dependency_job_id":"94135586-885b-4983-bb29-2ac506e05c2e","html_url":"https://github.com/ClusterLabs/hawk","commit_stats":{"total_commits":2970,"total_committers":26,"mean_commits":"114.23076923076923","dds":0.6316498316498316,"last_synced_commit":"e8eceb6cd3e103bdf133d1a4373b470bfd636bd8"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fhawk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fhawk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fhawk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fhawk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClusterLabs","download_url":"https://codeload.github.com/ClusterLabs/hawk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665748,"owners_count":21142123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["clustering","corosync","crmsh","high-availability","javascript","pacemaker","ruby","ruby-on-rails"],"created_at":"2024-12-11T08:15:57.215Z","updated_at":"2025-04-13T05:05:20.035Z","avatar_url":"https://github.com/ClusterLabs.png","language":"JavaScript","readme":"# HA Web Konsole (Hawk)\n\n\u003ca href=\"https://travis-ci.org/ClusterLabs/hawk\"\u003e![Build Status](https://travis-ci.org/ClusterLabs/hawk.svg?branch=master)\u003c/a\u003e\n\u003ca href=\"https://codeclimate.com/github/ClusterLabs/hawk\"\u003e![Code Climate](https://codeclimate.com/github/ClusterLabs/hawk/badges/gpa.svg)\u003c/a\u003e\n\u003ca href=\"http://hawk-guide.readthedocs.org/\"\u003e![Documentation](https://readthedocs.org/projects/hawk-guide/badge/?style=flat)\u003c/a\u003e\n\nHawk provides a web interface for High Availability clusters managed\nby the Pacemaker cluster resource manager. The current goal of the\nproject is to provide a complete management interface to the HA\ncluster, both in the form of a flexible REST API as well as a modern\nclient frontend using the API.\n\nhttp://hawk-ui.github.io\n\n  - [Features](doc/features.md)\n  - [Build Dependencies](#build-dependencies)\n  - [Release](doc/release.md)\n  - [Installation](#installation-and-deployment)\n  - [Devel notes](#devel)\n  - [Testing](e2e_test/README.md)\n\n## Build Dependencies\n\nThe exact versions specified here may not be accurate. Also, note that\nHawk also requires the rubygems listed in `hawk/Gemfile`.\n\n* ruby \u003e= 2.2\n* crmsh \u003e= 3.0.0\n* hawk-apiserver\n* graphviz\n* graphviz-gd\n* dejavu\n* pacemaker \u003e= 1.1.8\n* bundler\n* iproute2\n\nFor details about the Hawk API server, see the separate repository at Github:\n\n* https://github.com/ClusterLabs/hawk-apiserver\n\n## Installation and deployment:\n\nOn openSUSE use following commands:\n\n```bash\nzypper install hawk2\ncrm cluster init\n```\nOnce initialized, go to `https://\u003cIP\u003e:7630/`.\n\n### Deploy:\n\nuse the following project for deploying hawk  https://github.com/SUSE/pacemaker-deploy\n\n\n# Devel\n\n\n### Puma server configuration\n\nYou can change the configurations of both instances of the Puma sever through\nthe configuration file in `hawk/config/puma.rb`. You can also pass options directly\nthrough environment variables.\n\nPlease also note that the Puma server is configured to use a maximum number of\n16 threads withing one worker in clustered mode. This application is thread safe\nand you can customize this through the puma.rb file. \n\nFor further information about threads and workers in Puma, please take a look at\nthis great article by Heroku: [Puma web server article](https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server)\n\n### Hacking hawk tools\n\nHawk's tools are the programs under the `hawk/tools` folder\n(`hawk_chkpwd` and `hawk_invoke`). \n\n```bash\nls /usr/sbin/hawk_* -l+ +\n-rwsr-x--- 1 root haclient 9884 2011-04-14 22:56 /usr/sbin/hawk_chkpwd+\n-rwsr-x--- 1 root haclient 9928 2011-04-14 22:56 /usr/sbin/hawk_invoke+\n```\n\n`hawk_chkpwd` is almost identical to `unix2_chkpwd`, except it restricts\nacccess to users in the `haclient` group, and doesn't inject any delay\nwhen invoked by the `hacluster` user (which is the user the Hawk web\nserver instance runs as).\n\n`hawk_invoke` allows the `hacluster` user to run a small assortment\nof Pacemaker CLI tools as another user in order to support Pacemaker's\nACL feature. It is used by Hawk when performing various management\ntasks.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterlabs%2Fhawk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclusterlabs%2Fhawk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterlabs%2Fhawk/lists"}