Capítulo 3. Configuração do subsistema central RDMA

Esta seção descreve como configurar o serviço rdma e aumentar a quantidade de memória que os usuários têm permissão de fixar no sistema.

3.1. Configurando o serviço rdma

O serviço rdma gerencia a pilha RDMA no núcleo. Se o Red Hat Enterprise Linux detectar dispositivos InfiniBand, iWARP, ou RoCE, o gerente do dispositivo udev instrui systemd a iniciar o serviço rdma.

Procedimento

  1. Edite o arquivo /etc/rdma/rdma.conf e defina as variáveis dos módulos que você deseja habilitar para yes. O seguinte é o padrão /etc/rdma/rdma.conf no Red Hat Enterprise Linux 8:

    # Load IPoIB
    IPOIB_LOAD=yes
    # Load SRP (SCSI Remote Protocol initiator support) module
    SRP_LOAD=yes
    # Load SRPT (SCSI Remote Protocol target support) module
    SRPT_LOAD=yes
    # Load iSER (iSCSI over RDMA initiator support) module
    ISER_LOAD=yes
    # Load iSERT (iSCSI over RDMA target support) module
    ISERT_LOAD=yes
    # Load RDS (Reliable Datagram Service) network protocol
    RDS_LOAD=no
    # Load NFSoRDMA client transport module
    XPRTRDMA_LOAD=yes
    # Load NFSoRDMA server transport module
    SVCRDMA_LOAD=no
    # Load Tech Preview device driver modules
    TECH_PREVIEW_LOAD=no
  2. Reinicie o serviço rdma:

    # systemctl restart rdma