开启辅助访问

超融合+云计算论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 411|回复: 5
收起左侧

[Xtract] Xtract To Migrate a VM

[复制链接]
发表于 2018-3-13 15:42:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

Nutanix Xtract是Nutanix提供用于VM、DB的迁移工具,帮助用户能够轻松的从任何平台迁移到Nutanix平台

Deploy Xtract for VMs from Prism

In Prism Central > Explore*, click **VMs.

xtractvm01.png

Click Create VM.

Fill out the following fields and click Save:

  • Name - Xtract-VM
  • Description - Xtract for VMs
  • VCPU(S) - 2
  • Cores - 2
  • Memory - 4GiB
  • Disks - + Add New Disk
  • Disk Image (From Image Service) - Xtract-VM
  • Disks - Remove CD-ROM
  • Network - Primary
  • IP Address - 10.21.XX.42
  • Custom Script - Select the Box

Select Type or Paste Script

#cloud-config
disable_root: true
ssh_enabled: True
ssh_pwauth: True
runcmd:
- systemctl restart sshd
- userdel -r centos
- touch /opt/xtract-vm/.hermeskey
- 'dmidecode -s system-uuid | tee /opt/xtract-vm/.hermeskey'
- chown mgmtserver:vmxtract /opt/xtract-vm/.hermeskey
- chmod 440 /opt/xtract-vm/.hermeskey
- usermod -s /sbin/nologin root
- passwd -l root
# Set capabilities so that mgmtserver can bind to port 80 and tgtagent can mount
- setcap CAP_NET_BIND_SERVICE=ep /opt/xtract-vm/bin/mgmt-server
- setcap CAP_SYS_ADMIN=ep /opt/xtract-vm/bin/tgtagent
- systemctl restart mgmtserver tgtagent iptables
- chmod 555 /
- 'semanage fcontext --add --type user_home_dir_t "/home/admin(/.*)?"'
- restorecon -FRv /

Now Power on the Xtract-VM VM.

When it completes open a browser window to the Xtract for VMs Dashboard http://10.21.XX.42.

Accept the EULA, and click Continue.

xtractvm02.png

Click OK on the Nutanix Customer Experience Program

xtractvm06.png

Set Password to “nutanix/4u”.

xtractvm07.png

Login with the following credentials:

  • Username - nutanix
  • Password - nutanix/4u

Migrate VM with Xtract for VMs

In this portion of the lab we will configure source and target environments, create a migration plan, and finally perform a cutover operation.

Configure Source and Targets environements.

In Xtract, click + Add Source Environment.

xtractvm08 (1).png

Fill out the following fields and click Add:

  • Source Name - Tech Summit 2018 vCenter

  • vCenter Server - Tech Summit vCenter Server

  • User Name - administrator@vsphere.local

  • Passwrod - vCenter Password

    xtractvm09.png

In Xtract, click + Add Target Environment.

xtractvm08.png

Fill out the following fields and click Add:

  • Target Name - POCXXX

  • vCenter Server - 10.21.XX.37

  • User Name - admin

  • Passwrod - Prism Password

    xtractvm10.png

Now you should have Source and Target environments configured.

xtractvm11.png

Create a Migration Plan

In Xtract, click Create a Migration Plan.

xtractvm12.png

Enter Migration Plan Name, and click OK:

  • Migration Plan Name - ViewImage-Team-XX Migration.

    xtractvm13.png

Enter Migration Plan Name, and click Next:

  • Select Target - POCXXX

  • Target Container - CONTAINER-NAME

    xtractvm14.png

Select ViewImage-Team-XX VM, and click Next.

xtractvm15.png

Fill out the following fields and click Next:

  • Common Windows Credentials

  • User Name - administrator

  • Password - nutanix/4u

  • Target Network - Primary

    xtractvm16.png

Click Save and Start.

xtractvm17.png

Now you can watch the Migration process in the dashboard.

xtractvm18.png

Once the migrated data reaches the data size, or the migration completes, you can Perform Cutover Operation.

Perform Cutover Operation

In Xtract, click Migration In Progress.

xtractvm19.png

Select the box for ViewImage-Team-XX, and click Cutover.

xtractvm20.png

Click Continue.

xtractvm21.png

After it is completed you can view it in Prism

xtractvm22.png
xtractvm23.png

Takeaways

  • Xtract for VMs simplifies bulk migration of existing VMs to Nutanix, eliminating the friction associated with onboarding new IT infrastructure.
  • Businesses can quickly leverage the full potential of Nutanix Enterprise Cloud with near-zero VM downtime during the migration from vSphere ESXi to Nutanix AHV.
  • Xtract features the ability to migrate all AHV certified OSes, scheduling data-seeding and migrations, multi-cluster migration management, and grouping/sorting VMs.

欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复

使用道具 举报

发表于 2018-4-4 22:31:39 | 显示全部楼层
Thanks for your sharing
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

发表于 2018-5-2 16:31:52 | 显示全部楼层
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

发表于 2018-5-17 02:27:51 | 显示全部楼层
Thanks for your sharing
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

发表于 2018-5-17 02:37:44 | 显示全部楼层
請問看不太懂 可以簡易一點嗎
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

发表于 2018-5-18 00:07:38 | 显示全部楼层
謝謝大大的分享
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

返回顶部快速回复上一主题下一主题返回列表微信扫一