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.

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.

1

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.

The CLI creates a log file during the session.

2

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.

3

Log in to the vCloud Application Director server.

login --serverUrl https://DarwinServerIP:8443/darwin --username UserName

Replace DarwinServerIP with the vCloud Application Director server IP address.

If you run the --password parameter with the login command or a command that lets you add a password, your password is saved as plain text in the darwin-cli-history.log file located in the current directory. By default, the CLI deletes the log file. For added security, delete this log file.

4

Type the password when you are prompted.

The system returns a message similar to this:

You are logged in to https://DarwinServerIP:8443/darwin as UserName.

Determine the type of users and groups to create in vCloud Application Director and use the CLI options to enable and manage them. See Create Users and Groups with vCloud Application Director CLI and Managing Users and Groups.