在不停机的情况下更改 Azure VM 的 IP 地址
Changing Azure VM ip address without downtime
我有一个 Azure 虚拟机,SQL 服务器已开启。有许多应用程序通过它的 public ip 地址使用这个数据库。 IP 地址当前设置为动态,VM 需要维护,这可能会更改它。有没有一种方法可以在我更新应用程序以使用新的静态 IP 时为 VM 分配静态 IP 地址,同时保持当前 IP 地址处于活动状态?
Is there a way of assigning a static ip address to the VM while
keeping the current one active while I update the applications to use
the new static one?
如果我没理解错的话,您只是想将 public IP 地址更改为静态。
我们可以通过 Azure 门户将 public IP 地址更改为静态 IP 地址,该 IP 地址不会更改。
我有一个 Azure 虚拟机,SQL 服务器已开启。有许多应用程序通过它的 public ip 地址使用这个数据库。 IP 地址当前设置为动态,VM 需要维护,这可能会更改它。有没有一种方法可以在我更新应用程序以使用新的静态 IP 时为 VM 分配静态 IP 地址,同时保持当前 IP 地址处于活动状态?
Is there a way of assigning a static ip address to the VM while keeping the current one active while I update the applications to use the new static one?
如果我没理解错的话,您只是想将 public IP 地址更改为静态。
我们可以通过 Azure 门户将 public IP 地址更改为静态 IP 地址,该 IP 地址不会更改。