private boolean is_secondary(){
		try{
			ServerInterface remoteObj = (ServerInterface) Naming.lookup("rmi://127.0.0.1:9090/server1");
			if(remoteObj.ping()){
				secondary=true;
			}
			return secondary;
		}catch(Exception ex){
			System.out.println("No Server found, assume to be primary Server");
			return secondary;
		}
	}