Skip to content

DEM_Installation_Service

rajalaxmia edited this page Apr 9, 2019 · 14 revisions

Service Configuration

Edit /etc/nvme/nvmeof.conf to enable appropriate component.

Following are examples for system that serves as both an RDMA Host and an RDMA Target, uses nullb0 for device and manually starts DEM all on the same system

To manually start both DEM_AC and DEM_EM:

PCI_HOST_LOAD=no
NVMEOF_HOST_LOAD=yes
  RDMA_HOST_LOAD=yes
  FC_HOST_LOAD=no
  TCP_HOST_LOAD=no
NVMEOF_TARGET_LOAD=yes
  RDMA_TARGET_LOAD=yes
  FC_TARGET_LOAD=no
  TCP_TARGET_LOAD=no
  NULL_BLK_TARGET_LOAD=yes
START_DEM=no
START_DEM_AC=no
START_DEM_EM=no

To automatically start both DEM_AC and DEM_EM:

PCI_HOST_LOAD=no
NVMEOF_HOST_LOAD=yes
  RDMA_HOST_LOAD=yes
  FC_HOST_LOAD=no
  TCP_HOST_LOAD=no
NVMEOF_TARGET_LOAD=yes
  RDMA_TARGET_LOAD=yes
  FC_TARGET_LOAD=no
  TCP_TARGET_LOAD=no
  NULL_BLK_TARGET_LOAD=yes
START_DEM=yes
DEM_OPTS="-p 22345"
START_DEM_AC=yes
DEM_AC_OPTS="-t rdma -f ipv4 -a 192.168.1.1 -s 4422"
START_DEM_EM=yes
#Uncomment one DEM_EM_OPTS line below to choose in-band on an RDMA fabric or out-of-band mgmt:
#DEM_EM_OPTS="-t rdma -f ipv4 -a 192.168.1.1 -s 22334" 
#DEM_EM_OPTS="-p 22334"
Clone this wiki locally