VMware vFabric Data Director Installation Guide vFabric Data Director 2.7 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.
VMware vFabric Data Director Installation Guide 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: docfeedback@vmware.com Copyright © 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws.
Contents About VMware vFabric Data Director 5 1 Installation Prerequisites and vSphere Setup 7 Prerequisites for vFabric Data Director 7 Express Setup and Advanced Setup 9 vSphere Settings for Data Director 9 2 Planning the Network Configuration 13 Network Configurations for vFabric Data Director 13 Relating Networks in vSphere and Data Director 15 Data Director Networks, IP Allocation, and Firewalls 15 Four VLAN Network Configuration 18 Two VLAN Network Configuration 20 One VLAN Network Configuration 2
VMware vFabric Data Director Installation Guide Configure Networks and Network Adapters 38 Enter License Information 38 Review Data Director Setup 39 6 vFabric Data Director Upgrade 41 About the vFabric Data Director Upgrade Process 42 Data Director Virtual Appliance Upgrade Process Overview 42 Data Director Upgrade Database Virtual Machines Process Overview 43 Upgrade a Data Director Virtual Appliance 43 Upgrade Data Director Database Virtual Machines (DBVMs) 47 Index 4 49 VMware, Inc.
About VMware vFabric Data Director ® The VMware vFabric Data Director Installation Guide provides information about installing VMware vFabric Data Director, including configuring networks, deploying Data Director in vSphere Client as a virtual appliance (vApp) running on a vCenter Server, and performing setup and configuration using the Data Director administration UI.
VMware vFabric Data Director Installation Guide 6 VMware, Inc.
Installation Prerequisites and vSphere Setup 1 Before you start installing Data Director, you must understand the environment requirements, you must set up vSphere, and you must determine your networking configuration.
VMware vFabric Data Director Installation Guide n n n vFabric Postgres. Download the following client tools and drivers from the Data Director Download page. n Data Director Client Tools (Linux 32-bit or 64-bit) n Data Director JDBC drivers Database. You can use Data Director with vFabric Postgres which is included with Data Director, or you can use one of the following vendor's databases. n Microsoft SQL Server 2012 n Microsoft SQL Server 2008 R2 n MySQL 5.5.
Chapter 1 Installation Prerequisites and vSphere Setup Database networks carry SQL traffic to and from Data Director databases. Database clients such as JDBC and libpq send and receive SQL traffic from database servers on these networks. Data Director supports multiple database networks for better network isolation, for example, to isolate QA SQL traffic from production SQL traffic. See Chapter 2, “Planning the Network Configuration,” on page 13.
VMware vFabric Data Director Installation Guide Prerequisites n Connect to the vCenter Server system by using a vSphere Client. n Verify that you have sufficient permissions to create a cluster. n Verify that a datacenter exists in the vCenter Server inventory. n Create a vSphere cluster for use by Data Director. See the vSphere Resource Management documentation and the vSphere Availability documentation. Procedure 1 In the vSphere Client, select Home > Inventory > Hosts and Clusters.
Chapter 1 Installation Prerequisites and vSphere Setup What to do next You can customize the cluster even further to suit your environment requirements. See the vFabric Data Director Administrator and User Guide. Enable vSphere Network Time Protocol The Network Time Protocol (NTP) daemon ensures that time-dependent processes occur in sync across hosts. Enable the NTP daemon on the ESXi hosts. Prerequisites Verify that the ESXi hosts in the Data Director clusters are running.
VMware vFabric Data Director Installation Guide 12 VMware, Inc.
Planning the Network Configuration 2 When you install Data Director, the installer prompts you for the IP addresses for the different networks in the Data Director environment. Data Director network traffic runs on several different networks. Before you start the installation, review the supported Data Director network configurations and plan your Data Director network configuration.
VMware vFabric Data Director Installation Guide When a database client or application connects to a database using the Data Director JDBC or database drivers, the driver retrieves the database IP address from the DB Name Server using the connection string. The driver sets up the connection between the application and the target database. When you use the application to access the database, the application uses that connection. This means that the DB Access Network must be visible from all database clients.
Chapter 2 Planning the Network Configuration Relating Networks in vSphere and Data Director Data Director components communicate by using vSphere networking resources. Before you start planning your network, you must understand vSphere and Data Director networking. Data Director requires networks to carry communications among its components, including the following. n Communication between the Data Director Management Server and database servers.
VMware vFabric Data Director Installation Guide You can assign static IP addresses to the DB Name Service Network Adapter on the DB Name Server and the vCenter Network adapters on both the Management Server and the DB Name Server. IP pool or DHCP service is not required on their corresponding networks.
Chapter 2 Planning the Network Configuration Table 2‑1.
VMware vFabric Data Director Installation Guide Table 2‑3. Required IP Addresses and DHCP Setup Data Director Networks DHCP or IP pool Require d IP Address vCenter Network no n n 1 IP address used by the Data Director Management Server. 1 IP address used by the Data Director DB Name Server. FQDN Not required. Internal Network yes n 1 IP address used by the Data Director Management Server. n 1 IP address used by the Data Director DB Name Server.
Chapter 2 Planning the Network Configuration Figure 2‑1.
VMware vFabric Data Director Installation Guide n One VLAN mapped to the DB Name Service Network enables database client applications to connect to DBVMs. The clients request the database virtual machine IP address from the DB Name Server using the DB Name Service network. The DB Name Server provides connection information to a database client application, which then connects to the database using its Database Access Network.
Chapter 2 Planning the Network Configuration Traffic on Each VLAN The two VLANs carry the following traffic. n One VLAN is for the shared network for vCenter, Web Console, DB Name Service, and DB Access Networks. n One VLAN is for the Internal Network. This VLAN carries internal management traffic between databases, the Data Director Management Server, and the DB Name Server. The Internal Network must be a VLAN.
VMware vFabric Data Director Installation Guide Figure 2‑3.
Deploy the vFabric Data Director vApp 3 The Data Director OVA file contains the compressed open virtualization format files that comprise the Data Director vApp. After setting up vSphere and planning the network configuration, download the Data Director OVA file and deploy it as a vSphere virtual appliance (vApp).
VMware vFabric Data Director Installation Guide 4 Finish Data Director vApp Deployment on page 26 The Data Director vApp can register as a vCenter extension at runtime only if it is bound to a service. To finish Data Director vApp deployment, you select a service binding for the Data Director vApp, and confirm the deployment settings.
Chapter 3 Deploy the vFabric Data Director vApp Procedure 1 On the Network Mapping page, choose the vSphere networks that will carry traffic for the two Data Director Networks. If you use the Express installation, map the vCenter Network and Web Console Network to the same vSphere Network. 2 Data Director Network Description vCenter Network The vCenter Network carries management traffic between vCenter Server and the Data Director Management Server.
VMware vFabric Data Director Installation Guide Finish Data Director vApp Deployment The Data Director vApp can register as a vCenter extension at runtime only if it is bound to a service. To finish Data Director vApp deployment, you select a service binding for the Data Director vApp, and confirm the deployment settings. Procedure 1 In the Configure Service Bindings screen, left-click the vCenter Extension service binding, select the service binding, and click Next.
Perform vFabric Data Director Express Setup 4 The Express setup creates a Data Director deployment using a single VLAN and a set of predefined system resources, organizations, and database groups. Procedure 1 Start the Data Director Setup Wizard on page 28 The Data Director setup wizard allows you to configure your Data Director environment. 2 Choose Express Setup on page 28 To set up Data Director using simplified networking and default settings, use Express setup.
VMware vFabric Data Director Installation Guide Start the Data Director Setup Wizard The Data Director setup wizard allows you to configure your Data Director environment. Prerequisites Obtain the IP address of the Management Server to start the wizard. Procedure 1 Find the Data Director Management Server IP address a Log in to the vSphere Client as an administrator. b In the inventory list, expand the Data Director vApp and right-click the Management Server virtual machine. c Click Edit settings.
Chapter 4 Perform vFabric Data Director Express Setup Configure Network Setup The Express setup uses an IP pool for network configuration. An IP pool consists of blocks IP addresses that Data Director can allocate to virtual machines on the Internal Network. You can specify a range of IP addresses for use by Data Director.
VMware vFabric Data Director Installation Guide n A database group labeled Default. Create the Data Director System Administrator Account The initial Data Director system administrator performs Data Director setup and configuration, creates other system administrators and organization administrators, creates and allocates resources for organizations, and monitors resource usage. You specify the initial Data Director system administrator account when you connect to Data Director for the first time.
Chapter 4 Perform vFabric Data Director Express Setup When configuration finishes, the Data Director login page appears. What to do next Log in using the administrator account that you set up and start using Data Director. See the vFabric Data Director Administrator and User Guide. VMware, Inc.
VMware vFabric Data Director Installation Guide 32 VMware, Inc.
Perform vFabric Data Director Advanced Setup 5 After you successfully deploy the Data Director vApp, you configure Data Director using the Data Director setup wizard. As part of the setup process you specify user management mode, network mapping, and license information. Prerequisites n Complete the network planning for your environment. See the vFabric Data Director Worksheets. n Deploy the Data Director vApp.
VMware vFabric Data Director Installation Guide 8 Configure the vCenter Network and Its Network Adapters on page 37 Data Director uses the vCenter Network to communicate with the vCenter Server system. You configure the vCenter Network and its network adapters to enable this communication. 9 Configure Network Mapping on page 37 The Network Mapping screen of the setup wizard allows you to map the vSphere networks to the type of Data Director network traffic they will carry.
Chapter 5 Perform vFabric Data Director Advanced Setup Choose Advanced Setup You can perform Advanced setup to configure Data Director for use in production deployments that require high availability and performance. Prerequisites Advanced setup requires that you use either a 2 VLAN or 4 VLAN network configuration. See Chapter 2, “Planning the Network Configuration,” on page 13. Procedure 1 Select the Advanced checkbox.
VMware vFabric Data Director Installation Guide In this mode, organizations each represent self-contained, separate enterprises that cannot see each others' users and have no visibility outside their own organization. By Organization database groups can represent business units and departments within the enterprise, and databases pertain to those business units and departments. Prerequisites Complete the system administrator account setup in the Data Director Setup wizard.
Chapter 5 Perform vFabric Data Director Advanced Setup Procedure 1 Enter the SMTP settings for your environment. 2 Click Next to continue. Configure the vCenter Network and Its Network Adapters Data Director uses the vCenter Network to communicate with the vCenter Server system. You configure the vCenter Network and its network adapters to enable this communication. Prerequisites n Plan the network setup for your environment. See the vFabric Data Director Worksheets.
VMware vFabric Data Director Installation Guide Configure Networks and Network Adapters You can set up your environment so the Management Server and DB Name Server communicate by using the Internal and DB Name Service Networks. To do so, you set up the network settings and configure the adapters. Prerequisites n Plan the network setup for your environment. n See the vFabric Data Director Administrator and User Guide for IP pool configuration information.
Chapter 5 Perform vFabric Data Director Advanced Setup Review Data Director Setup The setup wizard's Summary screen allows you to review your configuration, make changes, and complete the setup process. Procedure 1 In the Summary screen, review the setup. Some of the settings you specify, such as the user management mode and the initial Data Director administrator account, cannot be changed after setup finishes. 2 Click Back to make changes or Finish to accept your settings.
VMware vFabric Data Director Installation Guide 40 VMware, Inc.
vFabric Data Director Upgrade 6 A vFabric Data Director Upgrade includes upgrade of the Data Director virtual appliance and upgrade of database virtual machines (DBVMs). Upgrading is a multistage process in which you perform tasks in a particular order. Follow the process to ensure a smooth upgrade with a minimum of system downtime. Follow the safeguards to avoid losing data or access to Data Director. Without planning, you might incur more downtime than is necessary.
VMware vFabric Data Director Installation Guide About the vFabric Data Director Upgrade Process The vFabric Data Director Upgrade consists of two tasks, upgrading the Data Director virtual appliance and upgrading the database virtual machines (DBVMs). A particular upgrade might require that you upgrade only the Data Director virtual appliance or that you upgrade the database virtual machines as well. The two upgrade tasks are performed from different locations and support different options.
Chapter 6 vFabric Data Director Upgrade Data Director Upgrade Database Virtual Machines Process Overview Data Director upgrades can include upgrades to the database virtual machines (DBVMs). To upgrade database virtual machines, you log in to Data Director as a system administrator, publish the new database virtual machine template, and upgrade each database to the new template. If a Data Director upgrade includes updates to database virtual machine templates, proceed as follows.
VMware vFabric Data Director Installation Guide 6 Shut Down Data Director on page 46 Certain administrative tasks require that you shut down Data Director. These tasks include applying upgrades and patches. Data Director system administrators shut down Data Director using the Data Director Web UI.
Chapter 6 vFabric Data Director Upgrade Download the Upgrade Source and Accept the License Agreement To start the Data Director upgrade process, download the upgrade source from the URL supplied to you, either in an email notification or by your VMware representative, and accept the license agreement (EULA). Prerequisites Verify that you have the URL from which to download the upgrade source. Procedure 1 Log in to vSphere Client as an administrator. 2 Click the Configuration tab.
VMware vFabric Data Director Installation Guide Specify Upgrade Compliance Settings Upgrade compliance settings ensure that the upgrade baseline does not conflict with the current state of your Data Director virtual appliance. Prerequisites Log in to vSphere Client as an administrator. Verify that the vSphere Client is connected to a vCenter Server system with which vSphere Update Manager is registered. Procedure 1 In vSphere Client, select Inventory > VMs and Templates, and click Upgrade Manager.
Chapter 6 vFabric Data Director Upgrade Configure the Upgrade Remediation Task and Run the Upgrade Process The upgrade remediation task is the process by which vSphere Update Manager applies patches, extensions, and upgrades to the Data Director virtual appliance. Configure and run the remediation task to complete the Data Director virtual appliance upgrade process. Prerequisites Log in to a vSphere Client as an administrator.
VMware vFabric Data Director Installation Guide 4 Create a new Base DB template. You create a base DB template from a base database virtual machine (DBVM). See "Convert a Base DBVM into a Base DB Template" in the vFabric Data Director Administrator and User Guide. 5 Set up the upgrade chain from the original template to the new version template. See "Database Update Configuration" in the vFabric Data Director Administrator and User Guide.
Index A accepting license agreement 28, 34 accounts, system administrator 35 Admission Control 9 advanced setup 35 audience for Data Director 5 B branding 36 C clusters 9 configure network setup for Data Director 29 configure proxy settings 44 create initial system administrator 35 enable vCloud Director integration 35 express setup 27 Express setup 28 extension 26 F finish deploying Data Director 26 firewall ports for network traffic 16 firewalls 15 four VLAN example 18 FQDN 34 H Host Isolation Respo
VMware vFabric Data Director Installation Guide P port groups 11 proxy settings, configure 44 R vSphere HA admission control 9 Host Monitoring Status 9 vSphere settings 9 vSphere setup 7 vSphere Update Manager 15 remediation, defined 42 remediation task, define 43 review setup 30, 39 W S Web Console Network 15, 24 Web Management console 25 self-service database lifecycle management 5 service binding 26 setting up branding 36 setup wizard, start 34 shut down Data Director 46 SMTP 36 start vSphere Upd