From cb36614f2a6c881a058b6dd7654d5ddebdd27fb4 Mon Sep 17 00:00:00 2001 From: joe-alewine Date: Mon, 16 Nov 2020 16:12:00 -0500 Subject: [PATCH] Add persistent volume note to peer deploy guide Change-Id: I54defff6b0d68953e3f4c3220faee01b4947a904 Signed-off-by: joe-alewine (cherry picked from commit ab55d501517e3092c394e3622025178e0fed8ac7) --- docs/source/deploypeer/peerchecklist.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/deploypeer/peerchecklist.md b/docs/source/deploypeer/peerchecklist.md index 70d4995452c..92ad821f2c6 100644 --- a/docs/source/deploypeer/peerchecklist.md +++ b/docs/source/deploypeer/peerchecklist.md @@ -89,7 +89,7 @@ address: 0.0.0.0:7051 mspConfigPath: msp ``` - **`mspConfigPath`**: (Default value should be overridden.) This is the path to the peer's local MSP, which must be created before the peer can be deployed. The path can be absolute or relative to `FABRIC_CFG_PATH` (by default, it is `/etc/hyperledger/fabric` in the peer image). Unless an absolute path is specified to a folder named something other than "msp", the peer defaults to looking for a folder called “msp” at the path (in other words, `FABRIC_CFG_PATH/msp`) and when using the peer image: `/etc/hyperledger/fabric/msp`. If you are using the recommended folder structure described in the [Registering and enrolling identities with a CA](https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/deployguide/use_CA.html) topic, it would be relative to the FABRIC_CFG_PATH as follows: -`config/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp` +`config/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp`. **The best practice is to store this data in persistent storage**. This prevents the MSP from being lost if your peer containers are destroyed for some reason. ## peer.localMspId ``` @@ -112,7 +112,7 @@ localMspId: SampleOrg # modification that might corrupt the peer operations. fileSystemPath: /var/hyperledger/production ``` -- **`fileSystemPath`**: (Default value should be overridden.) This is the path to the ledger and installed chaincodes on the local filesystem of the peer. It can be an absolute path or relative to `FABRIC_CFG_PATH`. It defaults to `/var/hyperledger/production`. The user running the peer needs to own and have write access to this directory. +- **`fileSystemPath`**: (Default value should be overridden.) This is the path to the ledger and installed chaincodes on the local filesystem of the peer. It can be an absolute path or relative to `FABRIC_CFG_PATH`. It defaults to `/var/hyperledger/production`. The user running the peer needs to own and have write access to this directory. **The best practice is to store this data in persistent storage**. This prevents the ledger and any installed chaincodes from being lost if your peer containers are destroyed for some reason. ## peer.gossip.*