huawei-cloud-sms-host-migrator
БесплатноБез исполняемых скриптовНе проверенEnd-to-end host migration assistant powered by Huawei Cloud Server Migration Service (SMS). Assists users in discovering on-premise IDC or third-party cloud…
от huaweicloudskill338 установок в других каталогахОб этом скилле
Huawei Cloud SMS Host Migrator
The Huawei Cloud SMS Host Migrator skill automates and guides the full lifecycle of host migration from on-premise IDCs or third-party clouds (Alibaba Cloud, Tencent Cloud, AWS) to Huawei Cloud ECS or Flexus X instances using the Huawei Cloud Server Migration Service (SMS).
Overview
The migration process supports file-level replication (MIGRATE_FILE) for Linux source hosts and block-level replication (MIGRATE_BLOCK) for Windows Server source hosts.
Key capabilities provided:
- Guided Agent Deployment: Generate installation instructions for Linux and Windows Server source machines.
- Pre-migration Compatibility Diagnostics: Automatic checks for OS version, firmware (BIOS/UEFI), disk partition table (MBR/GPT), file system, and required network ports.
- Target Specification Modeling: Provision migration templates targeting Huawei Cloud standard ECS or cost-effective Flexus X instances.
- Replication Orchestration: Track replication tasks, remaining time (
remain_seconds), throttling limits, progress percentages, and subtask states. - Cutover and Validation: Execute incremental sync windows, detach migration drivers, and verify target host boot status.
Prerequisites
- KooCLI (
hcloud): Installed and authenticated with a valid profile (cn-north-4,ap-southeast-3, etc.).- Follow instructions in
references/cli-installation-guide.md.
- Follow instructions in
- Target Security Group Inbound Rules:
The destination ECS security group must allow specific inbound ports strictly from the source server IP:
- Linux: Inbound TCP port
22(secure rsync over SSH). - Windows Server: Inbound TCP ports
22(initialization),8899(control channel), and8900(block data streaming). - Default Creation Behavior: By default, create a dedicated new security group populated strictly with these rules rather than reusing an existing group.
- Target Outbound Rules: Outbound TCP port
443allowed to SMS API and Huawei Cloud services. - Target Subnet Network ACL: Ensure associated subnet ACLs allow matching inbound ports and return ephemeral ports.
- Security Guardrail: Do not set source address to
0.0.0.0/0; restrict strictly to source server IP.
- Linux: Inbound TCP port
- Source Server Network & Environment:
- Outbound TCP port
443open to SMS control plane:sms.cn-north-4.myhuaweicloud.com(China Site) orsms.ap-southeast-3.myhuaweicloud.com(International Site - Singapore). - Outbound TCP ports
22,8899,8900open to target ECS (public EIP or private IP via VPN/Direct Connect). - NTP Time Synchronization: Source system clock drift must be within 15 minutes of standard time.
- Dependencies: Linux requires
rsync,tar,nohup,python; Windows requires PowerShell 3.0+ and VSS service. - Disk Space: Linux root partition (
/) ≥ 200 MB free space; Windows partitions ≥ 600 MB require ≥ 320 MB free space.
- Outbound TCP port
- IAM Permissions: Sufficient permissions for
SMS FullAccess,ECS CommonOperations,VPC Administrator, andEVS CommonOperations.- See least-privilege definitions in
references/iam-policies.md. - See complete pre-migration checklist in
references/pre-migration-checklist.md.
- See least-privilege definitions in
Workflow
- Phase 1 - Assessment & Scenario Selection:
- Scenario A (Source Host Already Registered): Locate the host using
hcloud SMS ListServers --cli-region={region}, retrievesource_server_id, verify 14 pre-checks viaShowServer, and proceed to Phase 3 (skip Phase 2). - Scenario B (Fresh Host / Agent Not Installed): Perform preliminary prerequisites (OS support, NTP drift ≤ 15 min, network connectivity) and proceed to Phase 2 for agent deployment (verify registration via
ListServerspost-installation). (Note: If registration state is unknown, runhcloud SMS ListServers --cli-region={region}first).
- Scenario A (Source Host Already Registered): Locate the host using
- Phase 2 - Agent Deployment & Registration (Scenario B Only): Deploy OS-specific agent and authenticate out-of-band with AK/SK, SMS domain (
sms.cn-north-4.myhuaweicloud.comfor China Site;sms.ap-southeast-3.myhuaweicloud.comfor International Site Singapore), and Enterprise Project ID. - Phase 3 - Target Security Group & Destination Provisioning:
- Create a dedicated target security group with minimal inbound rules (Linux: port 22; Windows: ports 22, 8899, 8900) restricted to the source IP (public egress IP for internet; private IP for VPN/Direct Connect).
- Target Provisioning Branching (BIOS/Linux vs UEFI Windows):
- Standard Mode (BIOS Hosts & Linux): Create a target template (
CreateTemplate) with VPC, subnet, flavor, image ID (from IMS), and network binding (300M pay-per-traffic EIP for public mode;{}for private mode). - Existing Server Mode (Mandatory for UEFI Windows): SMS does not support auto-provisioning via templates for UEFI Windows. Do not create a migration template. Pre-create the target ECS
- Standard Mode (BIOS Hosts & Linux): Create a target template (
Установить huawei-cloud-sms-host-migrator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-sms-host-migrator?
End-to-end host migration assistant powered by Huawei Cloud Server Migration Service (SMS). Assists users in discovering on-premise IDC or third-party cloud hosts (Alibaba Cloud ECS, Tencent Cloud CVM, AWS EC2), deploying SMS Agent, executing pre-migration compatibility checks, configuring target VM templates, orchestrating full and incremental replication, and performing smooth cutover to Huawei Cloud ECS or Flexus X. Triggers include: "主机迁移", "整机迁移", "创建SMS迁移任务", "主机在线增量迁移与割接", "host migration", "server migration", "SMS agent deployment", "create SMS migration task", "incremental host migration and cutover", "migrate IDC to Huawei Cloud", "migrate cloud server to ECS".
Как установить скилл huawei-cloud-sms-host-migrator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-sms-host-migrator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic