This section describes how to install, deploy, and run iWay Service Manager (iSM) with Slider.
Install the package from the command line. Slider will copy all the necessary files to the Hadoop file system. In this example, we install the iway7master.zip package we created above and name the package IWAY7.
slider package --install --name IWAY7 --package iway7master.zip
slider create iway7_1 --template appConfig-default.json --resources resources-default.json
In most cases, you should be sure to stop your standalone iSM application before starting the Slider application.
To start the application:
slider start iway7_1
To stop the application:
slider stop iway7_1
For more information about the Slider command, see:
Follow the link for classpath:org.apache.slider.publisher.configurations and you will see a JSON response showing available ReSTful services:
{"configurations":{ "servers":{ "description":"Servers", "updated":0, "entries":{}, "empty":true }, "complete-config":{ "description": …
To the URL you used above, append /servers, and you will see the JSON response:
{"description":"Servers", "updated":0, "entries":{ "host_port":"sandbox.hortonworks.com:42126" }, "empty":false }
The value of host_port is the address of the iSM console for the application we started. For more information about the Slider ReST API, see:
http://slider.incubator.apache.org/docs/api/slider_REST_api_v2.html
iWay Software |