Difference between revisions of "Bright:Add GPUs to OpenStack"

From Define Wiki
Jump to navigation Jump to search
(Created page with "Performed on the node with the GPUs (provisioned as a nova hypervisor - default) == Get the PCI IDs of the GPUs == In this instance we are using K80s <syntaxhighlight> # check for the...")
 
Line 15: Line 15:
  
 
So the <b>vendor id</b> is: <tt> 10de</tt>
 
So the <b>vendor id</b> is: <tt> 10de</tt>
 +
 
And the <b>product id<b> is: <tt>102d<tt>
 
And the <b>product id<b> is: <tt>102d<tt>
  
 
== Update the /etc/nova/nova.conf file ==
 
== Update the /etc/nova/nova.conf file ==

Revision as of 12:37, 24 March 2016

Performed on the node with the GPUs (provisioned as a nova hypervisor - default)

Get the PCI IDs of the GPUs

In this instance we are using K80s

# check for the nvidia GPUs
[root@gpu ~]# lspci | grep -i nvidia
04:00.0 3D controller: NVIDIA Corporation GK210GL [Tesla K80] (rev a1)
05:00.0 3D controller: NVIDIA Corporation GK210GL [Tesla K80] (rev a1)
# get their IDs with the -n flag
[root@gpu ~]# lspci -nn | grep -i nvidia 
04:00.0 3D controller [0302]: NVIDIA Corporation GK210GL [Tesla K80] [10de:102d] (rev a1)
05:00.0 3D controller [0302]: NVIDIA Corporation GK210GL [Tesla K80] [10de:102d] (rev a1)

So the vendor id is: 10de

And the product id is: 102d

Update the /etc/nova/nova.conf file