After you meet the prerequisites, you can install Data Repository. Install Data Repository before you install Data Aggregator. The following scripts must be executed in sequence as part of the installation process:
Each script, when run, generates a corresponding log file in the installation_directory/logs directory on the Data Repository host from which the scripts were run. These log files include the step-by-step output of the scripts. You can review the script outputs to validate successful/failed script runs.
Important! Before you install Data Repository, review the system requirements.
Follow these steps:
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
sudo ./installDR.
Important! The installDR.bin file does not install Data Repository. This file extracts the Data Repository rpm, the license file, and the three installation scripts. You install Data Repository later in this procedure.
The License Agreement opens.
If you extract the Data Repository installation file from a secure shell or console without running an X Window System on the computer on which you install Data Repository, the License Agreement opens in console mode (command line). Otherwise, the agreement opens within a user interface.
Note: Do not use the Logical Volume Manager (LVM) for the /opt directory.
The Data Repository installation package, license file, and associated setup scripts are extracted to the chosen directory.
Default: dradmin
Note: If this user is not found in the system, the Vertica installer creates it. This user is the Vertica database administrator. If the dradmin user is not created, changing to user Vertica automatically creates the dradmin user.
Default: /export/dradmin
Note: This directory is created if the Vertical installer creates the user. Be sure that the directory leading up to the home account already exists on the system. For example, if you are using /export/dradmin, be sure that /export exists.
Default: /data
Note: Do not use the Logical Volume Manager (LVM) for the data directory.
Default: /catalog
Note: Do not use the Logical Volume Manager (LVM) for the catalog directory.
Default: yourhostname1,yourhostname2,yourhostname3
Default: drdata
Default: dbpass
Note: The database password that you define here is used during the installation of Data Aggregator.
ssh-keygen -N "" -t rsa -f ~/.ssh/id_rsa cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys2 chmod 644 ~/.ssh/authorized_keys2
ssh-copy-id -i root_user@remotehost
Is another host in the cluster where you are copying the SSH ID.
ssh root_user@remotehost ls
Note: A three-node cluster requires six variations of the previous steps.
If the passwordless SSH has been set up successfully, you are not prompted for a password. You also see a directory listing from the ‘ls command’.
./dr_validate.sh -p properties_file
For example:
./dr_validate.sh -p drinstall.properties
sudo ./dr_validate.sh -p properties_file
For example:
sudo ./dr_validate.sh -p drinstall.properties
Note: If you run the validation script as the sudo user, you are prompted for the Vertica database administrator password. Sometimes, you are prompted multiple times.
The validation script establishes SSH without a password for the root user across all hosts in a cluster. If SSH without a password does not exist for the root account, you are prompted for a password. You are sometimes prompted multiple times.
Note: The validation script sometimes asks you to reboot.
./dr_install.sh -p properties_file
sudo ./dr_install.sh -p properties_file
The installation script installs the data repository, creates the database, and disables unnecessary Vertica processes. If the database administrator user does not already exist, the installation script also creates it. The script then prompts you to assign a new password.
su - dradmin
/opt/vertica/bin/adminTools
The database name appears and the State is reported as UP.
Note: If the database does not start automatically, select Start DB to start the database manually. If the database is not started, the Data Aggregator installation fails.
When Data Repository is installed, three users are created:
New User Example |
Password Example |
Operating System User Account? |
Vertica Database User Account? |
Notes |
Permissions |
---|---|---|---|---|---|
spread |
N/A |
Yes |
No |
This user is an internal user that Vertica creates. Do not do anything with this user. |
This daemon-only user owns the Data Repository processes. |
dradmin |
drpass |
Yes |
No |
This user is the first user that you created when you installed Data Repository. When the dradmin user is created, a verticadba group is also created. The dradmin user is added to this group. |
This user can run the Data Repository processes and the Administration Tools utility. This user owns Data Repository catalog files, data files, and so on. |
dradmin Note: This user is different from the user that is displayed in the previous row. |
dbpassword Note: The password that is specified for this database is the password for the database administrator. |
No |
Yes |
This user was created when the database was created. |
|
Note: Vertica includes a verticadba group for tighter control over filesystem access in the /opt/vertica/ directories. During the installation, the verticadba group is created, and existing users are added to the group with permissions set to 775. This setting grants full privileges to the verticadba group and read/execute privileges to all other users. The /opt/vertica/log and /opt/vertica/config directories are the folders with the modified permissions.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|