powershelldistributed-databasedatabase-clusternosdbnosql

How to add second node in NosDB opensource?


I am trying NosDB, created database cluster on single node, and than added second node in my database cluster, but I am failing with error message, "Add-Shard : Login 'asif_mehmood' does not exist".
Steps I perforemd:

Add-Shard : Login 'asif_mehmood' does not exist
At line:1 char:1
+ Add-Shard -Name shard2 -Server 192.168.0.15 -Port 2250


Solution

  • For adding other node in database cluster, both nodes should be in same domain or on same work group, before adding second node in database cluster, add login of current box on second box using Add-Login cmmdlet with following parameters

    After adding login second node was added successfully in database cluster.