Showing results for 
Search instead for 
Did you mean: 
Task NameMounting Local disk in Linux VM Custom Task V1.0

Custom task for disk mounting. The task is used to mount the disk on a linux VM. It does the following things:

  1. Scans the SCSI bus to detect new disks.
  2. Reads the partition table with the fdisk -l command to know the newly detected disks.
  3. Runs a shell script to partition, format, and mount the disk at the mount point specified by a user.
  4. Verify if the disk mount is successful using the df -h command.
  1. Ensure that a new local disk is added for the VM either from a vSphere client or by using the API.
  2. VM should have latest VMware tools installed and running.
ComponentsvSphere 5.x
User Inputs
  1. The login credentials of the vCenter server.
  2. The administrative login credentials of the VM where the linux guest OS is running.
  3. Mount point of the disk, which is an empty folder location to mount the new disk.

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. Click Submit.
  17. Click the workflow, the workflow designer opens.
  18. In the workflow designer window, click the Execute Now button.
  19. A service request is created for the workflow.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links