Add checking condition before setting up primary server