Azure VM with all services
I'm trying to run all team tools in a Azure VM with Windows Server 2012 R2. I followed the instructions to do this for HUB and YouTrack and they look fine, I can access then using the domain azure provided me (adding a port for YouTrack).
However, I'm having problems with Upsource and TeamCity, I can't access them from another machine. Going to the settings of TeamCity to set the URL doesn't seam to change nothing...
I don't think there is a help page to setup TeamCity in a azure machine is there? Like for HUB and YouTrack?
Would apreciate some basic help since I'm new to setting up tools like these ones.
Please sign in to leave a comment.
Hello, thanks for your post. Could you please share the links to the instructions that you used for Hub and YouTrack?
Thanks.
Hello,
https://www.jetbrains.com/help/hub/Host-Hub-on-Microsoft-Azure.html
https://www.jetbrains.com/help/youtrack/standalone/Host-YouTrack-Instance-on-Microsoft-Azure.html
I started by installing Hub and then on the YouTrack guide I jumped to the "Add Endpoints to the Virtual Machine" part. For TeamCity and Upsource I opened some ports too, but no luck.
Thank you for the reply
Hello,
Did you go with Windows Server installation? If so, were Upsource/TeamCity ports opened on the firewall?
Could you please paste a content of the <upsource_home>/conf/internal/bundle.properties file as well screenshots of Azure endpoints you created?
Thank you in advance.
bunle.properties:
#Bundle Settings. Don't update this file manually, use command line API instead: C:\upsource\bin\upsource.bat configure --propertyName=newValue
#Wed Aug 30 11:43:02 UTC 2017
port-base.cassandra=10020
hub-url=http\://XXAZUREDOMAINXX.cloudapp.net/hub
backups-dir=backups
temp-dir=temp
data-dir=data
port-base.upsource-cluster-init=10010
disable.hub=true
installation-uuid=646afbbd-44b9-41da-923b-0b64a8bd9f27
port-base.upsource-frontend=10000
listen-port=8080
root-user=admin
listen-address=0.0.0.0
statistics-upload=true
additional-keystore-password=YZ4yAHEO1b
locale=en-US
logs-dir=logs
base-url=http\://XXAZUREDOMAINXX\:8080
I just noticed that in the bundle.properties the "base-url" does not contain ".cloudapp.net" like "hub-url". Could this be the problem?
Well I tried to change the base-url using the command line tool "upstart" but it stoped working locally, so... no, not this.
Hi,
regarding TeamCity, we don't really have a guide to set up the server on an Azure VM, as most of the time Azure is usually just used to provide cloud agents. There is some guides around the web that should provide some help setting it up, such as this one: https://benoitpatra.com/2015/09/21/setup-teamcity-on-windows-azure-vm-part-1-on-2/
What's the exact issue when trying to access the teamcity server? Take into account that by default, ssl access will not work, so you need to access it via http, not https.
If you access the VM where it's installed, can you check that it's actually running?
"If you access the VM where it's installed, can you check that it's actually running?"
Yes, locally, in the VM all the services are working. I can access them in the web UI because I have a "Remote Desktop Connection" with the machine.
"What's the exact issue when trying to access the teamcity server? "
Locally I access TeamCity with: http://localhost:8888/ - I imagine that I should be accessing from the outside with something like: http://XXAZUREDOMAINXX.cloudapp.net:8080
Thank you, I'm going to check that link
Hi,
Sorry, I might not have made myself clear enough. I would like to know what happens when you access your http://<domain>:8888 (I assume the 8080 was a typo, and I assume you changed it from the default 8111). Whether you get a 404, timeout error, etc. Make sure you don't have firewalls blocking the incoming connections from outside azure on the ports teamcity uses.