HAWK

HAWK

HIGH AVAILABILITY WEB KONSOLE

Cluster Web Interface

Hawk is a web interface for Pacemaker HA clusters. Use it to configure, manage and monitor just about any kind of application running in Linux as a cluster resource. Hawk makes Pacemaker easy to set up and use.

Control

Configure resources and constraints directly from the web interface. Hawk supports advanced Pacemaker features like resource tags and access control lists.

Monitor

Monitor your cluster by logging into Hawk from a desktop computer or a mobile device. View multiple clusters at once using the Multi-cluster Dashboard. See the details of recent cluster events.

Investigate

Use the History Explorer to collect and analyze logs from all cluster nodes. Hawk can also run on a non-cluster node, giving you all the tools you need to investigate a problem without having to interfere with a production system.

Hawk 2

Hawk 2 is released.

In Hawk 2.0, every aspect of the interface has been updated, including a complete overhaul of the frontend. Hawk is now based on Ruby on Rails 4.2, the Puma web server and Bootstrap 3.

We now support many new Pacemaker features such as remote nodes, resource tags and node utilization. The history explorer has been greatly improved. The wizards now share a backend with crmsh and are a lot more capable, including support for package installation and configuration. There are many other new features, for example viewing the raw CIB directly in the interface and a command log showing you what crmsh commands Hawk executes behind the scenes. Learn more.

Introduction to Hawk

Overview

Hawk is a web interface for the Pacemaker High Availability stack. The goal of the project is to create a complete interface to the HA cluster, including the configuration, management and monitoring of cluster resources.

Hawk runs on every node in the cluster, so that you can just point your web browser at any node to access it. E.g.:

https://your-cluster-node:7630/

Hawk is always accessed via HTTPS, and requires users to log in prior to providing access to the cluster. The same user privilege rules apply as for Pacemaker itself: You need to log in as a user in the haclient group. The easiest thing to do is to assign a password to the hacluster user, and then to log in using that account. Note that you will need to configure this user account on every node that you will use Hawk on.

For more fine-grained control over access to the cluster, you can create multiple user accounts and configure Access Control Lists (ACL) for those users. These access control rules are available directly from the Hawk user interface.

Once logged in, you will see a status view displaying the current state of the cluster. All the configured cluster resources are shown together with their status, as well as a general state of the cluster and a list of recent cluster events (if any).

The navigation menu on the left hand side provides access to the additional features of Hawk, such as the history explorer, the multi-cluster dashboard and configuration management. On the top right of the screen you can enable or disable the simulator, configure user preferences and log out of the cluster.

Resource management operations (start, stop, online, standby, etc.) can be performed using the menu of operations next to the resource in the status view.

How to download

Latest release: Version 2.0.0

The easiest way to get Hawk is to use the SUSE Linux Enterprise or openSUSE Linux distributions. We try to make sure that it works on other distributions and make packages available for as many as we are able.

Another way to try Hawk is to look at the guide, which includes a Vagrant configuration to set up a 1 - 3 node cluster.

Anyone willing to help us maintain packages for other distributions is more than welcome!

More Information

Related Software

Contact Us

Hawk is developed at github, please file any issues or submit patches via the github interface.

Please direct comments, feedback, questions etc. to the ClusterLabs mailing list.

Hawk at SUSEcon 2015 Video

New in version 2.0

Hawk 2

Frontend redesign

The Hawk frontend has been modernised, and now uses Bootstrap 3. The layout and organization of the user interface has been rethought with usability in mind.

Updated backend

Hawk 2 is based on Ruby on Rails 4.2 running on the Puma web server. By using Puma, we can make Hawk as unintrusive as possible on the cluster nodes without compromising performance. In fact, thanks to the use of asset precompilation Hawk 2 should perform better than the Hawk 1 interface despite the updated visual style.

Wizards

In Hawk 1, the wizards were implemented as a custom solution. For Hawk 2, the wizards have been moved into the crm shell, making them available from the command line as well. In addition to this move, the wizards have been greatly improved. They now feature optional steps and multi-step configuration (for example, in case resources in an earlier step need to be started before configuring the next set of resources). Wizards are also able to perform complex actions like installing and configuring necessary software packages.

Integrated dashboard

The multi-cluster dashboard has been integrated into the main interface. Now you can monitor multiple clusters directly from the regular Hawk UI.

New Pacemaker Features

We support many features that have been added recently to the Pacemaker resource manager: Location constraints apply to several resources at once. Tags are a lightweight way to manage related resources without any dependency between them. Remote nodes lets you manage both hypervisors and resources running inside virtual machines as a single cluster. And more!

Configuration view and Command Log

To make the transition between command line usage and the web interface easier, we've added the ability to view the current cluster configuration in the command line format, complete with syntax highlighting. Also, the command log provides a list of recent commands executed on the cluster from the web interface. This can serve as a basic audit log, as well as helping new users learn the command line interface directly by performing operations on the cluster.

History Explorer and Simulator

Together with the general improvements to the interface, the History Explorer has been redesigned to be easier to use and more powerful. Now you can see more details for each transition, as well as easily navigate forward and backward in time through a report. The History Explorer now also shows a summary of important events directly when opening the report, to make it easy to find the relevant events in the log. The report generation, download and upload functions are all now accessible from a single location.

Similarly, the Simulator has been updated to not only be prettier (if you ever used the old version, you'll know what I mean) but also easier to use.

Hawk 2

Credits

Hawk was created by @tserong and remade by @krig, @tboerger, @manuelecarlini and @thutterer.