Hi Alexandre,

Am Tue, 13 Mar 2012 17:59:20 +0100
Alexandre Chapellon <a.chapel...@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.chapel...@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
> > want to spread the aoe configuration without any reason over more than one
> > file.
> Oh... make thing that don't work work is not an enough good reason?

sorry I didn't mean to hurt you. Your answer is quite a good solution. But me
as an admin like to have as few config files per service as possible.

BTW. it also works if you define your mappings inside the ggaoed.conf like
this:

[acls]
DL140B-eth0 = 00:1b:78:d2:eb:8e
DL140B-eth1 = 00:1b:78:d2:eb:8f
DL140B-eth2 = 00:15:17:38:04:9a
DL140B-eth3 = 00:15:17:38:04:9b
DL140A-eth0 = 00:1c:c4:10:06:e0
DL140A-eth1 = 00:1c:c4:10:06:e1
DL140A-eth2 = 00:15:17:38:07:10
DL140A-eth3 = 00:15:17:38:07:11
dom0s = DL140A-eth2,DL140A-eth3,DL140B-eth2,DL140B-eth3

without the need of /etc/ethers.
 
> > 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.
> Lots of daemon uses multiples config files... does it makes them ugly 
> daemon? Further more in this case /etc/ethers only contains what it made 
> for ... mac<->names mapping, and the whole config for the aor target is 
> still in one file: /etc/ggaoed.conf....
> 
> But you're free not to listen for answers... even when you asked the 
> question...

Please don't take previous answer as an attack against your solution. I
didn't mean to say your solution is not a good one.
Maybe my words are not choosen very well, but my english is not my as good as
it should be.

Have a nice day
Lars

------------------------------------------------------------------------------
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/
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to