【问题标题】:How can i open all ports of EndPoints Linux on Windows Azure如何在 Windows Azure 上打开 EndPoints Linux 的所有端口
【发布时间】:2014-02-11 10:37:39
【问题描述】:

我有一个使用 Windows Azure 在 linux 集群上运行 MPIRUN 的应用程序,mpirun 需要以下规范才能在我的集群中运行:

  1. 无密钥 SSH。
  2. 禁用linux的防火墙
  3. 打开 EndPionts 的所有端口,因为 mpirun 没有使用静态端口。

问题是我需要打开所有端口,但 Windows Azure 只支持 100 端口,所以有什么方法可以在 linux 节点集群上支持 mpirun。

当我在我的 linux 集群上运行我的 mpicode 时,以下输出:

Daemon was launched on ahmed-Sate3781 - beginning to initialize
Daemon [[4241,0],2] checking in as pid 1585 on host ahmed-Sate3781
Daemon [[4241,0],2] not using static ports
Daemon was launched on ahmed-Sate3780 - beginning to initialize
Daemon [[4241,0],1] checking in as pid 1703 on host ahmed-Sate3780
Daemon [[4241,0],1] not using static ports
[ahmed-Sate3780:01703] [[4241,0],1] orted: up and running - waiting for commands

谢谢,

【问题讨论】:

  • 您需要打开的端口是接受来自 Azure 托管集群外部的连接吗?还是仅用于来自该云服务中其他 VM 的连接?如果是后者,则无需打开端点,因为同一云服务或虚拟网络中的 VM 之间的连接不受限制。
  • 我需要让虚拟机相互通信,mpi 有一个名为 orted 的服务,它生成随机端口而不是静态端口来监听,而且每个虚拟机都有一个不一样的云服务。恳请我紧急需要任何帮助

标签: linux azure endpoints


【解决方案1】:

经过调查,我发现我需要在同一个云服务中或在 Windows Azure 上的同一个虚拟网络中创建所有 linux 虚拟机。 Azure 在同一云服务中提供 VM 以相互通信,而无需打开端口。所以 mpirun 会工作

【讨论】:

    猜你喜欢
    • 2015-01-08
    • 1970-01-01
    • 2014-01-31
    • 1970-01-01
    • 1970-01-01
    • 2022-10-25
    • 1970-01-01
    • 1970-01-01
    • 2013-10-02
    相关资源
    最近更新 更多