PVE网络主备模式、VLAN配置、Interfaces配置参考
主备模式创建bond从属:参与主备的网卡,空格进行分隔模式:active-backup是主备模式bond-primary:主网卡VLAN1. 为桥接网卡设置桥接的物理网卡或者bond2. 为桥接网卡配置VLAN,如vmbr0配置VLAN2就是创建Linux VLAN,名称为vmbr0.23. 新建Linux Bridge,与上一步创建的Linux VLAN进行桥接,如新建的Linux Bri...
阅读全文
主备模式创建bond从属:参与主备的网卡,空格进行分隔模式:active-backup是主备模式bond-primary:主网卡VLAN1. 为桥接网卡设置桥接的物理网卡或者bond2. 为桥接网卡配置VLAN,如vmbr0配置VLAN2就是创建Linux VLAN,名称为vmbr0.23. 新建Linux Bridge,与上一步创建的Linux VLAN进行桥接,如新建的Linux Bri...
阅读全文
查看LUN和路径ls -l /dev/disk/by-path示例:root@pve41-22:~# ls -l /dev/disk/by-path
total 0
lrwxrwxrwx 1 root root 9 Sep 18 12:57 pci-0000:00:1f.2-ata-6 -> ../../sr0
lrwxrwxrwx 1 root root 9 Sep 18 12:...
阅读全文
列出所有光纤通道主机ls /sys/class/fc_host/host11 host12查看具体通道的详细信息查看WWNcat /sys/class/fc_host/host11/port_name
0x21000024ff1654b2cat /sys/class/fc_host/host12/port_name
0x21000024ff1654b3状态cat /sys/class/...
阅读全文
1. 安装 bash-completionDebian/Ubuntuapt update && apt install bash-completionRHEL/CentOSyum install bash-completion2. 手动加载补全脚本立即生效,重新登录SSH测试,重启后无需再次执行source /usr/share/bash-completion/bash_co...
阅读全文
修改NTP客户端chrony配置修改/etc/chrony/chrony.conf找到以下内容# Use Debian vendor zone.
pool 2.debian.pool.ntp.org iburst修改为自定义NTP服务器# Use Debian vendor zone.
server cn.pool.ntp.org iburst重启chronysystemctl restar...
阅读全文