ドキュメント

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
  • ObjectiveFS installed
  • Cleversafe object store with virtual host addressing enabled
  • Your Cleversafe user has the Vault Provisioner role assigned
Steps
1. Configure your Cleversafe (one-time setup)

Assumptions:

  • Your Cleversafe is at cleversafe.example.com
  • Your Cleversafe’s S3 accessor is at https://s3.example.com
Set Cleversafe's S3 Virtual Host suffix to: *.s3.example.com
2. Set up your Cleversafe vault

a. Create an empty vault, e.g. ofs-vault
b. Create an empty object inside this vault called .objectivefs/ (note: the trailing ‘/’ is needed)

3. Set up stunnel

a. Install stunnel

$ yum install stunnel

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

[s3]
                    client=yes
                    accept=localhost:<port>   ## e.g. localhost:8086
                    connect=<s3 accessor>:443 ## e.g. s3.example.com: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://localhost:8086" > /etc/objectivefs.env/http_proxy
                    
6. Create a new filesystem inside ofs-vault
# mount.objectivefs create 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 contact from here

取り扱いが容易で、しかも安全な S3 ファイルシステム

14日間無料でお試しください