Reference Guide: Optimizing Backup Strategies for Red Hat OpenShift Virtualization

Canonical OpenStack FAQ

  • juju status | grep trilio | grep charm
    juju ssh trilio-wlm/leader "sudo dpkg -l | grep -Ei 'trilio|tvault|workloadmgr|s3|dmapi|dm_api|datamover|data_mover|contego'"
    juju ssh trilio-dm-api/leader "sudo dpkg -l | grep -Ei 'trilio|tvault|workloadmgr|s3|dmapi|dm_api|datamover|data_mover|contego'"
    juju ssh trilio-data-mover/leader "sudo dpkg -l | grep -Ei 'trilio|tvault|workloadmgr|s3|dmapi|dm_api|datamover|data_mover|contego'"
    
  • /var/log/workloadmgr/workloadmgr-api.log # trilio-wlm
    /var/log/workloadmgr/workloadmgr-cron.log # trilio-wlm
    /var/log/workloadmgr/workloadmgr-filesearch.log # trilio-wlm
    /var/log/workloadmgr/workloadmgr-scheduler.log # trilio-wlm
    /var/log/workloadmgr/workloadmgr-workloads.log # trilio-wlm
    /var/log/dmapi/dmapi.log # trilio-dm-api
    /var/log/nova/tvault-contego.log # trilio-data-mover
    /var/log/tvault-object-store/tvault-object-store.log # trilio-wlm, trilio-data-mover
    
  • Grab the restore ID:

    workloadmgr snapshot-list --workload_id a0e61dc0-14eb-4e43-8c4f-ae25ac4fa8c0
    workloadmgr restore-list --snapshot_id 546b542a-9fba-4484-848d-da730b4e46c6
    

     In the TVM logs, get the ID of the instance that was trying to spin up:

    sudo cat /var/log/workloadmgr/workloadmgr-workloads.log* | grep CopyBackupImageToVolume.execute.*ENTER | grep <restore_id> | awk '{print $9}' | cut -f1 -d"," | sort | uniq
    

    3. Grab the host from the OpenStack DB (inside the OpenStack controller):

    MYSQLPWD=$(juju exec --unit mysql-innodb-cluster/leader leader-get mysql.passwd)
    juju exec --unit mysql-innodb-cluster/leader "mysql -uroot -p${MYSQLPWD} -e \"select uuid,display_name,node,launched_on,created_at,deleted_at from nova.instances where uuid='a2454040-d4ed-4711-8d5e-6b3637f69aa9'\"\\\G"
    
  • Retrieve the value of verbose and debug flag using following commands:

     juju config trilio-wlm verbose
            juju config trilio-wlm debug
    

     Enable verbose and debug to true, use following commands:

       juju config trilio-wlm verbose=True
           juju config trilio-wlm debug=True
    
  • A. On Trilio Appliance source the credentials of cloud administrator

    B. Run this command source /home/stack/myansible/bin/activate

     C. Create cloud admin trust using following command:

    Syntax of command: workloadmgr trust-create [--is_cloud_trust {True,False}] <role_name>
                  Example command:
                  workloadmgr trust-create --is_cloud_trust True admin
                  workloadmgr trust-create --is_cloud_trust True Admin (This command is for canonical based openstack where admin role is Admin)
    
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.