How to add another node to existingt cluster

Then you need to create 2 different clusters.

bin/elasticsearch -Ecluster.name=qa

and

bin/elasticsearch -Ecluster.name=prod

Both nodes won't see each others.
You can always use reindex from remote or snapshot/restore if you want to move data between them.