Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Configuración de red no convergente de Dell Azure Stack HCI

Summary: Ejemplo de cómo configurar una red no convergente para un host de clúster de Dell EMC Solutions Microsoft Azure Stack HCI. En este ejemplo no se incluye una configuración de conformación de red o red de respaldo, como se documenta en la Guía del usuario. La información de este artículo se obtiene de la Guía de referencia "Dell EMC Solutions for Microsoft Azure Stack HCI – Network Integration and Host Network Configuration Options". ...

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

En la siguiente captura de pantalla, se muestra una vista de diagrama de hardware para configurar una red no convergente de Azure Stack HCI mediante un equipo de red SET para la comunicación de red de administración:



vista de diagrama de hardware de la configuración de una red no convergente Azure Stack HCI mediante un equipo de red SET
Los pasos de script a continuación se ejecutan en una ventana de PowerShell administrativo:
 
$ErrorActionPreference = 'Stop'

#region Variables for the scenario

## Management Adapter
$ManagementSwitchName = 'Management'
$ManagementNetAdapterName = @('NIC1','NIC2')
$ManagementAdapterName = 'Management'

# VLAN ID for host management traffic; if no VLAN is preferred set this to 0
$ManagementVlanId = 102

# Management Gateway address
$ManagementGateway = '10.0.0.1'

# DNS Server Address
$ManagementDns = '10.0.0.15'

# Set this to a string 'DHCP' for a dynamic IP address
$ManagementIPAddress = '10.0.0.51'

# Management address prefix (24 translates to subnet mask 255.255.255.0)
$ManagementAddressPrefix = 24

## Storage Adapters
### You must specify 2 or 4 network adapter port names
$StorageNetAdapterName = @('SLOT 2 PORT 1', 'SLOT 2 PORT 2')

### You must specify 1 or 2 or 4 VLANIDs
### Specify 0 if you want the network not tagged with any VLAN
$StorageVlanId = @(103, 104)

### You must specify 2 or 4 IP Addresses
### DHCP as a value is accepted if you want dynamically assigned IP addresses
$StorageIPAddress = @('172.16.101.1', '172.16.102.1')

### You can specify 1 or 2 or 4 prefix length values (24 translates to subnet mask
255.255.255.0)
$StorageAddressPrefix = @(24)
#endregion

## Create a VM switch for management
$null = New-VMSwitch -Name $ManagementSwitchName -AllowManagementOS 0 -NetAdapterName
$ManagementNetAdapterName -MinimumBandwidthMode Weight -Verbose

## Add VM Network Adapters and configure VLANs and IP addresses as needed
### Configure Management Adapter
$managementAdapter = Add-VMNetworkAdapter -SwitchName $ManagementSwitchName
-ManagementOS -Passthru -Name $ManagementAdapterName -Verbose
if ($ManagementVlanId -and ($ManagementVlanId -ne 0))
{
# Set VM Network adapter VLAN only if the VLAN ID specified is other than 0
Set-VMNetworkAdapterVlan -VMNetworkAdapter $managementAdapter -Access -VlanId
$ManagementVlanId -Verbose
Start-Sleep -Seconds 5
}
if ($ManagementIPAddress -ne 'DHCP')
{
$null = New-NetIPAddress -InterfaceAlias "vEthernet ($ManagementAdapterName)"
-IPAddress $ManagementIPAddress -DefaultGateway $ManagementGateway -PrefixLength
$ManagementAddressPrefix -Verbose
Set-DnsClientServerAddress -InterfaceAlias "vEthernet ($ManagementAdapterName)"
-ServerAddresses $ManagementDns -Verbose
}
{
# if there is a single VLAN for storage use the first and only element
if ($storageVlanId.Count -eq 1)
{
$storageVlan = $storageVlanId[0]
}
else
{
# else use the right index to get the VLAN ID
$storageVlan = $storageVlanId[$i]
}
# Check if only one prefix is provided
if ($StorageAddressPrefix.Count -eq 1)
{
$StoragePrefix = $StorageAddressPrefix[0]
}
else
{
# if more than one, use the right index to get the address prefix
$StoragePrefix = $StorageAddressPrefix[$i]
}
if ($storageVlan -and ($storageVlan -ne 0))
{
# Set VM Network adapter VLAN only if the VLAN ID specified is other than 0
Set-NetAdapterAdvancedProperty -Name $StorageNetAdapterName[$i] -DisplayName
'VLAN ID' -DisplayValue $storageVlan -Verbose
Start-Sleep -Seconds 5
}
if ($StorageIPAddress[$i] -ne 'DHCP')
{
$null = New-NetIPAddress -InterfaceAlias $StorageNetAdapterName[$i] -IPAddress
$StorageIPAddress[$i] -PrefixLength $StoragePrefix -Verbose
}
}


Videos

Article Properties


Affected Product

Dell EMC Cloud For Microsoft Azure Stack, Enterprise Hybrid Cloud

Product

Enterprise Hybrid Cloud

Last Published Date

27 Oct 2023

Version

8

Article Type

How To