Skip to content

Commit 2e6107a

Browse files
committed
Updated VIP scenarios w/ syntax and sample output x4
1 parent 78a00b8 commit 2e6107a

File tree

1 file changed

+31
-59
lines changed

1 file changed

+31
-59
lines changed

articles/databox-online/azure-stack-edge-powershell-based-configuration.md

Lines changed: 31 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: alkohli
66
ms.service: databox
77
ms.subservice: edge
88
ms.topic: article
9-
ms.date: 03/16/2023
9+
ms.date: 03/17/2023
1010
ms.author: alkohli
1111
---
1212
# Use a config file to deploy an Azure Stack Edge device
@@ -1014,7 +1014,7 @@ You can set either an Azure Consistent Services or a Network File System configu
10141014
1. Set the `DeviceVIP` property with a static Azure Consistent Services configuration.
10151015
10161016
```azurepowershell
1017-
$acsVip = New-Object PSObject -Property @{ Type = "ACS"; VipAddress = "192.168.181.10"; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $false }
1017+
$acsVip = New-Object PSObject -Property @{ Type = "ACS"; VipAddress = "10.57.51.32"; ClusterNetworkAddress = "10.57.48.0"; IsDhcpEnabled = $false }
10181018
```
10191019
10201020
1. Update the device with the `DeviceVIP` property.
@@ -1032,19 +1032,19 @@ You can set either an Azure Consistent Services or a Network File System configu
10321032
Here's sample output:
10331033
10341034
```output
1035-
{
1036-
"acsVIP": {
1035+
{
1036+
"acsVIP": {
10371037
"type": "ACS",
10381038
"name": "Azure Consistent Services",
1039-
"address": "192.168.181.10",
1039+
"address": "10.57.51.32",
10401040
"network": {
1041-
"name": "Cluster Network 1",
1042-
"address": "192.168.0.0",
1043-
"subnet": "255.255.0.0",
1041+
"name": "Cluster Network 3",
1042+
"address": "10.57.48.0",
1043+
"subnet": "255.255.248.0",
10441044
"dhcpEnabled": false
10451045
},
10461046
"isDhcpEnabled": false
1047-
},
1047+
}
10481048
}
10491049
PS C:\>
10501050
```
@@ -1060,7 +1060,7 @@ You can set either an Azure Consistent Services or a Network File System configu
10601060
1. Set the `DeviceVIP` property to enable DHCP.
10611061
10621062
```azurepowershell
1063-
$acsVip = New-Object PSObject -Property @{ Type = "ACS"; VipAddress = "192.168.181.10"; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1063+
$acsVip = New-Object PSObject -Property @{ Type = "ACS"; VipAddress = "10.57.51.32"; ClusterNetworkAddress = "10.57.48.0"; IsDhcpEnabled = $true }
10641064
```
10651065
10661066
1. Update the device with the `DeviceVIP` property.
@@ -1082,11 +1082,11 @@ You can set either an Azure Consistent Services or a Network File System configu
10821082
"acsVIP": {
10831083
"type": "ACS",
10841084
"name": "Azure Consistent Services",
1085-
"address": "192.168.181.10",
1085+
"address": "10.57.52.126",
10861086
"network": {
1087-
"name": "Cluster Network 1",
1088-
"address": "192.168.0.0",
1089-
"subnet": "255.255.0.0",
1087+
"name": "Cluster Network 3",
1088+
"address": "10.57.48.0",
1089+
"subnet": "255.255.248.0",
10901090
"dhcpEnabled": true
10911091
},
10921092
"isDhcpEnabled": true
@@ -1107,7 +1107,7 @@ You can set either an Azure Consistent Services or a Network File System configu
11071107
1. Set the `DeviceVIP` property to enable DHCP.
11081108
11091109
```azurepowershell
1110-
$nfsVip = New-Object PSObject -Property @{ Type = "NFS"; VipAddress = $null; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $false }
1110+
$nfsVip = New-Object PSObject -Property @{ Type = "NFS"; VipAddress = "10.57.53.215"; ClusterNetworkAddress = "10.57.48.0"; IsDhcpEnabled = $false }
11111111
```
11121112
11131113
1. Update the device with the `DeviceVIP` property.
@@ -1125,32 +1125,18 @@ You can set either an Azure Consistent Services or a Network File System configu
11251125
11261126
```Output
11271127
{
1128-
"nfsVIP": {
1128+
"nfsVIP": {
11291129
"type": "NFS",
11301130
"name": "Network File System",
1131-
"address": "192.168.2.119",
1131+
"address": "10.57.53.215",
11321132
"network": {
1133-
"name": "Cluster Network 1",
1134-
"address": "192.168.0.0",
1135-
"subnet": "255.255.0.0",
1133+
"name": "Cluster Network 3",
1134+
"address": "10.57.48.0",
1135+
"subnet": "255.255.248.0",
11361136
"dhcpEnabled": false
11371137
},
11381138
"isDhcpEnabled": false
1139-
},
1140-
"clusterNetworks": [
1141-
{
1142-
"name": "Cluster Network 1",
1143-
"address": "192.168.0.0",
1144-
"subnet": "255.255.0.0",
1145-
"dhcpEnabled": false
1146-
},
1147-
{
1148-
"name": "Cluster Network 4",
1149-
"address": "10.126.72.0",
1150-
"subnet": "255.255.248.0",
1151-
"dhcpEnabled": false
1152-
}
1153-
]
1139+
}
11541140
}
11551141
PS C:\>
11561142
```
@@ -1165,7 +1151,7 @@ You can set either an Azure Consistent Services or a Network File System configu
11651151
1. Set the `DeviceVIP` property to enable DHCP.
11661152
11671153
```azurepowershell
1168-
$nfsVip = New-Object PSObject -Property @{ Type = "NFS"; VipAddress = $null; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1154+
$nfsVip = New-Object PSObject -Property @{ Type = "NFS"; VipAddress = "10.57.53.215"; ClusterNetworkAddress = "10.57.48.0"; IsDhcpEnabled = $true }
11691155
```
11701156
11711157
1. Update the device with the `DeviceVIP` property.
@@ -1185,31 +1171,17 @@ You can set either an Azure Consistent Services or a Network File System configu
11851171
```output
11861172
{
11871173
"nfsVIP": {
1188-
"type": "NFS",
1189-
"name": "Network File System",
1190-
"address": "192.168.2.119",
1191-
"network": {
1192-
"name": "Cluster Network 1",
1193-
"address": "192.168.0.0",
1194-
"subnet": "255.255.0.0",
1195-
"dhcpEnabled": true
1196-
},
1197-
"isDhcpEnabled": true
1198-
},
1199-
"clusterNetworks": [
1200-
{
1201-
"name": "Cluster Network 1",
1202-
"address": "192.168.0.0",
1203-
"subnet": "255.255.0.0",
1204-
"dhcpEnabled": true
1205-
},
1206-
{
1207-
"name": "Cluster Network 4",
1208-
"address": "10.126.72.0",
1174+
"type": "NFS",
1175+
"name": "Network File System",
1176+
"address": "10.57.50.196",
1177+
"network": {
1178+
"name": "Cluster Network 3",
1179+
"address": "10.57.48.0",
12091180
"subnet": "255.255.248.0",
12101181
"dhcpEnabled": true
1211-
}
1212-
]
1182+
},
1183+
"isDhcpEnabled": true
1184+
}
12131185
}
12141186
PS C:\>
12151187
```

0 commit comments

Comments
 (0)