There are two main components to install Hawkular server, the server itself and Cassandra.
Fortunately both are easy to install.
You need a running Cassandra cluster to get started, they are various ways to install it,
any would do and you only need to know the IP/Hostname and port of your Cassandra server.
Developers of Hawkular Services all have their own preference depending on the operating
system they use and experience, here is one option, using ccm:
First install ccm
Create a cluster (of one for now) of Cassandra 3.0.12 for Hawkular, (with start_rpc enabled) and start it:
ccm create hawkular -v 3.0.12 -n 1
ccm updateconf "start_rpc: true"
Now Cassandra should be running on your machine on the default port.
Grab the latest distribution of Hawkular Services,
the file name should look like: hawkular-services-dist-x.y.z.Final.zip (or .tar.gz)
Unzip the package in the directory of your choice, we’ll call it $HS_HOME
Create as many users as you need (replace myUsername and myPassword by the values of your choice):
sh $HS_HOME/bin/add-user.sh -a -u myUsername -p myPassword -g read-write,read-only
Hawkular Services is ready to start assuming Cassandra is running on the same machine, on the same port.
To just start Hawkular Services:
To start Hawkular Services with the embedded WildFly agent (this is used to monitor itself since
Hawkular Services is based on WildFly and the embedded agent can push metrics and inventory to Hawkular
Services). Replace myUsername and myPassword, with a userame/password combination as defined in the step 3.
sh $HS_HOME/bin/standalone.sh -Dhawkular.rest.user=myUsername -Dhawkular.rest.password=myPassword -Dhawkular.agent.enabled=true
Hawkular Services should be starting, and soon you should be able to access: http://localhost:8080
to get confirmation that all the services are running
If you want to enable secure communications between browsers, Hawkular servers, and agents/feeds, see Secure Communications.
© 2016 | Hawkular is released under Apache License v2.0