[Linux-HA] Dude heartbeat , shared disk and mysql

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Jun 11 08:49:51 MDT 2008


Hi,

On Wed, Jun 11, 2008 at 01:35:46PM +0200, Santiago Campos wrote:
> Hi
> I have a dude about where to put some files.
> We are using heartbeat 1.2.3 in an active-pasive cluster
> 
> we have a scsi shared disk
> 
> extracted from haresource
> 
> Filesystem::/dev/cciss/c0d0p1::/u::ext3 \
> 
> Now I'm trying to run mysql
> 
> I put the mysql datadir in /u/mysql and is ok.
> 
> but what about mysql.log, mysql.sock and mysql.pid ?
> they must be in the shared disk or each node have their own copy in
> /var/lib/mysq ?

They should _not_ be on the shared disk. Some of them, such as
mysql.pid, may even be used to check the status of the mysql
resource.

Thanks,

Dejan


More information about the Linux-HA mailing list