To enable the SAP specific scripts change the
customer_defined_commands sections of the package control script(s)
.control.script.:
function customer_defined_run_cmds
{
. /etc/cmcluster//sapwas.cntl start
test_return 51
}
function customer_defined_halt_cmds
{
. /etc/cmcluster//sapwas.cntl stop
test_return 52
}
The SAP specific control file sapwas.cntl needs to arguments, which are
the MODE (start/stop) and the SAP System ID (SID). Don’t omit the
leading period sign in each line that calls sapwas.cntl.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21455442/viewspace-591760/
,如需转载,请注明出处,否则将追究法律责任。