RE: OpenLDAP + CARP

2011-09-21 Thread Rafael NAVAZA

Hello Patrick,

> 
> > As far as I 
> > know CARP will not check if the slapd is running correctly; that
> > could be a problem if the CARP Master has a failing slapd. Do I have
> > to monitor slapd with a third party software (like Monit) ? Can I
> > configure CARP and OpenLDAP to watch each other more closely ?
> 
> You can use ifstated (port net/ifstated) for this.
> 

Ok, I'll watch at what ifstated can do to monitor carp and slapd

Thank you.
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: OpenLDAP + CARP

2011-09-21 Thread Rafael NAVAZA


> >
> > I'm indeed using the built in
> > failover capability of LDAP clients. It works just fine when the first
> > LDAP server is powered off, but it does not work that well when slapd
> > becomes a zombi ( because the clients take about 1 min to try the second
> >  LDAP server, for each request, every time ... )
> > It is for that reason I'm interested in building a HA cluster for OpenLDAP.
> >
> >
> 
> Could this help in your situation?
> 
> http://www.liquidx.net/blog/2006/04/03/nss_ldap-undocumented-nss_reconnect_tries/
> 

Hello Brandon,

That is a client side solution for Linux and I have several other OSs that use 
LDAP.
But I remember some users at work that sometimes had udev timeout when booting 
their CentOS 5 workstation, thank you for the link.

Rafael.


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: OpenLDAP + CARP

2011-09-20 Thread Rafael NAVAZA

Thank you for the reply Matthew.

I'm indeed using the built in 
failover capability of LDAP clients. It works just fine when the first 
LDAP server is powered off, but it does not work that well when slapd 
becomes a zombi ( because the clients take about 1 min to try the second
 LDAP server, for each request, every time ... )
It is for that reason I'm interested in building a HA cluster for OpenLDAP.

I'm
 currently using the single-master replication and I will certainly move
 to a mirrormode or a n-way multimaster replication schema (as long as 
the multimaster is used with CARP, this mode is equivalent to a 
mirrormode with more than 2 replicas, isn't it ?).

As far as I 
know CARP will not check if the slapd is running correctly; that could 
be a problem if the CARP Master has a failing slapd. Do I have to 
monitor slapd with a third party software (like Monit) ? Can I configure
 CARP and OpenLDAP to watch each other more closely ?

Rafael.

> Date: Tue, 20 Sep 2011 09:04:21 +0100
> From: m.sea...@infracaninophile.co.uk
> To: rnav...@hotmail.com
> CC: freebsd-questions@freebsd.org
> Subject: Re: OpenLDAP + CARP
> 
> On 19/09/2011 15:54, Rafael NAVAZA wrote:
> > Is there a way to setup an OpenLDAP HA cluster (intersite multimaster) with 
> > CARP on FreeBSD ?
> 
> Hmmm...  So long as both the LDAP servers are on the same network
> segment, and so long as they have separate addresses for their
> replication channel, then I can't see why that wouldn't work.
> 
> However, LDAP, by its nature has a failover capability built in.  You
> can just list several LDAP servers in your ldap.conf and each will be
> tried in turn until you get an answer.  Or put a comma separated list of
> several servers into a ldap:/// or ldaps:/// style URI.
> 
> There's also a way you can use SRV records with LDAP -- that gives you
> weighted load distribution over a number of servers. See RFC 3088.
> Note that not all LDAP clients support this, and its still only an
> experimental service.
> 
>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
> 
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


OpenLDAP + CARP

2011-09-19 Thread Rafael NAVAZA

Hi guys,

Is there a way to setup an OpenLDAP HA cluster (intersite multimaster) with 
CARP on FreeBSD ?

Rafael.
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: Intel 82573E NIC and BMC with FreeBSD 8

2011-09-15 Thread Rafael NAVAZA

Ok I got the BMC responding when the "em" driver is loaded.

I had
 to comment out the line corresponding to the "CRC Stripping" (#4153) in
 /usr/src/sys/dev/e1000/if_em.c and compile/install/loader.conf the 
driver.

I know (from my google searches) that by doing it some 
other intel nics will not function properly with the driver. The only 
way to make every one happy would be to add a sysctl param to the driver, 
something like "hw.em.disable_crc_stripping" .

Where can I commit such thing ?

Rafael.

> From: rnav...@hotmail.com
> To: freebsd-questions@freebsd.org
> Date: Tue, 13 Sep 2011 19:24:02 +0200
> Subject: Intel 82573E NIC and BMC with FreeBSD 8
> 
> 
> Hi there,
> 
> I added a M3291 BMC on a TYAN S5197 motherboard and I'm trying to make it 
> work with FreeBSD 8.
> 
> I first tried to set it up with Linux, and it was pretty annoying ...
> What TYAN DID say to do is :
> 
> - DOS, flash the S5197 Motherboard with the latest BIOS 
> - DOS, flash the M3291 BMC with the correct Firmware
> - DOS, flash the Intel NIC (82573E) EEProm to enable IPMI
> - DOS, configure the MAC/IP of the BMC (I choose a BMC MAC different from the 
> NIC MAC, and of course an IP different from the host)
> - LINUX, "modprobe ipmi_si type=kcs ports=0xca8 irqs=0 regspacings=4"
> 
> All that is correct but not sufficient because I can only access to the BMC 
> locally !!!
> WHAT TYAN FORGOT TO SAY IS :
> 
> - DOS, declare the BMC MAC on the Intel NIC (82573E) EEProm "eeupdate.exe 
> /NIC=1 /MNGMAC=00:E0:81:XX:XX:XX"
> - LINUX, "modprobe e1000e CrcStripping=0"
> 
> Now it works with Linux :D
> 
> Now it is the FreeBSD turn :)
> 
> Well, it doesn't work "as is" ... :
> 
> - FREEBSD, "kldload ipmi" -> doesn't give access to the BMC locally
> - FREEBSD, "ifconfig_em0=DHCP" -> makes the BMC to stop responding
> 
> My question : is there any equivalent in FreeBSD of the Linux kernel 
> parameters that I have previously used ?
> 
> Any help would be appreciated ;) 
> 
> Regards,
> Rafael NAVAZA.
> 


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Intel 82573E NIC and BMC with FreeBSD 8

2011-09-13 Thread Rafael NAVAZA

Hi there,

I added a M3291 BMC on a TYAN S5197 motherboard and I'm trying to make it work 
with FreeBSD 8.

I first tried to set it up with Linux, and it was pretty annoying ...
What TYAN DID say to do is :

- DOS, flash the S5197 Motherboard with the latest BIOS 
- DOS, flash the M3291 BMC with the correct Firmware
- DOS, flash the Intel NIC (82573E) EEProm to enable IPMI
- DOS, configure the MAC/IP of the BMC (I choose a BMC MAC different from the 
NIC MAC, and of course an IP different from the host)
- LINUX, "modprobe ipmi_si type=kcs ports=0xca8 irqs=0 regspacings=4"

All that is correct but not sufficient because I can only access to the BMC 
locally !!!
WHAT TYAN FORGOT TO SAY IS :

- DOS, declare the BMC MAC on the Intel NIC (82573E) EEProm "eeupdate.exe 
/NIC=1 /MNGMAC=00:E0:81:XX:XX:XX"
- LINUX, "modprobe e1000e CrcStripping=0"

Now it works with Linux :D

Now it is the FreeBSD turn :)

Well, it doesn't work "as is" ... :

- FREEBSD, "kldload ipmi" -> doesn't give access to the BMC locally
- FREEBSD, "ifconfig_em0=DHCP" -> makes the BMC to stop responding

My question : is there any equivalent in FreeBSD of the Linux kernel parameters 
that I have previously used ?

Any help would be appreciated ;) 

Regards,
Rafael NAVAZA.

  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"