Upgrade Data Repository. The following scripts must be executed in sequence as part of the upgrade process:
Note: For information about supported upgrade paths and when to upgrade Data Repository, see the Data Aggregator Release Notes.
Follow these steps:
/opt/vertica/bin/adminTools
The Administration Tools dialog opens.
Important! In a cluster installation, you can initiate the Data Repository installation from any of the three hosts that is participating in the cluster. The required software components are pushed to the additional two nodes during the installation.
chmod u+x installDR.bin
./installDR.bin
Important! The installDR.bin file does not install Data Repository. This file extracts the Data Repository rpm and license file. You install Data Repository later in this procedure.
The directory that was chosen during the installDR.bin installation must be accessible by all users. chmod can be used to enable read/write for directories within the user home directories (for example, chmod -R 755 ˜).
The License Agreement opens.
If you extract the Data Repository installation file from a secure shell or console and you are not running an X Window System on the computer where you want to install Data Repository, the License Agreement opens in console mode (command line). Otherwise, the agreement opens within a user interface.
The Data Repository installation package and license file are extracted to the chosen directory. Three installation scripts that are required to complete the installation are extracted also.
/opt/vertica/bin/vbr.py --task backup --config-file configuration_filename
Indicates the directory path and filename of the configuration file you created when you initially set up automatic backups. This file is located where you ran the backup utility (/opt/vertica/bin/vbr.py).
For example:
/opt/vertica/bin/vbr.py --task backup --config-file /home/vertica/vert-db-production.ini
If you are prompted about the authenticity of the host, answer yes.
Note: In a cluster installation, you only have to perform this step on one of the hosts that are participating in the cluster.
Important! If you back up Data Repository and have not been regularly backing up Data Repository previously, it can take several hours or more to back up Data Repository.
Note: The paths above reflect default values. Your exact locations may differ.
Default: dradmin
Default: /export/dradmin
Default: /data
Note: If you are unsure what your data directory is, do the following steps: Open the /opt/vertica/config/admintools.conf file. Scroll down until you see the [Nodes] section. Locate one of the lines that begins with v_dbname_nodeXXXX. This line contains the IP address of the node, the location of the catalog directory, and the location of the data directory, in that order, separated by commas. Make note of the data directory.
Default: /catalog
Note: If you are unsure what your catalog directory is, do the following steps: Open the /opt/vertica/config/admintools.conf file. Scroll down until you see the [Nodes] section. Locate one of the lines that begins with v_dbname_nodeXXXX. This line contains the IP address of the node, the location of the catalog directory, and the location of the data directory, in that order, separated by commas. Make note of the catalog directory.
Default: yourhostname1,yourhostname2,yourhostname3
Default: drdata
Note: If you are unsure what your database name is, run Admintools as the Vertica Linux database administrator. From the Main Menu, select “6 Configuration Menu” and then select “3 View Database”. The name of your database is in the “Select database to view” dialog. This value should correspond with the value specified for DbName. Note the database name and select “Cancel”.
Default: dbpass
Note: If you have an “InstallDestination” parameter in your drinstall.properties file, this parameter will no longer be used and can be safely removed.
./dr_validate.sh -p properties_file
For example:
./dr_validate.sh -p drinstall.properties
The pre-installation script establishes passwordless SSH between all hosts in a cluster. If passwordless SSH does not exist, you are prompted for a password.
Note: The pre-installation script may prompt you to reboot.
./dr_install.sh -p properties_file
For example:
./dr_install.sh -p drinstall.properties
The installation script upgrades the data repository and disables unnecessary vertica processes. You may be prompted for the vertica Linux database administrator user password.
Note: Enter the password and press Enter twice to proceed.
/opt/vertica/bin/adminTools
The Administration Tools dialog opens.
Data Repository is upgraded.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|