@@ -1082,7 +1082,7 @@ You can set either an Azure Consistent Services or a Network File System configu
1082
1082
"name": "Cluster Network 1",
1083
1083
"address": "192.168.0.0",
1084
1084
"subnet": "255.255.0.0",
1085
- "dhcpEnabled": true
1085
+ "dhcpEnabled": false
1086
1086
},
1087
1087
"isDhcpEnabled": false
1088
1088
},
@@ -1098,7 +1098,25 @@ You can set either an Azure Consistent Services or a Network File System configu
1098
1098
Get-DeviceVip | to-json
1099
1099
```
1100
1100
1101
- Here's sample output showing the initial state of **acsVIP setting "isDhcpEnabled": false** on the device:
1101
+ 1. Set the `DeviceVIP` property to enable DHCP.
1102
+
1103
+ ```azurepowershell
1104
+ $acsVip = New-Object PSObject -Property @{ Type = "ACS"; VipAddress = "192.168.181.10"; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1105
+ ```
1106
+
1107
+ 1. Update the device with the `DeviceVIP` property.
1108
+
1109
+ ```azurepowershell
1110
+ Set-DeviceVip -vip $acsVip
1111
+ ```
1112
+
1113
+ 1. Fetch the updated `DeviceVIP` configuration.
1114
+
1115
+ ```azurepowershell
1116
+ Get-DeviceVip | to-json
1117
+ ```
1118
+
1119
+ Here's sample output:
1102
1120
1103
1121
```output
1104
1122
{
@@ -1110,63 +1128,133 @@ You can set either an Azure Consistent Services or a Network File System configu
1110
1128
"name": "Cluster Network 1",
1111
1129
"address": "192.168.0.0",
1112
1130
"subnet": "255.255.0.0",
1113
- "dhcpEnabled": false
1131
+ "dhcpEnabled": true
1114
1132
},
1115
- "isDhcpEnabled": false
1133
+ "isDhcpEnabled": true
1116
1134
},
1117
1135
}
1136
+ PS C:\>
1137
+ ```
1138
+
1139
+ ### [Network File System](#tab/network-file-system)
1140
+
1141
+ ### Set a static Network File System configuration
1142
+
1143
+ 1. Fetch the `DeviceVIP` configuration.
1144
+ ```azurepowershell
1145
+ Get-DeviceVip | to-json
1118
1146
```
1119
1147
1120
1148
1. Set the `DeviceVIP` property to enable DHCP.
1121
1149
1122
1150
```azurepowershell
1123
- $acsVip = New-Object PSObject -Property @{ Type = "ACS "; VipAddress = "192.168.181.10" ; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1151
+ $nfsVip = New-Object PSObject -Property @{ Type = "NFS "; VipAddress = $null ; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $false }
1124
1152
```
1125
1153
1126
1154
1. Update the device with the `DeviceVIP` property.
1127
1155
1128
1156
```azurepowershell
1129
- Set-DeviceVip -vip $acsVip
1157
+ Set-DeviceVip -vip $nfsVip
1130
1158
```
1131
1159
1132
1160
1. Fetch the updated `DeviceVIP` configuration.
1133
1161
1134
1162
```azurepowershell
1135
1163
Get-DeviceVip | to-json
1136
1164
```
1165
+ Here is sample output:
1137
1166
1138
- Here's sample output showing the updated **acsVIP setting "isDhcpEnabled": true** on the device:
1139
-
1140
- ```output
1167
+ ```Output
1141
1168
{
1142
- "acsVIP ": {
1143
- "type": "ACS ",
1144
- "name": "Azure Consistent Services ",
1145
- "address": "192.168.181.10 ",
1169
+ "nfsVIP ": {
1170
+ "type": "NFS ",
1171
+ "name": "Network File System ",
1172
+ "address": "192.168.2.119 ",
1146
1173
"network": {
1147
1174
"name": "Cluster Network 1",
1148
1175
"address": "192.168.0.0",
1149
1176
"subnet": "255.255.0.0",
1150
- "dhcpEnabled": true
1177
+ "dhcpEnabled": false
1151
1178
},
1152
- "isDhcpEnabled": true
1179
+ "isDhcpEnabled": false
1153
1180
},
1154
- }
1181
+ "clusterNetworks": [
1182
+ {
1183
+ "name": "Cluster Network 1",
1184
+ "address": "192.168.0.0",
1185
+ "subnet": "255.255.0.0",
1186
+ "dhcpEnabled": false
1187
+ },
1188
+ {
1189
+ "name": "Cluster Network 4",
1190
+ "address": "10.126.72.0",
1191
+ "subnet": "255.255.248.0",
1192
+ "dhcpEnabled": false
1193
+ }
1194
+ ]
1195
+ }
1155
1196
PS C:\>
1156
1197
```
1157
1198
1158
- ### [ Network File System](#tab/network-file-system)
1199
+ ### Set a DHCP Network File System configuration
1159
1200
1160
- ### Set a static Network File System configuration
1161
- NFS content...
1201
+ 1. Fetch the `DeviceVIP` configuration.
1202
+ ```azurepowershell
1203
+ Get-DeviceVip | to-json
1204
+ ```
1162
1205
1163
- 1. Step 1 for static NFS.. .
1206
+ 1. Set the `DeviceVIP` property to enable DHCP .
1164
1207
1165
- ### Set a DHCP Network File System configuration
1208
+ ```azurepowershell
1209
+ $nfsVip = New-Object PSObject -Property @{ Type = "NFS"; VipAddress = $null; ClusterNetworkAddress = "192.168.0.0"; IsDhcpEnabled = $true }
1210
+ ```
1211
+
1212
+ 1. Update the device with the `DeviceVIP` property.
1213
+
1214
+ ```azurepowershell
1215
+ Set-DeviceVip -vip $nfsVip
1216
+ ```
1166
1217
1167
- NFS content for...
1218
+ 1. Fetch the updated `DeviceVIP` configuration.
1219
+
1220
+ ```azurepowershell
1221
+ Get-DeviceVip | to-json
1222
+ ```
1223
+
1224
+ Here's sample output:
1225
+
1226
+ ```output
1227
+ {
1228
+ "nfsVIP": {
1229
+ "type": "NFS",
1230
+ "name": "Network File System",
1231
+ "address": "192.168.2.119",
1232
+ "network": {
1233
+ "name": "Cluster Network 1",
1234
+ "address": "192.168.0.0",
1235
+ "subnet": "255.255.0.0",
1236
+ "dhcpEnabled": true
1237
+ },
1238
+ "isDhcpEnabled": true
1239
+ },
1240
+ "clusterNetworks": [
1241
+ {
1242
+ "name": "Cluster Network 1",
1243
+ "address": "192.168.0.0",
1244
+ "subnet": "255.255.0.0",
1245
+ "dhcpEnabled": true
1246
+ },
1247
+ {
1248
+ "name": "Cluster Network 4",
1249
+ "address": "10.126.72.0",
1250
+ "subnet": "255.255.248.0",
1251
+ "dhcpEnabled": true
1252
+ }
1253
+ ]
1254
+ }
1255
+ PS C:\>
1256
+ ```
1168
1257
1169
- 1. Step 1 for DHCP NFS...
1170
1258
---
1171
1259
1172
1260
## Troubleshooting
0 commit comments