2.5
Table Of Contents
- VMware vFabric Data Director Administrator and User Guide
- Contents
- About VMware vFabric Data Director Administrator and User Guide
- VMware vFabric Data Director Overview
- Managing Data Director Resources
- Resource Management Overview
- Resource Bundles and Resource Pools
- System Resource Bundle
- Resource Assignment
- vSphere Resource Pools and Data Director
- Viewing Resource Information
- Create the System Resource Pool
- Create the System Resource Bundle
- Monitor Resource Usage
- Create a Resource Pool
- Create a Resource Bundle
- Assign a Resource Bundle to an Organization
- Perform Advanced Cluster Configuration
- Managing Users and Roles
- Building DBVMs and Base DB Templates
- Database Virtual Machine OVA Files
- Deploy a DBVM OVA File
- Build a SLES and Oracle Base Database Virtual Machine
- Build a Custom RHEL and Oracle Database Template
- Deploy the base database VM into the System Resource Pool
- Repackage the Linux ISO Image
- Install Linux on a Blank Virtual Machine
- Initialize the Virtual Machine to Make It Oracle and Data Director Compliant
- Install Oracle 11g R2 Software
- Convert a Base DBVM into a Base DB Template
- Validate a Base DB Template
- Assign a Base DB Template to a Resource Bundle
- Install the Operating System and Database Software in a Blank DBVM
- Requirements for the Kickstart File
- Database Update Configuration
- Configure a vFabric Postgres Update Chain
- Update an Oracle Database
- Identify Existing Target DBVM
- Create a Base Database VM from an Existing Template
- Apply a Patch to the Base Database Virtual Machine
- Convert a Base DBVM into a Base DB Template
- Validate a Base DB Template
- Assign a Base DB Template to a Resource Bundle
- Enable a Base DB Template
- Configure an Oracle Update Chain
- Update a Database
- Managing Organizations
- IP Whitelists
- Managing Database Groups
- Managing Database Templates
- Managing Databases
- Database Lifecycle
- Requirements for Creating Databases
- Database Creation
- Using Tags
- Managing the Organization Catalog
- Batch Operations and Scheduled Tasks
- Updating Databases
- Database Administration
- Cloning Databases
- Managing Database Entities
- Safeguarding Data
- Backup Strategies
- Backup Types
- Backup Template Settings
- Preconfigured Backup Templates
- Select a Database Backup Template
- Schedule Regular Database Backups
- Recover a Database
- Import Backups
- Use VMware Data Recovery to Back Up Data Director
- Database End of Life and Backups
- Perform Point-in-time Recovery of Management Server Database
- Add Pre-Action and Post-Action Scripts to the DBVM for Selected Agents
- Monitoring the Data Director Environment
- Managing Licenses
- IP Pool Management
- VMware vCloud Director Integration
- Reconfiguring Data Director Networks
- Change the vCenter IP Address
- Reconfigure the Web Console Network Mapping or Network Adapter
- Reconfigure the vCenter Network Mapping
- Reconfigure the vCenter Network Adapter Settings
- Reconfigure the DB Name Service Network or DB Name Service Network Adapter
- Reconfigure the Internal Network or Internal Network Adapter Mapping
- Verify Network Settings in Data Director
- Reconfigure the Database Access Network Used by a Database Group
- Modify IP Pool Settings
- Managing SSL Keys and Certificates
- Regenerate Management Server Key and Certificate
- Import Management Server Key and Certificate
- Edit Management Server Certificate
- Regenerate DB Name Server Key and Certificate
- Import DB Name Server Key and Certificate
- Edit DB Name Server Certificate
- Regenerate DBVM Key and Certificate
- Import DBVM Key and Certificate
- Edit DBVM Certificate
- Data Director Troubleshooting
- Index
User Defined Upgrade Scripts for Oracle databases
In the update process, Data Director attempts to run two user defined scripts, the source base DB template
preupgrade script, and the target base DB template postupgrade script. To achieve customization in the update
process, you must upload a script to the base DBVM before converting it to a base DB template.
Table 4-1. Upgrade Scripts
Upgrade Script Scope Description
Preupgrade script Source base DB template Preupgrade scripts run in the original
database before updating. Scripts are
located at ${AgentHome}/plugin/$
{ActivatedPluginFolder}/upgrade
_script/preupgrade_script.
For Oracle 11 template, the full path
is
/opt/aurora/agent2/plugin/vfdd_
linux_oracle_11/upgrade_scrip
t/pretupgrade_script.
Postupgrade script Target base DB template Postupgrade script run in the staging
database after the system applies
updates, such as new third party tools
or database software upgrades. The
database instance is started after the
post-upgrade script finishes. Scripts are
located at ${AgentHome}/plugin/$
{ActivatedPluginFolder}/upgrade
_script/postupgrade_script.
For Oracle 11 template, the full path
is
/opt/aurora/agent2/plugin/vfdd_
linux_oracle_11/upgrade_scrip
t/postupgrade_script.
Permission To Scripts
The directory upgrade_script must be accessible and writable to system database administrator users. The
script files preupgrade_script and postupgrade_script must be readable and executable to system database
administrator users.
Configure a vFabric Postgres Update Chain
You configure an update chain to enable database users to update databases based on templates the comply
with update policies.
Prerequisites
• Verify that Data Director has one vFabric Postgres 9.1 db template.
• Verify that Data Director has one vFabric Postgres 9.0 db template.
NOTE You must upgrade vFabric Postgres 9.0 on Data Director 1.0 to vFabric Postgres 9.0 on Data Director
2.x before you upgrade to vFabric Postgres 9.1 on Data Director 2.x.
Procedure
1 Log in to Data Director as a system administrator.
2 Click the Manage and Monitor tab.
Chapter 4 Building DBVMs and Base DB Templates
VMware, Inc. 53