PaaS with vCloud – Part 5 : Registering vCloud Application Director to vCloud Automation Center

In this blog post we’ll see how to register vCloud Application Director to vCloud Automation Center.

In our previous blog post we saw how to do the basic configuration of Application Director after doing the initial power on.

When you register vCloud Application Director, you use the CLI to establish a connection between the vCloud Application Director environment and the vCloud Automation Center server so that you can access the vCloud Automation Center service catalog.

When the connection between vCloud Application Director and vCloud Automation Center is established, you can publish the deployment profile to the vCloud Automation Center catalog so that other users can request the deployment profile and use it.

Prerequisites
■  Verify that your user account has the ROLE_SYSTEM_ADMIN system administrator role assigned to it.
■  Familiarize yourself with the roles available for users.
■  Verify that you know the password for the darwin_user. This password was set during installation.
■  Start the vCloud Application Director CLI.
■  The vCloud Automation Center 6.0 IaaS environment and endpoints must be properly set up and configured.
■  You must have SSO admin credentials available.

We will  first see how to start the vCloud Application Director CLI remotely.

You can start the vCloud Application Director CLI from a remote machine.
As a best practice, run the CLI remotely to reduce server load and avoid shared CLI on the vCloud Application Director appliance. The connection from the remote machine to the CLI is secured.
Prerequisites
■ Verify that you know the password for the vCloud Application Director appliance.
■ Verify that you installed Java (JDK 1.7) on your remote machine.
■ Make sure that the remote machine can connect to the vCloud Application Director appliance using HTTPS.

Download the darwin-cli.jar file from the vCloud Application Director server http://DarwinServerIP/tools/darwin-cli.jar to a folder with write permissions on the remote machine.

In our case this is http://192.168.10.173/tools/darwin-cli.jar

Application Director Intergration with vCAC 6.0 - 0

Then save the file to your computer.

Open a command prompt and start the client.
java -jar /PathToJarFolder/darwin-cli.jar
The Darwin CLI banner appears and the appd> CLI prompt appears.

Application Director Intergration with vCAC 6.0 - 1

Log in to the vCloud Application Director server.
login –serverUrl https://DarwinServerIP:8443/darwin –username UserName

Application Director Intergration with vCAC 6.0 - 3

You can notice the message

You are logged in to https://192.168.10.173:8443/darwin as admin.

In the roo shell prompt, register vCloud Application Director to the vCloud Automation Center server.
register-vcac-server –componentRegistryUrl vCACServerURL –ssoAdministratorUsername
UserName –ssoAdministratorPassword Password –tenant TenantName
The componentRegistryUrl is the URL for the vCloud Automation Center Self Service Catalog.

Application Director Intergration with vCAC 6.0 - 4

 

The registration might take approximately 30 seconds to display the

vCAC server registered successfully status.

Application Director Intergration with vCAC 6.0 - 5

Synchronize groups from vCloud Automation Center to vCloud Application Director.

sync-business-groups

View the vCloud Automation Center server information.

list-vcac-info

This successfully completes registering vCloud Application Director to vCloud Automation Center

In the Next blog post we’ll see how to publish vCloud Application Director deployment profiles to the vCloud Automation Center catalog.

PaaS with vCloud – Part 6 : Creating a Cloud Provider for vCAC in vCloud Application Director.

 

 

 

 

3 comments Add yours

Leave a Reply