Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the version of Hazelcast which matches the version used in your Sakai installation (e.g. 3.2.3, check the kernel/pom.xml file)
  2. Extract the zip to a folder called hazelcast (this will be the hazelcast ROOT)
  3. Run the hazelcast server using the "server" script in the bin directory.
  4. Startup the hazelcast management center by putting the war into a servlet container like tomcat OR using jetty-runner like so:

    Code Block
    java -jar jetty-runner.jar --port 8888 mancenter-3.2.3.war
  5. Connect to the running hazelcast server (or servers if you have a cluster of them) using the management center (login as prompted)
    http://localhost:8888/
  6. You will probably be shown a warning about how the hazelcast cluster is not configured. Just close the warning and use the Update Cluster URL to connect to the default dev cluster (all default settings should work fine unless you changed something). Then you should see the center console as shown.
  7. Click on the $ Console and paste the following commands (this will create some map data)
    NOTE: You have to run these one at a time!

    Code Block
    languageactionscript3
    ns test
    m.put AZ Aaron_Zeckoski
    #50 m.put Aaron$i Zeckoski$i
    ns test2
    #100 m.put key$i value$i
  8. Click on the Home button and you should now see the 2 maps (test, test2) and the distribution shown in the console
    Image Added Image Added
  9. Click on the test map and then click the Map Browser and enter AZ to view a specific entry in the map
    Image Added 
  10. Done! (you have a simple hazelcast server up and running for dev purposes)

...