Install AIStor on Red Hat Enterprise Linux

This procedure downloads and installs the AIStor Server onto baremetal hosts running Red Hat Enterprise Linux

Review the Hardware and System Requirements to ensure your target infrastructure meets our guidance. You can also open a SUBNET to request an architecture review or assistance during deployment.

AIStor strongly recommends using only RHEL releases in the Full Support lifecycle with Long-Term Support (LTS) Kernels in the 5.x or 6.x release series.

Procedure

Repeat these steps for each node in the deployment.

  1. Download the AIStor Server RPM package.

    AIStor provides a RPM package for the AMD64 and ARM64 architectures. Download the package that reflects the host system’s architecture:

    You can validate the installation by running minio --version.

    The RPM package creates a new systemd unit file for the AIStor Server. Run systemctl status minio to validate the installation of the systemd file.

  2. Retrieve your License File.

    Log into SUBNET and select the License button in the Deployments view.

    An image of the SUBNET license pop-up.

    The Account License modal

    Create the /opt/minio directory if it does not exist. Download the file to /opt/minio/minio.license and set the ownership to minio-user:

    sudo mkdir /opt/minio
    sudo touch /opt/minio/minio.license
    sudo chown -R minio-user:minio-user /opt/minio
    

    Edit the minio.license file and replace its contents with the license string from the previous step.

  3. Review the environment file

    The RPM installs an environment file to /etc/default/minio automatically. Review the contents of the file and modify as directed based on your preferred topology:

    For distributed deployments, all nodes must have matching /etc/default/minio environment files. Use a utility such as shasum -a 256 /etc/default/minio on each node to verify an exact match across all nodes.

  4. Ensure AIStor has ownership of associated folders and drives.

    The minio.service file runs as the minio-user user and group by default. This user must have read/write/access permissions to all files, folders, and drive paths provided to the server process. The RPM installation creates the user and group by default.

    Use the chown and chmod commands to ensure the minio-user user and group have the necessary ownership and access permissions. For example:

    chown -R minio-user:minio-user /opt/minio/
    
    # Change this to reflect the series of volumes specified
    # to the MINIO_VOLUMES environment variable
    #
    # This assumes you have already mounted the drives at the given path
    chown -R minio-user:minio-user /mnt/drive-{1..4} 
    

    Repeat this step for each node in the deployment.

  5. Enable and start the AIStor deployment.

    Use systemctl enable minio.service and systemctl start minio to enable and start the server process, respectively. ```shell {.copy} systemctl enable minio.service && systemctl start minio ```

    You can track the status of the startup using journalctl -u minio on each node.

    On successful startup, each minio process emits output to the log resembling the following:

    MinIO Enterprise AIStor Server
    Copyright: 2015-2024 MinIO, Inc.
    Version: RELEASE.YYYY-MM-DDTHH-SS-mmZ (go1.22.4 linux/amd64)
    
    API: https://minio-1.example.net:9000 https://203.0.113.10:9000 https://127.0.0.1:9000 
        RootUser: minioadmin 
        RootPass: minioadmin 
    
    WebUI: https://minio-1.example.net:9001 https://203.0.113.10:9001 https://127.0.0.1:9001          
        RootUser: minioadmin 
        RootPass: minioadmin 
    
    CLI: https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart
        $ mc alias set 'myminio' 'https://minio-1.example.net:9000' 'minioadmin' 'minioadmin'
    
    Docs: https://min.io/docs/minio/linux/index.html
    Status:         4 Online, 0 Offline. 
    
    The AIStor minio service does not automatically start on host reboot. You must use systemctl enable minio.service to start the process as part of the host boot.
  6. Connect to the Deployment

    You can connect to the deployment using the built-in AIStor Server console in a browser, by using the MinIO mc commandline tool, or by using an S3-compatible SDK: