Steps

Configuring NexentaEdge OpenStack/SWIFT Cluster

Step1 of 4

Start NexentaEdge data node container

NexentaEdge is designed to be "shared-nothing" scale-out SDS solution where data storage containers spread out across physical server nodes connected via Ethernet network (we call it Replicast/UDP backend network).
In this first step we will setup first host node as Edge data node with a location where to keep data blobs:

mkdir /var/tmp/data

In real deployments the above location ideally has to point to previously prepared mount point using ext4, xfs or zfs filesystems. More complex configuration allows usage of direct raw disk interface as well.

Now that we setup data blobs location, start nexenta/nedge daemon and Edge SWIFT Object compatible service

It will take few minutes for docker image to download. Please be patient..

Initialize single node cluster

Cluster can be managed via CLI or GUI. In this tutorial we will explain how to use CLI to get cluster initialized.
Utility is pre-packaged into nexenta/nedge image and now available. For easy access, setup an alias

alias neadm="docker exec -it swiftdata neadm"

Verify that service is running (it might take few minutes for service to appear)

neadm system status

At this point you will see single node shows up in the status output. If desired you can add more nodes to the cluster.
Now, initialize cluster site installation. You will need to read (press enter to scroll), accept EULA and type "yes" at the end.
As a result cluster will be initialized with new GUID (Globally Unique ID).

neadm system init

OPTIONAL:
Now that cluster initialized, setup DevOps license. We assume that you already have ACTIVATION_KEY token available and ready to be used.
Use e-mailed ACTIVATION_KEY to activate installation

neadm system license set online ACTIVATION_KEY

Configure simple Edge SWIFT Object service

Using neadm CLI configure SWIFT Object service by setting up cluster region namespace with few tenants and service name

Debugging Scenarios

Help

Katacoda offerings an Interactive Learning Environment for Developers. This course uses a command line and a pre-configured sandboxed environment for you to use. Below are useful commands when working with the environment.

cd <directory>

Change directory

ls

List directory

echo 'contents' > <file>

Write contents to a file

cat <file>

Output contents of file

Vim

In the case of certain exercises you will be required to edit files or text. The best approach is with Vim. Vim has two different modes, one for entering commands (Command Mode) and the other for entering text (Insert Mode). You need to switch between these two modes based on what you want to do. The basic commands are: