IP migration when using Solaris Zones not possible

Bug #391583 reported by Ivan Debnár
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-mmm
New
Undecided
Unassigned

Bug Description

Trying to setup mmm in enviroment, where there are several separate Zones configured, and
mysql is running inside a Zone. The idea is to have this zoned mysql "mirrored" in zone on
another server.

However, ifconfig commands are not available inside a zone, so IP adresses can't be added /
removed, ...

To solve this shortcomming, one could enhance the workflow and config, so that there will be
special mmm_agent running in global-zone, that could do the IP manipulation. Discover the
zone the host_ip is in, is no problem, adding an interface a attaching to a zone is one-liner as
well.
example add if:
global# ifconfig aggr2 addif 10.20.20.20/8 netmask + broadcast + up zone db-slave

example remove if:
global# ifconfig aggr2 removeif 10.20.20.20

We only need to declare the configuration somewhere - that node_ip's "global-zone" IP is this, and zone_name

What version of the product are you using? On what operating system?
MMM 2+, Solaris 10, mysqls in zones.

Just an idea to see if there is someone else interested, and probably to get feedback from
maintainers where and how best add this configuration.

Tags: solaris zones
Revision history for this message
Pascal Hofmann (pascalhofmann) wrote :

Hi Ivan,
I'am not familiar with solaris zones and I don't understand the above completly. Can't help you with this - sorry. :(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.