Table of Contents |
---|
Launching the Myriad Environment
To launch Myriad, run the YARN daemon from the command line:
Code Block |
---|
yarn-daemon.sh start resourcemanager |
Stopping Myriad
To shut down Myriad, run the YARN daemon from the command line:
Code Block |
---|
yarn-daemon.sh stop resourcemanager |
Scaling
To scale up or down on specific nodes, see the Myriad Cluster API. The REST terms for scaling are flexup and flexdown. The commands for flexing up and down are:
Code Block |
---|
/api/cluster/flexup
/api/cluster/flexdown |
Monitoring
To monitor Myriad, see the Myriad State API and the Myriad Configuration API. The command for retrieving the Myriad state and configuration are:
The Myriad environment is established by running an initial application for the resource manager. This initial application name is specified in the yarn-site.xml file with the the yarn.resourcemanager.hostname
property and the value, <app-ID>.<framework>.mesos
.
For example, if the value of yarn.resourcemanager.hostname
property is rm.marathon.mesos:
rm
- The ID given to the Resource Manager when launched using Marathon. Mesos-DNS constructs the Resource Manager hostname using the ID.marathon
- The Mesos framework
If you are using Marathon, launch Marathon and run an initial Resource Manager application. See Starting Resource Manager for more information.
Ports
The ports used by Mesos, Marathon, and Myriad are:
Application | Port | Syntax |
---|---|---|
Marathon | 8080 | http://<IP address>:8080 |
Mesos | 5050 | http://<IP address>:5050. Use the 5050 port and Frameworks directory. For example: http://<IP address>:5050/#/frameworks (http://10.141.141.20:5050/#/frameworks) |
Myriad | 8192 | http://<IP address>:8192. For example: http://<IP address>:8192/ (http://10.141.141.20:8192/)
|
...