Wednesday, July 22, 2015

Accessing Spectrum Scale Object Store using Swift Explorer

What this post is about ?



   As title indicates this post is about configuring Swift Explorer with Spectrum Scale object store.

What we will need ?


1) A cluster with spectrum scale installed
2) Object service given by spectrum scale should be enable and configured with keystone
3) A client on which you can install Swift Explorer.
4) Your cluster should be pingable by client.


How to use Swift Explorer ?


1. Download Swift Explorer.
2. Install application.
3. Connect it to object store with proper authentication.

And that's it !! You are ready to go..

Let's me show you how I configure Swift Explorer for IBM Spectrum Scale -

My Spectrum Scale cluster configuration -


[root@viknode3 ~]# mmlscluster --ces

GPFS cluster information
========================
  GPFS cluster name:         viknode.gpfscluster
  GPFS cluster id:           18080921923631760149

Cluster Export Services global parameters
-----------------------------------------
  Shared root directory:                /ibm/cesSharedRoot/ces
  Enabled Services:                     SMB NFS OBJ
  Log level:                            0
  Address distribution policy:          even-coverage

 Node  Daemon node name            IP address       CES IP address list
-----------------------------------------------------------------------
   2   viknode3                    XX.XX.100.73      XX.XX.100.76(object_database_node,object_singleton_node)
   3   viknode4                    XX.XX.100.74      XX.XX.100.75


All you need to access Spectrum Scale object store is keystone v2.0 endpoints.

If you don't have it already you can create it using following commands :


# openstack endpoint create --region regionOne identity internal http://viknode3:35357/v2.0
# openstack endpoint create --region regionOne identity public http://viknode3:5000/v2.0
# openstack endpoint create --region regionOne identity admin http://viknode3:35357/v2.0

Endpoints for Spectrum Scale on my machine looks like -



[root@viknode3 ~]# openstack endpoint list
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------------------+
| ID                               | Region    | Service Name | Service Type | Enabled | Interface | URL                                        |
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------------------+
| 0413ec4c2bed446bb0235dd19167b55a | None      | keystone     | identity     | True    | public    | http://viknode3:5000/v3                    |
| e33971bc36ee43529cf86a06e07d1ef8 | None      | keystone     | identity     | True    | internal  | http://viknode3:35357/v3                   |
| 2dcdc8a16eea4e49884309f3b4f133ce | None      | keystone     | identity     | True    | admin     | http://viknode3:35357/v3                   |
| 8c7751fb59e6402a88609ce221bd155f | regionOne | keystone     | identity     | True    | internal  | http://viknode3:35357/v2.0                 |
| fc49659bff0343baa96f02f157c36609 | regionOne | keystone     | identity     | True    | public    | http://viknode3:5000/v2.0                  |
| c933034ee2344292bc9e67adb4713f69 | regionOne | keystone     | identity     | True    | admin     | http://viknode3:35357/v2.0                 |
| 0439ebec239747e9ae008c8030ab8ec1 | regionOne | swift        | object-store | True    | public    | http://viknode3:8080/v1/AUTH_%(tenant_id)s |
| 8bfd1aba25ff460b84fb610b00013a3c | regionOne | swift        | object-store | True    | internal  | http://viknode3:8080/v1/AUTH_%(tenant_id)s |
| 169414a767834dd3a9c44527bbcab5c9 | regionOne | swift        | object-store | True    | admin     | http://viknode3:8080                       |
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------------------+

Configuration for Swift Explorer -

You can download Swift Explorer from it here as per client machine requirements.



Install the application

(I am using windows client)


Open the application once you are done with installation.



Click on "Account" and select "Keystone Login"
It will popup a form for keystone credentials as shown in image.
Fill the credentials for keystone and click on "Ok"


If your credentials are correct it will open the explorer when you can see the containers and objects in that container


No comments:

Post a Comment