服务器 频道

Win2008 R2实战之IP 配置迁移过程篇

  二、向目标服务器导入 IP 配置设置

  1、若要迁移网络适配器的 IP 配置,请映射源网络适配器和目标网络适配器的物理 (MAC) 地址。查看使用从源服务器导出 IP 配置设置的步骤中的 IPConfig -all > <FilePath> 命令生成的 IPConfig 输出,以确定网络适配器的物理地址映射。

  2、如果迁移存储尚未位于目标服务器上,请通过键入下面的命令,然后按 Enter 将迁移存储复制到目标服务器上的本地驱动器上,其中 NetworkPath 是迁移存储的位置路径,LocalPath 是目标服务器上的位置路径。

  Copy <NetworkPath> <LocalPath>

  3、以管理员组成员身份登录到目标服务器(如果尚未登录)。

  4、在目标服务器上,使用以下示例中所示的 Import-SmigServerSetting cmdlet 迁移所有 IP 配置,其中引号中的每个 SourcePhysicalAddress 和 TargetPhysicalAddress 代表要迁移的网络适配器的物理地址,MigrationStorePath 代表迁移存储的位置路径。以 AA-AA-AA-AA-AA-AA 格式指定每个网络适配器的物理地址,并用逗号分隔多个网络适配器的物理地址。

  Import-SmigServerSetting -IPConfig All -SourcePhysicalAddress "<SourcePhysicalAddress1>","<SourcePhysicalAddress2>" -TargetPhysicalAddress "<TargetPhysicalAddress1>","<TargetPhysicalAddress2>" -Path <MigrationStorePath> -Verbose

  可以将下列值之一与 -IPConfig 参数一起使用。若要进行"全部"或"全局"IP 配置迁移,必须重新启动目标服务器才能使对 IPv6 DisabledComponents 属性的修改生效。在服务器重新启动之前,您无法使用任何 Windows Server 迁移工具 cmdlet。

  Global:仅导入全局 Windows IP 配置设置。

  NIC:仅导入某些网络适配器的特定 IP 配置设置。必须使用 -SourcePhysicalAddress 和 -TargetPhysicalAddress 参数指定物理地址映射。

  All:导入全局和网络适配器 IP 配置特定的设置。还必须使用 -SourcePhysicalAddress 和 -TargetPhysicalAddress 参数指定物理地址映射。

  5、系统会提示您提供与导出过程中所提供的相同的密码以加密迁移存储。键入密码,然后按 Enter。

 

0
相关文章