setting db, gateway for vmote