bolinches / HANA-TDI-healthcheck

HANA OS HEALTHCHECKER - HOH
Apache License 2.0
1 stars 0 forks source link

Add checks on multipath #1

Closed bolinches closed 6 years ago

bolinches commented 6 years ago

At least check for TMO settings that are common for all OS

bolinches commented 6 years ago

Has to be a very generic one as different storages have different settings

bolinches commented 6 years ago

Will check for 2145 only

bolinches commented 6 years ago

work on branch https://github.com/bolinches/HANA-TDI-healthcheck/tree/2145

bolinches commented 6 years ago

Limited version added to master on https://github.com/bolinches/HANA-TDI-healthcheck/commit/e39c0be443b30db192a1772faf01c5c2e6c7057b

Passing a --with-multipath after XFS

At this moment ONLY checks within defaults. Not yet in devices

I am leaning to leave it as an optional check as only 2145 is checked

bolinches commented 6 years ago
Multipath checker is work in progress and for 2145 devices only
Loading multipath file
OK: path_checker has the recommended value of tur
OK: fast_io_fail_tmo has the recommended value of 5
OK: prio has the recommended value of alua
OK: path_grouping_policy has the recommended value of group_by_prio
OK: path_selector has the recommended value of service-time 0
OK: no_path_retry has the recommended value of fail
ERROR: dev_loss_tmo is 121 and should be 120
OK: failback has the recommended value of immediate

The summary of this run:

    SELinux reported no deviations
    time configurations reported no deviations
    saptune/tuned reported no deviations
    sysctl reported no deviations
    packages reported no deviations
    IBM service and productivity tools packages reported no deviations
    multipath option was called. Please refer to storage vendor documentation for recommended settings
bolinches commented 6 years ago

Went for simple check at this time. Later MAYBE the deeper one as above