Skip to content

Small Ansible script for automatically configuring OS level prerequisites on all VMs before installation

Notifications You must be signed in to change notification settings

Koumboss/VerticaAutoconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

VerticaAutoconfig

Small Ansible script for automatically configuring OS level prerequisites on all VMs before installation.

Before running the script

  1. Make sure to use the root user and that passwordless ssh is enabled. Otherwise, run the following command from your initiator server towards all Vertica nodes :
# Replace the IP with each IP of your cluster
ssh-copy-id 10.30.30.23
  1. In order to run the script, it is essential to have Ansible installed, to have a root account and to install the Vertica RPM and to drop it in a dedicated path.
  2. Install Python and its command line tool pip3
yum install -y python39
  1. Install Ansible using pip3
pip3 install ansible

How to run

  1. Download the project from Github image
  2. Modify the inventory.ini file with your one servers’ IPs :
    image
  3. Modify the vars.yml file appropriately :
    image
  4. Run the following command to execute the script :
ansible-playbook -i inventory.ini vertica_prereq.yml

image image 5. You can finally rerun the install_vertica script and your prerequisites will automatically pass. image

Next steps

  1. Automatically generate a backup.ini file for backups.
  2. Automatically create the DB based on a configuration file.

About

Small Ansible script for automatically configuring OS level prerequisites on all VMs before installation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published