@@ -1075,6 +1075,7 @@ The example below shows a static ACS configuration, followed by an example that
1075
1075
acsVIP nfsVIP
1076
1076
------ ------
1077
1077
@{type=ACS; name=Azure Consistent Services; address=192.168.181.10; network=; isDhcpEnabled=False} @{type=NFS; name=Network File Syst...
1078
+ }
1078
1079
```
1079
1080
1080
1081
1. Fetch the updated `DeviceVIP` configuration.
@@ -1146,26 +1147,71 @@ The example below shows a DHCP configuration.
1146
1147
Get-DeviceVip | to-json
1147
1148
```
1148
1149
1149
- 1. Set the `DeviceVIP` property with DHCP enabled.
1150
+ Here's sample output showing **nfsVIP setting "isDhcpEnabled": false** on the device:
1151
+
1152
+ ```output
1153
+ {
1154
+ "acsVIP": {
1155
+ "type": "ACS",
1156
+ "name": "Azure Consistent Services",
1157
+ "address": "192.168.181.10",
1158
+ "network": {
1159
+ "name": "Cluster Network 1",
1160
+ "address": "192.168.0.0",
1161
+ "subnet": "255.255.0.0",
1162
+ "dhcpEnabled": true
1163
+ },
1164
+ "isDhcpEnabled": false
1165
+ },
1166
+ "nfsVIP": {
1167
+ "type": "NFS",
1168
+ "name": "Network File System",
1169
+ "address": null,
1170
+ "network": null,
1171
+ "isDhcpEnabled": false
1172
+ },
1173
+ "clusterNetworks": [
1174
+ {
1175
+ "name": "Cluster Network 1",
1176
+ "address": "192.168.0.0",
1177
+ "subnet": "255.255.0.0",
1178
+ "dhcpEnabled": true
1179
+ },
1180
+ {
1181
+ "name": "Cluster Network 2",
1182
+ "address": "10.139.218.0",
1183
+ "subnet": "255.255.255.0",
1184
+ "dhcpEnabled": false
1185
+ },
1186
+ {
1187
+ "name": "Cluster Network 3",
1188
+ "address": "10.126.72.0",
1189
+ "subnet": "255.255.248.0",
1190
+ "dhcpEnabled": true
1191
+ }
1192
+ ]
1193
+ }
1194
+ ```
1195
+
1196
+ 1. Set the `DeviceVIP` property to enable DHCP.
1150
1197
1151
1198
```azurepowershell
1152
- $acsVip = New-Object PSObject -Property @{ Type = "ACS "; VipAddress = "192.168.181.10"; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1199
+ $nfsVip = New-Object PSObject -Property @{ Type = "NFS "; VipAddress = "192.168.181.10"; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1153
1200
```
1154
1201
1155
1202
1. Update the device with the `DeviceVIP` property.
1156
1203
1157
1204
```azurepowershell
1158
- Set-DeviceVip -vip $acsVip
1205
+ Set-DeviceVip -vip $nfsVip
1159
1206
```
1160
1207
1161
- Here is sample output:
1208
+ Here's sample output:
1162
1209
1163
1210
```output
1164
- acsVIP nfsVIP
1165
- ------ ------
1166
- @{type=ACS; name=Azure Consistent Services; address=192.168.2.8; network=; isDhcpEnabled=True} @{ty...
1167
-
1168
- PS C:\>
1211
+ acsVIP nfsVIP
1212
+ ------ ------
1213
+ @{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=; ...
1214
+ }
1169
1215
```
1170
1216
1171
1217
1. Fetch the updated `DeviceVIP` configuration.
@@ -1174,28 +1220,33 @@ The example below shows a DHCP configuration.
1174
1220
Get-DeviceVip | to-json
1175
1221
```
1176
1222
1177
- Here is sample output:
1223
+ Here's sample output:
1178
1224
1179
1225
```output
1180
1226
{
1181
1227
"acsVIP": {
1182
1228
"type": "ACS",
1183
1229
"name": "Azure Consistent Services",
1184
- "address": "192.168.2.8 ",
1230
+ "address": "192.168.181.10 ",
1185
1231
"network": {
1186
1232
"name": "Cluster Network 1",
1187
1233
"address": "192.168.0.0",
1188
1234
"subnet": "255.255.0.0",
1189
1235
"dhcpEnabled": true
1190
1236
},
1191
- "isDhcpEnabled": true
1237
+ "isDhcpEnabled": false
1192
1238
},
1193
1239
"nfsVIP": {
1194
1240
"type": "NFS",
1195
1241
"name": "Network File System",
1196
- "address": null,
1197
- "network": null,
1198
- "isDhcpEnabled": false
1242
+ "address": "192.168.3.63",
1243
+ "network": {
1244
+ "name": "Cluster Network 1",
1245
+ "address": "192.168.0.0",
1246
+ "subnet": "255.255.0.0",
1247
+ "dhcpEnabled": true
1248
+ },
1249
+ "isDhcpEnabled": true
1199
1250
},
1200
1251
"clusterNetworks": [
1201
1252
{
@@ -1205,14 +1256,21 @@ The example below shows a DHCP configuration.
1205
1256
"dhcpEnabled": true
1206
1257
},
1207
1258
{
1208
- "name": "Cluster Network 4",
1259
+ "name": "Cluster Network 2",
1260
+ "address": "10.139.218.0",
1261
+ "subnet": "255.255.255.0",
1262
+ "dhcpEnabled": false
1263
+ },
1264
+ {
1265
+ "name": "Cluster Network 3",
1209
1266
"address": "10.126.72.0",
1210
1267
"subnet": "255.255.248.0",
1211
1268
"dhcpEnabled": true
1212
1269
}
1213
1270
]
1214
1271
}
1215
1272
PS C:\>
1273
+
1216
1274
```
1217
1275
1218
1276
## Troubleshooting
0 commit comments