Automating the installation and configuration of the StorageGRID Webscale host service

You can automate the installation of the StorageGRID Webscale host service using standard orchestration frameworks such as Ansible, Puppet, Chef, Fabric, or SaltStack.

The StorageGRID Webscale host service is packaged in an RPM and is driven by configuration files that can be prepared ahead of time (or programmatically) to enable automated installation. If you already use a standard orchestration framework to install and configure RHEL or CentOS, adding StorageGRID Webscale to your playbooks or recipes should be straightforward.

You can automate these tasks:

  1. Installing Linux
  2. Configuring Linux
  3. Configuring host network interfaces to meet StorageGRID Webscale requirements
  4. Configuring host storage to meet StorageGRID Webscale requirements
  5. Installing Docker
  6. Reconfiguring Docker in direct-lvm mode
  7. Installing the StorageGRID Webscale host service
  8. Creating StorageGRID Webscale node configuration files in /etc/storagegrid/nodes
  9. Validating StorageGRID Webscale node configuration files
  10. Starting the StorageGRID Webscale host service

Example Ansible playbook

An Ansible role and example playbook are supplied with the installation archive in the /extras folder. The Ansible playbook shows how the storagegrid role prepares the host and installs StorageGRID Webscale onto the target servers. You can customize the playbook or role as necessary.