<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      Migrating VMs Between ESXI Servers Using SCP Command

      Migrating VMs Between ESXI Servers Using SCP Command

      July 25, 2022

      FileCloud customers may choose to use a virtual machine (VM) in an ESXI server. At times, ESXI servers may be decommissioned, requiring a migration. When FileCloud is hosted on one ESXI server, it can be moved to another using this method. This is generally a bare metal migration. Yet migrating VMware ESXI servers has always […]

       

      FileCloud customers may choose to use a virtual machine (VM) in an ESXI server. At times, ESXI servers may be decommissioned, requiring a migration. When FileCloud is hosted on one ESXI server, it can be moved to another using this method. This is generally a bare metal migration.

      Yet migrating VMware ESXI servers has always been difficult, at times even requiring the use of a third-party paid application. In this blog, we discuss a simple method to transfer VMs using the basic SCP command. We also ensure that the transferred VM disks are configured in thin provisioning.

      Follow the steps below to migrate the ESXi servers:

      Enable SSH Service on Source and Destination ESXI Servers

      To enable the SSH service, log in to the web interfaces for your ESXI servers. Then click on Host at the top right. Click Actions -> Services -> Enable Secure Shell (SSH) (if it is not already enabled).

      Enable SSH Client Service on Source ESXI Server.

      Log in to the SSH of the source ESXI server using the putty tool. You may need to run the below commands:

      esxcli network firewall ruleset list --ruleset-id sshClient

      Check if the SSH client service is enabled. If disabled, the command will return a result of ‘False’. If a ‘False’ response is returned, run this next command. If ‘False’ is not the returned response, proceed to the next step!

      esxcli network firewall ruleset set --ruleset-id sshClient --enabled=true

      Copy the VM from Source to Destination

      Before running the below commands, make sure the VM that will be migrated is turned off in the source ESXI server.

      Connect to your source ESXI server using putty or your favorite SSH client (depending on Windows or Mac OS).

      Navigate to your datastore where your guest VM resides. By default, it will show as below.

      cd /vmfs/volumes/datastore1/

      Next, migrate the data to the proper datastore path in the Destination VM.

      Afterward, execute the below command in the source ESXI server:

      scp -rv /vmfs/volumes/datastore1/VM_NAME root@xx.xx.xx.xx:/vmfs/volumes/datastore1/

      Press ‘Enter.’ You should be prompted for a password – then the migration process will begin. The time to complete the transfer depends on the network speed between the ESXI servers.

      Convert Thick Provisioning to Thin Provisioning

      Log in to your SSH console of the destination server. Then, navigate to the datastore path where the new VM data will be migrated from the old server.

      cd /vmfs/volumes/datastore1/ VM_NAME

      Run the below command to clone the VMDK to a thin provisioned disk using vmkfstools

      vmkfstools -i VM_NAME.vmdk -d thin VM_NAME -thin.vmdk.

      After the cloning is complete, list the files in the directory and verify that two files were created:

      VM_NAME.vmdk and VM_NAME -thin.vmdk.

      Rename the old flat file to a different name (e.g., mv VM_NAME-flat.vmdk VM_NAME-flat.vmdk.old)

      Rename the new flat file to a different name (e.g., mv VM_NAME-thin-flat.vmdk VM_NAME-flat.vmdk)

      Register the Migrated VM on the ESXI Host

      Log in to the web interface of the destination ESXI server where the VM was migrated from the source server.

      Click on Virtual Machines --> Create/Register VM

      Select ‘Register an Existing Virtual Machine.' Then select one or more virtual machines, a datastore, or a directory. Select the folder of the VM Guest you moved to the new server. Click: Select --> Next --> Finish

      Once you turn on the migrated VM in the destination ESXI server for the first time, you will be prompted to answer if you moved or copied the guest machine. Leave the default “I Copied It” and click “Answer.”

      If the migration was completed without any errors, the VMs should start in the new host.

       

      Article written by Nandakumar Chitra Suresh and Katie Gerhardt

      posted on 2025-01-07 12:33  劉應杰  閱讀(24)  評論(0)    收藏  舉報

      導航

      主站蜘蛛池模板: 欧美乱大交aaaa片if| 亚洲av午夜福利精品一区二区| 99中文字幕精品国产| 亚洲中文字幕有综合久久| 国产一区二区精品久久岳| jlzz大jlzz大全免费| 国产睡熟迷奷系列网站| 任我爽精品视频在线播放| 午夜精品福利亚洲国产| 久久亚洲精品中文字幕馆| 精品国产女同疯狂摩擦2| 精品国产精品国产偷麻豆| 精品视频一区二区| 丁香五月婷激情综合第九色| 激情综合网激情五月激情| 东京热人妻丝袜无码AV一二三区观 | 国产亚洲精品久久777777| 欧美亚洲色综久久精品国产| 国内精品一区二区不卡| 国产专区一va亚洲v天堂| 亚洲精品电影院| 国产精品毛片在线完整版| 日韩成人精品一区二区三区| 久久成人国产精品免费软件| 日韩精品一二三黄色一级| 另类 专区 欧美 制服| 久久精品第九区免费观看| 激情综合网激情国产av| 人妻放荡乱h文| 精品国产欧美一区二区三区在线| 久久综合国产精品一区二区| 精品尤物TV福利院在线网站| 色偷一区国产精品| 日韩精品区一区二区三vr| 久久久国产乱子伦精品作者| 日韩精品不卡一区二区三区 | 日日噜噜夜夜狠狠久久无码区| 不卡国产一区二区三区| 五月国产综合视频在线观看| 日韩中文免费一区二区| 日韩国产精品无码一区二区三区 |