I've been battling with the REST API for Windows Azure but struggling to get it working as I need. Any help is appreciated.
I don't partically understand the difference between Create Virtual Machine Deployment and AddRole but I understand I need to create the deployment and then add the VMs through AddRole. (The first question is are the VMs identical when created through AddRole vs Deployment).
The issue I'm having is I've made a java script that automates the creation of the VMs, this is ran from the head node (which is the VM created through 'Create Virtual Machine Deployment') but the head node is restarting unexpectedly. I can't seem to find anything specially causing it but it only happens when I try to call AddRole and happens at random and maybe 1/10 times.
When it restarts it breaks everything that its been working on (as the head node has a basic server and everything depends on it).
Am I missing something obvious? Is there something I could do or check to find out more info whats causing it?
Edit:
When SSH'ed in and it restarts it broadcasts this:
Broadcast message from root@miindWorkerDeploy
(unknown) at 12:37 ...
The system is going down for power off NOW!