0
votes

I am going through guide here: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-creation-for-windows-server

Section "Step 1B: Create a multi-machine cluster".

I have installed Cluster on one box and trying to use the same json (as per instructions) and trying to install it on another box so that i can have Cluster running on 2 VMs.

I am now getting this error when I run by TestConfig.ps1:

Previous Fabric installation detected on machine XXX. Please clean the machine.

Previous Fabric installation detected on machine XXX. Please clean the machine.

Data Root node Dev Box1 exists on machine XXX in \XXX\C$\ProgramData\SF\Dev Box1. This is an artifact from a previous installation - please delete the directory corresponding to this node.

1

1 Answers

1
votes

First, take a look on this link. These are the requirements for each cluster node that are need to be met if you want to create the cluster.

The error is pretty obvious. You most likely have already SF installed on the machine. So either you have SF runtime or some uncleaned cluster data there.

Your first try should be running CleanFabric powershell script from the SF standalone package on each node. It should clean all SF data (cluster, runtime, registry etc.). Try this and then run TestConfiguration script once again. If this does not help, you would have to go to each node and manually delete any SF data that TestConfiguration script is complaining about.