Using ObjectiveFS With Cleversafe/IBM Cloud Object Storage (HTTPS)

Enterprise Plan Feature

If your Cleversafe supports http, see this guide.

ObjectiveFS supports on-premise S3-compatible object stores such as Ceph, Cleversafe, etc. This guide describes how to use ObjectiveFS with a Cleversafe object store.

What You Need

Steps

1. Configure your Cleversafe (one-time setup)

Assumptions:

Set Cleversafe's S3 Virtual Host suffix to: *.s3.example.com

2. Set up your Cleversafe vault

Create an empty vault, e.g. ofs-vault

3. Set up stunnel

a. Install stunnel

$ yum install stunnel

b. Edit /etc/stunnel/stunnel.conf with the following 4 lines:

[s3]
client=yes
delay=yes
accept=127.0.0.1:8086
connect=<s3 accessor>:443


c. Run stunnel on your command line (or using your init tools)

$ stunnel

4. Configure your credentials (one-time setup)

# mount.objectivefs config
Enter ObjectiveFS license: <your ObjectiveFS license>
Enter Access Key Id: <your Cleversafe access key>
Enter Secret Access Key: <your Cleversafe secret key>
Enter Default Region (optional): [none]

5. Set up http proxy

# echo "http://127.0.0.1:8086" > /etc/objectivefs.env/http_proxy

6. Create a new filesystem inside ofs-vault

# mount.objectivefs create -f http://ofs-vault.s3.example.com/ofs-vault/<filesystem name>

7. Mount filesystem

# mount.objectivefs http://ofs-vault.s3.example.com/ofs-vault/<filesystem name> <mount directory>

Tips

Replace all references of s3://<bucket name> in the user guide and documentation with http://ofs-vault.s3.example.com/ofs-vault/<filesystem name>

Reference


by ObjectiveFS staff, April 5, 2017
ObjectiveFS is a shared file system for OS X and Linux that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at support@objectivefs.com