Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure: allow PNP communication using resource manager #51

Closed
vinseon opened this issue Apr 20, 2017 · 1 comment
Closed

Azure: allow PNP communication using resource manager #51

vinseon opened this issue Apr 20, 2017 · 1 comment

Comments

@vinseon
Copy link
Contributor

vinseon commented Apr 20, 2017

Unlike Amazon, Azure doesn't provide a complete metadata service nor automatic DNS setup for the VMs.
Therefore, a VM doesn't known its own public IP address and PNP communications can not be fully established between server and nodes.
Solutions could be to:

  • Manually setup a DNS using Azure API and specify it to the VM by script injection
  • Retrieve the VM public IP address using API and specify it during script injection
  • Let the VM discover its own public IP address by using public service like curl ipinfo.io/ip (from script injection OR init script)
@vinseon
Copy link
Contributor Author

vinseon commented May 17, 2017

Solved from Fabien's improvement over PNP protocol (ow2-proactive/programming#1334).
The public IP is now given through PNP communication along with the private IP.
To start the scheduler/node behind a NAT, we just need to add the following extra parameters;
-Dproactive.useIPaddress=true -Dproactive.net.public_address=$(wget -qO- ipinfo.io/ip)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant