Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

GPL-2.0
LICENSE
GPL-2.0
COPYING
NotificationsYou must be signed in to change notification settings

ClusterLabs/hawk

Repository files navigation

Build StatusCode ClimateDocumentation

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.

http://hawk-ui.github.io

Build Dependencies

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:

Installation and deployment:

On openSUSE use following commands:

zypper install hawk2crm cluster init

Once initialized, go tohttps://<IP>:7630/.

Deploy:

use the following project for deploying hawkhttps://github.com/SUSE/pacemaker-deploy

Devel

Puma server configuration

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

Hacking hawk tools

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.


[8]ページ先頭

©2009-2025 Movatter.jp