pvc/client-cli/scripts
Joshua Boniface ce9d0e9603 Add helper scripts to CLI client 2020-03-22 01:19:55 -04:00
..
README Add helper scripts to CLI client 2020-03-22 01:19:55 -04:00
export_vm Add helper scripts to CLI client 2020-03-22 01:19:55 -04:00
import_vm Add helper scripts to CLI client 2020-03-22 01:19:55 -04:00
migrate_vm Add helper scripts to CLI client 2020-03-22 01:19:55 -04:00

README

# PVC helper scripts

These helper scripts are included with the PVC client to aid administrators in some meta-functions.

The following scripts are provided for use:

## `migrate_vm`

Migrates a VM, with downtime, from one PVC cluster to another.

`migrate_vm <vm> <source_cluster> <destination_cluster>`

### Arguments

 * `vm`: The virtual machine to migrate
 * `source_cluster`: The source PVC cluster; must be a valid cluster to the local PVC client
 * `destination_cluster`: The destination PVC cluster; must be a valid cluster to the local PVC client

## `import_vm`

Imports a VM from another platform into a PVC cluster.

## `export_vm`

Exports a (stopped) VM from a PVC cluster to another platform.

`export_vm <vm> <source_cluster>`

### Arguments

 * `vm`: The virtual machine to migrate
 * `source_cluster`: The source PVC cluster; must be a valid cluster to the local PVC client