Skip to content

Commit d8533b2

Browse files
authored
Merge pull request #50055 from v-steg/branch2
Clarified wording in steps
2 parents fdf6d7e + 73a7558 commit d8533b2

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

articles/service-fabric/service-fabric-tutorial-java-deploy-azure.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The following steps create the necessary resources required to deploy your appli
170170
Your SAS URL for the EventHubs follows the structure: https://<namespacename>.servicebus.windows.net/<eventhubsname>?sr=<sastoken>. For example,
171171
https://testeventhubnamespace.servicebus.windows.net/testeventhub?sr=https%3A%2F%testeventhub.servicebus.windows.net%testeventhub&sig=7AlFYnbvEm%2Bat8ALi54JqHU4i6imoFxkjKHS0zI8z8I%3D&se=1517354876&skn=sender
172172

173-
12. Open the *sfdeploy.parameters.json* file and replace the following contents from the preceding steps
173+
12. Open the *sfdeploy.parameters.json* file and replace the following contents from the preceding steps. [SAS-URL-STORAGE-ACCOUNT] was noted in step 8. [SAS-URL-EVENT-HUBS] was noted in step 11.
174174

175175
```json
176176
"applicationDiagnosticsStorageAccountName": {
@@ -184,7 +184,12 @@ The following steps create the necessary resources required to deploy your appli
184184
}
185185
```
186186

187-
13. Run the following command to create your Service Fabric cluster
187+
13. Opens **sfdeploy.parameters.json**. Change the following parameters and then save the file.
188+
- **clusterName**. Use only lower-case letters and numerals.
189+
- **adminUserName** (to a value other than blank)
190+
- **adminPassword** (to a value other than blank)
191+
192+
14. Run the following command to create your Service Fabric cluster
188193

189194
```bash
190195
az sf cluster create --location 'westus' --resource-group 'testlinux' --template-file sfdeploy.json --parameter-file sfdeploy.parameters.json --secret-identifier <certificate_url_from_step4>
@@ -203,13 +208,13 @@ The following steps create the necessary resources required to deploy your appli
203208
2. To deploy your application to this cluster, you must use SFCTL to establish a connection to the cluster. SFCTL requires a PEM file with both the public and private key to connect to the cluster. Run the following command to produce a PEM file with both the public and private key.
204209

205210
```bash
206-
openssl pkcs12 -in testservicefabric.westus.cloudapp.azure.com.pfx -out sfctlconnection.pem -nodes -passin pass:<password>
211+
openssl pkcs12 -in <clustername>.<region>.cloudapp.azure.com.pfx -out sfctlconnection.pem -nodes -passin pass:<password>
207212
```
208213

209214
3. Run the following command to connect to the cluster.
210215

211216
```bash
212-
sfctl cluster select --endpoint https://testlinuxcluster.westus.cloudapp.azure.com:19080 --pem sfctlconnection.pem --no-verify
217+
sfctl cluster select --endpoint https://<clustername>.<region>.cloudapp.azure.com:19080 --pem sfctlconnection.pem --no-verify
213218
```
214219
215220
4. To deploy your application, navigate to the *Voting/Scripts* folder and run the **install.sh** script.

0 commit comments

Comments
 (0)