I generate key pairs on my first machine and modify the customspec.json and generate customspecRaw.json and distribute my customspecRaw.json to other machines I want to add. Okay My question is that It is necessary to generate keys on other machines too and modify their customspec.json or just share first machine customespecRaw.json and run the command to start the 2nd node.??
You don't need to create a new
customSpecRaw.json for every node, just share the first nodes
customSpecRaw.json and provides it node ID and IP address to the node that needs to join the network. You can refer to this link , for further instructions everything is explained step by step there.