2.7
Table Of Contents
Procedure
1 Retrieve the IDs of the base DBVMs.
GET https://example.aurora.com/datadirector/api/basedbvms
The call returns the data for the base DBVMs. If you decide to use the base DBVM with ID 2 to create a
base DB template, you can make an HTTP POST call to create the base DB template.
2 Create the base DB template.
POST https://example.aurora.com/datadirector/api/basedbtemplates
{
"keepBaseDbvm": true,
"baseDbvmId": 2,
"name": "vpostgress_template"
"diskConfig":{
"instance":[{
"datastoreUsageType":"DATA",
"minimalSizeGb":2,
"internalAddress":"/opt/aurora/data1",
"provisionMode":"THIN",
"description":"DataDisk"
}]
}
}
The response that the system returns might look as follows.
202 Accepted
location: https://example.aurora.com/datadirector/api/task/56
What to do next
Create a resource bundle.
Create a Resource Bundle
Resource bundles allow you to bundle CPU, memory, storage, database template, and networking
resources. You create resource bundles from resource pools.
Prerequisites
n
Create a resource pool to use for allocating CPU and memory resources. Resource pools are part of the
underlying vSphere environment, you can create them using the vSphere Client, the vSphere Web
Client, or the vSphere SDK. See vFabric Data Director Administrator and User Guide for information on
cluster and resource pool requirements for Data Director.
n
Decide on the storage resources that you want to include in the resource bundle. Plan for storage
resources including data stores and corresponding usage types such as backup storage.
n
Decide on the base DB template that you want to assign to the resource bundle. Organization users can
create and provision databases only when base DB templates are assigned to, and enabled in, an
organization's resource bundle or resource bundles. You can assign additional base DB templates to
resource bundles at any time. “Convert a Base DBVM to a Base DB Template,” on page 16 explains how
to create a base DB template.
n
Decide on the networking resources that you want to include in the resource bundle. The resource
bundle's networking resources are used for the DB access network for databases in an organization.
Chapter 2 Hello vFabric Data Director: A Simplified RESTful Workflow
VMware, Inc. 17