Currently i am starting this using the script $HOME/bin/domain.bat, but i want to start this process in background so that no one is able to stop is accidentally.
You can run it as Windows service, here is the doc:
If you're on Linux you can either run it as Linux service, or use "nohup"
For example i have two server groups and each group have two separate servers. I want to start the each server instance separately using the command line.
You can make all the servers
so they won't startup unless you start them manually with CLI command line or in web management console