I dont know what was my earlier message that created the confusion. But Im doing as below through a java code
- Three nodes were running individually as default clustered nodes
- First node yml file updated. Data directory was not deleted here as I need the data inside this node. At this time other two nodes were running as single nodes cluster
- Second node yml will be updated. Deleted data directory. Started second node.
Third node still running in default mode - Third node yml updated. Deleted data directory. Started third node.
These steps Im doing through java code