我有许多VM服务器通过Open-iSCSI从Dom0主机中挂载的iSCSI LUN中运行Xen虚拟机。 这只是一个简单的单path设置(通过集群存储和虚拟IP在目标端进行冗余)
我正在考虑使用iSCSI根目录的Open-iSCSI README中的设置,因为基本上它是这样的:
8.2 iSCSI settings for iSCSI root --------------------------------- When accessing the root parition directly through a iSCSI disk, the iSCSI timers should be set so that iSCSI layer has several chances to try to re-establish a session and so that commands are not quickly requeued to the SCSI layer. Basically you want theopposite of when using dm-multipath. For this setup, you can turn off iSCSI pings by setting: node.conn[0].timeo.noop_out_interval = 0 node.conn[0].timeo.noop_out_timeout= 0 And you can turn the replacement_timer to a very long value: node.session.timeo.replacement_timeout = 86400
是否还有其他推荐的设置用于在iSCSI LUN上运行具有根的虚拟机,我应该考虑一下?
首先 – 你用于目标的软件/硬件是什么?
根据我的经验,iSCSI启动器和目标通常不需要调整,而是必须调整networking。 尝试使用直接交叉电缆连接引发器和目标,以这种方式testing一个速度,我敢打赌它应该是好的。 在这种情况下,交换机是瓶颈。 我可以推荐:
我发现OpenISCSI / ietd在虚拟环境中存在问题。 tgtd似乎更稳定(难怪这是RHEL中的默认目标)
只是我的5C