Last active
March 16, 2021 07:24
-
-
Save kggayo/f86174c98c493520cfd12a95c26ee1d3 to your computer and use it in GitHub Desktop.
Change Service Fabric Cluster Directory Location
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Open powershell as admin and cd to "C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup" | |
2. Run command: ".\DevClusterSetup.ps1 -PathToClusterDataRoot D:\SFDevCluster -PathToClusterLogRoot D:\SFDevCluster -CreateOneNodeCluster". | |
Change the parameter path in "-PathToClusterLogRoot" and "-PathToClusterDataRoot" to desired directory. | |
Remove "-CreateOneNodeCluster" argument to setup 5 nodes. | |
3. Open Service Fabric Local Cluster Manager in "C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager\ServiceFabricLocalClusterManager.exe" | |
**NOTE:** | |
Reset local cluster by running the command in Step 2 and not in Service Fabric Local Cluster Manager because it will create the local cluster in default drive which is C drive. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment