Hi,

On Thu, Feb 18, 2010 at 01:22:30PM +0100, Andreas Kurz wrote:
> On Thursday 18 February 2010 12:55:50 Dejan Muhamedagic wrote:
> > Hi,
> > 
> > On Wed, Feb 17, 2010 at 12:15:38PM -0500, Ruiyuan Jiang wrote:
> > > Hi,
> > >
> > > I am trying to setup my first cluster on Redhat Enterprise Server v5.4.
> > > Currently there is no disks for both of my hosts yet. The version that I
> > > have is heartbeat 3.0.2.
> > >
> > > I did the command:
> > >
> > > # crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 \
> > > params ip=192.168.9.101 cidr_netmask=32 \
> > > op monitor interval=30s
> > >
> > > # crm_mon
> > > Last updated: Wed Feb 17 12:07:22 2010
> > > Stack: Heartbeat
> > > Current DC: usnbrl51.liz.com (0988f7f3-c858-4c12-af3b-b6a8bf83a0ae) -
> > > partition WITHOUT quorum Version:
> > > 1.0.6-fdba003eafa6af1b8d81b017aa535a949606ca0d
> > > 2 Nodes configured, unknown expected votes
> > > 1 Resources configured.
> > > Online: [ usnbrl51.liz.com usnbrl50.liz.com ]
> > >
> > >
> > > From the output, I ignore " unknown expected votes". Is it safe
> > > to ignore " partition WITHOUT quorum" for now? Also I don't see
> > > my cluster IP.
> > 
> > Don't think it matters, but you could set it anyway:
> > 
> > property expected-quorum-votes="2"
> > 
> > > # crm configure show
> > > node $id="01428973-0d27-48ee-9142-2da9cb5c1e4b" usnbrl50.liz.com
> > > node $id="0988f7f3-c858-4c12-af3b-b6a8bf83a0ae" usnbrl51.liz.com
> > > primitive ClusterIP ocf:heartbeat:IPaddr2 \
> > >         params ip="192.168.9.101" cidr_netmask="32" \
> > >         op monitor interval="30s"
> > > property $id="cib-bootstrap-options" \
> > >         dc-version="1.0.6-fdba003eafa6af1b8d81b017aa535a949606ca0d" \
> > >         cluster-infrastructure="Heartbeat" \
> > >         no-quorum-policy="ignore"
> > > #
> > >
> > > Above command shows that the cluster has the its virtual IP.
> > 
> > The resource is defined, but it's not running. Looks like the CRM
> > didn't try to start it. The logs should show why.
> 
> no stonith-resources but stonith is enabled (default) --> resource management 
> is disabled ... set the stonith-enable property to false and the resource 
> should start

Well spotted. The crm should've refused to commit such a
configuration.

Thanks,

Dejan

> Regards,
> Andreas
> 
> > 
> > Thanks,
> > 
> > Dejan
> > 
> > > What I did wrong here? Thanks.
> > >
> > > Ryan
> > >
> > >
> > >
> > > This message (including any attachments) is intended
> > > solely for the specific individual(s) or entity(ies) named
> > > above, and may contain legally privileged and
> > > confidential information. If you are not the intended
> > > recipient, please notify the sender immediately by
> > > replying to this message and then delete it.
> > > Any disclosure, copying, or distribution of this message,
> > > or the taking of any action based on it, by other than the
> > > intended recipient, is strictly prohibited.
> > >
> > > _______________________________________________
> > > 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
_______________________________________________
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