External API


d.korekovcev@...
 

After services started, I'll format pmem and nvme (from code).

Need to exec 'dmg storage format' or can call 'ctlpb.CtlSvcClient.StorageFormat'?

Can I use dRPC for control daos_server? 

Or in the next versions of the API will be changed?


Jacque, Kris
 

You should use dmg storage format. As things stand, we don’t enable users to call the administrative gRPC methods directly. The API is internal and may change.

 

Thanks,

Kris

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of d.korekovcev@...
Sent: Friday, January 21, 2022 1:52 AM
To: daos@daos.groups.io
Subject: [daos] External API

 

After services started, I'll format pmem and nvme (from code).

Need to exec 'dmg storage format' or can call 'ctlpb.CtlSvcClient.StorageFormat'?

Can I use dRPC for control daos_server? 

Or in the next versions of the API will be changed?


Jacque, Kris
 

When I replied last week I forgot to mention, we do have a control API written in Go, which you could also use for this purpose: https://github.com/daos-stack/daos/tree/master/src/control/lib/control

 

Hopefully either that or calling dmg will be sufficient. 😊 Just avoid calling the gRPC methods directly, as we don’t guarantee those for external developers.

 

Kris

 

From: Jacque, Kristin
Sent: Friday, January 21, 2022 6:22 PM
To: daos@daos.groups.io
Subject: RE: [daos] External API

 

You should use dmg storage format. As things stand, we don’t enable users to call the administrative gRPC methods directly. The API is internal and may change.

 

Thanks,

Kris

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of d.korekovcev@...
Sent: Friday, January 21, 2022 1:52 AM
To: daos@daos.groups.io
Subject: [daos] External API

 

After services started, I'll format pmem and nvme (from code).

Need to exec 'dmg storage format' or can call 'ctlpb.CtlSvcClient.StorageFormat'?

Can I use dRPC for control daos_server? 

Or in the next versions of the API will be changed?


d.korekovcev@...
 

Thanks!