table of contents
OCF_HEARTBEAT_NVMET() | OCF_HEARTBEAT_NVMET() |
NAME¶
ocf_heartbeat_nvmet-port - NVMe-oF target export agent
SYNOPSIS¶
nvmet-port [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
Manages NVMe-oF ports. An NVMe-oF port is part of an NVMe-oF target. A port must be created after the subsystem. It exposes one or multiple subsystem(s) including the enclosed namespace(s) to the network.
SUPPORTED PARAMETERS¶
port_id
(unique, optional, integer, default 0)
type
(optional, string, default "tcp")
addr_fam
(optional, string, default "ipv4")
svcid
(optional, integer, default 4420)
addr
(required, string, no default)
nqns
(required, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a nvmet-port resource using the crm(8) shell:
primitive p_nvmet-port ocf:heartbeat:nvmet-port \
params \
addr=string \
nqns=string \
op monitor timeout="10s" interval="10s" depth="0"
EXAMPLE PCS¶
The following is an example configuration for a nvmet-port resource using pcs(8)
pcs resource create p_nvmet-port ocf:heartbeat:nvmet-port \
addr=string \
nqns=string \
op monitor timeout="10s" interval="10s" OCF_CHECK_LEVEL="0"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)