6. When you are satisfied with the appliance configuration, use the
install
and
monitor
subcommands to install the appliance:
configure-sga.py install --monitor SGA-INSTALL-IP
7. If you want to reboot the appliance, enter the following:
configure-sga.py reboot SGA-INSTALL-IP
Automating the configuration of StorageGRID
After deploying the grid nodes, you can automate the configuration of the StorageGRID system.
Before you begin
•
You know the location of the following files from the installation archive.
Filename
Description
configure-storagegrid.py
Python script used to automate the configuration
configure-storagegrid.sample.json
Sample configuration file for use with the script
configure-storagegrid.blank.json
Blank configuration file for use with the script
•
You have created a
configure-storagegrid.json
configuration file. To create this file,
you can modify the sample configuration file (
configure-storagegrid.sample.json
) or
the blank configuration file (
configure-storagegrid.blank.json
).
About this task
You can use the
configure-storagegrid.py
Python script and the
configure-
storagegrid.json
configuration file to automate the configuration of your StorageGRID
system.
Note: You can also configure the system using the Grid Manager or the Installation API.
Steps
1. Log in to the Linux machine you are using to run the Python script.
2. Change to the directory where you extracted the installation archive.
For example:
cd StorageGRID-Webscale-version/platform
where
platform
is
debs
,
rpms
, or
vsphere
.
3. Run the Python script and use the configuration file you created.
For example:
./configure-storagegrid.py ./configure-storagegrid.json --start-install
Result
A Recovery Package
.zip
file is generated during the configuration process, and it is downloaded
to the directory where you are running the installation and configuration process. You must back
up the Recovery Package file so that you can recover the StorageGRID system if one or more grid
nodes fails. For example, copy it to a secure, backed up network location and to a secure cloud
storage location.
Attention: The Recovery Package file must be secured
because it contains encryption keys and passwords that
Hardware Installation and Maintenance Guide for SG100 and SG1000 Appliances
70
Deploying a services appliance node