Storage vMotion Custom Task V1.0

Version 1
    Task NameStorage vMotion Custom Task
    DescriptionThis task is used to migrate the Virtual machine disk files from one datastore to another on the ESX host. The difference between vMotion and Storage vMotion is that: vMotion moves a VM from one ESXi host to another ESXi host and retains the storage location of the VM, and Storage vMotion changes the storage location of the VM and moves it to another datastore on the ESXi host. The VM data files can be moved to any datastore on the ESXi host which includes local and shared storage.
    Prerequisites

     

     

    1.   VM must be in the powered off state.
    2.   Check the target datastore disk space.
    3.   The host on which the VM is running must have access to the source and target datastore.
    Compatible UCS Director VersionsUCSD 4.1.X.X
    CategoryVirtualization
    ComponentsvSphere 5.x

     

    Instructions for Use:

    1.   Download the attached .ZIP file to your computer. Note: Remember the location of the saved file on your computer.
    2.   Unzip the file on your computer. The unzipped file ends up with an extension .WFDX file.
    3.   Log in to UCS Director as a user that has the system admin privileges.
    4.   Choose Policies > Orchestration, and then click the Custom Workflow Tasks tab.
    5.   Click Import Tasks.
    6.   In the Import Tasks dialog box, click Browse and choose the downloaded file for upload. Click Upload. A successful file upload message appears.
    7.   Click OK.
    8.   Click Next.
    9. The Save Tasks window displays the task exported time, task exported username, and comments provided when the task is exported. The imported task details appear in a table format.
    10. Check the Overwrite if the task exists with same name check box to overwrite the existing task with the imported task.
    11. If this check box is unchecked, a new task will be added with a number (n) to make the name unique.
    12. Click Import.
    13. The custom workflow task is imported and is immediately available for use in the workflow.
    14. Create a basic workflow. For more information, see the Creating a Workflow section in the Cisco UCS Director Orchestration Guide, Release 4.1.
    15. Add the imported workflow task to the workflow. For more information see the Adding Tasks to a Workflow section in the Cisco UCS Director Orchestration Guide, Release 4.1
    16. In the Workflow Task Basic Information screen, enter the following details:
      1.   VM Name – Name of the VM which will be moved to other host.
      2.   New Hostname – IP address of the target host server.
      3.   vCenter IP – IP address of the Vcenter server.
      4.   Username - Username of UCS Director.
      5.   Password - Password of UCS Director.
      6.   Datastore name - Name of the target datastore.
    17. Click Submit.
    18. Click the workflow, the workflow designer opens.
    19. In the workflow designer window, click the Execute Now button. A service request is created for the workflow.
    20. To verify the process, do the following:
      1. Choose Organization > Service Requests.
      2. Double-click the service request ID or click View Details after selecting the ID.