如何克隆经典云服务以进行实验室测试订阅(ClassicIaasMigration) [英] How to clone a classic cloud service to lab test subscription (ClassicIaasMigration)

查看:183
本文介绍了如何克隆经典云服务以进行实验室测试订阅(ClassicIaasMigration)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将VM从经典(ASM)迁移到Azure资源管理器(手臂).我正在遵循

平台支持 将IaaS资源从经典版本迁移到ARM a nd

Platform-supported migration of IaaS resources from classic to ARM and Use PowerShell to migrate IaaS resources from classic to ARM

 

当前的ASM设置和虚拟网络具有迁移脚本不支持的两种方案:

Current ASM setup and virtual network has two scenarios that are not supported by migration scripts:

(a)具有Web/工作人员角色的云服务,以及

(a) cloud services with web/worker roles and

(b)具有VM扩展名的经典VM.

(b) classic VMs with VM extensions.

计划是按照的指示解决这些问题 AsmToArmMigrationApiToolset#patterns-of-success :

Plan is to solve these issues as instructed in AsmToArmMigrationApiToolset#patterns-of-success:

(a)将网络/工作人员角色移至新的虚拟网络(vnet-1),将其从虚拟网络(vnet-0)中删除)进行迁移,并使用Vnet对等连接vnet-0和vnet-1

(a) move web/worker roles to new virtual network (vnet-1), remove those from virtual network (vnet-0) being migrated, and peer the vnet-0 and vnet-1 using Vnet peering

(b)在迁移之前先卸载VM扩展,然后在迁移后重新安装扩展

(b) uninstall VM extensions prior migration, and re-install extensions after migration

 

由于不受支持的功能,我计划创建一个从现有设置到另一个订阅的克隆实验室测试环境,并首先进行迁移试验在此沙箱中.为此,我正在使用说明 和中的脚本 AsmToArmMigrationApiToolset .

Due to the unsupported features, I plan to create a clone lab test environment from existing setup to another subscription, and make migration trials first in this sandbox. For this I am using instructions and scripts in AsmToArmMigrationApiToolset.

 

无论如何,似乎该工具&脚本不支持将云服务复制到实验室环境.沙盒的动机是分别测试变通办法(a)和(b).

Anyhow, seems that the tools & scripts does not give support copying the cloud services to lab environment. Motivation for sandbox is to test workarounds (a) and (b) separately.

如何将经典云服务从一个订阅克隆到另一个订阅?

How can I clone a classic cloud service from one subscription to another?

推荐答案

首先要注意的是,您从GitHub示例中遵循的步骤已有两年之久.很可能已经更改了许多步骤和命令,所以我不能完全相信所提供的步骤.

First thing to note is that the steps you are following from the GitHub sample are two years old. It is very likely that many of the steps and commands have been changed so I would not fully trust the steps provided. 

我从没听说过有人克隆"的消息.之前的云服务.本质上,如果您想在另一个订阅中拥有第二个版本的云服务,则只需创建一个新的云服务并从云服务上载相同的代码即可 1到云服务2.但是也许我在这里没有完全理解最终目标.

I have never heard of anyone "Cloning" a cloud service before. Essentially if you wanted to have a second version of your cloud service in another subscription you could just create a new cloud service and upload the same code from cloud service 1 to cloud service 2. But maybe I am not fully understanding the end goal here. 


这篇关于如何克隆经典云服务以进行实验室测试订阅(ClassicIaasMigration)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆