Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Introducing Atlassian CloudFormation Backup Machine

I have Create a Cloud formation template to install bamboo now when it is installed and first time i contact with web interface it asks for license , admin user setup and installation type . I want to automate these options as well. is there any command line utility or any configuration file in bamboo available for doing this ?

1 answer

1 vote

Hi @Zohaib_Ahmad_hassan,


Bamboo does not have an unattended installation configuration process/file, but once you understand how the installation/setup process works you should be able to automate part of it or even entirely.

A Bamboo instance is composed basically by 3 parts

  • The installation folder
  • The home folder
  • The DB

When you download Bamboo you only have the installer part.

The setup process (wizard where you see the license) will:

  1. Save the license details.
  2. Save the DB configuration (I'm assuming you will use an external DB).
  3. Create the DB and populate the tables.
  4. Create the home directory and all related configuration files.
  5. Populate the DB.

If you want to install Bamboo multiple times this is what I would suggest:

Backup process (1 time job)

  1. Run a normal installation and go through the whole wizard (adding license, configuring DB, admin user, so on ...)
  2. Stop Bamboo.
  3. Create a copy of the Bamboo home directory.
    The following folders can be ignored: jms-store, temp, index and caches. They are built on startup time.
  4. Create a backup of your external DB

New instance process

  1. Create the installation files (either by backup or downloading if from Download Bamboo - Atlassian)
  2. Configure the file <Bamboo_Install>/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties pointing the location where you want the <Bamboo_Home> folder to be set.
  3. Copy the Bamboo home to the location configured in the previous step.
  4. Copy the DB backup to the new DB server using the external DB tools.
  5. Edit the <Bamboo_Home>/bamboo.cfg.xml:
    1. To add the right license details, in case it is a different instance (not the same license used to create the backup).
    2. Adjust the DB URL so it points to the newly copied DB.
  6. Start Bamboo

In case you need special tomcat configuration files, you can add/edit them before starting Bamboo.

I understand this process is not that simple neither complete (not covering all possible configuration details), but it can be adjusted and automated.


I also created this feature request to cover this scenario: Unattended installation for Bamboo. Please add your comments and vote on it if you think this feature should be implemented.

 

I hope it helps.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you