Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we have two bamboo instances with a single server

Deleted user June 21, 2019

We need to install bamboo instance (v6.9) along with existing bamboo instance (v5.12.2.1).

We need to know how to install v6.9 without impacting the existing v5.12.2.1. (Is any configuration of different ports required for the new instance. If so how do we configure it?)

 Also can you  please let you know how to check the server id for purchasing the license for the new instance.

 

Thanks,

Abhradeep.

1 answer

0 votes
Shankar Asam {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2019

Hi,

yes, it's possible to install two bamboo instances on the same server. You need to change the server/connector ports of second instance to something different than the default ones. 

in Bamboo_install/conf/server.xml - change the following ports 

<Server port="8007" shutdown="SHUTDOWN">

 

<Connector

                port="8085" secure="${catalinaConnectorSecure}" scheme="${catalinaConnectorScheme}" proxyName="${catalinaConnectorProxyName}" proxyPort="${catalinaConnectorProxyPort}"

                protocol="HTTP/1.1"

 

                maxThreads="150" minSpareThreads="25"

                connectionTimeout="20000"

.....

....

you can find the server id when installing the bamboo when its prompted for license. 

 

Thanks

Shankar

Deleted user June 21, 2019

Thanks @Shankar Asam {Appfire} , I had changed the port for the new instance to 8086, and tried to restart the service, again, but the new service could not start. Only the previous instance with default port-8085 is currently added to the service. 
 Am I missing any other configuration changes here ?

Regards,

Abhradeep

Shankar Asam {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2019

I hope you have changed both the ports in new instance. are there any errors observed in log file? To start the service, you need to go in new instance and run

cd <Bamboo installation directory>

./bin/start-bamboo.sh

 

-Shankar

Deleted user June 24, 2019

Hi @Shankar Asam {Appfire} ,

I had changed Server port from 8007 to 8008 and the Service port from 8085 to 8086 as follows -

ServerConfig.PNG

 

I have bamboo version 5.12.2.1 already running on port 8085.

But trying the install new service for bamboo version 5.14, get the following errors -

E:\BambooV514\Bamboo>InstallAsService.bat

E:\BambooV514\Bamboo>´╗┐@echo off
'´╗┐@echo' is not recognized as an internal or external command,
operable program or batch file.

E:\BambooV514\Bamboo>setlocal

E:\BambooV514\Bamboo>set _PRG_DIR=E:\BambooV514\Bamboo\

E:\BambooV514\Bamboo>cd E:\BambooV514\Bamboo\

E:\BambooV514\Bamboo>set PATH=E:\Java\jdk1.8.0_162\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Microsoft MPI\Bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Users\aroy\AppData\Local\Microsoft\WindowsApps

E:\BambooV514\Bamboo>"E:\BambooV514\Bamboo\bin\service.bat" install Bamboo
Installing the service 'Bamboo' ...
Using CATALINA_HOME: "E:\BambooV514\Bamboo"
Using CATALINA_BASE: "E:\BambooV514\Bamboo"
Using JAVA_HOME: "E:\Java\jdk1.8.0_162"
Using JRE_HOME: "E:\Java\jdk1.8.0_162\jre"
Using JVM: "E:\Java\jdk1.8.0_162\jre\bin\server\jvm.dll"
Failed installing 'Bamboo' service

E:\BambooV514\Bamboo>

Also since 5.12.2.1 is already executing get the following error on starting the service through the Start Bamboocommand also - 

E:\BambooV514\Bamboo>StartBamboo.bat
The requested service has already been started.

Do I need to make any other configuration changes, like the current service name etc ?
Please let me know.

Thanks,

Abhradeep

Deleted user June 24, 2019

Hi @Shankar Asam {Appfire} ,

I had changed the Server port from 8006 to 8008 and the Catalina service port form 8085 to 8086 as follows - 

ServerConfig.PNG

 

But on installing service for new bamboo instance v5.14,  get the following error -

E:\BambooV514\Bamboo>InstallAsService.bat

E:\BambooV514\Bamboo>´╗┐@echo off
'´╗┐@echo' is not recognized as an internal or external command,
operable program or batch file.

E:\BambooV514\Bamboo>setlocal

E:\BambooV514\Bamboo>set _PRG_DIR=E:\BambooV514\Bamboo\

E:\BambooV514\Bamboo>cd E:\BambooV514\Bamboo\

E:\BambooV514\Bamboo>set PATH=E:\Java\jdk1.8.0_162\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Microsoft MPI\Bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Users\aroy\AppData\Local\Microsoft\WindowsApps

E:\BambooV514\Bamboo>"E:\BambooV514\Bamboo\bin\service.bat" install Bamboo
Installing the service 'Bamboo' ...
Using CATALINA_HOME: "E:\BambooV514\Bamboo"
Using CATALINA_BASE: "E:\BambooV514\Bamboo"
Using JAVA_HOME: "E:\Java\jdk1.8.0_162"
Using JRE_HOME: "E:\Java\jdk1.8.0_162\jre"
Using JVM: "E:\Java\jdk1.8.0_162\jre\bin\server\jvm.dll"
Failed installing 'Bamboo' service

E:\BambooV514\Bamboo>

Also since 5.12 instance is already running get the following error on starting bamboo instance 5.14 as follows  -
E:\BambooV514\Bamboo>StartBamboo.bat
The requested service has already been started.

Deleted user June 24, 2019

Also Do i need to make any other configuration changes like changing the service name etc. Please advise .

 

Thanks again @Shankar Asam {Appfire} ,

 

Regards,

Abhradeep

Shankar Asam {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2019

Hi Abhradeep,

For installing second Bamboo service, please use the command below and check,

go into Bamboo514 install folder

E:\BambooV514\Bamboo\bin>service.bat install Bamboo514 

give a different name for second instance so that should take it.

 

thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events