huawei-cloud-migration-windows-ecs

Installation
SKILL.md

Huawei Cloud SMS Windows 主机迁移 Skill

基本信息

项目 内容
name huawei-cloud-migration-windows-ecs
description 华为云 SMS(Server Migration Service)Windows 主机迁移到 ECS 的自动化编排 Skill。支持 Windows Server 2008/2008R2/2012/2012R2/2016/2019/2022/2025 及 Win7/8.1/10/11(64位)。公网/私网迁移模板与环境变量模板 + 前置任务提醒(未设置 Host_Information/migration_* 时先配置环境变量再迁移);双 CLI(unified_migrate.py 部署 Agent + sms_task.py 目标/迁移任务/同步/割接)+ 环境清理编排(cleanup_environment.py);KooCLI 7.2.x 实测兼容(BatchStartServers 等效割接、EVS 磁盘校验 fallback、sync/cutover 枚举不支持时自动回退);批量主机信息从环境变量 Host_Information(JSON 模板)读取(CSV 兼容回退);部署前必清源端(CleanupSourcePhase);私网 Squid/gost 代理(CONNECT 仅迁移端口);资源属主体系(OwnerID 指纹);71+ 安全规则(含红线 O1-O6);目标编排自动创建数据盘(1:1);任务名 ≤16 防 SMS.7711。触发词:Windows迁移、SMS迁移、迁移Windows服务器、Windows to ECS、migrate Windows、Windows server migration、批量迁移、公网迁移、私网迁移、创建目标虚拟机、创建迁移任务、host-migration、清理环境

迁移基本逻辑

Phase A: unified_migrate.py — 清理 + 部署 Agent 并注册源端
  阶段链: WinRMPhase → CleanupSourcePhase(清残留) → InstallAgentPhase → ConfigurePhase → VerifyPhase
Phase B: sms_task.py — 目标编排 → 迁移任务 → 同步 → 割接 → 回收
  子命令: discover / prepare-target / create / start / wait / sync / cutover / cleanup / release / delete
环境清理: cleanup_environment.py — ①打通 gost → ②清源端 → ③清代理
Installs
2
GitHub Stars
59
First Seen
4 days ago