01 November 2005

Replication Monitor finished!

Finally! Last night, I put the finishing touches on the documentation, and uploaded to SourceForge. Well, finishing touches for a first alpha, hehe - still, it's a good step! Anyone with Perl installed should be able to download Mycat-0.1.2.tgz, untar, edit the config file (mycat.cnf), and run rep_mon.pl to see the status of replication on their servers.

Mycat-0.1.2 release notes

I will add the "rcall" script next, but I can't decide whether it's name comes from "Run Command on all" or "Remote Call"... decisions, decisions... anyhow, rcall relies on ssh key-based remote execution of commands, and is not specific to any MySQL installation. It is none the less an indispensable tool for me, when working with large heterogeneous groups of servers.


Anonymous said...

i am facing a error while running Mycat. Can you help me out?? i am new to perl.
The error msg is:


Can't locate Config/General.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
rep_mon.pl line 25.
BEGIN failed--compilation aborted at rep_mon.pl line 25.
MY mail id is pradeep_chandru@sifycorp.com.
can you please help me?

Unknown said...

Hi Pradeep,

I think your problem is that the Config/General Perl module is not pressent in your system. I've uploaded a new version of the Mycat package that includes more thorough checking of prerequisite packages - this will give you a warning or error when you install Mycat, letting you know which package(s) are missing.

If you have administrative rights, you can install the Config::General module through CPAN; you can probably also download it as an RPM. There is plenty of information online about using CPAN to install Perl modules, but in summary, you run "cpan" (or if that doesn't work, try "perl -MCPAN -eshell"), then at the "cpan>" prompt, type "install Config::General". See http://cpan.org/ for lots more info.

Unknown said...
This comment has been removed by a blog administrator.