github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/ansible/README.md (about)

     1  This directory contains playbooks and scripts for deploying a non-containerized AIS cluster across multiple nodes. 
     2  
     3  This setup is intended for **testing and development only**; production deployments should use the k8s deployment.
     4  
     5  ---
     6  
     7  ### Prerequisites
     8  
     9  - Network connectivity from ansible to hosts and between hosts
    10  - GO installed and available in usr/local/go on all hosts
    11  - Root access on each host (for ansible `become`)
    12  
    13  ---
    14  
    15  ### Configuration
    16  
    17  Modify the host configuration in `inventory.yaml`. Each host is expected to act as a target node, with an equal number of devices and mountpaths specified. `directory` specifies the root directory for the location of the mountpaths. The `primary` hosts section defines the primary host, which will serve as the only proxy for this deployment (and also one target). Each `target` host will use the proxy on the `primary` host to self-register as a target node.
    18  
    19  All other variables are defined in the `vars.yaml` file. This includes locations of files on the hosts as well as the primary host IP and port. 
    20  
    21  --- 
    22  
    23  ### Deployment
    24  
    25  Run `deploy_multi.sh` to run the full deployment. This will first run the `setup.yaml` playbook to set up the AIS mounthpaths on all targets. Next, the primary proxy and a target will be deployed on the primary host with the `deploy_primary.yaml` playbook. Finally, any additional targets hosts will be deployed with the `deploy_target.yaml` playbook.