Book Contents

Book Index

Next Topic

Home

Installing Vertica

This section describes how to install the Vertica software on a cluster. It assumes that you have already performed the tasks in the Before You Install section of this document.

Upgrade Installations

If you have previously installed Vertica on any cluster host:

Downgrade Installations

Downgrade installations are not supported.

Installation Procedure

Do not skip any part of this procedure. You must run install_vertica for all installations, including upgrades and single-node installations.

  1. Use a Web browser to download the Vertica rpm package from http://www.vertica.com/v-zone/download_vertica. Make sure that the package you download matches the operating system on which you intend to install it, not the machine architecture. The actual package names may be different than those shown here.

    vertica_2.1.GA.i386.RHEL4.rpm

    vertica_2.1.GA.x86_64.RHEL4.rpm

    vertica_2.1.GA.i386.RHEL5.rpm

    vertica_2.1.GA.x86_64.RHEL5.rpm

    vertica_2.1.GA.i386.SUSE10.rpm

    vertica_2.1.GA.x86_64.SUSE10.rpm

    vertica_2.1.GA.i386-FC6_32.rpm

    vertica_2.1.GA.x86-FC6_64.rpm

    Notes:

    • Only 64-bit packages are supported for production databases.
    • 32-bit packages are provided for testing and evaluation purposes only.
  2. If necessary, copy the rpm package to the host on which you intend to install it and use the host's console device or a remote terminal window (xterm, PuTTY, etc.) to perform the installation procedure.
  3. If you have previously installed Vertica V1.3 on any of the hosts in the cluster, use the Administration Tools to shut down any running database. The database must stop normally. You cannot upgrade a database that requires recovery.
  4. Choose a host machine and log in as root (or log in as another user and switch to root):

    $ su - root

    password: <root-password>

    #

    The host that you choose becomes the Administration Host for the purposes of using the Administration Tools.

  5. Run the rpm package installer.

    # rpm -Uvh pathname

    where pathname is the Vertica package file you downloaded.

    If the rpm installer reports multiple dependency problems, you are probably trying to install the wrong package. Make sure that the machine architecture (32-bit or 64-bit) of the package you downloaded matches the operating system.

    Preparing... ########################################### [100%]

    1:vertica ########################################### [100%]

    Vertica® Analytic Database 2.1.GA successfully installed.

     

    The documentation files (HTML and PDF) are installed in: /opt/vertica/doc/

     

    To read the documentation:

    file:///opt/vertica/doc/HTML/Master/index.htm

     

    To try the Quick Start tutorial:

    file:///opt/vertica/doc/HTML/QuickStart/index.htm

     

    To download the latest documentation in zip or tar format:

    http://www.vertica.com/v-zone/product_documentation

     

    To complete installation and configuration of the cluster,

    run /opt/vertica/sbin/install_vertica

  6. Run the installation script as shown:

    # /opt/vertica/sbin/install_vertica -s host_list -r rpm_package -u dba_username

      

    -s host_list

    a comma-separated list of hostnames or IP addresses to include in the cluster; do not include space characters in the list. Examples:

    -s host01,host02,host03

    -s 192.168.233.101,192.168.233.102,192.168.233.103

    This parameter is required and has no default value.

    -r rpm_package

    the pathname of the rpm package that you installed in the previous step. Example:

    -r vertica_2.1.GA.x86_64.RHEL5.rpm

    This parameter is required and has no default value.

    -u dba_username

    the name of the Database Administrator Linux account to create. Only this account can run the Administration Tools. If you omit the -u parameter, the default database administrator account name is dbadmin.

    This parameter is optional for new installations only. If upgrading, use the -u parameter to specify the same DBA account name that you used previously. Otherwise you may encounter problems later.

    The complete set of installation parameters including optional parameters and example output are described in the next section.

  7. Provide the root password when prompted. The password does not echo on the command line.

    Vertica Database 2.1.GA Installation Tool

    Please enter password for root@host01:password

  8. Provide the database administrator account password when prompted:

    Enter password for new UNIX user dbadmin:password

    Retype new UNIX password for user dbadmin:password

    The installation script creates a new Linux user account (dbadmin by default) with the password that you provide.

  9. Carefully examine any warnings produced by install_vertica and correct the problems if possible. For example, insufficient RAM, insufficient Network throughput and too high readahead settings on filesystem may cause performance problems later on.

    Ignore insufficient RAM warnings when installing on VMware.

  10. Optionally perform the steps in the following sections:
  11. Disconnect from the Administration Host as instructed by the script. This is required in order to:

    At this point, Linux root privileges are no longer needed. The remaining steps can be performed by the database administrator.

    Exception: when creating a new database, the database administrator may wish to use different data and/or catalog locations than those created by the installation script. In that case, a Linux administrator may need to create those directories and change their ownership to the database administrator.

  12. Log in to the Database Administrator account on the administration host.
  13. Install the license key you downloaded previously as described in Installing Your License Key.
  14. If you have not already done so, proceed to the Tutorial Procedure in the Quick Start. Otherwise, proceed to Configuring the Database in the Database Administrator's Guide.

In This Chapter

install_vertica