MySQL Forums
Forum List  »  InnoDB clusters

Using InnoDB Cluster Commands In “Batch” Mode
Posted by: Neil Mcalister
Date: June 11, 2019 05:05AM

I’m running InnoDB Cluster’s with MySQL 5.7.26 and MySQL Shell 8.0.11.

I want to be able to monitor the status of the InnoDB cluster in “batch” mode, possibly via a shell script spooling to a log file, and send out an email alert if any member of the group changes its status to “MISSSING”.

I’m struggling to find out if this is even possible, and have spent the last 4 hours trying to find a solution. Can mysqlsh commands like cluster.status() even be run outside of the command line API?

Has anybody already been able to do something like this, I would really appreciate some help or guidance in the right direction.

Thanks

Neil

Options: ReplyQuote


Subject
Views
Written By
Posted
Using InnoDB Cluster Commands In “Batch” Mode
1185
June 11, 2019 05:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.