mcpField
A
azure-database-migration

azure-database-migration

github.com/microsoftdocs数据与数据库796175 次安装3 天前更新
代码仓库

关于 azure-database-migration

为 Azure Database Migration Service 使用者提供数据库迁移参考,涵盖方案选择、限制、安全、自动化和排障,并结合本地速查内容与远程文档获取。

主要功能

  1. 01迁移故障与连接问题排查
  2. 02迁移工具和场景选择
  3. 03数据库迁移限制参考
  4. 04迁移安全和 RBAC 指导
  5. 05使用 PowerShell 自动化 MySQL 迁移
  6. 06SSIS 包迁移指导

适用场景

  1. 01排查源数据库连接失败
  2. 02比较 Azure 数据库迁移方案
  3. 03确认在线迁移的限制
  4. 04自动化 MySQL 数据库迁移

MCP 相关

该技能建议通过 mcp_microsoftdocs 的 microsoft_docs_fetch 获取远程文档;也可使用 fetch_webpage 作为备用方式。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-database-migration

安装后在 Claude Code 中输入/azure-database-migration确认已加载。

详细介绍

Azure Database Migration Service 技能

此技能为 Azure Database Migration Service 提供专业指导,涵盖故障排除、决策、限制和配额、安全性、集成与编码模式以及部署。它将本地快速参考内容与远程文档获取功能相结合。

如何使用此技能

Agent 重要提示:使用下方的类别索引查找相关章节。对于带有行范围的类别(例如,L35-L120),请使用 read_file 读取指定行。对于带有文件链接的类别(例如,[security.md](security.md)),请使用 read_file 读取所链接的参考文件

Agent 重要提示:如果 metadata.generated_at 已超过 3 个月,请建议用户从存储库拉取最新版本。如果无法使用 mcp_microsoftdocs 工具,请建议用户安装该工具:安装指南

此技能需要网络访问才能获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并将查询字符串设为 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并将查询字符串设为 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行说明
故障排除L34-L41诊断并修复 Azure DMS 迁移失败、MySQL 特定问题、经典 DMS 问题,以及源数据库连接错误和超时。
决策L42-L47选择 Azure 迁移工具的指导,以及了解 Azure Database Migration Service 支持哪些数据库迁移场景并选择合适方法。
限制和配额L48-L55使用 Azure DMS 迁移 MySQL、PostgreSQL、SQL Managed Instance、MongoDB 和混合部署时的迁移相关限制、不支持的功能及约束。
安全性L56-L61Azure DMS 迁移的安全指导,包括 SQL 最佳实践(网络、身份验证、加密)以及为 MySQL 迁移场景配置自定义 RBAC 角色。
集成与编码模式L62-L66使用 Azure Database Migration Service,通过 PowerShell 脚本、参数和端到端工作流示例,自动执行 MySQL 到 Azure Database for MySQL 的迁移。
部署L67-L71使用 Azure DMS 将 SSIS 包重新部署或迁移到 Azure SQL Database 或 SQL Managed Instance,包括配置步骤和迁移注意事项。
故障排除
主题URL
解决常见的 Azure DMS 迁移问题https://learn.microsoft.com/en-us/azure/dms/faq
解决迁移到 Azure MySQL 时的已知问题https://learn.microsoft.com/en-us/azure/dms/known-issues-azure-mysql-fs-online
排查常见的 Azure DMS 经典迁移问题https://learn.microsoft.com/en-us/azure/dms/known-issues-troubleshooting-dms
修复 Azure DMS 源数据库连接问题https://learn.microsoft.com/en-us/azure/dms/known-issues-troubleshooting-dms-source-connectivity
决策
主题URL
选择 Azure 数据库迁移工具https://learn.microsoft.com/en-us/azure/dms/dms-tools-matrix
选择 Azure DMS 支持的迁移场景https://learn.microsoft.com/en-us/azure/dms/resource-scenario-status
限制与配额
主题URL
查看 PostgreSQL 在线迁移到 Azure Database for PostgreSQL 的限制https://learn.microsoft.com/en-us/azure/dms/known-issues-azure-postgresql-online
查看在线迁移到 Azure SQL Managed Instance 的限制https://learn.microsoft.com/en-us/azure/dms/known-issues-azure-sql-db-managed-instance-online
了解 Azure DMS 混合模式的限制和问题https://learn.microsoft.com/en-us/azure/dms/known-issues-dms-hybrid-mode
查看使用 DMS 将 MongoDB 迁移到 Azure Cosmos DB 的限制https://learn.microsoft.com/en-us/azure/dms/known-issues-mongo-cosmos-db
安全性
主题URL
应用 DMS SQL 迁移的安全最佳实践https://learn.microsoft.com/en-us/azure/dms/dms-security-best-practices
为 DMS 中的 MySQL 迁移配置自定义 RBAC 角色https://learn.microsoft.com/en-us/azure/dms/resource-custom-roles-mysql-database-migration-service
集成与编码模式
主题URL
使用 DMS PowerShell 自动执行 MySQL 到 Azure MySQL 的迁移https://learn.microsoft.com/en-us/azure/dms/migrate-mysql-to-azure-mysql-powershell
部署
主题URL
使用 DMS 将 SSIS 包重新部署到 Azure SQL Databasehttps://learn.microsoft.com/en-us/azure/dms/how-to-migrate-ssis-packages
使用 DMS 将 SSIS 包迁移到 Azure SQL Managed Instancehttps://learn.microsoft.com/en-us/azure/dms/how-to-migrate-ssis-packages-managed-instance

评论

支持 Markdown