Question about cloud profile (VCenter) and buildagent license
Hello, I'm experimenting with cloud profiles (VCenter). If I set my buildagent to start/stop (as opposed to clone), it doesn't appear to free the license up. The buildagent will show as disconnected in the UI.
When cloning/destroying buildagents, the license gets freed up and can be used on a different buildagent. Is this functionality not available when start/stopping buildagents? If I have 10 build agent licenses, and 15 build agents, I'd like to be able to have 10 running, but at certain times of day shut 5 down and start up the other 5. This doesn't seem possible unless I'm missing something? Thanks
Steve
Please sign in to leave a comment.
Hello Steve,
As stated in TeamCity's documentation:
As such, you would probably need to authorize / unauthorize the build agents on shutdown / startup. You could try to do it automatically using the REST API:
https://www.jetbrains.com/help/teamcity/rest/manage-agents.html#Authorize%2FUnauthorize+Agent
Thank you,
Guilherme