• You must back up all VMware Aria Automation appliances, at the same time.

  • When you back up the VMware Aria Automation appliance, disable in-memory snapshots.

Shut Down VMware Aria Automation

This procedure is required only for VMware Aria Automation 8.0 and is optional for 8.0.1 or newer. It is recommended to upgrade to VMware Aria Automation 8.0.1 or newer and use online backups. It outlines how you can automate the shutdown and startup of the VMware Aria Automation application services.

Procedure

  1. Log in to the VMware Aria Automation appliance over SSH.
    Note:

    Perform this procedure only on one of the nodes in your VMware Aria Automation cluster. The application services of all cluster nodes can be stopped from one of the appliances.

  2. Navigate to /usr/
  3. Create a script titled pre-freeze-script.
    #!/bin/bash
    # Stop application services
    /opt/scripts/svc-stop.sh >/dev/null 2>&1 sleep 60
    # Stop infrastructure services
    /opt/scripts/deploy.sh --onlyClean >/dev/null 2>&1 RETURN_CODE=$?
    sleep 60
    if [[ "$RETURN_CODE" -eq 0 ]]
    then
    echo "$LOG_PREFIX VMware Aria Automation services successfully stopped" exit 0
    else
    echo "$LOG_PREFIX VMware Aria Automation services failed to stop" exit 1
    fi
    
  4. Create a script titled post-thaw-script.
    #!/bin/bash
    # Clear services state
    /opt/scripts/deploy.sh --onlyClean >/dev/null 2>&1 sleep 60
    # Start services
    /opt/scripts/deploy.sh >/dev/null 2>&1 RETURN_CODE=$?
    sleep 60
    if [[ "$RETURN_CODE" -eq 0 ]]
    then
    echo "$LOG_PREFIX VMware Aria Automation services successfully started" exit 0
    else
    echo "$LOG_PREFIX VMware Aria Automation services failed to start" exit 1
    fi
    
  5. Set the correct permissions.
  6. Set the scripts as pre-snapshot and post-snapshot executables in Veritas NetBackup. Since Veritas NetBackup does not support running external scripts, see the Veritas KB 100008616 and the VMware guide on running custom quiescing scripts.