Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. Install marathon. See https://docs.mesosphere.com/getting-started/datacenter/install/ marathon section.
  2. Post to Marathon Download or copy the json properties. Update the MESOS_MASTER_URL and any other parameters which would like to change. See Properties section.

    Code Block
    languagejs
    { 
      "id": "ignition", 
      "instances": 1, 
      "cpus": 2, 
      "mem": 2048, 
      "ports": [0], 
      "uris": [ 
        "https://s3.amazonaws.com/ignite-mesos-ip/ignite-mesos-1.1.0.jar" 
      ], 
      "env": { 
        "IGNITE_NODE_COUNT": "3", 
        "MESOS_MASTER_URL": "zk://172.31.1.138localhost:2181/mesos", 
        "IGNITE_RUN_CPU_PER_NODE": "2", 
        "IGNITE_MEMORY_PER_NODE": "2048", 
        "IGNITE_USERS_LIBS_URL": "https://s3.amazonaws.com/ignite-mesos-ip/libs.zip",
        "IGNITE_CONFIG_XML_URL": "https://s3.amazonaws.com/ignite-mesos-ip/default-config.xml",
        "IGNITE_VERSION": "1.0.5"
      }, 
      "cmd": "java -jar ignite-mesos-1.1.0.jar" 
    } 
  3. POST the config to Marathon by CURL or other tools. 

    curl -X POST -H "Content-type: application/json" --data-binary @marathon.json http://<marathon-ip>:8080/v2/apps/

    Make sure thath Ignite cluster is running, for this:

  4. Open Marathon UI at http://<marathon-ip>:8080. Make sure that exists application with name "Ignition".

 

Run JAR file

  1. Build ignite-mesos module.
  2. Run IgniteFramework use the followin command.
       java -jar ignite-mesos-1.0.0-snapshot-jar-with-dependencies.jar 

    Make sure that Ignite cluster is running, for this:

    3. Open Mesos console at http://<master-ip>:5050. If all work correctly tasks with "Ignite node N" should have state "RUNNING" or "STAGING".

...