Skip to content

Commit 06b2cc1

Browse files
committed
Updated syntax and sample output for VIP configurations
1 parent 88aaf6d commit 06b2cc1

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

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

Lines changed: 17 additions & 14 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/03/2023
9+
ms.date: 03/07/2023
1010
ms.author: alkohli
1111
---
1212
# Use a config file to deploy an Azure Stack Edge device
@@ -189,6 +189,8 @@ Once a config.json file has been created, as shown in the previous example, with
189189
> [!NOTE]
190190
> Use a config.json file that meets the needs of your organization. [Sample JSON files are available here](https://github.com/Azure-Samples/azure-stack-edge-deploy-vms/tree/master/PowerShellBasedConfiguration/).
191191
192+
### Configure a single-node device
193+
192194
This sequence of PowerShell cmdlets signs in to the device, applies device configuration settings from a JSON file, verifies completion of the operation, and then fetches the new device configuration.
193195

194196
Run the following cmdlets in PowerShell:
@@ -256,6 +258,7 @@ Run the following cmdlets in PowerShell:
256258
```azurepowershell
257259
Get-DeviceConfiguration | To-json
258260
```
261+
### Configure a two-node device
259262

260263
This sequence of PowerShell cmdlets signs in to a two-node device, applies device configuration settings from a JSON file, verifies completion of the operation, and then fetches the new device configuration.
261264

@@ -1035,13 +1038,13 @@ Use the following steps to sign in to the device and run device diagnostics to v
10351038
> [!NOTE]
10361039
> Two-node configurations are only supported on Azure Stack Edge Pro GPU and Azure Stack Edge Pro 2 devices.
10371040
1038-
For Azure consistent services and NFS, define a virtual IP that allows you to connect to a clustered device as opposed to a specific node. A virtual IP is an available IP in the cluster network and any client connecting to the cluster network on the two-node device should be able to access this IP.
1041+
For Azure consistent services and NFS, define a virtual IP that allows you to connect to a clustered device instead of a specific node. A virtual IP is an available IP in the cluster network. Any client connecting to the cluster network on the two-node device should be able to access this IP.
10391042

10401043
You can set either an ACS or an NFS configuration. Additional options include static or DHCP network settings. For more information about setting virtual IPs, see [Configure virtual IPs](azure-stack-edge-pro-2-deploy-configure-network-compute-web-proxy.md#configure-virtual-ips).
10411044

10421045
Use the following steps to set the `DeviceVIP` configuration on a two-node Azure Stack Edge device.
10431046

1044-
The example below shows a static ACS configuration, followed by an example that shows a DHCP configuration.
1047+
The example below shows a static ACS configuration, followed by an example that shows a configuration with DHCP enabled.
10451048

10461049
1. Sign in to the device.
10471050

@@ -1131,7 +1134,7 @@ The example below shows a static ACS configuration, followed by an example that
11311134
11321135
Use the following steps to set the `DeviceVIP` configuration on a two-node Azure Stack Edge device.
11331136
1134-
The example below shows a DHCP configuration.
1137+
The example below shows a sequence of steps to enable DHCP.
11351138
11361139
1. Sign in to the device.
11371140
@@ -1151,7 +1154,7 @@ The example below shows a DHCP configuration.
11511154
Get-DeviceVip | to-json
11521155
```
11531156
1154-
Here's sample output showing **nfsVIP setting "isDhcpEnabled": false** on the device:
1157+
Here's sample output showing the initial state of **acsVIP setting "isDhcpEnabled": false** on the device:
11551158
11561159
```output
11571160
{
@@ -1163,7 +1166,7 @@ The example below shows a DHCP configuration.
11631166
"name": "Cluster Network 1",
11641167
"address": "192.168.0.0",
11651168
"subnet": "255.255.0.0",
1166-
"dhcpEnabled": true
1169+
"dhcpEnabled": false
11671170
},
11681171
"isDhcpEnabled": false
11691172
},
@@ -1179,7 +1182,7 @@ The example below shows a DHCP configuration.
11791182
"name": "Cluster Network 1",
11801183
"address": "192.168.0.0",
11811184
"subnet": "255.255.0.0",
1182-
"dhcpEnabled": true
1185+
"dhcpEnabled": false
11831186
},
11841187
{
11851188
"name": "Cluster Network 2",
@@ -1191,7 +1194,7 @@ The example below shows a DHCP configuration.
11911194
"name": "Cluster Network 3",
11921195
"address": "10.126.72.0",
11931196
"subnet": "255.255.248.0",
1194-
"dhcpEnabled": true
1197+
"dhcpEnabled": false
11951198
}
11961199
]
11971200
}
@@ -1200,21 +1203,21 @@ The example below shows a DHCP configuration.
12001203
1. Set the `DeviceVIP` property to enable DHCP.
12011204
12021205
```azurepowershell
1203-
$nfsVip = New-Object PSObject -Property @{ Type = "NFS"; VipAddress = "192.168.181.10"; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1206+
$acsVip = New-Object PSObject -Property @{ Type = "ACS"; VipAddress = "192.168.181.10"; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
12041207
```
12051208
12061209
1. Update the device with the `DeviceVIP` property.
12071210
12081211
```azurepowershell
1209-
Set-DeviceVip -vip $nfsVip
1212+
Set-DeviceVip -vip $acsVip
12101213
```
12111214
12121215
Here's sample output:
12131216
12141217
```output
12151218
acsVIP nfsVIP
12161219
------ ------
1217-
@{type=ACS; name=Azure Consistent Services; address=192.168.181.10; network=; isDhcpEnabled=False} @{type=NFS; name=Network File System; address=192.168.3.63; network=; ...
1220+
@{type=ACS; name=Azure Consistent Services; address=192.168.181.10; network=; isDhcpEnabled=True} @{type=NFS; name=Network File System; address=192.168.3.63; network=; ...
12181221
}
12191222
```
12201223
@@ -1224,7 +1227,7 @@ The example below shows a DHCP configuration.
12241227
Get-DeviceVip | to-json
12251228
```
12261229
1227-
Here's sample output showing **nfsVIP setting "isDhcpEnabled": true** on the device::
1230+
Here's sample output showing the updated **acsVIP setting "isDhcpEnabled": true** on the device:
12281231
12291232
```output
12301233
{
@@ -1238,7 +1241,7 @@ The example below shows a DHCP configuration.
12381241
"subnet": "255.255.0.0",
12391242
"dhcpEnabled": true
12401243
},
1241-
"isDhcpEnabled": false
1244+
"isDhcpEnabled": true
12421245
},
12431246
"nfsVIP": {
12441247
"type": "NFS",
@@ -1263,7 +1266,7 @@ The example below shows a DHCP configuration.
12631266
"name": "Cluster Network 2",
12641267
"address": "10.139.218.0",
12651268
"subnet": "255.255.255.0",
1266-
"dhcpEnabled": false
1269+
"dhcpEnabled": true
12671270
},
12681271
{
12691272
"name": "Cluster Network 3",

0 commit comments

Comments
 (0)