• Stars
    star
    151
  • Rank 246,057 (Top 5 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created over 12 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager

HA Web Konsole (Hawk)

Build Status Code Climate Documentation

Hawk provides a web interface for High Availability clusters managed by the Pacemaker cluster resource manager. The current goal of the project is to provide a complete management interface to the HA cluster, both in the form of a flexible REST API as well as a modern client frontend using the API.

http://hawk-ui.github.io

Build Dependencies

The exact versions specified here may not be accurate. Also, note that Hawk also requires the rubygems listed in hawk/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 hawk2
crm cluster init

Once initialized, go to https://<IP>:7630/.

Deploy:

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

Devel

Puma server configuration

You can change the configurations of both instances of the Puma sever through the configuration file in hawk/config/puma.rb. You can also pass options directly through environment variables.

Please also note that the Puma server is configured to use a maximum number of 16 threads withing one worker in clustered mode. This application is thread safe and you can customize this through the puma.rb file.

For further information about threads and workers in Puma, please take a look at this great article by Heroku: Puma web server article

Hacking hawk tools

Hawk's tools are the programs under the hawk/tools folder (hawk_chkpwd and hawk_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 to unix2_chkpwd, except it restricts acccess to users in the haclient group, and doesn't inject any delay when invoked by the hacluster user (which is the user the Hawk web server instance runs as).

hawk_invoke allows the hacluster user to run a small assortment of Pacemaker CLI tools as another user in order to support Pacemaker's ACL feature. It is used by Hawk when performing various management tasks.

More Repositories

1

pacemaker

Pacemaker is an advanced, scalable High-Availability cluster resource manager
C
1,035
star
2

resource-agents

Combined repository of OCF agents from the RHCS and Linux-HA projects
Shell
491
star
3

PAF

PostgreSQL Automatic Failover: High-Availibility for Postgres, based on Pacemaker and Corosync.
Perl
340
star
4

pcs

Pacemaker command line interface and GUI
Python
249
star
5

libqb

libqb is a library providing high performance logging, tracing, ipc, and poll.
C
165
star
6

crmsh

Command-line interface for High-Availability cluster management on GNU/Linux systems.
Python
131
star
7

fence-agents

Fence agents
Python
104
star
8

ha_cluster_exporter

Prometheus exporter for Pacemaker based Linux HA clusters
Go
79
star
9

striker

The Anvil! Intelligent Availabilityâ„¢ Platform - Striker UI and ScanCore decision engine
Perl
26
star
10

OCF-spec

C
20
star
11

cluster-glue

Reusable Cluster Components ("glue")
C
18
star
12

fence-virt

Virtual Machine I/O Fencing
12
star
13

hawk-apiserver

Next generation HA cluster interface
Go
12
star
14

pacemaker-1.0

Code for the older 1.0 series of Pacemaker
Graphviz (DOT)
12
star
15

pcs-web-ui

Web interface for pcs
TypeScript
10
star
16

go-pacemaker

Go API for the Pacemaker cluster resource manager
Go
7
star
17

clusterlabs-www

Content for clusterlabs.org
HTML
5
star
18

anvil

The Anvil! Intelligent Availabilityâ„¢ Platform, mark 3
Perl
5
star
19

high-laughability

Quotes from our HA overlords
4
star
20

nagios-agents-metadata

OCF metadata files to enable use of nagios agents in pacemaker.
3
star
21

anvil-external-deps

collection of scripts and spec files for Anvil!
Shell
2
star