Hi, On Tue, Oct 23, 2012 at 12:45:54PM -0500, Andrew Martin wrote: > Hello, > > I have installed crmsh 1.2.1 on Ubuntu 12.04 server along with Pacemaker > 1.1.8 and Corosync 2.1.0. I have configured Corosync to write log data to > /var/log/corosync.log. How can I use the crmsh history component for viewing > information about the cluster? > crm(live)history# source live > crm(live)history# latest > ERROR: 12: No such file or directory > ERROR: 12: No such file or directory
Hmm, looks like hb_report is missing. > ERROR: 12: no transitions found in the source > crm(live)history# source /var/log/corosync.log > crm(live)history# latest > ERROR: 14: No such file or directory > ERROR: 14: No such file or directory > ERROR: 14: no transitions found in the source > > Do I need to set up ha_logger to run via cron to create logging data that > crmsh can read? Or, where is the data stored that crmsh reads from? The data is collected using hb_report which is distributed with glue (cluster-glue on your platform?). crm_report could probably be used too, but so far nobody bothered to add support for it. For pacemaker 1.1.8, you'll need at least cluster-glue 1.0.11. Thanks, Dejan > Thanks, > > Andrew > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
