Scroll to navigation

cs_wait_for_idle(8) ClusterTools2 cs_wait_for_idle(8)

NAME

cs_wait_for_idle - wait until HA cluster is idle

SYNOPSIS

cs_wait_for_idle --sleep <seconds>
cs_wait_for_idle [OPTION]

DESCRIPTION

cs_wait_for_idle waits until the HA cluster is idle before returning.

OPTIONS

--help
show help

--version
show version

--sleep
sleep for <s> seconds between probings

EXIT STATUS

0 Successful program execution.
>0 Usage, syntax or execution errors.

EXAMPLES

* Refresh HANA topology and HANA controller resources, as required before setting those resources from maintenance back to managed. Perform the actions once the cluster is idle to avoid possible problems with incorrectly detected resource status.

# cs_wait_for_idle -s 3 && crm resource refresh cln_SAPHanaTop_HA1_HDB00; cs_wait_for_idle -s 3 && crm resource refresh msl_SAPHanaCon_HA1_HDB00; cs_wait_for_idle -s 3

FILES

/usr/sbin/cs_wait_for_idle

the program itself

BUGS

Feedback is welcome, please use the project page at
https://build.opensuse.org/package/show?package=ClusterTools2&project=home%3Afmherschel

SEE ALSO

ClusterTools2(7), cs_clusterstate(8), SAPHanaSR_maintenance_examples(7)

COPYRIGHT

(c) 2021 L.Pinne, Germany.
cs_wait_for_idle comes with ABSOLUTELY NO WARRANTY.
For details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html

14 Jul 2021