The Docker Swarm Blueprint for vRA7 is here!

It’s the moment you have been waiting for. The easy button to deliver Docker Swarm Clusters on vSphere is here. With all the policy, standards and governance you have come to expect from vRealize Automation.

NOTE: This is using the evaluation installation of Docker Swarm and is considered insecure as there is no TLS between nodes and client. Use this as a building block blueprint to build a secure Docker Swarm Blueprint.

Pre-Reqs

  • An installation of vRealize Automation 7 – Enterprise Edition
  • A reservation with a static IP pool.
  • A CentOS 7 or RHEL 7 blueprint with vRA Agent installed and tested. See my guide here.
  • The Docker Swarm Blueprint code downloaded from here.
  • vRealize Cloud Client 4 downloaded and installed from here
  • A quite place where you will not be interrupted

First, let’s upload the blueprint using cloud client.

Login to cloud client as cloud admin. You will need the Infrastructure Architect and Software Architect Roles

vra login userpass --user tony --tenant vsphere.local --server https://vra-01a.corp.local --password VMware1!

Now import the blueprint you downloaded, make sure you specify the correct path and file name.

vra content import --path C:\temp\DockerSwarm-composite-blueprint.zip --resolution OVERWRITE --precheck WARN --verbose

Now login to vRA and go to design tab and click on the DockerSwarm Blueprint to edit it

You will need to update the Manager and Node to point to your template, snapshot (if using Linked Clones) and your customization Spec.

Now go to the Administration tab, Catalog Management, Catalog Items and change the icon and entitle it to a service.

Note, you will find the DockerSwarm Icon here.

Fire off a new request

Notice if you click on the node you have a choice of how many you want deployed in the cluster.

Go to the requests tab and click on the new request

Open the requests tab to review the execution status. Click on the request then click the icon in upper left

Click the more icon on each of the software deployments

Review the logs for any errors

When deployment is complete go to the items tab and locate the Swarm Manager Node and click on it

Notice the API Address, copy and paste this to the clipboard

From your docker client run the following using the API server you just copied

Your ready to Swarm! Enjoy!

Remember sharing is caring!

3 Replies to “The Docker Swarm Blueprint for vRA7 is here!”

  1. Pingback: Docker Swarm Blueprint Demo – VMtoCloud.com

  2. Pingback: Scaling in vRealize Automation - The IT Hollow

  3. Pingback: Containers on vRealize Automation - The IT Hollow

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.