Lars Täuber | 13 Mar 2012 11:04
X-Face
Picon
Favicon

ggaoed and multiple mac addresses per acl

Hi there,

I use the latest ggaoed revision (131) for several months now and I'm very
satisfied. But now I came across a strange behaviour.
The underlying distribution is an openSUSE 11.1 (x86_64). So quite old.

Until now I never needed to use ggaoectl show-config or show-macmask.
So I never knew it didn't work as expected.

My problem is that I can't declare multiple ethernet addresses for a name in
the acls section.

Does anyone else have this problem?

working example:
/etc/ggaoed.conf
[acls]
name0 = 00:1e:67:06:c7:2a
name1 = 00:1e:67:06:c7:2f

not working:
[acls]
name = 00:1e:67:06:c7:2a, 00:1e:67:06:c7:2f

The machine with the first mac address can't access its aoe-device anymore.

I can't check the assignments because:
=================
# ggaoectl show-macmask
Device NAMEbkp:
(Continue reading)

Lars Erik Dangvard Jensen | 13 Mar 2012 11:20

Re: ggaoed and multiple mac addresses per acl

> 
> not working:
> [acls]
> name = 00:1e:67:06:c7:2a, 00:1e:67:06:c7:2f
> 
> The machine with the first mac address can't access its aoe-device anymore.

I can't remember exactly, but have you tried without comma…

name = 00:1e:67:06:c7:2a 00:1e:67:06:c7:2f

/lars
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Lars Täuber | 13 Mar 2012 11:33
X-Face
Picon
Favicon

Re: ggaoed and multiple mac addresses per acl

Hi Lars,

Am Tue, 13 Mar 2012 11:20:36 +0100
Lars Erik Dangvard Jensen <lars <at> dcmediahosting.com> schrieb:
> > 
> > not working:
> > [acls]
> > name = 00:1e:67:06:c7:2a, 00:1e:67:06:c7:2f
> > 
> > The machine with the first mac address can't access its aoe-device
> > anymore.
> 
> I can't remember exactly, but have you tried without comma…
>
> name = 00:1e:67:06:c7:2a 00:1e:67:06:c7:2f

this doesn't work either. But I have to tell that I don't restart the deamon
but call »ggaoectl reload« instead. Maybe this is the reason?
I can't shutdown the deamon it serves storage for some virtual machines.

Thanks
Lars

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
(Continue reading)

Lars Täuber | 13 Mar 2012 11:43
X-Face
Picon
Favicon

Re: ggaoed and multiple mac addresses per acl

Hi Lars,

does »ggaoectl show-macmask« or »show-config« work on your server?

Thanks
Lars

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
Alexandre Chapellon | 13 Mar 2012 12:43

Re: ggaoed and multiple mac addresses per acl

I personnally uses /etc/ethers to define mac addresses and then re-use 
their names in /etc/ggaoed.conf like this:

/etc/ethers:
00:1b:78:d2:eb:8e    DL140B-eth0
00:1b:78:d2:eb:8f    DL140B-eth1
00:15:17:38:04:9a    DL140B-eth2
00:15:17:38:04:9b    DL140B-eth3
00:1c:c4:10:06:e0    DL140A-eth0
00:1c:c4:10:06:e1    DL140A-eth1
00:15:17:38:07:10    DL140A-eth2
00:15:17:38:07:11    DL140A-eth3

and /etc/ggaoed.conf
dom0s = DL140A-eth2,DL140A-eth3,DL140B-eth2,DL140B-eth3

It work great on Debian 64bit + GG AoE target 1.1.

Le 13/03/2012 11:04, Lars Täuber a écrit :
> Hi there,
>
> I use the latest ggaoed revision (131) for several months now and I'm very
> satisfied. But now I came across a strange behaviour.
> The underlying distribution is an openSUSE 11.1 (x86_64). So quite old.
>
> Until now I never needed to use ggaoectl show-config or show-macmask.
> So I never knew it didn't work as expected.
>
> My problem is that I can't declare multiple ethernet addresses for a name in
> the acls section.
(Continue reading)

Lars Täuber | 13 Mar 2012 14:15
X-Face
Picon
Favicon

Re: ggaoed and multiple mac addresses per acl

Hi Alexandre,

Am Tue, 13 Mar 2012 12:43:45 +0100
Alexandre Chapellon <a.chapellon@...> schrieb:
> I personnally uses /etc/ethers to define mac addresses and then re-use 
> their names in /etc/ggaoed.conf like this:
> 
> /etc/ethers:
> 00:1b:78:d2:eb:8e    DL140B-eth0
> 00:1b:78:d2:eb:8f    DL140B-eth1
> 00:15:17:38:04:9a    DL140B-eth2
> 00:15:17:38:04:9b    DL140B-eth3
> 00:1c:c4:10:06:e0    DL140A-eth0
> 00:1c:c4:10:06:e1    DL140A-eth1
> 00:15:17:38:07:10    DL140A-eth2
> 00:15:17:38:07:11    DL140A-eth3
> 
> and /etc/ggaoed.conf
> dom0s = DL140A-eth2,DL140A-eth3,DL140B-eth2,DL140B-eth3
> 
> It work great on Debian 64bit + GG AoE target 1.1.

thanks for this hint.
My SAN is IP-less and therefore I don't have an /etc/ethers file and don't
want to spread the aoe configuration without any reason over more than one
file.
I have a working config with numbering the named acls from 0 upto
necessary. This is quite ugly but better than to use multiple config files.

Thanks again
(Continue reading)

Alexandre Chapellon | 13 Mar 2012 17:59

Re: ggaoed and multiple mac addresses per acl


Le 13/03/2012 14:15, Lars Täuber a écrit :
> Hi Alexandre,
>
> Am Tue, 13 Mar 2012 12:43:45 +0100
> Alexandre Chapellon<a.chapellon@...>  schrieb:
>> I personnally uses /etc/ethers to define mac addresses and then re-use
>> their names in /etc/ggaoed.conf like this:
>>
>> /etc/ethers:
>> 00:1b:78:d2:eb:8e    DL140B-eth0
>> 00:1b:78:d2:eb:8f    DL140B-eth1
>> 00:15:17:38:04:9a    DL140B-eth2
>> 00:15:17:38:04:9b    DL140B-eth3
>> 00:1c:c4:10:06:e0    DL140A-eth0
>> 00:1c:c4:10:06:e1    DL140A-eth1
>> 00:15:17:38:07:10    DL140A-eth2
>> 00:15:17:38:07:11    DL140A-eth3
>>
>> and /etc/ggaoed.conf
>> dom0s = DL140A-eth2,DL140A-eth3,DL140B-eth2,DL140B-eth3
>>
>> It work great on Debian 64bit + GG AoE target 1.1.
> thanks for this hint.
> My SAN is IP-less and therefore I don't have an /etc/ethers file
/etc/ethers doesn't care you have IP  stask or not... it's a simple 
mapping of  MAC and names (be it fqdn names or not)
> and don't
> want to spread the aoe configuration without any reason over more than one
> file.
(Continue reading)

Lars Täuber | 14 Mar 2012 10:20
X-Face
Picon
Favicon

Re: ggaoed and multiple mac addresses per acl

Hi Alexandre,

Am Tue, 13 Mar 2012 17:59:20 +0100
Alexandre Chapellon <a.chapellon <at> horoa.net> schrieb:
> Le 13/03/2012 14:15, Lars Täuber a écrit :
> > Hi Alexandre,
> > Am Tue, 13 Mar 2012 12:43:45 +0100
> > Alexandre Chapellon<a.chapellon <at> horoa.net>  schrieb:
> >> I personnally uses /etc/ethers to define mac addresses and then re-use
> >> their names in /etc/ggaoed.conf like this:
> >>
> >> /etc/ethers:
> >> 00:1b:78:d2:eb:8e    DL140B-eth0
> >> 00:1b:78:d2:eb:8f    DL140B-eth1
> >> 00:15:17:38:04:9a    DL140B-eth2
> >> 00:15:17:38:04:9b    DL140B-eth3
> >> 00:1c:c4:10:06:e0    DL140A-eth0
> >> 00:1c:c4:10:06:e1    DL140A-eth1
> >> 00:15:17:38:07:10    DL140A-eth2
> >> 00:15:17:38:07:11    DL140A-eth3
> >>
> >> and /etc/ggaoed.conf
> >> dom0s = DL140A-eth2,DL140A-eth3,DL140B-eth2,DL140B-eth3
> >>
> >> It work great on Debian 64bit + GG AoE target 1.1.
> > thanks for this hint.
> > My SAN is IP-less and therefore I don't have an /etc/ethers file
> /etc/ethers doesn't care you have IP  stask or not... it's a simple 
> mapping of  MAC and names (be it fqdn names or not)
> > and don't
(Continue reading)

Gabor Gombas | 14 Mar 2012 21:30
Picon

Re: ggaoed and multiple mac addresses per acl

On Tue, Mar 13, 2012 at 11:04:59AM +0100, Lars Täuber wrote:

> not working:
> [acls]
> name = 00:1e:67:06:c7:2a, 00:1e:67:06:c7:2f

Try it without the space.

Gabor

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Lars Täuber | 15 Mar 2012 11:07
X-Face
Picon
Favicon

Re: ggaoed and multiple mac addresses per acl

Hi Gábor,

Am Wed, 14 Mar 2012 21:30:45 +0100
Gabor Gombas <gombasg <at> digikabel.hu> schrieb:
> On Tue, Mar 13, 2012 at 11:04:59AM +0100, Lars Täuber wrote:
> 
> > not working:
> > [acls]
> > name = 00:1e:67:06:c7:2a, 00:1e:67:06:c7:2f
> 
> Try it without the space.

yes it works without the spaces. Thanks!

Do you have an idea why 
* ggaoectl show-macmask
* ggaoectl show-config
don't show the expected values?

Also the files in $state-directory/NAMEbkp.config and NAMEbkp.mac_mask are
filled with zeros after the magic numbers.

Lars

PS: Thank you for still reading here. :-) I like your daemon _very_ much!

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
(Continue reading)


Gmane