小编Den*_*ker的帖子

XFS 分区上的 HP DL380p Gen8(p420i 控制器)I/O 异常

在具有 6 个磁盘的 raid 1+0 之上的 LVM 之上使用 XFS 的 DL380p gen8 服务器上,与 RHEL 5 相比,相同的工作负载导致 RHEL 6 上的磁盘写入增加了十倍,从而使应用程序无法使用。

请注意,我不是在尽可能地优化 co6 系统,而是在理解为什么 co6 的行为如此不同,并解决这个问题。

虚拟机/iostat

我们有一个 MySQL 复制设置,使用 mysql 5.5。使用 RHEL 6 作为操作系统的 gen8 服务器上的 Mysql 从服务器性能不佳,使用 vmstat 和 iostat 检查显示这些服务器执行十倍的页面输出活动和十倍的写入磁盘子系统的量。blktrace 显示这些写入不是由 mysql 发起的,而是由内核发起的。

Centos 5:

[dkaarsemaker@co5 ~]$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 3  0     12 252668 102684 10816864    0 …
Run Code Online (Sandbox Code Playgroud)

xfs hp hp-smart-array centos6 rhel6

14
推荐指数
1
解决办法
4114
查看次数

在 F5 BigIP 配置中更改节点 IP 地址

我需要重新 ip 大约 600 个服务器,这本身就够糟糕了,但我已经自动化了整个过程,除了一个部分:F5 配置。

在我能找到的所有文档中,都没有关于通过 SOAP 接口更改节点 IP 地址的内容,这似乎是不可能的。大多数人建议在导出的配置文件上使用 sed 技巧并重新导入它们,但这太脆弱了。

我正在考虑通过 SOAP 进行删除-创建-重新添加到池的舞蹈,但这似乎也很脆弱。有没有更好的办法?

注意:我需要在 BigIP 的 v10 和 v11 上执行此操作。

f5-big-ip

11
推荐指数
1
解决办法
6827
查看次数

如何安装 RHEL6 的主存储库

我们已经在新服务器上设置了 RHEL6。据我们所知,我们的订阅都设置正确。但是,当我运行时yum repolist,它没有显示任何存储库。/etc/yum.repos.d/redhat.repo 是空的。我尝试粘贴来自另一台 RHEL6 服务器的 redhat.repo 的内容,但是一旦我运行yum,它就会再次将其清除。我只需要获得基本的 RedHat 存储库设置,以便我可以安装软件包。

以确保我没有订阅问题。我重新注册并重新订阅。我得到所有相同的结果。

# subscription-manager register --force
# subscription-manager subscribe --pool=*redacted*
Run Code Online (Sandbox Code Playgroud)

当我登录到 RedHat 客户门户时,它显示该订阅处于活动状态。

使用 GUI,我转到系统 > 管理 > Red Hat Subscription Manager。在“产品”选项卡下,它没有显示任何产品。

当我运行时yum update,这是我得到的:

# yum update
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
Setting up Update Process
No Packages marked for Update
Run Code Online (Sandbox Code Playgroud)

的内容 /etc/yum.conf

[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
Run Code Online (Sandbox Code Playgroud)

内容 …

yum repository rhel6

8
推荐指数
1
解决办法
8万
查看次数

后缀错误未使用的参数

我需要一些有关 postfix 配置的帮助。第一次做。

我正在遵循此操作方法并仔细配置每个步骤。任何人都可以帮我解决这个错误吗?

Service postfix restart
* Stopping Postfix Mail Transport Agent postfix                                                                                     /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_sasl_application_name=smtpd
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
/usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
                                                                                                                                                                [ OK ]
* Starting Postfix Mail Transport Agent postfix                                                                                              
postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_sasl_application_name=smtpd
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
postconf: warning: /etc/postfix/main.cf: unused parameter: smtpd_sasl_application_name=smtpd
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
postconf: warning: …
Run Code Online (Sandbox Code Playgroud)

ubuntu postfix linode

7
推荐指数
1
解决办法
2万
查看次数

由于 iLO3 上的文件系统损坏导致固件更新失败

我有几十台带有 iLO3 卡的 HP 服务器,固件更新失败。当我尝试通过 Web 界面上传 .bin 文件进行更新时,我收到一条非描述性消息,内容为“上次固件更新尝试未成功。准备进行下一次更新。”。iLO 事件日志仅显示“通过网页进行固件升级失败”。对于这次尝试。

通过 iLO ssh 接口升级也不起作用(截断了无用的输出):

</>hpiLO-> cd /map1
</map1>hpiLO-> cd firmware1
</map1/firmware1>hpiLO-> show version
/map1/firmware1
  Properties
    version=1.15
</map1/firmware1>hpiLO-> load -source http://buildserver/ilo3_170.bin

status=1
status_tag=COMMAND SPAWNED
Attempting to load iLO3 firmware image.

status=0
Run Code Online (Sandbox Code Playgroud)

如果我尝试使用 XML api,我会在上传文件后返回以下非 xml:

<html>
<head>
<title>Server Error</title>
</head>
<body>
<h1>Server Error</h1>
A file system error was detected on the HP iLO3.<p>
Return to <a href="">last page</a><p>

</body>
</html>
Run Code Online (Sandbox Code Playgroud)

此时,iLO 已重置,会生成新的 SSH 密钥,但固件未更新且未说明原因。iLO 事件日志中不显示任何内容。

重置 iLO 不会使这个问题消失,快速谷歌也没有返回任何有用的信息。我该怎么做才能让这个问题像渡渡鸟一样?

hp ilo firmware hp-proliant

6
推荐指数
1
解决办法
7846
查看次数