Oracle® 双端口 EDR InfiniBand 适配器用户指南

退出打印视图

更新时间: 2016 年 9 月
 
 

启用虚拟化 (Oracle Linux)

  1. 查找服务器上的设备。
    #lspci -d :2088 
    a0:00.0 Infiniband controller: Oracle/SUN Device 2088 (rev 03) 
       

    其中 2088 是供应商 ID。

  2. 使用步骤 1 中的设备 ID 查找目录以设置 VF 的数量。
    # find /sys/devices | egrep "a0:00.0" | head -1 
    /sys/devices/pci0000:80/0000:80:03.0/0000:a0:00.0
      
  3. 转至该目录。
     
    # cd /sys/devices/pci0000:80/0000:80:03.0/0000:a0:00.0
      
  4. 将 VF 的数量键入目录 sriov_numvfs 中。
    # echo 4 > sriov_numvfs
      

    其中 4 是 VF 的样例数量。

  5. 转至该目录。
     
    # cd  /sys/bus/pci/drivers/pci-stub/
      
  6. 将设备 ID 键入到 new_id 文件中。
    # echo "108e 2089" > /sys/bus/pci/drivers/pci-stub/new_id
      

    每次重新引导服务器后,均需重复步骤 3 到步骤 6。

相关信息