Syntax
New-HCXComputeProfile -Datastore <HCXApplianceDatastore[]> -DeploymentResource <HCXApplianceCompute[]> [-DistributedSwitch <HCXApplianceDVS[]>] -ManagementNetworkProfile <HCXNetworkProfile> -Name <String> [-Server <HcxServer[]>] -Service {Interconnect | NetworkExtension | WANOptimization | BulkMigration | DisasterRecovery | Vmotion} -ServiceCluster <HCXApplianceCompute[]> [-UplinkNetworkProfile <HCXNetworkProfile[]>] [-vMotionNetworkProfile <HCXNetworkProfile>] [-vSphereReplicationNetworkProfile <HCXNetworkProfile>] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet creates an HCX Compute Profile. You can use the HCXInterconnectTask output to retrieve task details by running the Get-HCXJob cmdlet. This Compute Profile can be used to create a Service Mesh.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Datastore | HCXApplianceDatastore[] | Specifies the storage resource for deploying the HCX Interconnect appliances. | true | True (ByValue) | |
DeploymentResource | HCXApplianceCompute[] | Specifies the compute resource for deploying the HCX Interconnect appliances. | true | True (ByValue) | |
DistributedSwitch | HCXApplianceDVS[] | Specifies the Distributed Virtual Switches that you want to use for the HCX Network Extension services. | false | True (ByValue) | |
ManagementNetworkProfile | HCXNetworkProfile | Specifies the Network Profile by which you can reach the management interface of the vCenter Server system and the ESXi hosts. | true | True (ByValue) | |
Name | String | Specifies the name of the HCX Compute Profile. | true | False | |
Server | HcxServer[] | Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet. | false | False | |
Service | InterconnectServiceType[] | Specifies the HCX services that you want to enable. | true | False | |
ServiceCluster | HCXApplianceCompute[] | Specifies one or more clusters for which the selected HCX services should be enabled. | true | True (ByValue) | |
UplinkNetworkProfile | HCXNetworkProfile[] | Specifies one or more network profiles in such a way that one of the following is true: 1. The Interconnect appliances on the remote site can be reached by the network. 2. The remote site appliances can reach the local Interconnect Appliances by the network. If you have point-to-point networks such as Direct Connect which are not shared across multiple sites, you can skip this, since compute profiles are shared with multiple sites. In such cases, Uplink network profiles can be overridden and specified during the creation of the Interconnect Service Mesh. | false | True (ByValue) | |
vMotionNetworkProfile | HCXNetworkProfile | Specifies the Network Profile for the vMotion network for HCX Appliances. | false | True (ByValue) | |
vSphereReplicationNetworkProfile | HCXNetworkProfile | Specifies a Network Profile by which you can reach the vSphere Replication interface of the ESXi hosts. | false | True (ByValue) |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXInterconnectTaskNotes
Examples
-------------------------- Example 1 --------------------------
PS C:\> $managementNetworkProfile = Get-HCXNetworkProfile -Name "myManagementNetworkProfile" $vmotionNetworkProfile = Get-HCXNetworkProfile -Name "myVmotionNetworkProfile" $cluster = Get-HCXApplianceCompute -ClusterComputeResource $datastore = Get-HCXApplianceDatastore -Compute $cluster -Name "myDatastore" $dvs = Get-HCXInventoryDVS -Compute $cluster -Name "myDVS" New-HCXComputeProfile -ManagementNetworkProfile $managementNetworkProfile -Name "myComputeProfile" -Service BulkMigration,DisasterRecovery,Interconnect,NetworkExtension,Vmotion,WANOptimization -Datastore $datastore -DeploymentResource $cluster -ServiceCluster $cluster -DistributedSwitch $dvs -vMotionNetworkProfile $vmotionNetworkProfile
Creates an HCX Compute Profile.