[SPDK] Re: About SMA + IPU

Yibo Cai <Yibo.Cai at arm.com> Mon, 27 Jun 2022 06:00:34 +0000
Newsgroups dev.linux.lists.spdk
Message-ID < <PR2PR08MB4876A532DD564640A46D10A893B99@PR2PR08MB4876.eurprd08.prod.outlook.com>>
--===============1489729486075127778==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi Konrad,

Thanks for the explanation.
So, in cloud storage environment (e.g., kubernetes + csi), looks orchestrat=
or is still responsible for most of the control plane rpcs that's not in cu=
rrent SMA scope.
Do we want to support more commands in SMA? Does it make sense to add a grp=
c method to transfer low level spdk rpc commands (json string) transparentl=
y, or we prefer higher level abstractions?

Yibo

-----Original Message-----
From: Sztyber, Konrad <konrad.sztyber(a)intel.com>
Sent: Friday, June 24, 2022 4:44 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Re: About SMA + IPU

Hi Yibo,

The sequence you've listed is pretty close to how I understand it, except f=
or this part:

> - IPU sends SPDK-RPC commands to some storage node through http proxy,
> to create bdev, export NVMe-oF target

I don't think IPU is responsible for configuring the target side. That shou=
ld be done by some other external orchestrator prior to sending the CreateD=
evice/AttachVolume commands.

Konrad

> -----Original Message-----
> From: Yibo Cai <yibo.cai(a)arm.com>
> Sent: Friday, June 24, 2022 10:21 AM
> To: spdk(a)lists.01.org
> Subject: [SPDK] About SMA + IPU
>
> Hi,
>
> I'm struggling in understand use cases of SMA(Storage Management
> Agent) and IPU(Infrastructure Processing Unit). Would like to seek for he=
lp.
>
> Assume a host with IPU, connected to a remote storage node running
> SPDK service.
>
> If an app on host CPU needs storage resource, in my understanding,
> below steps will happen:
> - app (or orchestrator) sends SMA CreateDevice/AttachVolume commands
> to the SPDK service running on IPU
> - IPU sends SPDK-RPC commands to some storage node through http proxy,
> to create bdev, export NVMe-oF target
> - IPU runs NVMe initiator to connect to remote NVMe-oF target
> - IPU exposes the NVMe-oF target as a local NVMe device to host OS, so
> the app (or orchestrator) can make use of it
>
> Is that correct?
>
> Yibo
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org To unsubscribe send an email to
> spdk-leave(a)lists.01.org
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
IMPORTANT NOTICE: The contents of this email and any attachments are confid=
ential and may also be privileged. If you are not the intended recipient, p=
lease notify the sender immediately and do not disclose the contents to any=
 other person, use it for any purpose, or store or copy the information in =
any medium. Thank you.
--===============1489729486075127778==--