Update comment
This commit is contained in:
parent
7ec79459ec
commit
8d4086e12b
@ -249,7 +249,7 @@ nova_cert_monitor() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check the connections according to the PID.
|
# Check the connections according to the PID.
|
||||||
# We are sure to hit the scheduler process and not other nova process with the same connection behavior (for example nova-scheduler)
|
# We are sure to hit the cert process and not other nova process with the same connection behavior (for example nova-scheduler)
|
||||||
if ocf_is_true "$OCF_RESKEY_zeromq"; then
|
if ocf_is_true "$OCF_RESKEY_zeromq"; then
|
||||||
pid=`cat $OCF_RESKEY_pid`
|
pid=`cat $OCF_RESKEY_pid`
|
||||||
cert_db_check=`netstat -punt | grep -s "$OCF_RESKEY_database_server_port" | grep -s "$pid" | grep -qs "ESTABLISHED"`
|
cert_db_check=`netstat -punt | grep -s "$OCF_RESKEY_database_server_port" | grep -s "$pid" | grep -qs "ESTABLISHED"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user