Several of the SAP scripts have been written with a timeout feature to allow hung scripts to automatically kill themselves. This feature is required due to potential problems with unavailable NFS shares. This is explained in greater detail in the NFS Mounts and su topic. Each script equipped with this feature has a default timeout value in seconds that can be overridden if necessary.

SAP_DEBUG and SAP_CREATE_NAS can be enabled or disabled. The default for SAP_DEBUG is 0 (disabled). To enable, set this parameter to 1.

The default for SAP_CREATE_NAS is 1 (enabled). This is used for automatically including a NAS resource for NAS mounted file systems. To disable, set this parameter to 0.

Additionally, the tunable SAP_CONFIG_REFRESH can be enabled to change the refresh rate for the SAP server status information displayed on the SAP resource properties panel.

The table below shows the script names, default values and variable names. To override a default value, simply add a line to the /etc/default/LifeKeeper file with the desired value for that script. For example, to allow the remove script to run for a full minute before being killed, add the following line to /etc/default/LifeKeeper:

SAP_REMOVE_TIMEOUT=60

Script Number
Variable Name
Default Value
remove SAP_REMOVE_TIMEOUT 420 seconds
restore SAP_RESTORE_TIMEOUT 1108 seconds
recover SAP_RECOVER_TIMEOUT 1528 seconds
quickCheck SAP_QUICKCHECK_TIMEOUT 60 seconds
debug SAP_DEBUG 0 (to enable, set to 1)
create NAS SAP_CREATE_NAS 1 (to disable, set to 0)
GUI Properties Panel refresh SAP_CONFIG_REFRESH 1/2 the value of LKCHECKINTERVAL

フィードバック

お役に立ちましたか?

はい いいえ
お役に立ちましたか
理由をお聞かせください
フィードバックありがとうございました

このトピックへフィードバック

送信