OCF_CHECK_LEVEL 属性

OCF_CHECK_LEVEL 属性允许在不同级别配置更深入的检查。 默认值为 0。将 OCF_CHECK_LEVEL 设置为 10 或 20 将导致资源监视器操作测试文件系统 I/O。

OCF_CHECK_LEVEL=10 实现对文件系统底层设备的读取测试。
OCF_CHECK_LEVEL=20 实现了文件系统的读写测试。 它写入状态文件,然后尝试从状态文件中读取。 

~~~
The OCF_CHECK_LEVEL attribute allows the configuration of more in-depth checks at different levels. The default value is 0. Setting OCF_CHECK_LEVEL to 10 or 20 will cause the resource monitor operation to test filesystem I/O.

OCF_CHECK_LEVEL=10 implements a read test of the device underlying the filesystem.
OCF_CHECK_LEVEL=20 implements both a read and a write test of the filesystem. It writes to a status file and then attempts to read from the status file.
~~~

关于这个问题的详细信息,请参考如下文档:

6.9. MULTIPLE MONITORING OPERATIONS
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_reference/s1-multiplemonitor-haar

How do I configure a filesystem resource to do a read or write check during a Monitor action in Red Hat Enterprise Linux with High Availability or Resilient Storage? - Red Hat Customer Portal

 

posted @ 2021-08-20 15:28  goldtree358  阅读(138)  评论(0)    收藏  举报