search for: ocf_log

Displaying 2 results from an estimated 2 matches for "ocf_log".

Did you mean: o_d_log
2020 Oct 07
2
Is it possible that "virsh destroy" does not stop a domain ?
...can't be finished. Right ? Pacemaker tries to shutdown or destroy a domain with a resource agent, which is a shell script, similar to an init script. Here is an excerp from the resource agent for virtual domains: force_stop() { local out ex translate local status=0 ocf_log info "Issuing forced shutdown (destroy) request for domain ${DOMAIN_NAME}." out=$(LANG=C virsh $VIRSH_OPTIONS destroy ${DOMAIN_NAME} 2>&1) # hier wird die domain destroyed ex=$? translate=$(echo $out|tr 'A-Z' 'a-z') echo...
2020 Oct 07
0
Re: Is it possible that "virsh destroy" does not stop a domain ?
...shutdown or destroy a domain with a resource agent, > which is a shell script, similar > to an init script. > > Here is an excerp from the resource agent for virtual domains: > > force_stop() > { > local out ex translate > local status=0 > > ocf_log info "Issuing forced shutdown (destroy) request for domain > ${DOMAIN_NAME}." > out=$(LANG=C virsh $VIRSH_OPTIONS destroy ${DOMAIN_NAME} 2>&1) > # hier wird die domain destroyed > ex=$? > translate=$(echo $out|tr 'A-Z' 'a...