AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-989088

A. Trevelyan's questions

Martin Hope
A. Trevelyan
Asked: 2024-05-01 01:11:05 +0800 CST

如何在 Ubuntu 18.04.06 上配置具有冗余功能的 Dell Powervault 存储阵列

  • 5

首先声明我不是存储专家。

我有一个存储阵列,想要连接到运行 Ubuntu 18.04.06 的物理 Linux 主机。服务器具有 4 端口 SAS HBA,存储阵列是双控制器单元,每个控制器有 4 个 SAS 端口。存储阵列是Dell Powervault ME4024,服务器是Dell Poweredge R640。

这是一个快速解释一切如何连接的图表: 概述

双连接的原因是因为有人建议我这样做,因为存储错误很难恢复,并且这种方式可以解决诸如一根电缆因任何原因断开连接、控制器故障或类似情况等问题。

该阵列现在很小,但有很多空的驱动器托架,我想稍后用它们来扩展存储。目前,RAID1 磁盘组中安装了 2 个 900GB 驱动器: Powervault 上的池配置

不过,服务器似乎两次看到每个连接的存储,即 SDC 和 SDD:

$ lsblk -I 8
NAME                  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                     8:0    0   4.4T  0 disk
├─sda1                  8:1    0   512M  0 part /boot/efi
└─sda2                  8:2    0   4.4T  0 part
  ├─ubuntu--vg-root   253:0    0   4.4T  0 lvm  /
  └─ubuntu--vg-swap_1 253:1    0   976M  0 lvm  [SWAP]
sdb                     8:16   0 223.5G  0 disk
sdc                     8:32   0 837.3G  0 disk
sdd                     8:48   0 837.3G  0 disk

SDC/SDD 上的存储尚未格式化或执行任何操作。

如何配置它以便服务器知道 SDC 和 SDD 是到阵列上同一 RAID1 存储块的冗余连接?这与我在 Powervault 上的配置方式有关吗?

linux
  • 1 个回答
  • 37 Views
Martin Hope
A. Trevelyan
Asked: 2022-10-26 10:00:07 +0800 CST

Hostapd 无法启动 - 无法初始化界面

  • 5

我正在尝试在 linux 机器上将 hostapd 设置为具有 802.1x 的网络身份验证器。

由于我使用的是 Ubuntu Jammy 而不是 RHEL,并且在桥接器中使用 veth 接口而不是物理接口,因此我一直在遵循本指南,并进行了一些调整。

我按照他们描述的内容的指示创建了 hostapd.conf 文件- 我的网桥接口是示例中的 br0,我将own_ip_addr更改为接口 br0 上的 IP,并更改了nas_identifier、auth_server_addr、auth_server_shared_secret、acct_server_addr和acct_server_shared_secret匹配我的 RADIUS 服务器上的配置。

其他一切都与示例文件相同,但由于某种原因 hostapd 无法启动。/var/log/syslog 说配置文件中有错误,但并没有真正解释问题所在:

Oct 25 13:47:13 blackfox systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 320.
Oct 25 13:47:13 blackfox hostapd[347060]: 1 errors found in configuration file '/etc/hostapd/hostapd.conf'
Oct 25 13:47:13 blackfox hostapd[347060]: Failed to set up interface with /etc/hostapd/hostapd.conf
Oct 25 13:47:13 blackfox hostapd[347060]: Failed to initialize interface
Oct 25 13:47:13 blackfox systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Oct 25 13:47:13 blackfox systemd[1]: hostapd.service: Failed with result 'exit-code'.
Oct 25 13:47:15 blackfox systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 321.
Oct 25 13:47:15 blackfox hostapd[347062]: 1 errors found in configuration file '/etc/hostapd/hostapd.conf'
Oct 25 13:47:15 blackfox hostapd[347062]: Failed to set up interface with /etc/hostapd/hostapd.conf
Oct 25 13:47:15 blackfox hostapd[347062]: Failed to initialize interface
Oct 25 13:47:15 blackfox systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Oct 25 13:47:15 blackfox systemd[1]: hostapd.service: Failed with result 'exit-code'.
Oct 25 13:47:17 blackfox systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 322.
Oct 25 13:47:17 blackfox hostapd[347065]: 1 errors found in configuration file '/etc/hostapd/hostapd.conf'
Oct 25 13:47:17 blackfox hostapd[347065]: Failed to set up interface with /etc/hostapd/hostapd.conf
Oct 25 13:47:17 blackfox hostapd[347065]: Failed to initialize interface
Oct 25 13:47:17 blackfox systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Oct 25 13:47:17 blackfox systemd[1]: hostapd.service: Failed with result 'exit-code'.

有谁知道发生了什么?

linux-networking hostapd
  • 1 个回答
  • 31 Views
Martin Hope
A. Trevelyan
Asked: 2022-10-21 12:27:38 +0800 CST

如何连接 veth 接口以桥接从端口

  • 5

这可能会更容易用图表来解释,所以这是基本设置:

有 2 个容器10.0.0.1和10.0.0.2在主机内运行,我还创建了一个 linux 桥br0。

每个容器都将其自己的网络接口视为 eth0,但主机将其视为vethxxxx。查看基本设置中的图片,容器之间没有连接。

我可以轻松地使用brctl addif将两个 veth 接口添加到网桥中,它们将能够立即进行通信,但这并不是我想要做的。

我想做的是能够对容器之间的转发进行更精细的控制;模拟由主机控制的br0上的托管开关。如果这些是物理机器,我相信这可以使用 nmcli 来完成,例如:

nmcli connection add type ethernet slave-type bridge con-name br0-port1 ifname <port name> master br0

然后将机器的电缆连接到该命令中使用的端口。

有没有办法有效地虚拟实现相同的设置(如图片#3)?

virtual-machines linux-networking
  • 1 个回答
  • 23 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve