System Administration > Lifecycle Management > Migration > Vmgroup

Perform steps required before migrating a VM group.

For each VM group, the following three high level steps are performed in sequence.
1. Call pre VM group migrate API.
2. Migrate (by vmotion,in place, etc.,) VMs in the VM group. This step will be done by user independent of MC.
3. Call post VM group migrate API with the same VM group id used in the pre VM group migrate API.
This API specifically deals with pre VM group migrate API. When pre VM group migrate API is invoked for a VM group
id, MC performs following actions.
- Checks segmentation realization state.
- Creates segment ports.
- Creates temporary security groups.

Request:

Method:
POST
URI Path(s):
/api/v1/migration/vmgroup?action=pre_migrate
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PreVmGroupMigrationSpec+

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

utilities_upgrade

Additional Errors: