On 04/26/2011 02:02 PM, Vigneswaran R wrote:
On 04/26/2011 02:37 PM, carlopmart wrote:
- BBDD_1 can only be accessed by ip address 172.21.2.2.
- BBDD_2 can only be accessed by ip address 172.21.2.3
Both ip address, 172.21.2.2 and 172.21.2.3, are assigned to the first
host that acts as a mysql client. Latest release of mysql client
IMHO, if both the IPs are bound to the same host in a permanent basis,
it would be better (request the admin) to change the ACLs so that both
the databases (BBDD_1 and BBDD_2) are allowed from the same IP (either
172.21.2.2 or 172.21.2.3). Then as you know, your iptables rule will
work for both databases.
Regards,
Vignesh
--
Thanks Vignesh. Yes, your solution is perfectly and correct. But exists
a problem: this hosts is included on a cluster (RHCS) with three nodes
(in three weeks, will be six nodes). Service can run on a hostA, hostB
or hostC ...
--
CL Martinez
carlopmart {at} gmail {d0t} com
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html