Adding a node after performing deletion of node state in a Service Fabric cluster
I have a very strange problem.
I had a Service Fabric cluster of 5 nodes and they are all part of the same set of VM scales. There was a problem with one of the node, so I removed it from explorer by clicking Remove node state. This removed the node from the cluster.
Now my cluster only has 4 nodes.
However, I added another node to the VM scale using the ARM template.
I would like to add this node to the service structure cluster and I cannot do it.
When I execute powershell command "Get-ServiceFabricClusterManifest", it shows all nodes in the "Voting" node.
<Infrastructure>
<PaaS>
<Roles>
<Role RoleName="vmnode" NodeTypeRef="vmnode" RoleNodeCount="5" />
</Roles>
<Votes>
<Vote NodeName="_vmnode_0" IPAddressOrFQDN="10.1.10.9" Port="1025" />
<Vote NodeName="_vmnode_1" IPAddressOrFQDN="10.1.10.10" Port="1025" />
<Vote NodeName="_vmnode_2" IPAddressOrFQDN="10.1.10.11" Port="1025" />
<Vote NodeName="_vmnode_3" IPAddressOrFQDN="10.1.10.12" Port="1025" />
<Vote NodeName="_vmnode_4" IPAddressOrFQDN="10.1.10.13" Port="1025" />
</Votes>
</PaaS>
</Infrastructure>
But when I run Get-ServiceFabricNode it only shows 4 nodes. It doesn't show another node that exists in the VMScaleSet.
PS C:\WINDOWS\system32> Get-ServiceFabricNode
NodeName : _vmnode_1
NodeId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeInstanceId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeType : vmnode
NodeStatus : Up
NodeUpTime : 11:53:19
HealthState : Ok
CodeVersion : 5.6.205.9494
ConfigVersion : 4
IsSeedNode : True
IpAddressOrFQDN : 10.1.10.10
FaultDomain : fd:/1
UpgradeDomain : 1
IsStopped : False
NodeName : _vmnode_2
NodeId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeInstanceId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeType : vmnode
NodeStatus : Up
NodeUpTime : 18:38:58
HealthState : Ok
CodeVersion : 5.6.205.9494
ConfigVersion : 4
IsSeedNode : True
IpAddressOrFQDN : 10.1.10.11
FaultDomain : fd:/2
UpgradeDomain : 2
IsStopped : False
NodeName : _vmnode_3
NodeId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeInstanceId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeType : vmnode
NodeStatus : Up
NodeUpTime : 18:24:21
HealthState : Ok
CodeVersion : 5.6.205.9494
ConfigVersion : 4
IsSeedNode : True
IpAddressOrFQDN : 10.1.10.12
FaultDomain : fd:/3
UpgradeDomain : 3
IsStopped : False
NodeName : _vmnode_4
NodeId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeInstanceId : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NodeType : vmnode
NodeStatus : Up
NodeUpTime : 18:11:00
HealthState : Ok
CodeVersion : 5.6.205.9494
ConfigVersion : 4
IsSeedNode : True
IpAddressOrFQDN : 10.1.10.13
FaultDomain : fd:/4
UpgradeDomain : 4
IsStopped : False
What am I missing? I need to add an additional cluster node to the cluster, but I cannot figure out how to add more nodes to the cluster!
source to share