Installs the InfiniBand software stack.
- RedHat/CentOS 7
- RedHat/Rocky/Alma 8
Standard usage to enable InfiniBand support
class { 'infiniband': }
Define a IBoIP interface
class { 'infiniband':
interfaces => {
'ib0' => {'ipaddr' => '192.168.1.1', 'netmask' => '255.255.255.0'}
}
}
http://treydock.github.io/puppet-infiniband/
Determine if the system's hardware supports InfiniBand.
Reports the firmware version of the InfiniBand interface card.
NOTE: Only supports getting the value from the first interface card found.
Returns the board_id (PSID) of the InfiniBand interface card.
NOTE: Only supports getting the value from the first interface card found.
Returns the rate of the InfiniBand interface card.
NOTE: Only supports getting the value from the first interface card found.
Returns Array of HCAs:
[
"mlx5_0",
"mlx5_1",
"mlx5_2",
"mlx5_3"
]
Returns Hash of PSID / Board IDs for each HCA:
{
mlx5_0 => "MT_0000000023",
mlx5_1 => "MT_0000000023",
mlx5_2 => "MT_0000000023",
mlx5_3 => "MT_0000000023"
}
Return Hash of HCA port GUIDs:
{
mlx5_0 => {
1 => "0x506b4b0300aaffcc"
},
mlx5_1 => {
1 => "0x506b4b0300aaffcd"
},
mlx5_2 => {
1 => "0x506b4b0300aaffc6"
},
mlx5_3 => {
1 => "0x506b4b0300aaffc7"
}
}
Return Hash of IPoIB netdev information:
{
ib0 => {
hca => "mlx5_0",
port => "1",
state => "ACTIVE",
rate => "100",
link_layer => "InfiniBand"
}
}