PowerScale:如果使用自定义 sysctl 值,rpcbind 在更新期间会失败

Summary: 如果为“kern.ipc.somaxconn”设置了自定义值,则在升级到特定 OneFS 版本期间,“rpcbind”无法正确启动。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

升级到以下 OneFS 版本之一后:

  • 9.7.1.3
  • 9.10.0.0

客户端访问跨所有协议中断,并且正在运行 isi auth 群集上的命令会导致出现以下错误:

p970-1# isi auth users list
Unable to connect to authentication daemon.  Please wait until authentication daemon has restarted and retry.

消息传入 /var/log/messages 指示无法连接到远程过程调用 (RPC) 服务器:

2024-11-25T14:59:51.084340+00:00 <1.3> p970-1(id1) isi_celog_capture[4169]: drive_d_connect: Failed to connect to RPC server at 127.0.0.1 (errno=Invalid argument, rpc clnt_stat=15); retrying 2 of 3.

Cause

在两个受影响的 OneFS 版本中评估此设置的逻辑中存在一个问题,从而导致此问题。它在所有其他版本中都有解决。

Resolution

如果在升级到受影响的 OneFS 版本之前解决此问题,则可以避免此问题。如果群集已经受到影响,还需要执行恢复步骤。

升级之前

使用以下脚本检查自定义值:

sys_files="/etc/mcp/templates/sysctl.conf
/etc/mcp/override/sysctl.conf
/etc/local/sysctl.conf";

while read -r file; do
  grep "somaxconn" "$file" 2>/dev/null
  done <<<"$sys_files"

如果有输出;记下值(512 是常见值),然后使用以下脚本删除该条目:

sys_files="/etc/mcp/templates/sysctl.conf
/etc/mcp/override/sysctl.conf
/etc/local/sysctl.conf";

while read -r file; do
  sed -i bak "s/^kern.ipc.somaxconn.*//g" "$file" 2>/dev/null
  done <<<"$sys_files"

现在可以安全地执行升级。升级后,使用以下命令将设置恢复为以前记下的值。取代 $val 并注明值。

isi_sysctl_cluster kern.ipc.somaxconn=$val

然后,如果愿意,使用任意过程一次手动重新启动一个节点。


撞击后

需要重新启动受影响的节点。

shutdown -r now

Products

Isilon, PowerScale OneFS
Article Properties
Article Number: 000253297
Article Type: Solution
Last Modified: 01 May 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.