You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/blockchain/templates/hyperledger-fabric-consortium-azure-kubernetes-service.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,11 +113,11 @@ The deployment usually takes 10-12 minutes, might vary depending on the size and
113
113
To build the blockchain consortium post deploying the ordering service and peer nodes, you need to carry out the below steps in sequence. Azure HLF script (azhlf), which helps you with setting up the consortium, creating channel, and chaincode operations.
114
114
115
115
> [!NOTE]
116
-
> Azure HLF (azhlf) script provided is to help with demo/DevTest scenarios only. Channel and consortium created by this script has basic HLF policies to simplify demo/DevTest scenario. For production setup, we recommend updating channel/consortium HLF policies in line with your organization compliance needs using the native HLF APIs.
116
+
> There is an update in the script, this update is to provide more functionality with Azure HLF script. If you want to refer to the old script, [see here](https://github.com/Azure/Hyperledger-Fabric-on-Azure-Kubernetes-Service/blob/master/consortiumScripts/README.md). This script is compatible with Hyperledger Fabric on Azure Kubernetes Service template version 2.0.0 and above. To check the version of the deployment, follow the steps in [Troubleshoot](#troubleshoot).
117
117
118
+
> [!NOTE]
119
+
> Azure HLF (azhlf) script provided is to help with demo/DevTest scenarios only. Channel and consortium created by this script has basic HLF policies to simplify demo/DevTest scenario. For production setup, we recommend updating channel/consortium HLF policies in line with your organization compliance needs using the native HLF APIs.
118
120
119
-
>[!NOTE]
120
-
> There is an update in the script and this update is to provide more functionlaity with Azure HLF script. If you want to refer to the old script, [see here](https://github.com/Azure/Hyperledger-Fabric-on-Azure-Kubernetes-Service/blob/master/consortiumScripts/README.md).
121
121
122
122
All the commands to run the Azure HLF script can be executed through Azure Bash Command Line. Interface (CLI). You can login into Azure shell web version through  option at the top-right corner of the Azure portal. On the command prompt, type bash and enter to switch to bash CLI.
123
123
@@ -126,7 +126,6 @@ See [Azure shell](https://docs.microsoft.com/azure/cloud-shell/overview) for mor
126
126

127
127
128
128
129
-
130
129
The following image shows the step-by-step process to build consortium between an orderer organization and peer organization. Detailed commands to execute these steps are captured in the following sections.
131
130
132
131

@@ -392,3 +391,25 @@ Execute below command to query chaincode:
Pass query function name and space separated list of arguments in `<queryFunction>` and `<queryFuncArgs>` respectively. Again, taking chaincode_example02.go chaincode as reference, to query value of “a” in the world state set `<queryFunction>` to `query` and `<queryArgs>` to “a”.
394
+
395
+
## Troubleshoot
396
+
397
+
**To verify the running template version**
398
+
399
+
Run the below commands to find the version of your template deployment.
400
+
401
+
Set below environment variables as per the resource group where template has been deployed.
402
+
403
+
```bash
404
+
405
+
SWITCH_TO_AKS_CLUSTER() { az aks get-credentials --resource-group $1 --name $2 --subscription $3; }
0 commit comments