#How to
Ensure that the CORD config is installed and then run:
python xos_auto_scaling_app.py
This command will start the autoscaling application and start REST server on 9991 port.
- name: cpu_source
interval: 600
meters:
- "cpu"
sinks:
- cpu_sink
To:
- name: cpu_source
interval: 60
meters:
- "cpu"
sinks:
- cpu_sink
To run this sample you need to have nodejs >= 4.0 installed on your local system. You can get it here
xos-apps/auto-scale/gui/env/default and change it to:module.exports = {
host: 'http://<your.cord.installation.ip>:9991'
}
xos-apps/auto-scale/gui run npm start