I am not the db2 admin in this project, I just work on the linux side of
things. Can you recommend how to setup db2 in this case? Here“s the layout:

Two identical machines meant to be a failover pair. They each have their own
OS disks and installations, then there is a second disk via fiber that swaps
back and forth between them as a fault is detected by heartbeat.

The problem we ran into before is that when db2 was installed on machine1
into the failover disk, when it was shifted over to machine2 it failed to
startup because (as I understand it from how it was described) the database
figured it was on a separate host because the hostname was different.

I realize this is not a db2 support forum, but it is related to my issues
with the linux HA software. How does one setup the db2 instance to not balk
at starting with a different nodename than it was installed on - or how do
you make it not care to begin with?



On Fri, Jul 17, 2009 at 3:25 AM, Dejan Muhamedagic <[email protected]>wrote:

> Hi,
>
> On Wed, Jul 15, 2009 at 02:02:27PM -0500, The Archer wrote:
> > I am in a bit of a bind. There is a project I am working on that has tow
> > nodes that have the same hostname (when actually typing 'hostname -s' or
>
> uname -n
>
> > however heartbeat identifies its machine name. This is because the db2
> > install is on a disk that will failover between the two machines and if
> the
> > hostname is different when the instance is brought back up, the db fails.
>
> Broken application/db. Are you sure that that is really necessary
> for db2? AFAIK, people are using heartbeat w/db2 and db2
> installed on shared storage.
>
> > What I need to do is override heartbeat's self-identification portion so
> > that I can force it to recognize itself as the node that I want it to be,
> > not the one that it reads from the hostname.
> >
> > Can I do this? If so, how?
>
> Don't think so.
>
> Thanks,
>
> Dejan
>
> > <EOL>
> > _______________________________________________
> > 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
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to