{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1297","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1297/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1297/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1297/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1297","id":173397757,"number":1297,"title":"Eureka Server replication issue","user":{"login":"rkrgarlapati","id":21257761,"avatar_url":"https://avatars.githubusercontent.com/u/21257761?v=3","gravatar_id":"","url":"https://api.github.com/users/rkrgarlapati","html_url":"https://github.com/rkrgarlapati","followers_url":"https://api.github.com/users/rkrgarlapati/followers","following_url":"https://api.github.com/users/rkrgarlapati/following{/other_user}","gists_url":"https://api.github.com/users/rkrgarlapati/gists{/gist_id}","starred_url":"https://api.github.com/users/rkrgarlapati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkrgarlapati/subscriptions","organizations_url":"https://api.github.com/users/rkrgarlapati/orgs","repos_url":"https://api.github.com/users/rkrgarlapati/repos","events_url":"https://api.github.com/users/rkrgarlapati/events{/privacy}","received_events_url":"https://api.github.com/users/rkrgarlapati/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T08:25:53Z","updated_at":"2016-08-26T11:18:43Z","closed_at":"2016-08-26T11:18:16Z","body":"when i am searching solution for my problem, this is the only thread it's pointing me to : https://github.com/spring-cloud/spring-cloud-netflix/issues/838\r\n\r\nHave given only one Eureka server details in my Service properties file, assuming Eureka server would replicate to other Eureka servers. But it's not happening like that.\r\n\r\nBelow are my properties and yml files i used, could you please help? Am i doing anything wrong ?\r\n\r\nBelow line shown up on Eureka Server 1 :\r\n\r\nRegistered instance STUDENT-SERVICE/staff-service:5b926b0ed85615893637ed5a80b12f96 with status UP (**replication=false**)\r\n\r\nNothing on Eureka Server 2.\r\n\r\n\r\n```\r\nService application.properties\r\n--------------------------------\r\n\r\n#Eureka client setup\r\nspring.application.name=staff-service\r\nspring.cloud.config.uri=http://localhost:4001/configs\r\neureka.client.fetch-registry:true\r\neureka.client.register-with-eureka:true\r\neureka.instance.instance-id=${spring.application.name}:${random.value}\r\neureka.client.service-url.defaultZone=http://localhost:4001/eureka\r\nserver.port=0\r\n\r\neureka.instance.lease-expiration-duration-in-seconds=2\r\neureka.instance.lease-renewal-interval-in-seconds=1\t  \r\n\r\n\r\nEureka Server 1, yml file\r\n----------------------------\r\n\r\nserver:\r\n  port: 4001\r\neureka:\r\n  server:\r\n    registry-sync-retries: 3\r\n  enable-self-preservation: false\r\n  instance:\r\n    hostname: 175.25.82.38\r\n    leaseRenewalIntervalInSeconds: 3\r\n  client:\r\n    healthcheck:\r\n      enabled: true\r\n    register-with-eureka: true\r\n    fetch-registry: true\r\n    serviceUrl:\r\n      defaultZone: http://175.25.82.38:4002/eureka/,http://175.25.82.38:4001/eureka/\r\n\t  \r\nEureka Server 2, yml file\r\n----------------------------\r\n\t  \r\nserver:\r\n  port: 4002\r\neureka:\r\n  server:\r\n    registry-sync-retries: 3\r\n  enable-self-preservation: false\r\n  instance:\r\n    hostname: 175.25.82.38\r\n    leaseRenewalIntervalInSeconds: 3\r\n  client:\r\n    healthcheck:\r\n      enabled: true\r\n    register-with-eureka: true\r\n    fetch-registry: true\r\n    serviceUrl:\r\n      defaultZone: http://175.25.82.38:4002/eureka/, http://175.25.82.38:4001/eureka/\t  \r\n\t  \r\nZuul Server, yml file:\r\n------------------------\r\n\r\nserver:\r\n  port: 8765\r\ninfo:\r\n  component: Edge Server\r\neureka:\r\n  instance:\r\n    leaseRenewalIntervalInSeconds: 3\r\n    metadataMap:\r\n      instanceId: ${spring.application.name}:${random.value}\r\n  client:\r\n    # Default values comes from org.springframework.cloud.netflix.eurek.EurekaClientConfigBean\r\n    registryFetchIntervalSeconds: 5\r\n    instanceInfoReplicationIntervalSeconds: 5\r\n    initialInstanceInfoReplicationIntervalSeconds: 5\r\n\r\nendpoints:\r\n  restart:\r\n    enabled: true\r\n  shutdown:\r\n    enabled: true\r\n  health:\r\n    sensitive: false\r\n\r\nzuul.sensitive-headers: Cookie,Set-Cookie\r\n\r\nzuul:\r\n  routes:\r\n    staff-service:\r\n      path: /**\r\n\r\nlogging:\r\n  level:\r\n    ROOT: WARN\r\n    se.callista: INFO\r\n\r\n---\r\neureka:\r\n  instance:\r\n    preferIpAddress: true\r\n  client:\r\n    serviceUrl:\r\n      defaultZone: http://localhost:4001/eureka,http://localhost:4002/eureka\r\n```\r\n\r\n\t  \r\n\r\n\r\n\r\n\t  "},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/242706421","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1297#issuecomment-242706421","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1297","id":242706421,"user":{"login":"rkrgarlapati","id":21257761,"avatar_url":"https://avatars.githubusercontent.com/u/21257761?v=3","gravatar_id":"","url":"https://api.github.com/users/rkrgarlapati","html_url":"https://github.com/rkrgarlapati","followers_url":"https://api.github.com/users/rkrgarlapati/followers","following_url":"https://api.github.com/users/rkrgarlapati/following{/other_user}","gists_url":"https://api.github.com/users/rkrgarlapati/gists{/gist_id}","starred_url":"https://api.github.com/users/rkrgarlapati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkrgarlapati/subscriptions","organizations_url":"https://api.github.com/users/rkrgarlapati/orgs","repos_url":"https://api.github.com/users/rkrgarlapati/repos","events_url":"https://api.github.com/users/rkrgarlapati/events{/privacy}","received_events_url":"https://api.github.com/users/rkrgarlapati/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T11:18:43Z","updated_at":"2016-08-26T11:18:43Z","body":"thanks ryan."}}
{"actor":{"display_login":"rkrgarlapati"}}