VMware vFabric Data Director Installation Guide vFabric Data Director 1.0.1 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 © 2012 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 Updated Information 7 1 Installation Prerequisites and vSphere Setup 9 Prerequisites for Data Director 9 vSphere Settings for Data Director 11 2 Planning the Network Configuration 15 Network Configurations for vFabric Data Director 15 Relating Networks in vSphere and Data Director 17 Data Director Networks, IP Allocation, and Firewalls 17 Four VLAN Network Configuration 20 Minimum Two VLAN Network Configuration 22 3 Deploy the Data Director vApp 25 Start
VMware vFabric Data Director Installation Guide 4 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.
Updated Information This vFabric Data Director Installation Guide is updated with each release of the product or when necessary. This table provides the update history of the vFabric Data Director Installation Guide. Revision Description EN-000710-02 n The topic, “Prerequisites for Data Director,” on page 9 clarifies the number of vCPUs that Data Director supports.
VMware vFabric Data Director Installation Guide 8 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 40GB of shared storage, configured as two datastores. n 1 Gigabit Ethernet VLAN. This VLAN will carry Data Director network traffic. n One or more Gigabit Ethernet VLANs for one or more database networks. 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.
Chapter 1 Installation Prerequisites and vSphere Setup vSphere Settings for Data Director Before you can install Data Director, set up the vSphere Cluster to deploy Data Director to, and enable the cluster for vSphere High Availability (HA), and vSphere Dynamic Resource Scheduler (DRS). Data Director also requires that you have Network Time Protocol (NTP) enabled in your environment. Create and Configure the Data Director Cluster A cluster is a group of hosts.
VMware vFabric Data Director Installation Guide 7 8 9 On the Virtual Machine Options page, select the settings required for the Data Director cluster settings and click Next. Option Description VM Restart Priority Any option that does not disable VM restart priority is acceptable. Data Director requires that VM restart priority is enabled. Host Isolation Response Leave the default or change the setting to support your environment.
Chapter 1 Installation Prerequisites and vSphere Setup Virtual Switches and Port Groups in vSphere You create virtual switches and port groups in vSphere for use in Data Director. vSphere port groups correspond to networks in Data Director. You can later allocate the vSphere port groups for resource bundles for the Data Director Management Server or DB Access Networks. See the vFabric Data Director Administrator and User Guide. VMware, Inc.
VMware vFabric Data Director Installation Guide 14 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 wants to connect to a vPostgres database using the Data Director JDBC or libpq 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.
Chapter 2 Planning the Network Configuration If you set up two separate database networks, the database network traffic can use the vCenter Network, Web Console Network, or DB Name Server Network. Placing database traffic in the same network for vCenter, Web Console, or DB Name Server can carry a security risk. You can have as many database networks as your site requires. However, database clients must have access to the DB Name Service Network.
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. DHCP service is not required on their corresponding networks. Data Director network configuration depends upon your existing network configuration.
Chapter 2 Planning the Network Configuration Table 2-1.
VMware vFabric Data Director Installation Guide IP Address and DHCP Setup This section provides information about the requirements for Data Director IP address and DHCP setup. IP Address and DHCP Setup for Data Director Network Traffic Table 2-3. Required IP Addresses and DHCP Setup Data Director Networks DHCP Require d IP Address vCenter Network no n n Internal Network yes 1 IP address used by the Data Director Management Server. 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 Figure 2-2.
VMware vFabric Data Director Installation Guide Limitations Using only two VLANs has some limitations. 24 n Because all vCenter Network traffic, Web Console Network traffic, and SQL traffic is carried by one network, you cannot isolate databases into different networks. n vCenter Server, ESXi hosts, and Data Director Management Server traffic is exposed to regular database users, which can introduce security risks. VMware, Inc.
Deploy the Data Director vApp 3 The Data Director OVA file contains the compressed open virtualization format files that compose 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 Start the Wizard and Specify vApp Properties In this first part of Data Director OVA deployment, you specify basic information about the product, including its name, location, and storage. Prerequisites You will select the disk format for the vApp virtual disks as part of deployment.
Chapter 3 Deploy the Data Director vApp Procedure 1 In the Network Mapping screen, choose the vSphere networks that will carry traffic for the two Data Director Networks. Table 3-1. Data Director Networks Data Director Network Description vCenter Network The vCenter Network carries management traffic between vCenter Server and the Data Director Management Server. Select the vSphere Network that you decided to use for this traffic.
VMware vFabric Data Director Installation Guide 28 VMware, Inc.
Set Up Data Director 4 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. Procedure 1 Start the Data Director Setup Wizard on page 30 You start the setup wizard from a Web browser.
VMware vFabric Data Director Installation Guide 8 Configure Network Mapping on page 33 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. 9 Configure Networks and Network Adapters on page 33 To allow the Management Server and DB Name Server to communicate by using the Internal and DB Name Service Networks, you set up the network settings and configure the adapters.
Chapter 4 Set Up Data Director Create the Initial 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.
VMware vFabric Data Director Installation Guide Configure the Branding Settings You can optionally specify branding information that will appear on Data Director page headers and in the login screen. Branding information includes your company name, logo, and About and Support URLs. Prerequisites Complete the User Management Mode selection in the Data Director Setup wizard. Procedure 1 (Optional) Add branding information for your company.
Chapter 4 Set Up Data Director 8 Click Next to continue. Configure Network Mapping 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. Prerequisites n Plan the network setup for your environment. See the vFabric Data Director Worksheets. n Complete the vCenter Network setup in the Data Director Setup wizard. Procedure 1 Use the Internal Network drop-down menu to configure the network mapping.
VMware vFabric Data Director Installation Guide Enter License Information Data Director offers evaluation and permanent licenses, with database usage designated as production or nonproduction. See the vFabric Data Director Administrator and User Guide for a discussion of Data Director and vFabric Postgres licensing. Prerequisites n Obtain license keys for your Data Director products from your VMware representative. n Complete the Networks and Network Adapters page of the Data Director Setup wizard.
vFabric Data Director Upgrade 5 vFabric Data Director Upgrade describes how to upgrade the Data Director virtual appliance and database virtual machines (DBVMs). Upgrading is a multistage process in which you perform procedures 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 Data Director Upgrade Virtual Appliance Process Overview To upgrade vFabric Data Director virtual appliances, you log in to vSphere Client as an administrator and perform upgrade tasks such as downloading the upgrade package, taking pre-upgrade snapshot backups, and using vSphere Update Manager (VUM) to apply the upgrade. The following process is the sequence of tasks for upgrading Data Director virtual appliances. 1 Obtain the Data Director upgrade package.
Chapter 5 vFabric Data Director Upgrade Prerequisites You are logged in to a vSphere Client as an administrator. Verify that Data Director is deployed and running. Verify that the VUM plugin is installed and available. You took a snapshot backup of the Data Director vApp's virtual machines with a retention time of at least 1 day. You obtained the upgrade source URL, either from an email notification or from your VMware representative.
VMware vFabric Data Director Installation Guide 4 Open the Admin View. You perform the upgrade tasks in the Admin View. If your site uses a proxy server to access the Web, see “Configure Proxy Settings,” on page 38. Otherwise, go to “Download the Upgrade Source and Accept the EULA,” on page 38. Configure Proxy Settings If your site uses a proxy server to access the Web, configure the vSphere Update Manager to use the proxy server. You need access to upgrade your Data Director virtual appliance.
Chapter 5 vFabric Data Director Upgrade Create an Upgrade Baseline You upgrade virtual appliances by using a predefined virtual appliance upgrade baseline, or by creating a custom virtual appliance upgrade baseline. Data Director virtual appliance upgrades require that you create a custom virtual appliance upgrade baseline. Prerequisites You are logged in to vSphere Client as an administrator.
VMware vFabric Data Director Installation Guide Shut Down Data Director 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. Prerequisites You are logged in to the Data Director Web administration UI as a system administrator. Procedure 1 In the Administration tab, open the Version page. 2 Click Shut Down Data Director.
Chapter 5 vFabric Data Director Upgrade Upgrade Data Director Database Virtual Machines (DBVMs) Data Director system administrators upgrade Database Virtual Machines from the Data Director Web UI. Prerequisites Verify that Data Director is deployed and running. Verify that the Data Director virtual appliance was upgraded and an updated database configuration template is available. See “Upgrade a Data Director Virtual Appliance,” on page 36. Make backups of the databases that you plan to upgrade.
VMware vFabric Data Director Installation Guide 42 VMware, Inc.
Index A L accepting license agreement 30 accounts, system administrator 31 Admission Control 11 audience for Data Director 5 license 34 license agreement acceptance 30 M branding 32 Management Server 33 minimum network configuration 22 multiple-gateway network setups 20 C N clusters 11 configure proxy settings 38 create initial system administrator 31 network configuration 15 network configurations 15 network mapping 33 network resources 17 network resources, gaining access to 17 networks 17 NTP
VMware vFabric Data Director Installation Guide upgrade a virtual appliance 36 upgrade baseline, creating 39 upgrade compliance settings 39 upgrade Data Director database virtual machines process overview 36 upgrade Data Director virtual appliance process overview 36 upgrade dbvm 41 upgrade process for vFabric Data Director 35 upgrade remediation task, configuring 40 upgrade source, downloading 38 upgrade vFabric Data Director 35 URL for Data Director 30 user management mode 31 V vApp 25 vCenter Network,