Skip to content

Commit 72b2683

Browse files
committed
Update cluster creation instructions
1 parent d6c054b commit 72b2683

File tree

1 file changed

+36
-5
lines changed

1 file changed

+36
-5
lines changed

articles/operator-nexus/howto-configure-cluster.md

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,35 @@ You should create the Network Fabric before this on-premises deployment.
3939
Each Operator Nexus on-premises instance has a one-to-one association
4040
with a Network Fabric.
4141

42-
### Create the Cluster using Azure CLI:
42+
### Create the Cluster using Azure CLI - single storage appliance:
43+
44+
>[!IMPORTANT]
45+
>This command creates the cluster for a Nexus instance that contains a single storage appliance. If you run it against an instance with two storage appliances the second appliance will not be configured. Follow [the instructions for multiple storage appliances](#create-the-cluster-using-azure-cli---multiple-storage-appliances) if your Nexus instance includes two storage appliances.
46+
47+
```azurecli
48+
az networkcloud cluster create --name "$CLUSTER_NAME" --location "$LOCATION" \
49+
--extended-location name="$CL_NAME" type="CustomLocation" \
50+
--resource-group "$CLUSTER_RG" \
51+
--analytics-workspace-id "$LAW_ID" \
52+
--cluster-location "$CLUSTER_LOCATION" \
53+
--network-rack-id "$AGGR_RACK_RESOURCE_ID" \
54+
--rack-sku-id "$AGGR_RACK_SKU"\
55+
--rack-serial-number "$AGGR_RACK_SN" \
56+
--rack-location "$AGGR_RACK_LOCATION" \
57+
--bare-metal-machine-configuration-data "["$AGGR_RACK_BMM"]" \
58+
--storage-appliance-configuration-data '[{"adminCredentials":{"password":"$SA1_PASS","username":"$SA_USER"},"rackSlot":1,"serialNumber":"$SA1_SN","storageApplianceName":"$SA1_NAME"}]' \
59+
--compute-rack-definitions '[{"networkRackId": "$COMPX_RACK_RESOURCE_ID", "rackSkuId": "$COMPX_RACK_SKU", "rackSerialNumber": "$COMPX_RACK_SN", "rackLocation": "$COMPX_RACK_LOCATION", "storageApplianceConfigurationData": [], "bareMetalMachineConfigurationData":[{"bmcCredentials": {"password":"$COMPX_SVRY_BMC_PASS", "username":"$COMPX_SVRY_BMC_USER"}, "bmcMacAddress":"$COMPX_SVRY_BMC_MAC", "bootMacAddress":"$COMPX_SVRY_BOOT_MAC", "machineDetails":"$COMPX_SVRY_SERVER_DETAILS", "machineName":"$COMPX_SVRY_SERVER_NAME"}]}]'\
60+
--managed-resource-group-configuration name="$MRG_NAME" location="$MRG_LOCATION" \
61+
--network fabric-id "$NF_ID" \
62+
--cluster-service-principal application-id="$SP_APP_ID" \
63+
password="$SP_PASS" principal-id="$SP_ID" tenant-id="$TENANT_ID" \
64+
--subscription "$SUBSCRIPTION_ID" \
65+
--secret-archive "{key-vault-id:$KVRESOURCE_ID, use-key-vault:true}" \
66+
--cluster-type "$CLUSTER_TYPE" --cluster-version "$CLUSTER_VERSION" \
67+
--tags $TAG_KEY1="$TAG_VALUE1" $TAG_KEY2="$TAG_VALUE2"
68+
```
69+
70+
### Create the Cluster using Azure CLI - multiple storage appliances:
4371

4472
```azurecli
4573
az networkcloud cluster create --name "$CLUSTER_NAME" --location "$LOCATION" \
@@ -52,7 +80,7 @@ az networkcloud cluster create --name "$CLUSTER_NAME" --location "$LOCATION" \
5280
--rack-serial-number "$AGGR_RACK_SN" \
5381
--rack-location "$AGGR_RACK_LOCATION" \
5482
--bare-metal-machine-configuration-data "["$AGGR_RACK_BMM"]" \
55-
--storage-appliance-configuration-data '[{"adminCredentials":{"password":"$SA_PASS","username":"$SA_USER"},"rackSlot":1,"serialNumber":"$SA_SN","storageApplianceName":"$SA_NAME"}]' \
83+
--storage-appliance-configuration-data '[{"adminCredentials":{"password":"$SA1_PASS","username":"$SA_USER"},"rackSlot":1,"serialNumber":"$SA1_SN","storageApplianceName":"$SA1_NAME"},{"adminCredentials":{"password":"$SA2_PASS","username":"$SA_USER"},"rackSlot":1,"serialNumber":"$SA2_SN","storageApplianceName":"$SA2_NAME"}]' \
5684
--compute-rack-definitions '[{"networkRackId": "$COMPX_RACK_RESOURCE_ID", "rackSkuId": "$COMPX_RACK_SKU", "rackSerialNumber": "$COMPX_RACK_SN", "rackLocation": "$COMPX_RACK_LOCATION", "storageApplianceConfigurationData": [], "bareMetalMachineConfigurationData":[{"bmcCredentials": {"password":"$COMPX_SVRY_BMC_PASS", "username":"$COMPX_SVRY_BMC_USER"}, "bmcMacAddress":"$COMPX_SVRY_BMC_MAC", "bootMacAddress":"$COMPX_SVRY_BOOT_MAC", "machineDetails":"$COMPX_SVRY_SERVER_DETAILS", "machineName":"$COMPX_SVRY_SERVER_NAME"}]}]'\
5785
--managed-resource-group-configuration name="$MRG_NAME" location="$MRG_LOCATION" \
5886
--network fabric-id "$NF_ID" \
@@ -79,10 +107,13 @@ az networkcloud cluster create --name "$CLUSTER_NAME" --location "$LOCATION" \
79107
| AGGR_RACK_SN | Rack Serial Number for Aggregator Rack |
80108
| AGGR_RACK_LOCATION | Rack physical location for Aggregator Rack |
81109
| AGGR_RACK_BMM | Used for single rack deployment only, empty for multi-rack |
82-
| SA_NAME | Storage Appliance Device name |
83-
| SA_PASS | Storage Appliance admin password |
110+
| SA1_NAME | First Storage Appliance Device name |
111+
| SA2_NAME | Second Storage Appliance Device name |
112+
| SA1_PASS | First Storage Appliance admin password |
113+
| SA2_PASS | Second Storage Appliance admin password |
84114
| SA_USER | Storage Appliance admin user |
85-
| SA_SN | Storage Appliance Serial Number |
115+
| SA1_SN | First Storage Appliance Serial Number |
116+
| SA2_SN | Second Storage Appliance Serial Number |
86117
| COMPX_RACK_RESOURCE_ID | RackID for CompX Rack; repeat for each rack in compute-rack-definitions |
87118
| COMPX_RACK_SKU | Rack SKU for CompX Rack; repeat for each rack in compute-rack-definitions \*See [Operator Nexus Network Cloud SKUs](./reference-operator-nexus-skus.md) |
88119
| COMPX_RACK_SN | Rack Serial Number for CompX Rack; repeat for each rack in compute-rack-definitions |

0 commit comments

Comments
 (0)