This section provides details about each phase of the Stretch Deploy command. You can use this information to troubleshoot errors and to remove the infrastructure created by vCloud Connector for Stretch Deploy if the command fails.

The Stretch Deploy command has the following phases:

Infrastructure

Copy

Deploy

When you stretch deploy from a vSphere cloud to a public vCloud, vCloud Connector performs the following actions.

1

Creates an empty routed vApp in the public vCloud.

2

Starts the empty routed vApp.

3

Creates DNAT and Firewall rules, if required, in the Edge gateway of the Organization VDC that you selected in the public vCloud.

4

Creates the SSL VPN object in the vShield Edge of the routed vApp in the public vCloud.

5

Creates the SSL VPN object in the vShield Edge of the source network in the vSphere cloud.

When you stretch deploy from a private vCloud Director cloud to a public vCloud, vCloud Connector performs the following actions.

1

Creates an empty routed vApp in the public vCloud.

2

Starts the empty routed vApp.

3

Creates DNAT and Firewall rules in the Edge gateway of the Organization VDC that you selected in the public cloud, if required.

4

Creates SNAT and Firewall rules in the Edge gateway of the Organization VDC in the source vCloud, if required.

5

Creates the SSL VPN object in the vShield Edge of the routed vApp in the public vCloud.

6

Creates the SSL VPN object in the vShield Edge of the routed vApp in the source vCloud Director cloud.

When you stretch deploy from a vSphere cloud to a public vCloud, vCloud Connector performs the following actions.

1

Exports the selected virtual machine or vApp from the source vSphere cloud.

2

Copies the OVF file to the public vCloud.

3

Imports the OVF file as a vApp template into the catalog that you selected in the public vCloud.

When you stretch deploy from a private vCloud Director cloud to a public vCloud, vCloud Connector performs the following actions.

1

Creates a temporary vApp with the name <sourceVMname>_<randomNumber> in the source cloud.

2

Moves the selected virtual machine from its vApp to this temporary vApp.

3

Adds the temporary vApp as a vApp template to the source catalog that you selected.

4

Copies the vApp template to the public vCloud.

5

Imports the OVF file as a vApp template into the catalog that you selected in the public vCloud.

When you stretch deploy from a vSphere cloud to a public vCloud, vCloud Connector performs the following actions.

1

Creates a temporary vApp (with the name tempVapp-xyz-<randomNumber>) in the public vCloud from the vApp template that was created during the Copy phase.

2

Moves the virtual machine from this temporary vApp to the empty routed vApp that was created during the Infrastructure phase.

3

Deletes the temporary vApp.

4

Deletes the vApp template from the catalog.

5

Powers on the virtual machine (if you selected this option).

6

Sets the metadata on the routed vApp in the public vCloud.

These entries are set.

Entry

Value

DatacenterExtensionRole

Destination

DatacenterExtendedEntityId

System-generated value of the entity that is stretch deployed

7

Sets the metadata on the VM or vApp that is being stretch-deployed, in the source cloud.

These entries are set.

Entry

Value

DatacenterExtensionRole

Source

DatacenterExtendedEntityId

System-generated value of the entity that is stretch deployed

When you stretch deploy from a private vCloud Director cloud to a public vCloud, vCloud Connector performs the following actions.

1

Creates a temporary vApp (with the name tempVapp-xyz-<randomNumber>) in the public vCloud from the vApp template that was created during the Copy phase.

2

Moves the virtual machine from this temporary vApp to the empty routed vApp that was created during the Infrastructure phase.

3

Deletes the temporary vApp.

4

Deletes the vApp template from the catalog.

5

Powers on the virtual machine (if you selected this option).

6

Sets the metadata on the routed vApp in the destination vCloud.

The following entries are set:

Entry

Value

DatacenterExtensionRole

Destination

DatacenterExtendedEntityId

System-generated value of the entity that is stretch deployed

7

Sets the metadata on the virtual machine in the source vCloud Director cloud.

The following entries are set:

Entry

Value

DatacenterExtensionRole

Source

DatacenterExtendedEntityId

System-generated value of the entity that is stretch deployed

Note

The metadata is set only if the Stretch Deploy command is completed successfully. It is not set if the command fails or is cancelled.