LogoLogo
T4O-4.0
T4O-4.0
  • About Trilio for Openstack
  • Trilio for Openstack Architecture
  • Trilio 4.0 Release Notes
  • Deployment Guide
    • Support Matrix
    • Requirements
    • Trilio network considerations
    • Preparing the installation
    • Spinning up the Trilio VM
    • Installing Trilio Components
      • Installing on RHOSP13
      • Installing on RHOSP16.0
      • Installing on RHOSP16.1
      • Installing on Canonical Openstack Queens and Train
      • Installing on Kolla Train
      • Installing on Ansible Openstack Train
    • Configuring Trilio
    • Apply the Trilio license
    • Additions for multiple CEPH configurations
    • Post Installation Health-Check
    • Uninstall Trilio
    • Upgrade Trilio
      • Ubuntu/Debian based Openstack enviroments
      • CentOS/RHEL based Openstack environments
      • RHOSP Upgrade
      • Upgrade Trilio Appliance
    • Uploading the File Recovery Manager
    • Install workloadmgr CLI client
  • Trilio Appliance Administration Guide
    • Trilio Appliance Dashboard
    • Reconfigure the Trilio Cluster
    • Change the Trilio GUI password
    • Reset the Trilio GUI password
    • Reinitialize Trilio
    • Set the Trilio Openstack service password
    • Available downloads from the Trilio Cluster
  • User Guide
    • Workloads
    • Snapshots
    • Restores
    • File Search
    • Snapshot Mount
    • Schedulers
    • E-Mail Notifications
  • Admin Guide
    • Backups-Admin Area
    • Workload Policies
    • Workload Quotas
    • Managing Trusts
    • Workload Import & Migration
    • Disaster Recovery
      • Example runbook for Disaster Recovery using NFS
  • Troubleshooting
    • General Troubleshooting Tips
    • Example RC file for workloadmgr CLI
    • Using the workloadmgr CLI tool on the Trilio Appliance
    • Healthcheck of Trilio
    • Important log files
  • API GUIDE
    • Workloads
    • Snapshots
    • Restores
    • File Search
    • Snapshot Mount
    • Schedulers
    • E-Mail Notifications Settings
    • Workload Policies
    • Workload Quotas
    • Managing Trusts
    • Workload Import and Migration
Powered by GitBook
On this page
  • Mount Snapshot
  • Body Format
  • List of mounted Snapshots in Tenant
  • List of mounted Snapshots in Workload
  • Dismount Snapshot
  • Body Format

Was this helpful?

Export as PDF
  1. API GUIDE

Snapshot Mount

Mount Snapshot

POST https://$(tvm_address):8780/v1/$(tenant_id)/snapshots/<snapshot_id>/mount

Mounts a Snapshot to the provided File Recovery Manager

Path Parameters

Name
Type
Description

tvm_address

string

IP or FQDN of Trilio service

tenant_id

string

ID of the Tenant/Project the Snapshot is located in

snapshot_id

string

ID of the Snapshot to mount

Headers

Name
Type
Description

X-Auth-Project-Id

string

Project to authenticate against

X-Auth-Token

string

Authentication token to use

Content-Type

string

application/json

Accept

string

application/json

User-Agent

string

python-workloadmgrclient

HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Wed, 11 Nov 2020 15:29:03 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
X-Compute-Request-Id: req-9d779802-9c65-463a-973c-39cdffcba82e

Body Format

{
   "mount":{
      "mount_vm_id":"15185195-cd8d-4f6f-95ca-25983a34ed92",
      "options":{
         
      }
   }
}

List of mounted Snapshots in Tenant

GET https://$(tvm_address):8780/v1/$(tenant_id)/snapshots/mounted/list

Provides the list of all Snapshots mounted in a Tenant

Path Parameters

Name
Type
Description

tvm_address

string

IP or FQDN of Trilio service

tenant_id

string

ID of the Tenant to search for mounted Snapshots

Headers

Name
Type
Description

X-Auth-Project-Id

string

Project to authenticate against

X-Auth-Token

string

Authentication token to use

Accept

string

application/json

User-Agent

string

python-workloadmgr

HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Wed, 11 Nov 2020 15:44:42 GMT
Content-Type: application/json
Content-Length: 228
Connection: keep-alive
X-Compute-Request-Id: req-04c6ef90-125c-4a36-9603-af1af001006a

{
   "mounted_snapshots":[
      {
         "snapshot_id":"ed4f29e8-7544-4e1c-af8a-a76031211926",
         "snapshot_name":"snapshot",
         "workload_id":"4bafaa03-f69a-45d5-a6fc-ae0119c77974",
         "mounturl":"[\"http://192.168.100.87\"]",
         "status":"mounted"
      }
   ]
}

List of mounted Snapshots in Workload

GET https://$(tvm_address):8780/v1/$(tenant_id)/workloads/<workload_id>/snapshots/mounted/list

Provides the list of all Snapshots mounted in a specified Workload

Path Parameters

Name
Type
Description

tvm_address

string

IP or FQDN of Trilio service

tenant_id

string

ID of the Tenant to search for mounted Snapshots

workload_id

string

ID of the Workload to search for mounted Snapshots

Headers

Name
Type
Description

X-Auth-Project-Id

string

Project to authenticate against

X-Auth-Token

string

Authentication token to use

Accept

string

application/json

User-Agent

string

python-workloadmgr

HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Wed, 11 Nov 2020 15:44:42 GMT
Content-Type: application/json
Content-Length: 228
Connection: keep-alive
X-Compute-Request-Id: req-04c6ef90-125c-4a36-9603-af1af001006a

{
   "mounted_snapshots":[
      {
         "snapshot_id":"ed4f29e8-7544-4e1c-af8a-a76031211926",
         "snapshot_name":"snapshot",
         "workload_id":"4bafaa03-f69a-45d5-a6fc-ae0119c77974",
         "mounturl":"[\"http://192.168.100.87\"]",
         "status":"mounted"
      }
   ]
}

Dismount Snapshot

POST https://$(tvm_address):8780/v1/$(tenant_id)/snapshots/<snapshot_id>/dismount

Unmounts a Snapshot of the provided File Recovery Manager

Path Parameters

Name
Type
Description

tvm_address

string

IP or FQDN of Trilio service

tenant_id

string

ID of the Tenant/Project the Snapshot is located in

snapshot_id

string

ID of the Snapshot to dismount

Headers

Name
Type
Description

X-Auth-Project-Id

string

Project to authenticate against

X-Auth-Token

string

Authentication token to use

Content-Type

string

application/json

Accept

string

application/json

User-Agent

string

python-workloadmgrclient

HTTP/1.1 200 OK
Server: nginx/1.16.1
Date: Wed, 11 Nov 2020 16:03:49 GMT
Content-Type: application/json
Content-Length: 0
Connection: keep-alive
X-Compute-Request-Id: req-abf69be3-474d-4cf3-ab41-caa56bb611e4

Body Format

{
   "mount": 
      {
          "options": null
      }
}
PreviousFile SearchNextSchedulers

Last updated 1 year ago

Was this helpful?