Command Palette

Search for a command to run...

Назад к скиллам
скилл № 26495

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…

БесплатноБез исполняемых скриптов
huaweicloudskillот huaweicloudskill346 установок в других каталогах

Установить huawei-cloud-sms-host-migrator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

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

  1. KooCLI (hcloud): Installed and authenticated with a valid profile (cn-north-4, ap-southeast-3, etc.).
    • Follow instructions in references/cli-installation-guide.md.
  2. 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), and 8900 (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 443 allowed 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.
  3. Source Server Network & Environment:
    • Outbound TCP port 443 open to SMS control plane: sms.cn-north-4.myhuaweicloud.com (China Site) or sms.ap-southeast-3.myhuaweicloud.com (International Site - Singapore).
    • Outbound TCP ports 22, 8899, 8900 open 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.
  4. IAM Permissions: Sufficient permissions for SMS FullAccess, ECS CommonOperations, VPC Administrator, and EVS CommonOperations.
    • See least-privilege definitions in references/iam-policies.md.
    • See complete pre-migration checklist in references/pre-migration-checklist.md.

Workflow

  1. Phase 1 - Assessment & Scenario Selection:
    • Scenario A (Source Host Already Registered): Locate the host using hcloud SMS ListServers --cli-region={region}, retrieve source_server_id, verify 14 pre-checks via ShowServer, 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 ListServers post-installation). (Note: If registration state is unknown, run hcloud SMS ListServers --cli-region={region} first).
  2. 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.com for China Site; sms.ap-southeast-3.myhuaweicloud.com for International Site Singapore), and Enterprise Project ID.
  3. 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
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить huawei-cloud-sms-host-migrator с