The easiest way is to install the two nodes on two different servers.
If that is not an option, you can use the datadir parameter to specify different data directories for each node (and use corresponding datadir values with multichain-cli to run commands against each node).