Azure ASM到ARM迁移 (三) Reserved IP的迁移
Azure的ASM下,很多用户的应用种域名的解析在DNS服务器种都采用A记录的方式,所以很多用户都在Azure上采用了Reserved IP。
关于Reserved IP,可以参考http://www.cnblogs.com/hengwei/p/5161433.html
在ASM到ARM的迁移中,IP地址也是迁移中需要考虑的一个重要问题,如果IP地址不能迁移,就需要客户更改DNS中的记录。
如果修改了DNS的记录,考虑到DNS本身架构的特点,割接的时间将会大大增加。所以迁移Reserved IP是ASM到ARM工作中需要重点考虑的内容之一。
Azure Reserved IP的迁移有两种方式:
1. VNET整体迁移
如果采用平台的工具进行VNET的整体迁移,Public的IP地址会随着VM迁移到ARM模式下。
已经创建好了一台VM,其Cloud Service的IP地址是Reserved IP:
VM的信息:

Reserved IP信息:

通过SSH到这台VM上,进行检测,这里用到的是Paping,类似Windows里的PSPING,下载地址是:
https://hwblob.blob.core.chinacloudapi.cn/test/paping_1.5.5_x86-64_linux.tar.gz
然后对VNET进行迁移:
Move-AzureVirtualNetwork -VirtualNetworkName hwmig -Validate
Move-AzureVirtualNetwork -VirtualNetworkName hwmig -Prepare
Move-AzureVirtualNetwork -VirtualNetworkName hwmig -Commit
这个过程中,paping出现三次中断:
Connected to 111.13.100.91: time=.67ms protocol=TCP port=
Connected to 111.13.100.91: time=.30ms protocol=TCP port=
Connected to 111.13.100.91: time=.50ms protocol=TCP port=
Connection timed out
Connection timed out
Connection timed out
Connection timed out
Connected to 111.13.100.91: time=.65ms protocol=TCP port=
Connected to 111.13.100.91: time=.91ms protocol=TCP port=
Connected to 111.13.100.91: time=.59ms protocol=TCP port=
…
Connected to 111.13.100.91: time=.31ms protocol=TCP port=
Connection timed out
Connection timed out
Connected to 111.13.100.91: time=.53ms protocol=TCP port=
Connected to 111.13.100.91: time=.49ms protocol=TCP port=
…
Connected to 111.13.100.91: time=.63ms protocol=TCP port=
Connection timed out
Connection timed out
Connection timed out
Connected to 111.13.100.91: time=.30ms protocol=TCP port=
一次发生在prepare中,两次发生在commit中,但时间都非常短。
结束后,可以看到:

地址没有发生变化。
查看Public IP,可以看到已经迁移过来,且地址没有变化,管理在负载均衡器上:

2. 单独迁移Reserved IP
当然在做这些move的命令前,都要在订阅中注册相应的provider:

在powershell中运行如下命令:
Move-AzureReservedIP -ReservedIPName hwrip02 -Validate
Move-AzureReservedIP -ReservedIPName hwrip02 -Prepare
Move-AzureReservedIP -ReservedIPName hwrip02 -Commit
运行完后,这个Reserved IP就迁移到ARM模式下了。

总结:
从ASM到ARM的迁移中,IP地址的迁移可以采用两种方式实现。
- 随着VNET一起迁移
- 单独迁移
Azure ASM到ARM迁移 (三) Reserved IP的迁移的更多相关文章
- Azure Reserved IP
Azure PowerShell > Add-AzureAccount> Select-AzureSubscription "SubscriptionName"> ...
- Azure CLI对ASM,ARM资源的基本操作
本文主要介绍Windows Azure CLI对ASM及ARM资源的基本操作 1.在windows的CMD或Powershell环境下,输入命令:azure,可以查看到当前操作的模式为ASM还是ARM ...
- 使用 Azure CLI 将 IaaS 资源从经典部署模型迁移到 Azure Resource Manager 部署模型
以下步骤演示如何使用 Azure 命令行接口 (CLI) 命令将基础结构即服务 (IaaS) 资源从经典部署模型迁移到 Azure Resource Manager 部署模型. 本文中的操作需要 Az ...
- Azure SQL Database (21) 将整张表都迁移到Azure Stretch Database里
<Windows Azure Platform 系列文章目录> Azure SQL Database (19) Stretch Database 概览 Azure SQL Da ...
- 使用Json Template在Azure China创建ARM类型的虚拟机
前面几篇文章介绍过Azure的两种VM的模式,包括ASM和ARM.并且介绍了如何用Azure CLI和PowerShell创建虚拟机.本文将介绍如何采用Json的Template来创建基于ARM的VM ...
- Windows Azure Web Site (9) Web Site公网IP地址
<Windows Azure Platform 系列文章目录> 本文会同时介绍国内由世纪互联运维的Azure China和海外Azure Global. 熟悉Windows Azure平台 ...
- 保留ip: Reserved IP addresses
Reserved IP addresses From Wikipedia, the free encyclopedia In the Internet addressing architect ...
- [转]详述DHCP服务器的三种IP分配方式
DHCP就是动态主机配置协议(Dynamic Host Configuration Protocol),它的目的就是为了减轻TCP/IP网络的规划.管理和维护的负担,解决IP地址空间缺乏问题.这种网络 ...
- Azure Powershell对ARM资源的基本操作
本分主要介绍Windows Azure Powershell对ARM资源的基本操作 1.登陆ARM模式,命令:Login-AzureRmAccount -EnvironmentName AzureCh ...
随机推荐
- openpyxl之excel操作
一.读取excel中内容 1.导入模块 : from openpyxl import load_workbook 2.打开excel : workbook = load_workbook(" ...
- Keepalived + LVS/DR 安装配置
Keepalived + LVS/DR 说明 Keepalived:可以踢出掉故障服务 Keepalived:可以实现主从切换,解决单点故障 实验环境 四台主机:Linux Centos 6.4 32 ...
- 前端自动化构建工具-gulp
gulp 和grunt这两个是我知道的自动构建工具,但是说实话都没在项目中用过,不太清楚自动化构建是什么意思, 1.grunt和gulp有什么相同点和不同点? (1).易于使用:采用代码优于配置策略, ...
- 20145210姚思羽 《网络对抗技术》 Web安全基础实践
20145210姚思羽 <网络对抗技术> Web安全基础实践 实验后回答问题 1.SQL注入攻击原理,如何防御 ·SQL攻击的原理很简单,就是在用户名输入框里输入SQL语句,来欺骗数据库服 ...
- 20145239《网络对抗》- 逆向及Bof基础实践
1 逆向及Bof基础实践说明 1.1 实践目标 本次实践的对象是一个名为pwn1的linux可执行文件.该程序正常执行流程是:main调用foo函数,foo函数会简单回显任何用户输入的字符串.该程序同 ...
- Luogu-3346 [ZJOI2015]诸神眷顾的幻想乡
\(trie\)树建广义后缀自动机: \(dfs\)遍历\(trie\)树,将树上的一个节点插入\(sam\)时,将他的\(fa\)在\(sam\)上所在的节点作为\(last\) #include& ...
- python中的import一个注意事项
import math def foo(): import math x = math.pi # 如果math在下面import会出错,因为import是个写的过程(添加到sys.modules中), ...
- psd文件中截取固定大小的图片
1.选择需要操作的图层 使用选框工具, 设置固定大小和固定大小的值,在图层上拉取选区 2.使用移动工具 使用垂直.水平居中 使选择的icon在选区块中间 3.再选择好块区域调整好位置后 使用截取工具 ...
- hdoj1006--Tick and Tick
Problem Description The three hands of the clock are rotating every second and meeting each other ma ...
- The tag handler class for "c:set"(org.apache.taglibs.standard.tag.rt.core.UrlTag)was not found on the Java Build Path
1.源码: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> < ...