Artifactory replication taking time

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Artifactory replication taking time

visrivas
I am using TeamCity for my CI and I have 2 instances of Artifactory located in different geographies.

one of my build generates ~1.5GB of artifacts which are published to one of the artifactory instance and because I have enabled push replication I am *expecting* these to get replicated instantly.

But in real scenario these are not replicating instantly and taking some time to replicate, due to which my dependent build is failing with below error -

o Found 0 dependencies by doing a pattern search.

is there a way implementing which I can ensure almot real time replication of artifacts.
or
is there a way I can implement to ensure that artifacts are download from any artifactory, where ever they are available.

Please let me know for any possible solution.
Reply | Threaded
Open this post in threaded view
|

Re: Artifactory replication taking time

David Pierce
What kind of pipe do you have between the two systems? What kind of
delay are you seeing? (The logs for the two artifactory instances should
say when an artifact is deployed on one server or the other.)

Is the delay kind of reasonable based on prevailing network conditions,
or is it, like, several hours? Is there already a replication job running?

You can always point the build servers at location A at the artifactory
server at location B, as long as there's a path.

Alternately, you can go the old fashioned route: Push artifacts to
myrepo on Artifactory A, and on Artifactory B, add myrepo as a remote.
This will give you two local repository paths - ArtifactoryB/myrepo and
ArtifactoryB/myrepo-cache. If you use ArtifactoryB/myrepo, it should
just function as a dumb proxy for ArtifactoryA/myrepo, streaming the
artifacts from ArtifactoryA and storing/cacheing them on ArtifactoryB as
needed.

Regards,
-Dave P.

On 12/10/2015 6:41 AM, visrivas wrote:

> I am using TeamCity for my CI and I have 2 instances of Artifactory located
> in different geographies.
>
> one of my build generates ~1.5GB of artifacts which are published to one of
> the artifactory instance and because I have enabled push replication I am
> *expecting* these to get replicated instantly.
>
> But in real scenario these are not replicating instantly and taking some
> time to replicate, due to which my dependent build is failing with below
> error -
>
> o Found 0 dependencies by doing a pattern search.
>
> is there a way implementing which I can ensure almot real time replication
> of artifacts.
> or
> is there a way I can implement to ensure that artifacts are download from
> any artifactory, where ever they are available.
>
> Please let me know for any possible solution.
>
>
>
>
> --
> View this message in context: http://forums.jfrog.org/Artifactory-replication-taking-time-tp7580654.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: [#34689] Artifactory replication taking time

JFrog Support
Hi Vishwas,

We wanted to confirm we received your enquiry in this ticket (#34685) as well and will continue the investigation in ticket (#34634).

Best regards,
Mor
JFrog Support


On Fri, 11 Dec at 9:59 PM , artifactory-users <[hidden email]> wrote:
What kind of pipe do you have between the two systems? What kind of
delay are you seeing? (The logs for the two artifactory instances should
say when an artifact is deployed on one server or the other.)

Is the delay kind of reasonable based on prevailing network conditions,
or is it, like, several hours? Is there already a replication job running?

You can always point the build servers at location A at the artifactory
server at location B, as long as there's a path.

Alternately, you can go the old fashioned route: Push artifacts to
myrepo on Artifactory A, and on Artifactory B, add myrepo as a remote.
This will give you two local repository paths - ArtifactoryB/myrepo and
ArtifactoryB/myrepo-cache. If you use ArtifactoryB/myrepo, it should
just function as a dumb proxy for ArtifactoryA/myrepo, streaming the
artifacts from ArtifactoryA and storing/cacheing them on ArtifactoryB as
needed.

Regards,
-Dave P.

On 12/10/2015 6:41 AM, visrivas wrote:

> I am using TeamCity for my CI and I have 2 instances of Artifactory located
> in different geographies.
>
> one of my build generates ~1.5GB of artifacts which are published to one of
> the artifactory instance and because I have enabled push replication I am
> *expecting* these to get replicated instantly.
>
> But in real scenario these are not replicating instantly and taking some
> time to replicate, due to which my dependent build is failing with below
> error -
>
> o    Found 0 dependencies by doing a pattern search.
>
> is there a way implementing which I can ensure almot real time replication
> of artifacts.
> or
> is there a way I can implement to ensure that artifacts are download from
> any artifactory, where ever they are available.
>
> Please let me know for any possible solution.
>
>
>
>
> --
> View this message in context: http://forums.jfrog.org/Artifactory-replication-taking-time-tp7580654.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
34689

------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users