- Notifications
You must be signed in to change notification settings - Fork50
A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager
License
GPL-2.0, GPL-2.0 licenses found
Licenses found
ClusterLabs/hawk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hawk provides a web interface for High Availability clusters managedby the Pacemaker cluster resource manager. The current goal of theproject is to provide a complete management interface to the HAcluster, both in the form of a flexible REST API as well as a modernclient frontend using the API.
The exact versions specified here may not be accurate. Also, note thatHawk also requires the rubygems listed inhawk/Gemfile
.
- ruby >= 2.2
- crmsh >= 3.0.0
- hawk-apiserver
- graphviz
- graphviz-gd
- dejavu
- pacemaker >= 1.1.8
- bundler
- iproute2
For details about the Hawk API server, see the separate repository at Github:
On openSUSE use following commands:
zypper install hawk2crm cluster init
Once initialized, go tohttps://<IP>:7630/
.
use the following project for deploying hawkhttps://github.com/SUSE/pacemaker-deploy
You can change the configurations of both instances of the Puma sever throughthe configuration file inhawk/config/puma.rb
. You can also pass options directlythrough environment variables.
Please also note that the Puma server is configured to use a maximum number of16 threads withing one worker in clustered mode. This application is thread safeand you can customize this through the puma.rb file.
For further information about threads and workers in Puma, please take a look atthis great article by Heroku:Puma web server article
Hawk's tools are the programs under thehawk/tools
folder(hawk_chkpwd
andhawk_invoke
).
ls /usr/sbin/hawk_* -l+ +-rwsr-x--- 1 root haclient 9884 2011-04-14 22:56 /usr/sbin/hawk_chkpwd+-rwsr-x--- 1 root haclient 9928 2011-04-14 22:56 /usr/sbin/hawk_invoke+
hawk_chkpwd
is almost identical tounix2_chkpwd
, except it restrictsacccess to users in thehaclient
group, and doesn't inject any delaywhen invoked by thehacluster
user (which is the user the Hawk webserver instance runs as).
hawk_invoke
allows thehacluster
user to run a small assortmentof Pacemaker CLI tools as another user in order to support Pacemaker'sACL feature. It is used by Hawk when performing various managementtasks.
About
A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager