VMware Cloud Community
burdweiser
Enthusiast
Enthusiast

Project deployments

My question is on vRA 8.x. After a machine has been deployed with a project name, how can I add more machines to that project? If I try to use the same name on a new deployment, I get the error message it is already in use.

0 Kudos
3 Replies
xian_
Expert
Expert

You need to select a unique name for a new deployment. Or you can scale out (Update) your existing deployment to add more VMs if your blueprint supports it.

0 Kudos
burdweiser
Enthusiast
Enthusiast

I think that is what I am looking for. Scale out an existing deployment. Where do I add support in the blueprint for that?  The blueprints I am using are for single machines.

I see where it is possible to do:

vmcount:
type: integer
title: Number of Servers
default: 2
maximum: 10

resources:
machine:
type: Cloud.vSphere.Machine
properties:
count: '${input.vmcount}'

It would be nicer for the end user to just "add machine to deployment" menu option in the current deployment.

0 Kudos
xian_
Expert
Expert

Yes, with the count property and an input for it, like in your example. The menu option is "Update". You can create a new Resource action for deployments with the label "Add machine" if you like, but you need to call vRA REST API with the correct payload to get the same scale out functionality.