67 lines
2.0 KiB
Markdown
67 lines
2.0 KiB
Markdown
# 迁移一张40.47服务器上的Mellanox网卡至40.29服务器
|
||
|
||
| ID | Creation Date | Assignee | Status |
|
||
|----|----------------|----------|--------|
|
||
| GIT-246 | 2021-10-22T14:39:19.000+0800 | 马敬雪 | 完成 |
|
||
|
||
|
||
---
|
||
|
||
* 背景
|
||
|
||
** Mellanox网卡实验
|
||
|
||
* 现状
|
||
** 40.47服务器上安装有两块Mellanox网卡,自环连接在一起
|
||
** 40.29服务器已安装为PVE系统
|
||
* 任务
|
||
** 将40.47上的一块Mellanox网卡,安装至40.29服务器
|
||
** 将40.47上和40.29上的Mellanox网卡直连
|
||
** 40.29上新建虚拟机,并将Mellanox网卡透入该虚拟机
|
||
** 提供新建虚拟机的IP和登陆方式**zhangshuo** commented on *2021-10-22T15:21:40.953+0800*:
|
||
|
||
第一步:将40.47的一块mellanox网卡拆下,安装到40.29上。
|
||
|
||
第二步:两台服务器的mellanox网卡用光纤直连。
|
||
|
||
第三步:安装好后告知我,我来试试从pve加载网卡创建虚拟机
|
||
|
||
第四步:测试如果pve无法加载这块卡需要重新安装centos7.4
|
||
|
||
[~majingxue]麻烦安排人配合安装连线,谢谢~
|
||
|
||
|
||
|
||
---
|
||
|
||
**majingxue** commented on *2021-10-22T17:32:33.318+0800*:
|
||
|
||
已经将40.47上一张Mellanox网卡插在40.29服务器的单独一个pic插槽上,且40.47服务器的Mellanox网卡的enp130s0f0与enp130s0f1网口分别与40.29新插的Mellanox网卡的两个网口(具体网卡名称[~zhangshuo]补充)使用光纤直连。
|
||
|
||
|
||
|
||
---
|
||
|
||
**yangwei** commented on *2021-10-25T09:49:16.366+0800*:
|
||
|
||
[~zhangshuo] 尹付涛已提供另一端连接Mellanox网卡的虚机,IP为42.12。
|
||
|
||
目前网卡透入虚机的方式不对,使用ethtool工具查看到网卡使用的驱动为virtio_net,请参考https://docs.mellanox.com/pages/releaseview.action?pageId=15052991中的说明,调整网卡到虚机的设置
|
||
|
||
!image-2021-10-25-09-48-04-034.png!
|
||
|
||
|
||
|
||
---
|
||
|
||
|
||
|
||
# Attachments
|
||
|
||
Attachment: image-2021-10-25-09-48-04-034.png
|
||
|
||

|
||
|
||
|
||
|