2.7

What to do next
Enable a base DB template.
Enable a Base DB Template
Organization administrators enable a base DB template on the underlying resource bundles so that
organization users can provision databases based on the base DB template.
Prerequisites
Assign at least one base DB template to the resource bundles of the organization. See “Assign a Resource
Bundle to an Organization,” on page 19.
Procedure
1 Retrieve a list of resource bundles.
GET https://example.aurora.com/datadirector/api/resourcebundles
2 Enable the base DB template for the resource bundle with the ID you select, in this example, 81.
POST https://example.aurora.com/datadirector/api/basedbtemplate/5?action=enable&rbId=81
This call performs an assign action and does not include payload data. The response might look like the
following.
202 Accepted location: https://example.aurora.com/datadirector/api/task/58
What to do next
Create a database group.
Create a Database Group
Database groups contain sets of databases within an organization. Database groups enable grouping of
related databases and provide efficient use of resources that are needed to provision and operate databases.
Prerequisites
n
Assign at least one resource bundle to the organization where you want to create a database group. See
“Assign a Resource Bundle to an Organization,” on page 19.
n
Enable at least one base DB template in the organization. See “Enable a Base DB Template,” on page 20.
Procedure
1 Retrieve the list of resource bundles and look for the ID of the resource bundle that you want to use.
GET https://example.aurora.com/datadirector/api/resourcebundles
2 Retrieve the list of organizations and look for the ID of the organization that you want to use.
GET https://example.aurora.com/datadirector/api/orgs
3 Retrieve the network information for the resource pool.
Because Data Director does not have the resource pool ID, you access it indirectly.
GET https://example.aurora.com/datadirector/api/resourcepool/
null:ResourcePool:resgroup-9673/networks
VMware vFabric Data Director Programming Guide
20 VMware, Inc.