./compile
./gradle_compile
./server master
Note:
- For master you need to have a master.properties file in config folder in the directory where server is triggered.
- Directory where server is triggered should have the sqlite-jdbc folder provide. It has the sqllite-jdbc jar file.
- master.properties has the following:
replica.servers=<replica_1_server_ip> <replica_2_server_ip> ...
These are space separated ip addresses of replica servers.
./server replica <master-ip>
master-ip : IP Address of m/c where master is running
./server client <master-ip>
master-ip : IP Address of m/c where master is running
./server_gradle master
Note:
- For master you need to have a master.properties file in config folder in the directory where server is triggered.
./server_gradle replica <master-ip>
master-ip : IP Address of m/c where master is running
./server_gradle client <master-ip>
master-ip : IP Address of m/c where master is running