Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo installation -Failing to connect to database

venkat January 5, 2023

Hi 

We are running on bamboo 8.2.5 and planning to create a multinode datacenter environment .when we try to install bamboo on new node it is not allowing further from the database connection and prompting that "Database contains existing data ".Can anyone suggest best way to deal with 

1.for shared directory created an EFS and mounted on <bamboo-home>-->datacenter-->shared path.

2.Instances are placed in AWS.

3.And what would be the recommended load balancer to configure with both the nodes.error.PNG

1 answer

1 accepted

1 vote
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 2023

Hello @venkat

Additional Bamboo cluster nodes should not be configured from scratch like you are.

Whenever you add a new node to a Bamboo cluster, that node will remain idle, trying to acquire a lock on the DB and will not start if an active node is already running. The startup process on the standby node will only happen when the active node times out writing to the lock table on the DB.

So, in a nutshell, you need to:

  • Install and configure the first Bamboo active node, the Database, Home and Shared home folders
  • Start the first Bamboo active node
  • Install the Bamboo binaries on the standby node(s)
  • Configure an exclusive Bamboo home
  • Mount the shared home folder (via NFS between the nodes)
  • Start the additional node(s)

If you wish to test the standby node, you will have to shut down the active node and wait up to 5 minutes for the standby node to begin the takeover process.

Please check the following documentation on how to set a standby node in a Bamboo cluster:

Cheers,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful--

venkat January 9, 2023

Hello Edurado 

 

Thank you so much for your time on answering this question.

We do installed bamboo setup file on new node and tried starting using start-bamboo.sh eventually it is pointing to all configuration paths and in the very next page while connecting to postgres DB samething happening even though the primary node stopped where it is halting with message like"bamboo data already exists".

 

Thank you

Venkatesh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events