From 88837172f69eabc408ae3945d82e0270b8e07440 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Sat, 10 Jun 2023 10:55:33 +0200 Subject: Adding upstream version 2.2.1. Signed-off-by: Benjamin Drung --- doc/stafctl.xml | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 doc/stafctl.xml (limited to 'doc/stafctl.xml') diff --git a/doc/stafctl.xml b/doc/stafctl.xml new file mode 100644 index 0000000..beb8097 --- /dev/null +++ b/doc/stafctl.xml @@ -0,0 +1,205 @@ + + + + + + + stafctl + nvme-stas + + + Mr + Martin + Belanger + + + Dell, Inc. + + + + + + stafctl + 1 + + + + stafctl + STorage Appliance Finder (STAF) utility program + + + + + stafctl + OPTIONS + COMMAND + OPTIONS + + + + + Description + + + stafctl is a tool that can be used to communicate + with the stafd + 8 daemon to retrieve + operational data. + + + + + Commands + The following commands are understood: + + + + + + + + ls + + + Show the list of discovery controllers. This will list + all the controllers configured in + stafd.conf + 5 as well as those + discovered with mDNS service discovery. + + + + + + dlp + + Show discovery log pages. + + + + + adlp + + Show all discovery log pages. + + + + + + + Options + + The following options are understood: + + + + + + + + + + + + + + + + Values + + + + + + + + + + + + Exit status + + On success, 0 is returned; otherwise, a non-zero failure code is + returned. + + + + + Examples + + + List all the discovery controllers + $ stafctl ls +[{'device': 'nvme0', + 'host-iface': '', + 'host-traddr': '', + 'subsysnqn': 'nqn.2014-08.org.nvmexpress.discovery', + 'traddr': '::1', + 'transport': 'tcp', + 'trsvcid': '8009'}] + + + + Enable tracing + $ stafctl tron + + + + + Show discovery log pages from a specific discovery controller + + + $ stafctl dlp --transport tcp --traddr ::1 --trsvcid 8009 +[{'adrfam': 'ipv6', + 'asqsz': '32', + 'cntlid': '65535', + 'portid': '1', + 'subnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34ae8e28', + 'subtype': 'nvme', + 'traddr': '::1', + 'treq': 'disable sqflow', + 'trsvcid': '8009', + 'trtype': 'tcp'}, + {'adrfam': 'ipv6', + 'asqsz': '32', + 'cntlid': '65535', + 'portid': '1', + 'subnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34aedead', + 'subtype': 'nvme', + 'traddr': '::1', + 'treq': 'disable sqflow', + 'trsvcid': '8009', + 'trtype': 'tcp'}, + {'adrfam': 'ipv6', + 'asqsz': '32', + 'cntlid': '65535', + 'portid': '1', + 'subnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34aebeef', + 'subtype': 'nvme', + 'traddr': '::1', + 'treq': 'disable sqflow', + 'trsvcid': '8009', + 'trtype': 'tcp'}] + + + + + See Also + + + + stafd.conf + 5 + , + + stafd + 8 + + + + + -- cgit v1.2.3