How to see untenanted streams via Content Gateway

In modern versions of the Content Gateway, you can access (all usual CRUD operations) untenanted streams via the content gateway. In the past, Content Gateway only allowed you to manage content that resided in a domain. When dealing with untenanted information, it is helpful to understand that the majority of users that have this kind of content do so because legacy applications were not configured for or were not capable of writing to a domain. Many modern applications write via S3 which necessarily writes to a domain and bucket. Users may, therefore, have untenanted content AND tenanted content. A single Gateway allows you the ability to access both.

This page shows an example of how to manage your untenanted streams through gateway.

More information on that can be found here:

Untenanted Streams via command line

  • Do operations with a domain=”” query arg, like this example of an INFO of an untenanted stream (a CSN backup, in particular):

>curl -IL "http://c-csn1-cs2.enfield.com/f777c56b714b0b7375de02158f0ab6b9?domain=" HTTP/1.1 200 OK Date: Mon, 24 Oct 2022 13:32:03 GMT Gateway-Request-Id: 16D35E7FEC40F9B6 Server: CAStor Cluster/12.1.0 Via: 1.1 c-csn1-cs2.enfield.com (Cloud Gateway SCSP/7.5.0) Gateway-Protocol: scsp CAStor-Application: backup_csn CAStor-Application-Component: saveset CAStor-Application-Date: 2011-03-04 16:02:43 -0600 (Fri, 04 Mar 2011) CAStor-Application-Revision: 77614 CAStor-Client-Library: scspfile.CAStorFile CAStor-Client-Library-Date: 2010-11-01 16:36:19 -0500 (Mon, 01 Nov 2010) CAStor-Client-Library-Revsion: 74471 CAStor-Host-Kernel: Linux 2.6.32-754.3.5.el6.x86_64 x86_64 CAStor-Host-Name: c-csn1.enfield.com Castor-System-Cluster: c-csn1.enfield.com Castor-System-Created: Thu, 25 Mar 2021 19:08:04 GMT Content-Disposition: inline; filename=csn-backup.tgz Content-MD5: tlObbI2jlf49wS1hkHzLXw== Content-Type: application/x-gzip Last-Modified: Thu, 25 Mar 2021 19:08:04 GMT lifepoint: [] reps=2, deletable=yes ETag: "f777c56b714b0b7375de02158f0ab6b9" Volume: a18e8592836fd39d1da925de6a4f1e4c Content-Length: 766262572
  • If you leave the domain=”” query arg off, you will get an error like:

    >curl -IL "http://c-csn1-cs2.enfield.com/f777c56b714b0b7375de02158f0ab6b9" HTTP/1.1 503 Service Unavailable Date: Wed, 23 Nov 2022 21:03:15 GMT Gateway-Request-Id: 363293E663626D95 Server: CAStor Cluster/12.1.0 Via: 1.1 c-csn1-cs2.enfield.com (Cloud Gateway SCSP/7.5.0) Gateway-Protocol: scsp Content-Length: 81
  • You can enumerate these same streams in a similar way by adding the domain=”” query arg to an enumeration:

    # curl -m 60 -L -s 'http://192.168.201.84:80/?format=json&stype=all&domain=&fields=name' [ {"name": "f777c56b714b0b7375de02158f0ab6b9"}, {"name": "87d7ee5b6e45ce8132d5e0870254231c"}, {"name": "9e9e7f727ec2ad93e222f87fb94cccb3"}, {"name": "0562041c24cf28f5428dc71d5ff290f4"}, {"name": "0940731f36dd869449f2886db7ee16fb"}, {"name": "cadb662bc51666653d880e0e2b36d609"}, {"name": "087ca964c5fc46c5c0b8e4f2116cd073"} ]

You can enumerate these using the indexer-enumerator.sh script with the -t option:

Untenanted Streams via the Content UI

  • You can also access untenanted streams in the Content UI per the previous link. There is a bug in Content Gateway between 7.8 and 7.10.1 that untenanted streams will not appear in the UI. This will be fixed post 7.10.1.

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.