# High-availability cofiguration of Nexus IQ

**URL:** <https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424>\
**Category:** Best Practices\
**Tags:** nexus-iq, iq-server-platform\
**Created:** [March 12, 2019, 1:27pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424 "2019-03-12T13:27:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![abasharin](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/abasharin/32/450_2.png) [@abasharin](https://community.sonatype.com/u/abasharin)\
**Post date:** [March 12, 2019, 1:27pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/1 "2019-03-12T13:27:07Z")

</div>

During last maintenance of Nexus IQ server (update to the latest version and fix some configuration issues) I saw a lot of failes of DevOps pipelines. The root cause was unable to download dependencies from proxy repository that was guarded by Nexus IQ (beacuse I shut down it for maintenance). Later I looked for high-availability configuration of NXIQ but found articles about NXRM HA-C.

Basic load balancing (round robin) is not suitable without database syncing - but there is no way to set up H2 sync on the fly.

So, can anybody share experience or best practice how to organize maintenenace? And how to implement HA or load balancing of Nexus IQ?

---

<div class="post-metadata">

**Author:** ![mdodgson](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mdodgson](https://community.sonatype.com/u/mdodgson)\
**Post date:** [May 11, 2020, 2:07pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/2 "2020-05-11T14:07:24Z")

</div>

HA is not currently available for Nexus IQ Server but it is something that we are actively working on.  
Would you be interested to have a discussion around your needs?

---

<div class="post-metadata">

**Author:** ![sriram.yeluri](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sriram.yeluri](https://community.sonatype.com/u/sriram.yeluri)\
**Post date:** [August 20, 2020, 11:13am UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/3 "2020-08-20T11:13:16Z")

</div>

Hi Mark,  
When can we expect this HA feature available ? Are there any insights on the expected timelines ?

Regards,  
Sriram Yeluri

---

<div class="post-metadata">

**Author:** ![mdodgson](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mdodgson](https://community.sonatype.com/u/mdodgson)\
**Post date:** [August 24, 2020, 11:13am UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/4 "2020-08-24T11:13:18Z")

</div>

Hi @sriram.yeluri,  
At the moment there are no expected timelines for this initiative. I would advice contacting your CSE and inform them of your interest. This helps us gauge customers needs and therefore asses our roadmap.

Regards,

Mark

---

<div class="post-metadata">

**Author:** ![jwhitehouse](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jwhitehouse/32/187_2.png) [@jwhitehouse](https://community.sonatype.com/u/jwhitehouse)\
**Post date:** [August 24, 2020, 5:22pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/5 "2020-08-24T17:22:03Z")

</div>

Some clairity: we are working on the technical design and actually coding. Due the to variable nature of software development we don’t have a comitted timeframe. When firm dates are available we’ll be updating folks.

---

<div class="post-metadata">

**Author:** ![abasharin](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/abasharin/32/450_2.png) [@abasharin](https://community.sonatype.com/u/abasharin)\
**Post date:** [August 25, 2020, 1:49pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/6 "2020-08-25T13:49:38Z")

</div>

Moving to PostgreSQL is part of this technical design?  
I think that DB based on Postgre can help to build HA but I don’t see evidences that stable solution from function and high-load stand point.

---

<div class="post-metadata">

**Author:** ![jwhitehouse](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jwhitehouse/32/187_2.png) [@jwhitehouse](https://community.sonatype.com/u/jwhitehouse)\
**Post date:** [August 25, 2020, 3:31pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/7 "2020-08-25T15:31:38Z")

</div>

> [@abasharin](#):
>
> Moving to PostgreSQL is part of this technical design?

The architecture is a standard 3 tier web app like model, where the IQ Server will be as stateless as possible so instances can be independent, making deployment and managment easy.

We are using PostgreSQL to help enable some of the HA capabilities. We already have support for Postgres using a single node IQ Server, which has been successfully adopted by some of our large scale customers.

Much of the tech work now is to ensure multiple IQ Servers can be run independently while still sharing information.

---

<div class="post-metadata">

**Author:** ![abasharin](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/abasharin/32/450_2.png) [@abasharin](https://community.sonatype.com/u/abasharin)\
**Post date:** [August 26, 2020, 10:00am UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/8 "2020-08-26T10:00:03Z")

</div>

@jwhitehouse thank you for your comments.  
Am I understand correctly that 2 IQ instances can’t work with the single PostgreSQL database?

---

<div class="post-metadata">

**Author:** ![jwhitehouse](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jwhitehouse/32/187_2.png) [@jwhitehouse](https://community.sonatype.com/u/jwhitehouse)\
**Post date:** [August 26, 2020, 8:47pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/9 "2020-08-26T20:47:35Z")

</div>

Correct, at this time you cannot have more than one IQ Server connected to the same Postgres database without risk of creating data anomalies.

---

<div class="post-metadata">

**Author:** ![nitin.jain.4](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nitin.jain.4](https://community.sonatype.com/u/nitin.jain.4)\
**Post date:** [January 5, 2021, 7:38pm UTC](https://community.sonatype.com/t/high-availability-cofiguration-of-nexus-iq/1424/10 "2021-01-05T19:38:06Z")

</div>

+1 form me.

We are already migrating to Postgres SQL now. HA is very much necessary feature as we believe there should be zero downtime when we are upgrading to higher versions.

Same is followed for all other applications in our ecosystem so expecting same for NexueIQ soon.

How I can formally register my vote for this feature?
