Please provide your feedback in this short Flings' survey.
fling logo of Cross vCenter VM Mobility - CLI

Cross vCenter VM Mobility - CLI

version 1.6.0 — April 27, 2018

Contributors 4

View All

Comments 83

  • profile picture of Gopal Krishna G
  • profile picture of Gopal Krishna G
  • profile picture of Jayapal K
  • profile picture of Gopal Krishna G
  • profile picture of Kaps335
  • profile picture of Jayapal K
  • profile picture of Jayapal K
  • profile picture of Jayapal K
View All

Summary

Cross vCenter VM Mobility - CLI is a command line interface (CLI) tool that can be used to migrate and clone one or more VMs (bulk) from one host to another host managed by a linked or isolated vCenter (VC) instance. It has been built using vSphere Java-based SDK APIs.

Currently, as of vSphere 6.0, the vSphere HTML5 Web Client allows users to perform Cross-VC operations like migration and cloning if two VCs are linked. If VCs are not linked, users cannot view the infrastructure across multiple VCs and thus, cannot utilize this functionality through UI. This Fling provides a way for users to access this vSphere feature through simple CLI commands. It also supports cross-cluster placement and shared storage vMotion between two VCs.

Requirements

  • JDK 1.7 or above
  • Two vCenter instances with ESX 6.0
  • Windows : Windows Server 2003 or above
  • Linux : RHEL 7.x or above, Ubuntu 11.04 or above

Instructions

Please see the instructions1.6.0.pdf in the Download box.

Changelog

Version 1.6.0

  • Relocate is failing with validation error "cln is missing".

Version 1.6

  • Added support for bulk-relocate / bulk-clone which helps the user to migrate / clone multiple VMs specifying various destination locations in a single command.
  • Added support to choose destination resource pool

Version 1.5

  • Added support to choose destination vm folder / destination storage pod (storage drs)

Version 1.4

  • While migrating multiple vms with destination network option, only one vm used to get migrated.This issue has been fixed.

Version 1.3

  • Keep the destination connection alive during the relocate task

Version 1.2

  • Support to pass password as command line arguments for vm migrate/clone automation

Version 1.1

  • Updated the code to chose destination network details while clone/relocate a vm to destination VC.

Similar Flings

May 16, 2022
UPDATED
fling logo of Virtual Machine Desired State Configuration

Virtual Machine Desired State Configuration

version 1.1.2 (4042404)

Virtual Machine Desired State Configuration (VMDSC) allows virtual administrators to specify VM CPU/Memory desired state which will take effect upon the next Guest OS reboot. This removes the burden of having to schedule a downtime window with the business/app owners.

May 11, 2017
fling logo of Host Profiles CLI

Host Profiles CLI

version 1.0

The Host Profiles CLI Fling (hostprofilescli) is a command-line utility that allows vSphere administrators to perform several operations with Host Profiles that are either not currently possible through existing user interfaces, or possible only through graphical interfaces.

Jun 29, 2016
fling logo of DRS Doctor

DRS Doctor

version 1.1

DRS Doctor is a command line tool that can be used to diagnose DRS behaviour in VMware vCenter clusters. When run against a DRS enabled cluster, it records information regarding the state of the cluster, the work load distribution, DRS moves, etc., in an easy to read log format.