summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/daos/README.md
blob: de6d215a01602cbfbbfc945675ac1e64643364b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# DAOS

Standalone RADOS Gateway (RGW) on [DAOS](http://daos.io/) (Experimental)

## CMake Option

Add below cmake option

```bash
    -DWITH_RADOSGW_DAOS=ON
```

## Build

```bash
    cd build
    ninja [vstart]
```

## Running Test cluster

Edit ceph.conf to add below option

```conf
    [client]
        rgw backend store = daos
```

Restart vstart cluster or just RGW server

```bash
    [..] RGW=1 ../src/vstart.sh -d
```

The above configuration brings up an RGW server on DAOS.

## Creating a test user

 To create a `testid` user to be used for s3 operations, use the following command:

 ```bash
local akey='0555b35654ad1656d804'
local skey='h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q=='
    radosgw-admin user create --uid testid \
        --access-key $akey --secret $skey \
        --display-name 'M. Tester' --email tester@ceph.com --no-mon-config
 ```