VMware Cloud Community
raffapol
Enthusiast
Enthusiast

Scripting on a multitenant vCDirector environment

Hello,

we're running vCloud Director 1.5 serving several customers/organizations.

Some of them asked us if possible to execute scripts, as Amazon does, to stop, start, restart VMs inside their organization.

We only expose vCD REST API, and we wouldn't like to make any change in the environment, not to affect in any way the other customers.

Is it possible to permit that customers to execute these script from their sites just connecting with their web credentials to our vCD cells with NO modifications?

Thank you!

Raffaello

3 Replies
RvdNieuwendijk
Leadership
Leadership

Discussion moved from VMware vSphere™ PowerCLI to vCloud Director PowerCLI

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos
jake_robinson_b
Hot Shot
Hot Shot

Hi Raffaello,

vCloud Director Org users can connect to the API using their vCloud Org level credentials. There are various tools that use the vCloud API, including vCloud Automation Center, vCenter Orchestrator, and PowerCLI.

VMware has a special installation of PowerCLI called "PowerCLI for vCloud Tenants" which only includes the commands that apply to vCloud Organization users (aka Tenants).

This can be downloaded from http://vmware.com/go/powercli

Let me know if you have any other questions!

Cheers,

Jake

Jake Robinson VCP, vExpert - geekafterfive.com - Twitter: @jakerobinson
raffapol
Enthusiast
Enthusiast

Hi Jake,

it was exactly what I was looking for!

Thanks a lot!

Best,

Raffaello

0 Kudos