使用波次迁移虚拟机时,您可以在波次的 Runbook 中指定虚拟机操作系统的许可方案。
操作系统 | 默认行为 | 可选许可 |
---|---|---|
Linux | 无许可。
如果您未指定许可字符串,则系统不会对迁移后的虚拟机使用任何许可。 |
高级许可(随用随付)。
Compute Engine 支持部分 Linux 操作系统的高级许可。 高级许可按随用随付 (PAYG) 方式计费。如需了解详情,请参阅使用高级 Linux 操作系统许可。 |
Windows | 随用随付 (PAYG)。
您必须指定许可字符串。没有默认值。 |
自备许可 (BYOL)。
如需使用您自己的 Windows 许可,请指定本主题中列出的正确许可字符串。如需详细了解如何为要迁移的虚拟机指定 BYOL,请参阅迁移到单租户节点。 |
Linux 许可字符串
对于下表中列出的 Linux 操作系统,您可以指定许可字符串以使用高级许可。将该字符串添加到 Runbook 的 license:os
字段。如果您未指定许可字符串,则默认为无许可。
您在 Runbook 中使用的 license:os
值应与 OsType
字段的值对应。您可以在创建 Runbook 时从来源平台查询 OsType
的值。
如需了解详情,请参阅使用高级 Linux 操作系统许可。
要从操作系统提供商处了解详细信息,请参阅 Red Hat Cloud Access 或 SLES On Demand。
Linux 操作系统版本 | 许可类型 | 许可字符串 |
---|---|---|
RHEL 6 | PAYG | https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-6-server |
RHEL 7 | PAYG | https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-7-server |
SLES 11 | PAYG | https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-11 |
SLES 12 | PAYG | https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-12 |
SLES 15 | PAYG | https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15 |
Windows 许可字符串
对于下表中列出的 Windows Server 操作系统,您可以指定许可字符串以使用 BYOL 许可。将该字符串添加到 Runbook 的 license:os
字段。如果您未指定字符串,则使用默认值。
如需了解详情,请参阅将虚拟机迁移到单租户节点。
Windows Server 版本 | 许可类型 | 许可字符串 |
---|---|---|
2003 | PAYG(默认值) | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2003 |
2008 R1 | PAYG(默认值) | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-dc |
2008 R2 | BYOL | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-r2-byol |
PAYG(默认值) | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-r2-dc |
|
2012 | BYOL | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-byol |
2012 R2 | BYOL | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-r2-byol |
PAYG(默认值) | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-r2-dc |
|
2016 | BYOL | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2016-byol |
PAYG(默认值) | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2016-dc |
|
2019 | BYOL | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2019-byol |
PAYG(默认值) | https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2019-dc |