VMware vFabric Data Director 2.5 User guide

Category
Software manuals
Type
User guide
VMware vFabric Data Director
Administrator and User Guide
vFabric Data Director 2.5
This document supports the version of each product listed and
supports all subsequent versions until the document is replaced
by a new edition. To check for more recent editions of this
document, see http://www.vmware.com/support/pubs.
EN- 001078-00
VMware vFabric Data Director Administrator and User Guide
2 VMware, Inc.
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
Copyright
©
2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual
property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks
and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
Contents
About VMware vFabric Data Director Administrator and User Guide 7
1
VMware vFabric Data Director Overview 9
Data Director System Architecture 9
VMware Data Director Components 10
Data Director User Management Modes 10
About Data Director Administration 11
Data Director Supported Databases 12
2
Managing Data Director Resources 15
Resource Management Overview 15
Resource Bundles and Resource Pools 16
System Resource Bundle 17
Resource Assignment 17
vSphere Resource Pools and Data Director 18
Viewing Resource Information 20
Create the System Resource Pool 21
Create the System Resource Bundle 22
Monitor Resource Usage 22
Create a Resource Pool 23
Create a Resource Bundle 24
Assign a Resource Bundle to an Organization 25
Perform Advanced Cluster Configuration 26
3
Managing Users and Roles 27
User Management Overview 27
Authenticating Users 28
Role-Based Access Control 29
Predefined Roles 30
Privileges 31
Propagation of Permissions and Roles 32
Organization Privileges and Permissions 32
Add Users to Your Organization 33
Add Roles to an Organization 33
Grant a Permission to a User 34
Modify Organization Security Settings 34
4
Building DBVMs and Base DB Templates 37
Database Virtual Machine OVA Files 39
Deploy a DBVM OVA File 39
Build a SLES and Oracle Base Database Virtual Machine 40
VMware, Inc.
3
Build a Custom RHEL and Oracle Database Template 44
Install the Operating System and Database Software in a Blank DBVM 49
Requirements for the Kickstart File 49
Database Update Configuration 52
Configure a vFabric Postgres Update Chain 53
Update an Oracle Database 54
5
Managing Organizations 61
Organization Structure 61
Operating Organizations 62
Managing Resources For Organizations 63
Managing Organization Users 64
Create a Data Director Organization 64
Bind a vCloud Director Organization to Data Director 65
6
IP Whitelists 67
Create an Organization IP Whitelist 67
Apply IP Whitelists to Databases 68
Create Custom IP Whitelists 68
7
Managing Database Groups 71
Database Group Management Overview 71
Managing Resources for Database Groups 72
Storage Reservation 73
Database Groups and Security 73
Create a Database Group 73
8
Managing Database Templates 75
Introduction to Database Templates 75
Enable a Base DB Template 76
Create a DB Parameter Group 77
Create a Resource Template 77
Modify a Resource Template 78
Create a Backup Template 79
Modify a Backup Template 80
9
Managing Databases 83
Database Lifecycle 83
Requirements for Creating Databases 85
Database Creation 86
Using Tags 96
Managing the Organization Catalog 97
Batch Operations and Scheduled Tasks 99
Updating Databases 100
Database Administration 101
10
Cloning Databases 107
Clone Types 107
VMware vFabric Data Director Administrator and User Guide
4 VMware, Inc.
Cloning Customizations 109
Clone a Database 109
Managing Post-Clone Scripts 113
Managing a Cloned Database Refresh 117
11
Managing Database Entities 121
Database Entity Management 121
SQL Management 126
12
Safeguarding Data 129
Backup Strategies 130
Backup Types 130
Backup Template Settings 132
Preconfigured Backup Templates 133
Select a Database Backup Template 133
Schedule Regular Database Backups 134
Recover a Database 135
Import Backups 136
Use VMware Data Recovery to Back Up Data Director 136
Database End of Life and Backups 138
Perform Point-in-time Recovery of Management Server Database 139
Add Pre-Action and Post-Action Scripts to the DBVM for Selected Agents 139
13
Monitoring the Data Director Environment 141
Explore Monitoring Customization and Filtering 141
Monitoring for System Administrators 142
Monitoring for Organization Administrators 146
Explore Database Monitoring 150
Working with Alarms 151
About aurora_mon Configuration 153
aurora_mon Configuration Parameters 154
14
Managing Licenses 159
License Management Overview 159
Counting Data Director Licenses 161
About Evaluation Licenses 161
Add License Keys 162
View License Information 162
View License Usage Information 163
Change the vFabric Postgres Database Usage Type 163
Remove License Keys 164
15
IP Pool Management 165
Add an IP Pool 165
Edit IP Pool 166
Delete an IP Pool 166
Contents
VMware, Inc. 5
16
VMware vCloud Director Integration 169
Enable vCloud Director Integration in Setup 170
Enable vCloud Director Integration after Setup 170
Edit or Disable vCloud Director Integration 171
Add a vCloud Director Organization Administrator 171
17
Reconfiguring Data Director Networks 173
Change the vCenter IP Address 173
Reconfigure the Web Console Network Mapping or Network Adapter 174
Reconfigure the vCenter Network Mapping 175
Reconfigure the vCenter Network Adapter Settings 175
Reconfigure the DB Name Service Network or DB Name Service Network Adapter 176
Reconfigure the Internal Network or Internal Network Adapter Mapping 177
Verify Network Settings in Data Director 178
Reconfigure the Database Access Network Used by a Database Group 178
Modify IP Pool Settings 179
18
Managing SSL Keys and Certificates 181
Regenerate Management Server Key and Certificate 181
Import Management Server Key and Certificate 182
Edit Management Server Certificate 183
Regenerate DB Name Server Key and Certificate 183
Import DB Name Server Key and Certificate 184
Edit DB Name Server Certificate 184
Regenerate DBVM Key and Certificate 185
Import DBVM Key and Certificate 185
Edit DBVM Certificate 186
19
Data Director Troubleshooting 187
vCenter Server Stops Responding 187
Resource Bundles Become Unusable Because DRS Is Disabled 188
Missing Resource Pool 188
Troubleshooting for SSL Communication 189
Database Cannot Be Connected Using the JDBC Connection String 189
Index 191
VMware vFabric Data Director Administrator and User Guide
6 VMware, Inc.
About VMware vFabric Data Director
Administrator and User Guide
The VMware vFabric Data Director Administrator and User Guide describes the features of VMware
®
vFabric Data
Director.
VMware vFabric Data Director is an enterprise class database-as-a-service (DBaaS) solution on VMware
vSphere that provides self-service lifecycle management for heterogeneous databases. The solution includes
the following features.
n
Database creation, cloning, backup, and restore.
n
Flexible, policy-based resource management.
n
Resource isolation within organizations and within databases.
n
Security policy implementation through role-based access control.
n
Database ingestion.
Self-service database lifecycle management enables administrators to create databases, manage schemas,
configure backups, perform restores, clone databases for testing and development, scale up database sizes,
and decommission databases. Administrators can assign permissions to perform these functions to others,
such as application developers, QA (test), and production engineers.
Customizable templates for database configuration and backups simplifies database creation and resource
allocation, enabling administrators to control database parameters and enforce resource allocation policies.
Administrators perform the following types of tasks.
n
Create organizations and database groups.
n
Allocate resources.
n
Create database templates.
n
Create, clone, backup and restore databases.
n
Monitor the Data Director environment.
Administrators also manage users and roles by assigning various permissions to enable users to perform
specific database management tasks.
Intended Audience
This document is for administrators any user to whom an administrator might grant database permissions.
n
System administrators use this document to learn how to manage and monitor a Data Director
environment.
n
Organization administrators use this document to learn how to manage and monitor database groups and
databases.
VMware, Inc.
7
n
Application developers use this document to learn how to create, manage and monitor databases.
n
Application developers, QA and production engineers, and others use this document to learn how to
perform functions for which they have been granted permissions.
VMware vFabric Data Director Administrator and User Guide
8 VMware, Inc.
VMware vFabric Data Director
Overview 1
VMware vFabric Data Director is a software solution that powers Database-as-a-service in your cloud. It
enables you to implement database-aware virtualization on vSphere and provides self-service lifecycle
management for heterogeneous databases.
This chapter includes the following topics:
n
“Data Director System Architecture,” on page 9
n
“VMware Data Director Components,” on page 10
n
“Data Director User Management Modes,” on page 10
n
“About Data Director Administration,” on page 11
n
“Data Director Supported Databases,” on page 12
Data Director System Architecture
vFabric Data Director automates deployment, management, and governance of thousands of databases and
enables policy-based self-service database management for application developers.
Data Director supports the following databases.
n
Oracle 11gR2 Enterprise and Standard editions.
n
Oracle 10gR2 Enterprise and Standard editions.
n
Microsoft SQL Server 2012 Enterprise and Standard editions.
n
Microsoft SQL Server 2008 R2 Enterprise and Standard editions.
n
vFabric Postgres 9.0 and 9.1, a VMware vSphere optimized relational database based on PostgreSQL.
Data Director provides flexible, policy-based resource management at the system level, and isolation at the
organization and database level. Data Director system administrators can implement security policies through
role-based access control to restrict system access to authorized users. System administrators use database
templates to guarantee corporate compliance to standardization, and carry out important database lifecycle
management tasks such as provisioning, backup, snapshots, point-in-time recovery, cloning, updating,
monitoring, and so on.
Database administrators and authorized users can configure databases by using customizable parameters.
Resource and backup templates simplify database creation. After an administrator assigns appropriate
permissions, users can create databases and allocate resources to them. Users can schedule backups, perform
restores, and clone databases to use in testing and development environments. They can scale up databases
according to system needs, and decommission databases when they are no longer required.
VMware, Inc.
9
VMware Data Director Components
The Data Director hierarchy consists of organizations, each with its own discrete database groups and
databases. Currently supported databases include vFabric Postgres, Microsoft SQL Server, and Oracle.
System administrators perform management tasks at the system level, which is the top level of the hierarchy.
To edit system-level settings you must have system privileges, but having system privileges does not
automatically allow you to make changes at the other levels.
A system can contain multiple organizations, each with multiple database groups. A database group can
contain multiple databases. You can create database groups only within organizations. Databases can exist
only within database groups.
Figure 1-1. Data Director System Hierarchy
System administrators manage Data Director resources at the system and organization levels. System
administrators create resource bundles from vSphere resource pools (CPU and memory resources) and storage
and network resources, and allocate one or more resource bundles to each organization.
Organization administrators assign resources from the given resource bundles to database groups for
consumption by databases.
Data Director User Management Modes
Data Director user management modes control how users are assigned and managed among different
organizations. Data Director has two user management modes: Global mode (for enterprises) and By
Organization mode (for service providers). Global user management mode is the default.
User management mode must be set to By Organization for VMware vCloud Director integration. See
“Organization Structure,” on page 61.
By Organization user management mode has the following characteristics.
n
Organizations are set up as separate, isolated enterprises with no visibility into other organizations.
n
The Data Director system user list is not visible to organizations.
n
No organization can see another organization's user list.
n
Organization administrators send email to invite users to join their organization, or register users directly.
n
Users can navigate to the Data Director web console URL and register for an account, pending approval
from the organization administrator.
VMware vFabric Data Director Administrator and User Guide
10 VMware, Inc.
Global user management mode has the following characteristics.
n
Organizations are set up as separate departments, business units, or groups within one enterprise, such
as a corporation's HR and Finance departments.
n
All Data Director users are visible to all organizations within Data Director.
n
Organization administrators grant access to users to the organization or grant access directly from the
system user list.
n
Users can navigate to the Data Director web console URL and register for an account, pending approval
from the organization administrator.
About Data Director Administration
Data Director system administrators perform Data Director administration on the system level. Organization
administrators perform Data Director administration on the organization level.
You create the initial account for the Data Director system administrator during Data Director setup. That
system administrator creates the system resource bundle, base database virtual machines (base DBVMs), and
base database templates.
By default, users do not have roles or permissions and cannot access any organizations. Organization
administrators assign roles and permissions to users and grant them access to specific organizations.
System administrators perform system-level operations for Data Director or for an entire organization. System
administrators perform the following tasks.
Table 1-1. System-Level Operations
Operation Type Examples
Resource management operations
n
Creating and managing the system resource bundle.
n
Creating and managing resource bundles.
n
Creating and managing database virtual machines (DBVMs).
n
Managing base database templates.
n
Assigning base database templates to resource bundles.
n
Assigning resource bundles to organizations.
n
Creating and managing resource templates.
n
Creating and managing backup templates.
User and organization
management operations
n
Creating system users.
n
Creating system administrators.
n
Creating organizations.
n
Creating organization administrators.
n
Designating existing users as organization administrators.
Organization administrators perform organization-level operations within their organizations. Organization
administrators perform the following tasks.
Chapter 1 VMware vFabric Data Director Overview
VMware, Inc. 11
Table 1-2. Organization-Level Operations
Operation Type Examples
Resource management operations
n
Creating database groups.
n
Enabling base database templates in resource bundles.
n
Creating resource templates.
n
Creating backup templates.
n
Allocating resources to database groups within the organization.
User management operations
n
Creating and managing organization users.
n
Granting organization access to existing Data Director users.
n
Assigning organization roles to users in the organization.
n
Creating and managing organization roles and granting roles to
organization user.
n
Defining organization permissions and granting permissions to
organization users.
By default, Data Director system administrators do not have access to organizations. Organization
administrators have access to only their own organization. They can create organization users and can grant
access to existing Data Director users.
Data Director system administrators can create users, but only organization administrators can grant those
users access to organizations.
Data Director Supported Databases
Data Director supports self-service database provisioning and automation through a web interface and
compatible client tools and drivers.
Data Director supports the following databases.
n
“VMware vFabric Postgres databases,” on page 13
n
“Oracle databases,” on page 13
n
“Microsoft SQL Server databases,” on page 13
Database administrators and application developers administer databases within their organizations.
Database administration includes the following tasks.
n
Creating databases and allocating resources to them.
n
Cloning databases.
n
Managing database users, roles, privileges, and permissions.
n
Maintenance such as performing backups and restores.
n
Scaling up databases.
n
Updating databases.
n
Monitoring database usage and performance.
n
Monitoring database alarms.
n
Decommissioning databases.
VMware vFabric Data Director Administrator and User Guide
12 VMware, Inc.
Oracle databases
As a system administrator, you upload, test, and manage the Oracle base database templates that organization
administrators, DBAs, and application developers use to create Oracle databases.
The recommended practice for using Oracle with Data Director is to set up a dedicated vSphere ESXi cluster
for hosting Oracle resources, including operating system, Oracle database server, and client tools. You create
Oracle base database virtual machines (DBVMs) using the dedicated Oracle resources in vSphere, then upload
the DBVMs to Data Director to use as database templates.
Data Director supports the following Oracle versions.
n
Oracle 11gR2 on SUSE, RHEL, or Oracle Linux.
n
Oracle 10gR2 on SUSE, RHEL, or Oracle Linux.
VMware vFabric Postgres databases
Data Director provides self-service database provisioning and automation with vFabric Postgres databases.
vFabric Postgres is built on the open source Postgres database.
vFabric Postgres is compatible with pSQL and the PostgreSQL tools and client drivers. vFabric Postgres
databases are fully compliant with ACID and ANSI SQL. The ACID properties, Atomicity, Consistency,
Isolation, and Durability, guarantee that database transactions are processed reliably.
For information about the Postgres database features for Data Director, see the Using VMware vFabric Postgres
for Data Director.
Microsoft SQL Server databases
As a Data Director system administrator you upload and manage the SQL Server base database templates that
organization administrators, DBAs, and application developers use to provision SQL Server databases.
Use SQL Server with Data Director to set up a dedicated vSphere ESXi cluster for hosting SQL Server resources,
including operating system, SQL Server database server, and client tools. You create SQL Server base database
virtual machines (DBVMs) using the dedicated SQL Server resources in vSphere, and upload the DBVMs to
Data Director to use as database templates from which you can provision SQL Server databases.
Data Director supports the following SQL Server versions.
n
SQL Server 2012 Enterprise and Standard editions.
n
SQL Server 2008 R2 Enterprise and Standard editions.
Provisioning Support for SQL Server
Data Director supports the creation of a stand-alone SQL Server instance using the default (unnamed) instance
name. The default instance name is the same as the host name. You can have only one default instance per
virtual machine.
NOTE A SQL Server instance is either a default, unnamed instance, or it is a named instance. When SQL Server
is installed as a default instance, it does not require a client to specify the name of the instance to make a
connection. The client only has to know the server name.
The Data Director provisioning process prepares and configures the SQL Server software as described in the
following list.
n
The SQL Server DBVM can join an existing Windows domain during provisioning. You must provide a
Windows Active Directory credential with sufficient privileges to join the domain. If a SQL Server DBVM
joins a domain, Windows authentication is the authentication method. The user-supplied domain account
is added to the sysadmin role of the SQL Server instance.
Chapter 1 VMware vFabric Data Director Overview
VMware, Inc. 13
n
If the DBVM does not join a domain, Data Director uses mixed authentication, and prompts for the SQL
Server System Administrator (SA) password.
n
No user databases are created when provisioning within Data Director.
Data Director Support for SQL Server
Data Director supports the creation of new, empty SQL Server databases. To learn more about creating a SQL
Server database, see “Create an Empty SQL Server Database,” on page 88.
The following Data Director features are not currently supported.
n
Database backup and recovery.
n
Database cloning.
n
Adding databases to the organization catalog.
n
Database ingestion.
n
Use of IP whitelists.
n
Changing disk size.
n
DBVM reporting.
n
Editing database resources.
n
Adding database owners.
n
Base DB template validation.
n
High availability (HA).
n
Upgrading.
NOTE When using Data Director to monitor and manage SQL Server databases, the user interface controls for
the above listed features are not visible in the administration console.
VMware vFabric Data Director Administrator and User Guide
14 VMware, Inc.
Managing Data Director Resources 2
System administrators manage CPU, memory, storage, and networking resources, as well as system-wide
database and backup configuration templates. Organization administrators manage resources for database
groups and for databases and enable database templates for their organizations.
This chapter includes the following topics:
n
“Resource Management Overview,” on page 15
n
“Resource Bundles and Resource Pools,” on page 16
n
“System Resource Bundle,” on page 17
n
“Resource Assignment,” on page 17
n
“vSphere Resource Pools and Data Director,” on page 18
n
“Viewing Resource Information,” on page 20
n
“Create the System Resource Pool,” on page 21
n
“Create the System Resource Bundle,” on page 22
n
“Monitor Resource Usage,” on page 22
n
“Create a Resource Pool,” on page 23
n
“Create a Resource Bundle,” on page 24
n
“Assign a Resource Bundle to an Organization,” on page 25
n
“Perform Advanced Cluster Configuration,” on page 26
Resource Management Overview
System administrators allocate resources to organizations. These virtual resources come directly from the
physical resources of the cluster on which Data Director runs. Organization administrators assign organization
resources to database groups and databases.
A vSphere cluster consists of several ESXi hosts that provide the physical CPU and memory resources for the
databases managed by Data Director. As part of installation, you create the cluster and enable vSphere High
Availability (HA) and vSphere Distributed Resource Management (DRS) for the cluster. Data Director can take
advantage of the vSphere HA and vSphere DRS functionality because Data Director runs on top of the cluster.
See the vSphere Availability and the vSphere Resource Management documentation for details.
A Data Director resource bundle includes CPU, memory, storage, and networking resources. The CPU and
memory resources come from a resource pool in the vSphere cluster. The storage and networking resources
are assigned to Data Director during installation or at a later time. Data Director includes a set of VLANs to
carry different types of network traffic.
VMware, Inc.
15
Data Director provides the following types of resource bundles.
n
System resource bundle. Data Director system administrators create one system resource bundle at the
Data Director system level. In addition to providing virtual resources, the system resource bundle contains
the database virtual machines (DBVMs) and base database templates that support creating and
provisioning databases. See “System Resource Bundle,” on page 17.
n
Resource bundle. Data Director system administrators create one or more resource bundles to provide
operating resources to organizations.
When system administrators create an organization, they can assign virtual resources to the organization as
resource bundles. When organization administrators create a database group, they assign virtual resources to
the database group. These virtual resources are backed by the physical resources of one or more clusters.
vSphere clusters provide failover protection and support efficient use of physical resources.
System administrators can assign resources when they create an organization (see “Create a Data Director
Organization,” on page 64) or assign resources to an existing organization (see “Assign a Resource Bundle
to an Organization,” on page 25). Organization administrators can assign resources when they create a
database group or assign resources to existing database groups.
If you chose the Express installation in the Data Director Setup wizard and enabled Create defaults, a system
resource bundle and Default resource bundle is already created. A Default organization and Default database
group is also created, and the Default resource bundle is assigned to the Default organization.
To help you specify the resources associated with a database template, Data Director includes a calculator that
computes the optimum resource configuration based on the anticipated usage patterns. When you create
databases from the template, the specified resources are allocated.
Resource Bundles and Resource Pools
A resource bundle is a set of compatible IT resources for provisioning databases. To assign the appropriate
amount of resources to each organization, system administrators create resource bundles and assign them to
organizations. System administrators specify a resource pool and storage and networking resources when they
create a resource bundle. If Create defaults was selected in Express installation, a Default resource bundle is
created and assigned to a Default organization.
Resource Pool
All CPU and memory resources of a resource bundle come from a vSphere
resource pool that is created in the vSphere Client with reservation equal to
limit. See “Create a Resource Pool,” on page 23.
Storage Resources
Each resource bundle includes storage resources for data and storage resources
for backup. The storage resources must be visible to all hosts that use the
resource bundle.
DB Access Networks
DB Access Networks provide communication for databases. A DB Access
Network corresponds to a vSphere port group. Each network must be visible
to all hosts that use the resource bundle. DHCP or IP Pool is required. See
Chapter 15, “IP Pool Management,” on page 165
Selecting one or more DB Access Networks allows you to isolate different
database groups from one another, for example, to isolate a QA database group
from a Production database group. When no DB Access Networks have been
assigned in the environment, select the network that is mapped to the Web
Console Network. Do not select internal networks for DB Access Network
traffic.
The figure shows how Data Director resources come from vSphere resource pools, datastores, and port groups.
When administrators create a resource bundle, the resources are always coming from the underlying vSphere
environment.
VMware vFabric Data Director Administrator and User Guide
16 VMware, Inc.
Figure 2-1. Resources in vSphere and Data Director
vSphere
source RPs
source datastores
source port groups
CPU & memory
database
storage
network
backup
storage
resource bundle
CPU & memory
database
storage
network
backup
storage
Data Director
resource bundle
“Resource Assignment,” on page 17 explains how resource assignment differs for the different levels of the
hierarchy.
System Resource Bundle
The system resource bundle provides CPU, memory, network, and storage resources for the base database
virtual machines (base DBVMs) and base database templates that you use to create and provision databases.
Each Data Director installation must have one system resource bundle. If you chose Create defaults in the
Express installation, a system resource bunde is created automatically.
Data Director system administrators create the system resource bundle before setting up other Data Director
entities and populate it with base database templates and base DBVMs.
The Data Director system administrator creates the system resource bundle at the system level. This ensures
that the CPU, memory, storage, and networking resources, base database templates, and base DBVMs apply
to the entire Data Director platform. The system administrator creates resource bundles and assigns base
database templates to them, and assigns the resource bundles to organizations. The organization administrator
enables base database templates for use in that organization.
See “Create the System Resource Bundle,” on page 22.
Resource Assignment
Resource assignment differs for organizations, database groups, and databases.
Resource Assignment for Organizations
System administrators can assign multiple resource bundles to each organization. System administrators can
assign a particular base database template to multiple resource bundles. Organization administrators allocate
the resource bundles to database groups and enable base DB templates. When you create databases, they draw
on the resources assigned to the database group and the base database templates enabled in the organization.
This resource isolation guarantees that different organizations and different database groups have control over
their resources.
Chapter 2 Managing Data Director Resources
VMware, Inc. 17
If you chose the Express installation and enabled Create defaults in the Data Director Setup wizard, a system
resource bundle and Default resource bundle are created during setup. A Default organization with a Default
database group within that organization is also created, and the Default resource bundle is assigned to the
Default organization.
Resource Assignment for Database Groups
When you create a database group, you assign a resource bundle that specifies the resources for that group.
You cannot assign more than one resource bundle to one database group. Multiple database groups can share
one resource bundle.
When you assign a resource bundle to a database group, you can specify how to allocate each resource.
n
CPU priority or reservation.
n
Memory priority or reservation.
n
Storage allocation.
n
Storage reservation percentage.
n
A network for the database group. You cannot divide the network. You can select only one network when
you create a database group even if several networks are associated with the resource bundle.
If you do not specify the CPU or memory allocation, Data Director sets the reservation to zero but sets
expandable reservations to true. If expandable reservations is set to true, the CPU or memory can expand
beyond the specified value.
Resource Assignment for Databases
A database consumes the resources assigned to its database group.
n
You can specify the number of virtual CPUs, the memory size, and CPU and memory priority for each
database that you create.
n
You cannot specify storage allocation. All databases consume the data and the backup storage allocated
to their parent database group. You can specify the size of data or PITR disk of each database.
n
Each database uses the network assigned to the database group as the DB access network.
vSphere Resource Pools and Data Director
A vSphere resource pool is a logical abstraction for flexible management of CPU and memory resources.You
add CPU and memory resources to Data Director resource bundles by adding a vSphere resource pool to the
bundle.
Data Director has the following types of resource pools.
Resource Pools for
Databases
vSphere administrators create one or more resource pools to enable Data
Director users to create databases. Resource pools for databases require
configuration settings such as DRS and HA enabled, and CPU and memory
limits equal to reservation.
System Resource Pool
There is one system resource pool for one Data Director instance. vSphere
administrators can deploy database virtual machine (DBVM) OVA files into
the system resource pool at any time. The configuration settings for the system
resource pool are different from the configuration settings for database
resource pools. You do not have to enable HA, and CPU, and memory limits
do not have to equal reservations. The reservation must be greater than 0.
VMware vFabric Data Director Administrator and User Guide
18 VMware, Inc.
You can also enable expandable CPU and memory. See “Create the System
Resource Pool,” on page 21.
CAUTION Data Director can use only resource pools for creating databases if the corresponding cluster is
enabled for DRS and HA. Do not disable DRS. If you do, Data Director cannot use the resource pools even if
you reenable DRS. See “Resource Bundles Become Unusable Because DRS Is Disabled,” on page 188.
Resource pools allow you to group available CPU and memory resources. You can allocate resources explicitly,
or use the resource pool share mechanism. You can hierarchically partition available CPU and memory
resources by grouping resource pools into hierarchies. You can allow different organizations access to different
resource pools. For example, a QA department might need large amounts of CPU and memory for running
tests while the marketing department might require smaller amounts.
Data Director expects you to group the hosts that provide the CPU and memory resources into clusters. Each
cluster owns the resources of all hosts. You can create one or more resource pools for the cluster, which has an
invisible root resource pool. Each resource pool owns some of the cluster's resources. If necessary, you can
create child resource pools. Child resource pools represent successively smaller amounts of CPU and memory.
CAUTION To use Oracle with Data Director, create a cluster specifically for Oracle use. To avoid licensing issues,
assign only resources from your dedicated Oracle cluster to organizations that create and provision Oracle
databases and DBVMs.
How you allocate CPU and memory resources to database groups differs from how you allocate those resources
to databases.
Creating Resource Pools for Databases
You create resource pools for databases by using a vSphere Client connected to a vCenter Server system. Specify
the following resource pool settings to ensure that Data Director always receives all of its allocated resources
and does not have different amounts of CPU and memory available if the cluster is experiencing a light or a
heavy load.
NOTE If you do not configure your resource pool with these settings, problems with resource bundle creation
or other Data Director tasks might result. Resource pools with incorrect settings do not appear in the list of
available resource pools when you create a resource bundle.
Set the Limit equal to the
Reservation.
If the system never allocates more resources than you reserved, you do not
experience resource fluctuations.
Set Expandable
Reservation to checked
or unchecked.
If the system does not attempt to allocate more resources than you reserved,
you do not experience resource fluctuations.
Set Unlimited to
unchecked.
Data Director requires this setting to avoid a resource bundle taking more than
its share of the resource pool.
After you create the resource pool, you create resource bundles. Each resource bundle uses one resource pool.
See “Create a Resource Pool,” on page 23 and “Create a Resource Bundle,” on page 24.
Chapter 2 Managing Data Director Resources
VMware, Inc. 19
Allocating CPU and Memory Resources to Database Groups
When you create a database group and set its CPU and memory allocation, Data Director creates a child
resource pool of the resource pool that you select. Data Director configures the resource pool with the allocation
that you specify. Having a different resource pool for each database group isolates the database group's
allocation and makes different groups independent.
n
If you specify the CPU and memory allocation, Data Director uses the following settings for the resource
pool it creates.
n
Reservation is set to the value you specify.
n
Expandable reservation is set to False.
n
Limit is set to unlimited.
n
If you do not specify CPU or memory allocation, Data Director uses the following settings for the resource
pool it creates.
n
Reservation is set to 0.
n
Expandable reservation is set to True, allowing the database group to consume resources as they are
available.
n
Limit is set to unlimited.
Allocating CPU and Memory Resources to Databases
In the Data Director environment, a database is a virtual machine that consumes resources from the database
group. You can specify the CPU and memory allocation for the database. Data Director always sets the limit
to unlimited.
Viewing Resource Information
Data Director system administrators can view resource usage information for an organization from the Data
Director Manage & Monitor tab.
When you log in to Data Director as a system administrator, you can view information about the resource
usage of the different organizations and about the resource bundle or resource bundles that are being used by
each organization.
n
The Organizations pane allows you to manage organizations. You can view organization information,
assign and unassign resource bundles, delete the organization, and view the organization's properties.
n
The Resource Bundles pane allows you to view all resource bundles currently created for this instance of
Data Director. You can display either allocation information or vCenter Server Object information.
n
You can click on an item in the heading, such as Organization, to re-sort the table based on that
column. Right-click any resource bundle name and choose Properties to see detailed information
about each resource bundle.
n
If you select vCenter Server Objects, Data Director displays the names of resource pools, datastores,
and networks that you see in the vSphere Client UI.
n
The Datastore Usage pane shows datastore usage for the main datastore and the backup datastore. You
can see how resource bundles map to datastores and examine storage allocation information for each
datastore.
See Chapter 13, “Monitoring the Data Director Environment,” on page 141 for details on using the monitoring
interface.
VMware vFabric Data Director Administrator and User Guide
20 VMware, Inc.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196

VMware vFabric Data Director 2.5 User guide

Category
Software manuals
Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI